当前位置:网站首页>WEB安全基础 - - - XRAY使用
WEB安全基础 - - - XRAY使用
2022-08-01 23:45:00 【干掉芹菜】
目录
爬虫
xray.exe webscan --basic-crawler http://xxx.com/ --html-output xray-xxx.htmlxray.exe ws --basic http://xxx.com/ --ho xray-xxx.html
被动扫描
生成ca证书
xray.exe genca
开启监听
xray.exe ws --listen 127.0.0.1:7777 --ho tp.html
浏览器代理设置
将浏览器设置为xray模式
这里以SQL注入漏洞为例子,进行爬取
可以看到xray已经获取了当前页面的信息,访问一下target(目标)的网址
可以看到获取用户名密码
BurpSuite联动XRAY
监听
1.设置监听
2.BurpSuite的设置
添加新的上游代理服务
3.在burpsuite自带的浏览器输入需要监听的网站
4.xray回显
Burpsuit主动扫描
1.设置新目标
2.选择扫描类型,协议设置
3.设置扫描配置
4. xray监听回显
XRAY脚本编写
1.编写网站(Xray POC编写辅助工具)
2.脚本编写(poc-nacos-unauth.yml)
最基础的POC
name: poc-nacos-unauthgroups:one:- method: GET请求方式path: 路径follow_redirects: trueexpression: |response.status == 200 && r'"username":".+?",'.bmatches(response.body) //表达式
3. 漏洞检测
xray ws -p mypocs/poc-nacos-unauth.yml -uf url.txt --ho nacos.html
边栏推荐
- 检查点是否在矩形内
- ICLR 2022 Best Paper: Partial Label Learning Based on Contrastive Disambiguation
- Convert LocalDateTime to Date type
- TexturePacker使用文档
- 论文理解【RL - Exp Replay】—— Experience Replay with Likelihood-free Importance Weights
- Enterprise firewall management, what firewall management tools are there?
- Avoid hidden text when loading fonts
- Dynamic Scene Deblurring with Parameter Selective Sharing and Nested Skip Connections
- Always use "noopener" or "noreferrer" for links that open in a new tab
- Solve the port to take up
猜你喜欢
深度学习基础-基于Numpy的循环神经网络(RNN)实现和反向传播训练
2022第六届强网杯部分wp
@Resource和@Autowired的区别
月薪12K,蝶变向新,勇往直前—她通过转行测试实现月薪翻倍~
在CDH的hue上的oozie出现,提交 Coordinator My Schedule 时出错
20220725资料更新
sys_kill system call
DRF generating serialization class code
Docker实践经验:Docker 上部署 mysql8 主从复制
Work for 5 years, test case design is bad?To look at the big case design summary
随机推荐
FAST-LIO2 code analysis (2)
nodejs--process
Share an interface test project (very worth practicing)
chrome copies the base64 data of an image
加载字体时避免隐藏文本
Avoid hidden text when loading fonts
Get piggy homestay (short-term rental) data
Various Joins of Sql
Flink学习第五天——Flink可视化控制台依赖配置和界面介绍
一款简洁的文件传输工具
2022 6th Strong Net Cup Part WP
Loading configuration of Nacos configuration center
怎样做才能让这条SQL变成一条危险的SQL?
The monthly salary of the test post is 5-9k, how to increase the salary to 25k?
洞见云原生微服务及微服务架构浅析
[LeetCode304 Weekly Competition] Two questions about the base ring tree 6134. Find the closest node to the given two nodes, 6135. The longest cycle in the graph
ELK log collection
斜堆、、、
Architecture basic concept and nature of architecture
Spark Sql之join on and和where