Closed liartist closed 1 year ago
@liartist Thank you for using and supporting Fakenet-NG. Do you mind providing the complete stack trace to help us figure out where things fail?
Thanks,
Thank you for the fast support! I tried 2 versions of fakenet, the standalone (1.4.3) and python build (1.4.9) version. Here's 2 stack traces.
fakenet 1.4.3
C:\Users\Administrator\Desktop\fakenet1.4.3>fakenet.exe
| /\ | |/ / | \ | | __| | | \ | |/ __| | | / \ | ' /| | | | | | | |____| | | | | / /\ \ | < | | | . ` | | | |__| . ` | | |_ | | | / | . | || |\ | |__ | | | |\ | || | ||// __|__|| _|__| || || _|_____|
Version 1.4.3
Developed by FLARE Team
06/06/19 01:54:47 PM [ FakeNet] Loaded configuration file: configs\def
ault.ini
06/06/19 01:54:48 PM [ Diverter] Capturing traffic to packets20190606
135448.pcap
06/06/19 01:54:48 PM [ Diverter] Using default listener proxytcplistene
r on port 38926
06/06/19 01:54:48 PM [ Diverter] Using default listener proxyudplistene
r on port 38926
06/06/19 01:54:48 PM [ Diverter] WARNING: No gateways configured!
Traceback (most recent call last):
File "fakenet\fakenet.py", line 380, in
C:\Users\Administrator\Desktop\fakenet1.4.3>
fakenet 1.4.9
C:\Users\Administrator\Desktop\flare-fakenet-ng-master\fakenet>python fakenet.py
| /\ | |/ / | \ | | __| | | \ | |/ __| | | / \ | ' /| | | | | | | |____| | | | | / /\ \ | < | | | . ` | | | |__| . ` | | |_ | | | / | . | || |\ | |__ | | | |\ | || | ||// __|__|| _|__| || || _|_____|
Version 1.4.9
Developed by FLARE Team
06/06/19 01:57:02 PM [ FakeNet] Loaded configuration file: configs\def
ault.ini
06/06/19 01:57:03 PM [ Diverter] Capturing traffic to packets20190606
135703.pcap
06/06/19 01:57:03 PM [ Diverter] WARNING: No gateways configured!
Traceback (most recent call last):
File "fakenet.py", line 437, in
C:\Users\Administrator\Desktop\flare-fakenet-ng-master\fakenet>
Thank you!
This error is cause by Character code. In my case, my ethernet adapter is not English. I used Japanese name and same Error.But I changed "Ethernet0" taht was no error.
@tinajn can you assign me this issue?
@tinajn I don't think this problem exists anymore as every adapter name is of the type LPWSTR
( It is a pointer to a null-terminated string of 16-bit Unicode characters)
IP_ADAPTER_ADDRESSES._fields_ = [
...
("FriendlyName", LPWSTR),
...
]
Some Examples:
[System Info]
OS Name: Microsoft Windows 10 Enterprise Evaluation
OS Version: 10.0.19045 N/A Build 19045
System Model: VirtualBox
System Type: x64-based PC
@samrath-sudesh-acharya Thanks for testing this out! I have tested on my end and it appears to have been an issue with the way subprocess.check_call()
handled non-ASCII characters in Python 2.
As @samrath-sudesh-acharya mentioned this issue is not observed anymore as we have ported to Python 3. @liartist could you test it out and close the issue?
Closing this issue.
As I tried to execute fakenet.exe or fakenet.py,
UnicodeEncodeError: 'ascii' codec can't encode characters in position 33-34: ordinal not in range(128)
error came out. I think it's about unicode and ASCII encoding error. Since it's not about single source code, I couldn't use 'encoding:utf-8' method.Here's my environment VirtualBox 6.0.8 Windows 7 32bit Python 2.7.16 I installed every requirements fakenet needs, so that would not be a problem.