elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: Guía actualizada para evitar que un ransomware ataque tu empresa


  Mostrar Temas
Páginas: [1]
1  Programación / .NET (C#, VB.NET, ASP) / Leer archivo .VBS en: 9 Octubre 2012, 23:37 pm
Buenas tengo un problemas con los codigos de mi app
pues mi idea es que esta app abra un archivo.vbs y modifique user y password
con 2 textbox y 2 botones

Codigo del vbs
Citar
set wshshell = createobject("wscript.shell")
wscript.sleep 1
for i=1 to 1
wshshell.sendkeys "w"
wshshell.sendkeys "{enter}"
next
set wshshell = createobject("wscript.shell")
wscript.sleep 9000
for i=1 to 1
wshshell.sendkeys "usuario"
wshshell.sendkeys "{tab}"
wshshell.sendkeys "password"
wshshell.sendkeys "{enter}"
next
set wshshell = createobject("wscript.shell")
wscript.sleep 5000
for i=1 to 1
wshshell.sendkeys "{enter}"
next

Imagen del programa:
Páginas: [1]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines