elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
29 Mayo 2012, 05:14  


Tema destacado: Recuperar cuenta de Google, GMail, Youtube

+  Foro de elhacker.net
|-+  Programación
| |-+  Scripting (Moderadores: Novlucker, Leo Gutiérrez., EleKtro H@cker)
| | |-+  [Python] HTTP Console By Doddy H
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: [Python] HTTP Console By Doddy H  (Leído 254 veces)
Doddy

Desconectado Desconectado

Mensajes: 220



Ver Perfil
[Python] HTTP Console By Doddy H
« en: 7 Octubre 2011, 01:37 »

Bueno , este es un simple programa en python hecho en tk que permite mandar
peticiones webs a un servidor en concreto


Código
#!usr/bin/python
#Console (C) Doddy Hackman 2011
 
from Tkinter import *
import socket
 
global x,socket
 
def execa() :
 
 
s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect((str(host.get()),80))
s.send(cmd.get()+"\r\n")
data = s.recv(666)
s.close()
panel.insert(END,repr(data))
 
 
 
window = Tk()
window.title("HTTP Console (C) Doddy Hackman 2011")
 
window.maxsize(width="400",height="350")
window.minsize(width="400",height="350")
 
window.configure(background="black")
window.configure(cursor="tcross")
 
host = StringVar()
cmd = StringVar()
 
panel = Text(window,width=30,height=15,bg="black",fg="red")
 
Label(window,bg="black").grid(row=3)
 
Label(window,text="Host : ",bg="black",fg="red").grid(row=4,column=4)
entry = Entry(window,width=35,textvariable=host,bg="black",fg="red").grid(row=4,column=5)
 
Label(window,text="Command : ",bg="black",fg="red").grid(row=8,column=4)
entry = Entry(window,width=35,textvariable=cmd,bg="black",fg="red").grid(row=8,column=5)
 
Button(text="Cargar",bg="black",fg="red",activebackground="red",command=execa).grid(row=8,column=9)
 
 
Label(window,bg="black").grid(row=19)
panel.grid(row=20,column=5)
 
 
window.mainloop()
 



« Última modificación: 8 Octubre 2011, 19:06 por Doddy » En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
como descubrir la direccion http://XX:XX/console de administracion de un router
Hacking Básico
capilla 0 295 Último mensaje 30 Marzo 2007, 23:15
por capilla
[Python] Console By Doddy H
Scripting
Doddy 0 175 Último mensaje 7 Octubre 2011, 01:32
por Doddy
[Python] Fuzz DNS By Doddy H
Scripting
Doddy 0 127 Último mensaje 7 Octubre 2011, 01:34
por Doddy
[Python] HellRat By Doddy H
Scripting
Doddy 0 151 Último mensaje 7 Octubre 2011, 01:37
por Doddy
[Python] Zapper By Doddy H
Scripting
Doddy 0 180 Último mensaje 7 Octubre 2011, 01:39
por Doddy
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines