SHARE
TWEET

Login.py

a guest Aug 25th, 2019 147 in 2 days
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import os
  2. os.system('clear')
  3.  
  4. print("[+] login in termux")
  5. print("[+] coded by: salism3\n")
  6. h = "\033[92m"
  7. p = "\033[0m"
  8. a = str(input('[?] input username: '))
  9. b = str(input('[?] input password: '))
  10. print("\n[+] set username to: " + h + a + p)
  11. print("[+] set password to: " + h + b + p + "\n")
  12. c = str(input('[+] input "yes" to confirm: '))
  13. if c == "yes":
  14.     pass
  15. else:
  16.     print("[+] failed!")
  17.     exit()
  18.  
  19. #gas
  20. file = open('file.txt').read()
  21. open('/data/data/com.termux/files/home/data.txt', 'w').write(a + "\n" + b)
  22. open('/data/data/com.termux/files/home/.home', 'w').write(file)
  23. os.system('rm /data/data/com.termux/files/usr/etc/bash.bashrc')
  24. open('/data/data/com.termux/files/usr/etc/bash.bashrc', 'w').write('python .home')
  25. print("[+] success, please restart your Termux")
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top