| Server IP : 82.208.35.60 / Your IP : 216.73.216.89 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/security/arpCounterattack/files/ |
Upload File : |
--- arpCounterattack.cpp.orig 2019-03-13 08:10:31 UTC +++ arpCounterattack.cpp @@ -25,13 +25,15 @@ #include <fstream> #include <iostream> #include <queue> -#include <tr1/unordered_map> +#include <unordered_map> #include <vector> #ifdef __FreeBSD__ #include <sys/ioctl.h> #endif +#include <sys/types.h> +#include <net/bpf.h> #include <errno.h> #include <pcap.h> #include <signal.h> @@ -47,7 +48,6 @@ #include "string.hpp" using namespace std; -using namespace tr1; const string programName = "ARP Counterattack 1.2.0"; string pidFileName = "/var/run/arpCounterattack.pid";