Hello World
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub. Quick StartCreate a new post1$ hexo new "My New Post" More info: Writing Run server1$ hexo server More info: Server Generate static files1$ hexo generate More info: Generating Deploy to remote sites1$ hexo deploy More info: Deployment
靶机实战1:.git 泄露到 RCE 提权全流程
目标信息 项目 内容 靶机 IP 10.10.1.49 漏洞类型 敏感信息泄露 + RCE + 权限提升 攻击机 IP 172.16.12.75 一、信息收集1. 端口扫描1234# 全端口扫描,跳过主机发现nmap -Pn -p- 10.10.1.49# Web 指纹识别whatweb http://10.10.1.49 结果: 开放端口:22/tcp (SSH)、80/tcp (HTTP) Web 服务:Apache/2.4.58 (Ubuntu) 操作系统:Ubuntu Linux 2. 目录爆破12# 目录爆破,猜测 .php 后缀,过滤 403/404dirsearch -u http://10.10.1.49 -e php -x 403,404 结果: 发现 .git 目录可访问。 二、.git 泄露利用1. 确认泄露1234# 读取 HEAD 文件,确认仓库分支引用curl -s http://10.10.1.49/.git/HEAD# 读取提交历史日志curl -s http://10.10.1...