-
Notifications
You must be signed in to change notification settings - Fork 2
/
main.py
37 lines (27 loc) · 1.04 KB
/
main.py
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
#!/usr/bin/env python
import scanner
import sys
from termcolor import colored
target_url = sys.argv[1]
vuln_scanner = scanner.Scanner(target_url)
print(colored("[+] Crawling " + str(sys.argv[1]), "yellow"))
print()
vuln_scanner.crawl()
print("\n\n")
print(colored("###############################################################", 'cyan'))
print("\n\n")
print(colored("[+] Scanning for Cross Site Scripting Vulnerability in " + str(sys.argv[1]), "yellow"))
print()
vuln_scanner.run_scanner_for_xss_testing()
print("\n\n")
print(colored("###############################################################", 'cyan'))
print("\n\n")
print(colored("[+] Scanning for SQL Injection Vulnerability in " + str(sys.argv[1]), "yellow"))
print()
vuln_scanner.run_scanner_for_sqli_testing()
print("\n\n")
print(colored("###############################################################", 'cyan'))
print("\n\n")
print(colored("[+] Scanning for Server Side Template Injection Vulnerability in " + str(sys.argv[1]), "yellow"))
print()
vuln_scanner.run_scanner_for_ssti_testing()