当前位置:网站首页>Simple use of Xray
Simple use of Xray
2022-07-07 08:52:00 【Colorful @ star】
xray Simple use
summary
Xray Is a powerful security assessment tool , Support Take the initiative 、 passive Multi scan mode , Support common web Loopholes automated testing , Flexible definition of POC, Rich in functions , Easy to call , Support multiple operating systems
characteristic
- Fast detection speed
- Support a wide range of
- High quality can be customized
- There is no threat to safety
- Fast update speed
Supported vulnerability detection types
- XSS Vulnerability detection (key: xss)
- SQL Injection detection (key: sqldet)
- command / Code injection detection (key: cmd-injection)
- Directory enumeration (key: dirscan)
- Path crossing detection (key: path-traversal)
- XML Solid injection detection (key: xxe)
- File upload detection (key: upload)
- Weak password detection (key: brute-force)
- jsonp testing (key: jsonp)
- ssrf testing (key: ssrf)
- Baseline check (key: baseline)
- Arbitrary jump detection (key: redirect)
- CRLF Inject (key: crlf-injection)
- Struts2 Serial vulnerability detection ( premium ,key: struts)
- Thinkphp Serial vulnerability detection ( premium ,key: thinkphp)
- POC frame (key: phantasm)
among POC The frame is built-in by default Github On the contribution of poc, Users can also build on demand poc And run
Download and install
Download address
GitHub Address :https://github.com/chaitin/xray/releases
Document address :https://docs.xray.cool/
Support installation and download of various operating systems
install
1、 Because the blogger is Windows64 Bit operating system , So choose 64 Bit installation file
2、 unpack , Just one exe file
3、 Use cmd The command line navigates to the current xray.exe Path
Run the file
meanwhile xray_windows_386.exe Under the same directory of the file config.yaml The configuration file
see xray Version number of version
see Help document --help
Configuration is introduced
Xray In the catalog config.yaml The file contains all the configuration information , Configuration mainly includes five categories :http、plugins、 reverse、mitm、basic_crawle
Set the domain name that allows scanning
hostname_allowed: Is the domain name that allows scanning ,hostname_disallowed: Is a domain name that is not allowed to be scanned , You can use asterisks ( Express all ) matching
Scan plug-in configuration
The plug-in configuration modification is mainly on and off , The default is all on , Detect all types of vulnerabilities during scanning , The type of vulnerability that does not need to be detected is modified to false; You can also specify plug-ins during scanning , Such as :–plugins xss,xxe,cmd_injection
Contracting rate limit
Prevent requests from being too quickly waf Intercept , You can reduce the number of requests per second , Default per second 500
Scan agent configuration
Setting up a proxy can work with burp suite And other software
The proxy pattern
1、 Generate ca certificate
xray_windows_386.exe genca
- 1
2、 Import to browser ca certificate
choice ca The path of the certificate
Certificate of trust
end
3、 Set up proxy for browser
4、 function xray, monitor
xray_windows_386.exe webscan --listen 127.0.0.1:7777 --html-output test.html
webscan web Page vulnerability detection
–listen monitor
–html-output Output html Format
- 1
- 2
- 3
- 4
- 5
visit dvwa Of sql Injection module
xray change
end CTRL+c
3、 open test.html, View generated reports
Reptile mode
xray Bugs can be checked with the help of crawlers
xray_windows_386.exe webscan --basic-crawler http://127.0.0.1/bc/DVWA/vulnerabilities/sqli/?id=2&Submit=Submit# --html-output 111.html
webscan web Page scan
–basic-crawler Basic reptiles
- 1
- 2
- 3
- 4
Xray + BurpSuite
burpsuite As Xray The upstream agent of ( Grab Xray Contract awarding )
namely : browser -> Xray -> burpsuite -> Server side
This method is convenient to view Xray Scan the packets sent by the website , And it can also be tested poc Whether it is right
Xray As burpsuite The upstream agent of ( Assist in testing )
namely : browser -> burpsuite -> Xray -> Server side
This method is convenient to test wherever you want , If you want to test, send it to Xray, Don't want to throw away the data packet
</article>
边栏推荐
- 年薪50w阿里P8亲自下场,教你如何从测试进阶
- Go write a program that runs within a certain period of time
- 阿里p8手把手教你,自动化测试应该如何实现多线程?赶紧码住
- NCS Chengdu New Electric interview Experience
- Rapid integration of authentication services - harmonyos platform
- POJ - 3784 running medium
- Qt Charts使用(重写QChartView,实现一些自定义功能)
- LeetCode 736. LISP syntax parsing
- 9c09730c0eea36d495c3ff6efe3708d8
- LeetCode 736. Lisp 语法解析
猜你喜欢
南京商品房买卖启用电子合同,君子签助力房屋交易在线网签备案
A bug using module project in idea
MySQL主从延迟的解决方案
About using CDN based on Kangle and EP panel
快速集成认证服务-HarmonyOS平台
IP地址的类别
[Yugong series] February 2022 U3D full stack class 005 unity engine view
LeetCode 715. Range 模块
Calling the creation engine interface of Huawei game multimedia service returns error code 1002, error message: the params is error
FPGA knowledge accumulation [6]
随机推荐
Compilation and linking of programs
let const
POJ - 3616 Milking Time(DP+LIS)
说一个软件创业项目,有谁愿意投资的吗?
Redis fault handling "can't save in background: fork: cannot allocate memory“
mysql分区讲解及操作语句
Other 7 features of TCP [sliding window mechanism ▲]
[Chongqing Guangdong education] audio visual language reference materials of Xinyang Normal University
Count sort (diagram)
POJ - 3784 running medium
注解@ConfigurationProperties的三种使用场景
String operation
leetcode135. Distribute candy
Opencv converts 16 bit image data to 8 bits and 8 to 16
Three usage scenarios of annotation @configurationproperties
Tronapi-波场接口-源码无加密-可二开--附接口文档-基于ThinkPHP5封装-作者详细指导-2022年7月6日-新手快速上手-可无缝升级tp6版本
Mock. JS usage details
Greenplum6.x-版本变化记录-常用手册
JS operation
Quick sorting (detailed illustration of single way, double way, three way)