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:13  


Tema destacado: Únete al Grupo Steam elhacker.NET

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

Desconectado Desconectado

Mensajes: 220



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

Bueno este es un simple ejecutor de comandos hecho en tk

Código
 
#!usr/bin/python
#Console (C) Doddy Hackman 2011
 
from Tkinter import *
import subprocess
 
global x
 
def execa() :
 re = subprocess.Popen(cmd.get(),shell=True,stdin=subprocess.PIPE,stdout=subprocess.PIPE,stderr=subprocess.PIPE)
 if re:
  panel.insert(END,re.stdout.read())
 else:
  panel.insert(END,re.stderr.read())
 
 
window = Tk()
window.title("Console (C) Doddy Hackman 2011")
 
window.maxsize(width="400",height="320")
window.minsize(width="400",height="320")
 
window.configure(background="black")
window.configure(cursor="tcross")
 
cmd = StringVar()
panel = Text(window,width=30,height=15,bg="black",fg="green")
 
Label(window,bg="black").grid(row=1)
Label(window,text="Command : ",bg="black",fg="green").grid(row=3,column=4)
 
entry = Entry(window,width=35,textvariable=cmd,bg="black",fg="green").grid(row=3,column=5)
 
Button(text="Cargar",bg="black",fg="green",activebackground="green",command=execa).grid(row=3,column=9)
 
 
Label(window,bg="black").grid(row=4)
panel.grid(row=10,column=5)
 
 
window.mainloop()
 


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

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
[Python] Easy Inyector By Doddy H
Scripting
Doddy 0 149 Último mensaje 7 Octubre 2011, 01:33
por Doddy
[Python] Finder Admin By Doddy H
Scripting
Doddy 0 401 Último mensaje 7 Octubre 2011, 01:33
por Doddy
[Python] Fuzz DNS By Doddy H
Scripting
Doddy 0 126 Último mensaje 7 Octubre 2011, 01:34
por Doddy
[Python] HellRat By Doddy H
Scripting
Doddy 0 150 Último mensaje 7 Octubre 2011, 01:37
por Doddy
[Python] HTTP Console By Doddy H
Scripting
Doddy 0 253 Último mensaje 7 Octubre 2011, 01:37
por Doddy
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines