Skip to content

Commit

Permalink
调整端口扫描和信息泄漏扫描的速度
Browse files Browse the repository at this point in the history
  • Loading branch information
dyboy2017 committed Jul 29, 2019
1 parent 6e9f1ea commit 17eed52
Show file tree
Hide file tree
Showing 7 changed files with 62 additions and 88 deletions.
144 changes: 58 additions & 86 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified apps/api/plugins/infoleak/__pycache__/infoleak.cpython-36.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/api/plugins/infoleak/infoleak.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
STATUS_CODES = [200, 206, 401, 305, 407] # HTTP响应状态码,判断认为存在风险链接的状态码
RESULT = []

THREADMAX = threading.BoundedSemaphore(10) # 限制线程的最大数量为10个
THREADMAX = threading.BoundedSemaphore(32) # 限制线程的最大数量为32个


def get_html(url=''):
Expand Down
2 changes: 2 additions & 0 deletions apps/api/plugins/loginfo/log/2019-07-30log.log
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
2019-07-30 00:12:11,434 views.py[line:154] INFO M:POST P:/api/infoleak UPOST:<QueryDict: {'url': ['http://study.cqu.edu.cn/']}> SC:200 UIP:127.0.0.1 RDATA:[]
2019-07-30 00:13:17,944 views.py[line:154] INFO M:POST P:/api/infoleak UPOST:<QueryDict: {'url': ['http://ybjf.cqu.edu.cn/']}> SC:200 UIP:127.0.0.1 RDATA:[['Tomcat Manager', 'http://ybjf.cqu.edu.cn//examples/'], ['Tomcat Manager', 'http://ybjf.cqu.edu.cn//docs/setup.html']]
2019-07-30 00:20:32,783 views.py[line:154] INFO M:POST P:/api/infoleak UPOST:<QueryDict: {'url': ['http://ybjf.cqu.edu.cn/']}> SC:200 UIP:127.0.0.1 RDATA:[['Tomcat Manager', 'http://ybjf.cqu.edu.cn//examples/'], ['Tomcat Manager', 'http://ybjf.cqu.edu.cn//docs/setup.html']]
2019-07-30 00:33:53,923 views.py[line:120] INFO M:POST P:/api/portscan UPOST:<QueryDict: {'ip': ['222.198.139.10']}> SC:200 UIP:127.0.0.1 RDATA:['http:80']
2019-07-30 00:34:28,244 views.py[line:154] INFO M:POST P:/api/infoleak UPOST:<QueryDict: {'url': ['http://ybjf.cqu.edu.cn/']}> SC:200 UIP:127.0.0.1 RDATA:[['Tomcat Manager', 'http://ybjf.cqu.edu.cn//examples/'], ['Tomcat Manager', 'http://ybjf.cqu.edu.cn//docs/setup.html']]
Binary file modified apps/api/plugins/portscan/__pycache__/portscan.cpython-36.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion apps/api/plugins/portscan/portscan.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

sys.path.append(os.getcwd())

THREADNUM = 10 # 线程数
THREADNUM = 64 # 线程数

SIGNS = (
# 协议 | 版本 | 关键字
Expand Down
Binary file modified apps/api/plugins/webside/__pycache__/webside.cpython-36.pyc
Binary file not shown.

0 comments on commit 17eed52

Please sign in to comment.