You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to get this library working but am having trouble with libpcap requiring root permissions. I've seen another issue that was closed with 'just run it as sudo', but this is dangerous as it breaks file permissions with pip and defaults to using the Python binary inside /usr/bin/python which does not working with using any environment managers like conda or pipenv. Is there a fix to get around this problem?
This is the message that pops up when I try to run tcp_fingerprint.py
[2022-09-19 01:40:41.545098] - INFO - tcp_fingerprint - Loaded 2916 fingerprints from the database
[2022-09-19 01:40:41.545304] - INFO - tcp_fingerprint - listening on interface enp6s0
enp6s0: You don't have permission to capture on that device (socket: Operation not permitted)
The text was updated successfully, but these errors were encountered:
I'm having the same problem.. Tried also sudo setcap cap_net_admin,cap_net_raw=ep tcp_fingerprint.py but it didn't work
Of course I tried with sudo, but it get's out of the env....
`
sudo python tcp_fingerprint.py -i enp0s3
[2023-01-25 22:05:26.588635] - INFO - tcp_fingerprint - Loaded 11482 fingerprints from the database
Traceback (most recent call last):
File "/home/qacicd/zardaxt/tcp_fingerprint.py", line 16, in
from api import run_api
File "/home/qacicd/zardaxt/api.py", line 14, in
raise Exception('InvalidAPIKeyException')
Exception: InvalidAPIKeyException
Hello,
I am trying to get this library working but am having trouble with libpcap requiring root permissions. I've seen another issue that was closed with 'just run it as sudo', but this is dangerous as it breaks file permissions with
pip
and defaults to using the Python binary inside/usr/bin/python
which does not working with using any environment managers likeconda
orpipenv
. Is there a fix to get around this problem?This is the message that pops up when I try to run
tcp_fingerprint.py
The text was updated successfully, but these errors were encountered: