Skip to content

Commit a0dedf7

Browse files
committed
小错误
1 parent 83203fe commit a0dedf7

File tree

3 files changed

+1275
-1
lines changed

3 files changed

+1275
-1
lines changed

plugins/spider_file/Error_sqlinj.py

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
from urllib import quote as urlencode
99
from urllib import unquote as urldecode
1010
import re
11+
import os
1112

1213
class dbms:
1314
DB2 = 'IBM DB2 database'

plugins/spider_file/Xss_scan.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ def audit(url,html):
3535
url_1 = url.replace("%s=%s"%(k,v),"%s=%s"%(k,urlencode(payload)))
3636
code, head, html, redirect_url, log = hackhttp.http(url_1)
3737
if payload in html:
38-
security_hole(log["request"].replace(os.linesep,'</br>'),'XSS:' + url_1)
38+
security_warning(log["request"].replace(os.linesep,'</br>'),'XSS:' + url_1)

0 commit comments

Comments
 (0)