Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
Tools/GitHubGitHub/dkstar11q/cve-2022-31814
Vulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & EducationRed Teaming
GitHubdkstar11q/cve-2022-31814

CVE-2022-31814

pfBlockerNG <= 2.1.4_26 Unauth RCE (CVE-2022-31814)

View Repository
13 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

pfBlockerNG <= 2.1.4_26 Unauth RCE

This script is a proof-of-concept exploit for pfBlockerNG <= 2.1.4_26 that allows for remote code execution. It takes a single target URL or a list of URLs, uploads a shell, executes a command, and then deletes the shell.

Requirements

This script requires Python 3.x and the requests and concurrent.futures modules to be installed. You can install these modules by running:

root@kitploit:~
pip3 install requests concurrent.futures

or

root@kitploit:~
pip3 install -r requirements.txt

Usage

root@kitploit:~
usage: exploit.py [-h] [-c COMMAND] [-l LIST] [-i IP] [-t THREADS] [-o OUTPUT]

pfBlockerNG <= 2.1.4_26 Unauth RCE

options:
  -h, --help            show this help message and exit
  -c COMMAND, --command COMMAND
                        Console Command ('id')
  -l LIST, --list LIST  List of targets (list.txt)
  -i IP, --ip IP        Base target uri (ex. http://target-uri/)
  -t THREADS, --threads THREADS
                        Number of threads for mass scan
  -o OUTPUT, --output OUTPUT
                        Output file (vuln.txt)

Download Tool

Single Target

To exploit a single target, use the -i or --ip flag and specify the base URL or IP Address:

root@kitploit:~
python3 exploit.py -i http://target-uri/ -c 'id'

Multiple Targets

To scan a list of targets, use the -l or --list flag and specify the path to the list:

root@kitploit:~
python3 exploit.py -l list.txt -c 'id' -t 50

The -t or --threads flag can be used to specify the number of threads to use for the scan.

Output

If the -o or --output flag is specified, the list of vulnerable targets will be written to a file:

root@kitploit:~
python3 exploit.py -l list.txt -c 'id' -o vuln.txt

Shodan Dork:

root@kitploit:~
http.title:"pfSense - Login" "Server: nginx" "Set-Cookie: PHPSESSID="

⚠️ Disclaimer

This script is for educational purposes only. Use at your own risk.