Closed ghost closed 6 years ago
With GitHub Build Installed But =>
~$ trackerjacker
Traceback (most recent call last):
File "/usr/local/bin/trackerjacker", line 11, in <module>
load_entry_point('trackerjacker==1.8.7', 'console_scripts', 'trackerjacker')()
File "/home/aditya/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 480, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/home/aditya/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2691, in load_entry_point
return ep.load()
File "/home/aditya/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2322, in load
return self.resolve()
File "/home/aditya/.local/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2328, in resolve
module = __import__(self.module_name, fromlist=['__name__'], level=0)
File "/usr/local/lib/python2.7/dist-packages/trackerjacker-1.8.7-py2.7.egg/trackerjacker/__main__.py", line 269
print('Vendor for {} not found'.format(args.mac_lookup), file=sys.stderr)
^
SyntaxError: invalid syntax
Make sure you have run:
sudo apt-get install python-scapy I had to su to root then ran pip3 install trackerjacker
to resolve that issue.
Also, you may want to make sure you are running the current version of pip3.
I'm having the same issue on Centos7.
python-scapy is already installed. Might be due to an old version of pip.
Building from source with python3 setup.py install
works however (after installing a few packages).
Yes, this issue is due to an old version of pip. @Adity-dev, does it work if you pip3 install --upgrade pip
first?
@calebmadrigal https://github.com/calebmadrigal/trackerjacker/issues/11#issuecomment-415812115 : Nope ! But it does broke pip3 in Ubuntu !
Tried Solution provided by @zwieberl https://github.com/calebmadrigal/trackerjacker/issues/11#issuecomment-414563117
It Does work But Still I'm facing a Issue:
$ sudo trackerjacker -i wlp2s0
Enabling monitor mode on wlp2s0
Monitoring all available channels on wlp2s0: [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140]
Traceback (most recent call last):
File "/home/aditya/.local/lib/python3.6/site-packages/trackerjacker/__main__.py", line 229, in start
scapy.sniff(iface=self.iface_manager.iface, prn=self.process_packet, store=0)
File "/home/aditya/.local/lib/python3.6/site-packages/scapy/sendrecv.py", line 767, in sniff
p = s.recv()
File "/home/aditya/.local/lib/python3.6/site-packages/scapy/arch/linux.py", line 600, in recv
pkt, sa_ll = self.ins.recvfrom(x)
OSError: [Errno 100] Network is down
Sniffer error occurred. Restarting sniffer in 3 seconds...
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
command failed: Device or resource busy (-16)
^C
Disabling monitor mode for interface: wlp2s0
command failed: Device or resource busy (-16)
Take a look at #15 . I think you have to deactivate NetworkManager:
systemctl stop NetworkManager
@Adity-dev Please take a look at @zwieberl's suggestion. The Device or resource busy
typically means something else is managing the device, like a network manager.