I have been trying to run p0f all this while and still am working on it.
I used this command:
exec('bash -c "exec nohup setsid /www/htdocs/main/testsystem/start-p0f.sh > /root/UMThesis/p0fout.txt 2>&1 &"');
Looked promising at first but I got this error and have no idea why it had happened.
- p0f
p0f - passive os fingerprinting utility, version 2.0.3
(C) M. Zalewski <lcamtuf@dione.cc>, W. Stearns <wstearns@pobox.com>
[-] ERROR: pcap_open_live failed: socket: Operation not permitted
I have tried changing to nobody setting the special flags at all the files I think that I sould change but still get this error.
How do I solve this?
Hope someone can guide and advise me.
Thanks
James