Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
update
  • Loading branch information
blackye committed Jan 13, 2016
1 parent 60a4619 commit afc9092
Show file tree
Hide file tree
Showing 8 changed files with 1,152 additions and 4 deletions.
9 changes: 9 additions & 0 deletions .idea/BkScanner.iml

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

4 changes: 4 additions & 0 deletions .idea/misc.xml

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

9 changes: 9 additions & 0 deletions .idea/modules.xml

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

6 changes: 6 additions & 0 deletions .idea/vcs.xml

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

1,114 changes: 1,114 additions & 0 deletions .idea/workspace.xml

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions Bin/lib/webscan/webscan_class_func.py
Expand Up @@ -143,6 +143,9 @@ def __load_scan_dic(self, path_dic = path_dic, file_dic = file_dic):
with open(file_dic, 'r') as file:
self.file_dic = list(set([each.strip(' \r\n') for each in file.readlines()]))
if self.webdomain: #域名形式 www.baidu.com.tar.gz
domain_list = urlparse(self.url).netloc.split(".")
prefix_domain = domain_list[0]
self.file_dic.extend(['%s%s' % (prefix_domain, webfile) for webfile in dir_exts])
self.file_dic.extend(['%s%s' % (urlparse(self.url).netloc, webfile) for webfile in dir_exts])
file.close()

Expand Down Expand Up @@ -426,9 +429,6 @@ def __webfile_crawler_work(self, file_suffix):
探测完整web文件
:return:
'''
if len(self.exist_file_cache_list) != 0:
print len(self.exist_file_cache_list)

# bug ---2015-12-23 -- 这里需要一个锁机制
if len(self.exist_file_cache_list) < self.vaild_threshold['file']: #如果该目录任何文件访问都一样,则停止访问

Expand Down
2 changes: 1 addition & 1 deletion Plugins/SystemVul/workplugin.py
Expand Up @@ -57,7 +57,7 @@ def Work():
sysvulplugin.wait_for_complete(taskid)
break

logger.info('[SytemVul exit] systemvul scan over, exit!')
logger.info('[SystemVul exit] systemvul scan over, exit!')
#扫描完成
sys.exit()

Expand Down
6 changes: 6 additions & 0 deletions UnitTest/proxy_scan.py
@@ -0,0 +1,6 @@
#!/usr/bin/env/python
#-*- coding:utf-8 -*-

__author__ = 'BlackYe.'


0 comments on commit afc9092

Please sign in to comment.