Sniffer exploit - 3


The Shadow Penguin Security (http://shadowpenguin.backsection.net)

Written by UNYUN (unewn4th@usa.net)

 

#ifdef SUNOS4 /*--------< SUN OS4 >-----------*/

#define NIT_DEV "/dev/nit" */

#define DEFAULT_NIC "le0" */

#define CHUNKSIZE 4096 */

#endif

 

#ifdef LINUX /*--------< LINUX >-------------*/

#define NIT_DEV ""

#define DEFAULT_NIC "eth0" */

#define CHUNKSIZE 32000 */

#endif

 

#ifdef FREEBSD /*--------< FreeBSD >-----------*/

#define NIT_DEV "/dev/bpf" */

#define DEFAULT_NIC "ed0" */

#define CHUNKSIZE 32000 */

#endif

 

#ifdef IRIX /*-----------< IRIX >--------------*/

#define NIT_DEV ""

#define DEFAULT_NIC ""

#define CHUNKSIZE 60000 */

#define ETHERHDRPAD RAW_HDRPAD(sizeof(struct ether_header))

#endif

 

#ifdef SOLARIS /*--------< Solaris >-----------*/

#define NIT_DEV "/dev/hme" */

#define DEFAULT_NIC ""

#define CHUNKSIZE 32768 */

#endif

 

#define S_DEBUG */

#define SIZE_OF_ETHHDR 14 */

#define LOGFILE "./snif.log" */

#define TMPLOG_DIR "/tmp/" */




- -  - -  - -