Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

4 of DVWA series uses SQLMap for medium level injection

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

Let's try to use SQLMap for injection at the medium level.

First detect the existence of the injection point and execute the following command:

Sqlmap.py-u http://192.168.80.1/dvwa/vulnerabilities/sqli/?id=1&Submit=Submit

No injection point was found in the test result, because DVWA needs to be logged in before it can be used, so you need to get the cookie of the current session to maintain the connection state during the * process. Use Burpsuite to intercept data packets and obtain cookie.

Add the-- cookie parameter to the SQLMap to continue with the injection.

Sqlmap.py-u "http://192.168.80.1/dvwa/vulnerabilities/sqli/?id=1&Submit=Submit"-- cookie=" security=medium; PHPSESSID=2f120ee00f32798d11de936832312549 "

Now the injection point has been successfully detected.

There will be another series of blog posts about sqlmap and Burpsuite in the future.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report