Repository navigation
Expand file tree
/
Copy pathScriptArcher.py
More file actions
126 lines (113 loc) · 4.74 KB
/
Copy pathScriptArcher.py
File metadata and controls
126 lines (113 loc) · 4.74 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
try :
from os import system , getuid
from sys import argv
except ImportError :
print("\n\nCan not from os import system and getuid !")
exit()
def clear():
system("clear")
clear()
if getuid() != 0:
print('''
.----.
.---------. | == |
|.-"""""-.| |----|
|| X X || | == | Error ; this tool must be run as root !
|| _ || |----|
|'-.....-'| |::::| Use = sudo scriptArcher
`"")---(""` |___.|
/:::::::::::\\" _ "
/:::=======:::\`\`\\
`"""""""""""""` '-'
''')
exit()
try:
from colorama import Fore as color
except ImportError:
print("\n\nCan not from colorama import Fore !")
exit()
from random import randint
try:
from tools.network import IPfounder , MassMailerAttack , scan , DDOS ,DeauthenticationAttacks , MacSpoofing , ArpSpoofing , dBmAnalyzer
from tools.intro import IntroMain
from tools.web import subScanner
from tools import updater
except ImportError as e:
print(f"\n\nCan not import ScriptArcher tools\n\n[ E ] {e}")
exit()
def randomColor():
num=randint(0,4)
if not num:
return color.LIGHTCYAN_EX
elif num == 1 :
return color.LIGHTGREEN_EX
elif num == 2 :
return color.LIGHTBLUE_EX
else :
return color.LIGHTYELLOW_EX
def update():
clear()
print("\n\n\tUpdating ...")
def Help():
pass
def main():
if not "-nb" in argv :
IntroMain()
while True:
clear()
print(f"""{randomColor()}
███████╗ ██████╗██████╗ ██╗██████╗ ████████╗ █████╗ ██████╗ ██████╗██╗ ██╗███████╗██████╗ (
██╔════╝██╔════╝██╔══██╗██║██╔══██╗╚══██╔══╝ ██╔══██╗██╔══██╗██╔════╝██║ ██║██╔════╝██╔══██╗ |\\
███████╗██║ ██████╔╝██║██████╔╝ ██║ ███████║██████╔╝██║ ███████║█████╗ ██████╔╝ | )
╚════██║██║ ██╔══██╗██║██╔═══╝ ██║ ██╔══██║██╔══██╗██║ ██╔══██║██╔══╝ ██╔══██╗ ##-------->
███████║╚██████╗██║ ██║██║██║ ██║ ██║ ██║██║ ██║╚██████╗██║ ██║███████╗██║ ██║ | )
╚══════╝ ╚═════╝╚═╝ ╚═╝╚═╝╚═╝ ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ |/
(
1. IPv6 finder 8. dBm Analyzer
2. Mass Mailer Attack 9. Subdomain scanner
3. Scan 10. Check for updates
4. DDoS 11. Exit
5. Deauthentication Attacks
6. Mac Spoofing
7. Arp spoofing
""")
selection=input(f"{color.RED}[ScriptArcher]~>{color.LIGHTGREEN_EX}")
if selection=="1":
IPfounder.IPfoundermain()
elif selection == "2":
MassMailerAttack.MassMailerAttackMain()
elif selection == "3":
scan.scanMainFunc()
elif selection == "4":
DDOS.DDOSmainF()
elif selection == "5":
DeauthenticationAttacks.DeauthenticationAttacksMainF()
elif selection == "6":
MacSpoofing.MacSpoofingMainF()
elif selection == "7":
ArpSpoofing.ArpSpoofingMainF()
elif selection == "8":
dBmAnalyzer.dBmAnalyzerMainF()
elif selection=="9":
subScanner.mainSubScanner()
elif selection=='10':
updater.mainUpdater()
elif selection=='11':
exit()
try:
main()
except KeyboardInterrupt:
clear()
print("""
BYE
_.-._
| | | |_
| | | | |
| | | | |
_ | '-._ |
\`\`-.'-._;
\ ' |
\ .` /
| |
""")
exit()