It looks like you're new here. If you want to get involved, click one of these buttons!
#!/usr/bin/python
#Sends sensitive files over FTP then deletes them
import os, sys, ftplib
#Files to be uploaded
file1 = '/home/chronic/.scrt/users.gpg'
file1stor = '/users.gpg' #file#stor is used for what the file will be called and in which directory on the FTP server
file2 = '/home/chronic/.scrt/exploits.tar.gz.gpg'
file2stor = '/exploits.tar.gz.gpg'
file3 = '/home/chronic/.scrt/0days.tar.gz.gpg'
file3stor = '/0days.tar.gz.gpg'
file4 = '/home/chronic/.scrt/malware.tar.gz.gpg'
file4stor = '/malware.tar.gz.gpg'
def ftp1():
#FTP code taken from a site on google(Not my code). But it is a very common code.
s = ftplib.FTP('ftp.t35.com','chroniccommand.t35.com','pass') # Connect
f = open(file1,'rb') # file to send
s.storbinary('STOR ' + file1stor, f) # Send the file
f.close() # Close file and FTP
s.quit()
def ftp2():
s = ftplib.FTP('ftp.t35.com','chroniccommand.t35.com','pass') # Connect
f = open(file2,'rb') # file to send
s.storbinary('STOR ' + file2stor, f) # Send the file
f.close() # Close file and FTP
s.quit()
def ftp3():
s = ftplib.FTP('ftp.t35.com','chroniccommand.t35.com','pass') # Connect
f = open(file3,'rb') # file to send
s.storbinary('STOR ' + file3stor, f) # Send the file
f.close() # Close file and FTP
s.quit()
def ftp4():
s = ftplib.FTP('ftp.t35.com','chroniccommand.t35.com','pass') # Connect
f = open(file4,'rb') # file to send
s.storbinary('STOR ' + file4stor, f) # Send the file
f.close() # Close file and FTP
s.quit()
def delete():
os.remove(file1)
os.remove(file2)
os.remove(file3)
os.remove(file4)
ftp1()
ftp2()
ftp3()
ftp4()
delete()
sys.exit()