pocsploit: open source PoC verification framework
pocsploit
pocsploit is a lightweight, flexible, and novel open-source poc verification framework.
Pain points of the POC framework in the market
- There are too many parameters, I don’t know how to get started, but only some of them are commonly used.
- YAML poc framework(like nuclei & xray) is not flexible enough. the conversion cost is very high when writing poc. Sometimes it’s hard when encountering non-http protocols. (only hex can be used)
- Sometimes POC has false positives, which can be avoided by accurate fingerprint matching.
- It is heavily dependent on the framework. Poc in pocsploit can be used in the framework and can also be used alone.
Advantages of pocsploit
- Lighter does not depend on the framework, a single poc can run
- Easier to rewrite Poc
- More flexible (compared to nuclei, xray, goby, etc.)
- Fewer false positives, providing fingerprint prerequisite judgment, you can first judge whether the site has the fingerprint of a certain component, and then perform POC verification, which is more accurate
- There are many ways to use, providing poc / exp
- Detailed vulnerability information display
- Poc ecological sustainability: I will continue to update the Poc to modules/, and welcome everyone to join us to Contribute Poc
Poc Statistics
cve | cnnvd | others |
---|---|---|
344 | 7 | 102 |
Install
git clone https://github.com/cckuailong/pocsploit.git
cd pocsploit
pip3 install -r requirements.txt
Please config conf/config.py
P.S. How to build your own DNSLog, please visit Hyuga-DNSLog
- DNSLOG_URI: DNSLog Address
- DNSLOG_TOKEN: Token
- DNSLOG_IDENTIFY: your identity
Use
- poc to verify a single website
python3 pocsploit.py -iS “http://xxxx/” -r “modules/” -t 100 –poc
- specific poc
python3 pocslpoit.py -iS “http://xxxxx” -r “modules/vulnerabilities/thinkphp/thinkphp-5022-rce.py” –poc
- exp to exploit many websites (with urls in a file)
python3 pocslpoit.py -iF “urls.txt” -r “modules/vulnerabilities/” –exp
- Turn on fingerprint pre-verification, verify the fingerprint first, and then enter the poc verification after matching
python3 pocslpoit.py -iS “http://xxxxx” -r “modules/vulnerabilities/thinkphp/thinkphp-5022-rce.py” –poc –fp
- Output to file & console quiet mode
python3 pocslpoit.py -iS “http://xxxx” -r “modules/vulnerabilities/” –poc -o result/result.log -q
- Other Usage
python3 pocsploit.py –help
Copyright (c) 2022 cckuailong
Source: https://github.com/cckuailong/