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-2026-0740 — Exploit script for CVE-2026-0740 targeting Ninja Forms file upload endpoints to upload a PHP shell, scanning a list of URLs and logging successful uploads. | Kitploit
Tools/GitHubGitHub/murrez/cve-2026-0740
Vulnerability ScannersExploitationWeb Application ExploitationWeb Security
GitHubmurrez/cve-2026-0740

CVE-2026-0740

Exploit script for CVE-2026-0740 targeting Ninja Forms file upload endpoints to upload a PHP shell, scanning a list of URLs and logging successful uploads.

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

ninja.py

An experimental/tool script that uses file upload endpoints for the Ninja Forms plugin on WordPress sites. It sends requests sequentially to targets in list.txt and writes successful uploads to the shell.txt file.

Requirements

  • Python 3
  • requests (usually installed together with urllib3)
root@kitploit:~
pip install requests urllib3

File layout

FileDescription
ninja.pyMain script.
list.txtTarget URLs; one URL per line (http/https, optional port). Blank lines are ignored.
shell.txt(Output) Shell URLs are saved in append mode (a) on successful uploads.

Configuration

The constants at the beginning of the script must be adapted to the target plugin/form structure:

  • FORM_ID — form ID
  • FIELD_ID — field ID
  • SHELL_NAME — file name used on the server
  • SHELL_CONTENT — uploaded PHP content

SSL verification is disabled (verify=False); use only in test environments you trust.

Running

Make sure list.txt is present in the project folder, then:

root@kitploit:~
python ninja.py

Progress and error messages are written to standard output. If the process is interrupted by the user, it exits cleanly with KeyboardInterrupt.

Behavior summary

  1. If list.txt does not exist, the script errors out and exits.
  2. For each target, a nonce is obtained via admin-ajax.php (nf_fu_get_new_nonce).
  3. Then a file upload is attempted (nf_fu_upload).
  4. If a successful path is detected, the relevant URL is appended to the console and to the shell.txt file.
  5. At the end, the total number of successes is summarized.

Notes

  • The target plugin version, form/field IDs, and server configuration directly affect success.
Download Tool