DanMcInerney / net-creds

Sniffs sensitive data from interface or pcap
GNU General Public License v3.0
1.65k stars 432 forks source link

Install in Termux #33

Closed shinobiclan closed 4 years ago

shinobiclan commented 4 years ago

Hello, I have the following errors

root@localhost:~/git/net-creds# python2 net-creds.py Traceback (most recent call last): File "net-creds.py", line 1003, in <module> main(parse_args()) File "net-creds.py", line 993, in main conf.iface = iface_finder() File "net-creds.py", line 76, in iface_finder ipr = Popen(['/sbin/ip', 'route'], stdout=PIPE, stderr=DN) File "/usr/lib/python2.7/subprocess.py", line 394, in __init__ errread, errwrite) File "/usr/lib/python2.7/subprocess.py", line 1047, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory

Kyuugeki commented 4 years ago

The problem is in the line 76 Termux uses a different /bin/folder

Change "sbin/ip" for the actual bin folder of Termux

DanMcInerney commented 4 years ago

^