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
BadPfs-CVE-2022-4510 — Python script that generates pfs payloads to exploit CVE-2022-4510 | Kitploit
Tools/GitHubGitHub/kalagious/badpfs-cve-2022-4510
Privilege EscalationPayload GenerationVulnerability AnalysisExploitationPenetration TestingBinary Exploitation
GitHubkalagious/badpfs-cve-2022-4510

BadPfs-CVE-2022-4510

Python script that generates pfs payloads to exploit CVE-2022-4510

View Repository
113 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

BadPfs

Python script that generates pfs payloads to exploit CVE-2022-4510

Simply create a pfs payload using the script. When binwalk is run with -e on the payload, a file can be overwritten with the permission of binwalk.

This example will overwrite /etc/sudoers with the contents of ./data when it is opened with -e through binwalk. This is a great way to privesc.

root@kitploit:~
# python3 BadPfs.py --out=payload.pfs --data=./data --target=/etc/sudoers
Download Tool