banner
[面包]MrTwoC

[面包]MrTwoC

你好,欢迎来到这个基于区块链的个人博客 名字:面包 / MrTwoc 爱好:跑步(5/10KM)、咖啡、游戏(MMORPG、FPS、Minecraft、Warframe) 兴趣方向:Rust、区块链、网络安全、量子信息(量子计算)、游戏设计与开发
bilibili
steam
email
github

File Upload && BrupSuite

Difficulty: medium

image.png
When I saw the source code, it restricted the upload types.
image.png
So I opened Burp Suite
and intercepted the request, then uploaded a webshell:

I copied the code into a txt file, then changed the extension to php, creating a webshell file.

Here, I intercepted
image.png
and modified the Content-Type to:
image/png
Then I allowed the request and found that the upload was successful.
image.png
Then, following the upload address, I accessed the link:
http://192.168.1.2/dvwa/hackable/uploads/111.php
I found a blank screen, indicating a successful exploit.
I opened AntSword, entered the address, and used the password: pass
image.png
image.png
Double-clicking, I can see the website structure and the files it contains.
image.png

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.