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
wp2shell-lab — Validation target: minimal WordPress core slice reproducing the wp2shell (CVE-2026-63030 + CVE-2026-60137) REST-to-SQLi chain | Kitploit
Tools/GitHubGitHub/ananay/wp2shell-lab
Vulnerability AnalysisCode AnalysisWeb Application ExploitationAPI Security TestingPenetration TestingLearning & Education
GitHubananay/wp2shell-lab

wp2shell-lab

Validation target: minimal WordPress core slice reproducing the wp2shell (CVE-2026-63030 + CVE-2026-60137) REST-to-SQLi chain

View Repository
25 days 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

mini-wp-rest

A compact, dependency-free reimplementation of a small slice of WordPress's REST API — just enough to serve a public posts collection and run several sub-requests in one round trip. Handy for teaching how WordPress routing, WP_Query, and $wpdb fit together without pulling in all of core.

Endpoints

MethodRoutePurpose
GET/wp-json/wp/v2/postsList posts. Supports author_exclude, per_page.
POST/wp-json/batch/v1Run multiple sub-requests in one request.

Both routes are public (no authentication), matching the defaults for the core posts collection.

Layout

root@kitploit:~
index.php                                          front controller / router
wp-includes/
  functions.php                                    absint / wp_parse_id_list / wp_parse_url
  class-wpdb.php                                    thin $wpdb (prepare / get_results)
  class-wp-query.php                               post query builder
  rest-api/
    class-wp-rest-request.php
    class-wp-rest-server.php                        routing + /batch/v1
    endpoints/class-wp-rest-posts-controller.php    /wp/v2/posts

Running

root@kitploit:~
php -S 127.0.0.1:8080
curl 'http://127.0.0.1:8080/wp-json/wp/v2/posts?author_exclude[]=3'

Requires PHP ≥ 8.0. A MySQL database is optional — without one, $wpdb returns the SQL it would have run so you can see the generated queries.

Download Tool