├── apikey.txt ├── staged-xss.js ├── mybb_create_admin_user.js ├── wordpress_create_admin_user.js ├── wordpress_create_page.js ├── wordpress_create_post.js ├── wordpress_rce.js ├── iframe_template.js ├── README.md ├── wordpress_rce.txt ├── drupal_create_admin_user.js └── joomla_create_admin_user.js /apikey.txt: -------------------------------------------------------------------------------- 1 | GITHUB_API_KEY = 344aab9758bb0d018b93739e7893fb3a 2 | -------------------------------------------------------------------------------- /staged-xss.js: -------------------------------------------------------------------------------- 1 | /* 2 | Daniel Moore (https://twitter.com/0x0FEFF) sent me a great way to stage external JS code without injecting HTML. 3 | In the event that your payload is stuck inside 21 | ``` 22 | 23 | Alternatively, depending on the context and length of the payload, it can sometimes be [minified](https://javascript-minifier.com/), [encoded](https://eve.gd/2007/05/23/string-fromcharcode-encoder/) and then just included directly into the request. 24 | 25 | In order to host the JavaScript file, you may need to set the Content-Type to `application/javascript`. To achieve this with PHP, you can simply prepend this line to the top of any of the payloads, save it as a .php file and host it on your PHP-enabled webserver: 26 | 27 | ``` 28 | 29 | ``` 30 | 31 | 32 | ## Credits 33 | 34 | [This article](https://www.shift8web.ca/2018/01/craft-xss-payload-create-admin-user-in-wordpress-user/) from Shift8 is what inspired me to make this repo. The JS in the article has a couple of minor typos but the concepts are spot on. 35 | -------------------------------------------------------------------------------- /wordpress_rce.txt: -------------------------------------------------------------------------------- 1 | 21 |