/* Peep v1.1 by KurrupptSoft ]{urruppt2k of Shadow of the iNode check www.TheCyberUnderground.com for other programs and exploits Peep will tell you (in most cases) the webserver and version and OS of a remote host. Whats best is that your b0x DOES NOT CONNECT to your target, so its very stealthy requires lynx and netcat. also 'localhost' does not werk - u must use a valid 'internet' hostname/ip address. email comments to kurruppt@thecyberunderground.com */ #include FILE * ht; int main(int argc, char *argv[]) { /* system("clear"); */ printf("\nPeep v1.1 \nby KurrupptSoft\n\n"); if (argv[1] == NULL) printf("syntax: %s [host]\n\n", argv[0]); else { /* first we kreate the http client file */ ht = fopen("/tmp/.ht.peep", "w"); fprintf(ht, "GET /up/graph?site=%s&display=uptime HTTP/1.0\n", argv[1]); fprintf(ht, "Connection: Keep-Alive\n"); fprintf(ht, "User-Agent: Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686)\n"); fprintf(ht, "Host: localhost:80\n"); fprintf(ht, "Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, image/png, */*\n"); fprintf(ht, "Accept-Encoding: gzip\n"); fprintf(ht, "Accept-Language: en\n"); fprintf(ht, "Accept-Charset: iso-8859-1,*,utf-8\n\n\n"); fclose(ht); /* now we g3t our inf0 */ system("cat /tmp/.ht.peep | nc uptime.netcraft.com 80 > /tmp/.out.peep"); system("echo 'Peep v1.1 by KurrupptSoft' > /tmp/.peep.html"); system("echo 'Peep OS and webserver check

' >> /tmp/.peep.html"); system("grep 'The site' /tmp/.out.peep >> /tmp/.peep.html"); system("echo '' >> /tmp/.peep.html"); system("lynx -dump /tmp/.peep.html"); printf("\n"); /* and klean up a bit */ system("rm -rf /tmp/.ht.peep"); system("rm -rf /tmp/.out.peep"); system("rm -rf /tmp/.peep.html"); } return 0; }