msdt-follina icon indicating copy to clipboard operation
msdt-follina copied to clipboard

ipaddress.AddressValueError: Expected 4 octets in 'eth0'

Open Kartik192192 opened this issue 2 years ago • 3 comments

Traceback (most recent call last): File "/root/Desktop/msdt-follina/follina.py", line 63, in main serve_host = ipaddress.IPv4Address(args.interface) File "/usr/lib/python3.9/ipaddress.py", line 1307, in init self._ip = self._ip_int_from_string(addr_str) File "/usr/lib/python3.9/ipaddress.py", line 1194, in _ip_int_from_string raise AddressValueError("Expected 4 octets in %r" % ip_str) ipaddress.AddressValueError: Expected 4 octets in 'eth0'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/root/Desktop/msdt-follina/follina.py", line 166, in main(parser.parse_args()) File "/root/Desktop/msdt-follina/follina.py", line 66, in main serve_host = netifaces.ifaddresses(args.interface)[netifaces.AF_INET][0][ KeyError: 2

Kartik192192 avatar Jun 02 '22 05:06 Kartik192192

You need to run it with LAN, fixed the issue for me. I don't know how to run it with wifi but that is probably going to be fixed in a few days.

codethinki avatar Jun 03 '22 09:06 codethinki

It's not fixed yet.. :(

User-123447 avatar Jun 08 '22 07:06 User-123447

just specifiy your ip adress: python follina.py -i 192.168.X.X. It works for me

niceboy83 avatar Jun 08 '22 21:06 niceboy83