-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathSitemapScan.py
More file actions
executable file
·71 lines (56 loc) · 1.81 KB
/
SitemapScan.py
File metadata and controls
executable file
·71 lines (56 loc) · 1.81 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
#!/usr/bin/env python
# -*- coding: utf-8 -*-
"""
HTCAP - beta 1
Author: filippo.cavallarin@wearesegment.com
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later
version.
"""
from __future__ import unicode_literals
import sys
import os
import datetime
import time
import getopt
from core.lib.utils import *
from core.crawl.crawler import Crawler
from core.scan.scanner import Scanner
from core.util.util import Util
reload(sys)
sys.setdefaultencoding('utf8')
def logo():
print(
'''
mmmm " m mmmm
#" " mmm mm#mm mmm mmmmm mmm mmmm #" " mmm mmm m mm
"#mmm # # #" # # # # " # #" "# "#mmm #" " " # #" #
"# # # #"""" # # # m"""# # # "# # m"""# # #
"mmm#" mm#mm "mm "#mm" # # # "mm"# ##m#" "mmm#" "#mm" "mm"# # #
#
"
Authors: Conan0xff Wha000tif Konakona
Version: 1.0
usage: SitemapScan <command>
commands:
crawl run crawler
scan run scanner
util run utility
'''
)
if __name__ == '__main__':
logo()
if len(sys.argv) < 2:
logo()
sys.exit(1)
elif sys.argv[1] == "crawl":
Crawler(sys.argv[2:])
elif sys.argv[1] == "scan":
Scanner(sys.argv[2:])
elif sys.argv[1] == "util":
Util(sys.argv[2:])
else:
logo()
sys.exit()
sys.exit(0)