knavesec / CredMaster

Refactored & improved CredKing password spraying tool, uses FireProx APIs to rotate IP addresses, stay anonymous, and beat throttling
926 stars 120 forks source link

HTTP POST plugin #78

Closed moreirapenna2 closed 2 weeks ago

moreirapenna2 commented 1 month ago

Added HTTP POST plugin (httppost), where the user can combine custom body data and custom headers to spray most web forms and APIs.

knavesec commented 2 weeks ago

Awesome plugin man, thanks for the addition! One small request to update the readme with the new plugin (and adding yourself to the credits if desired)

moreirapenna2 commented 2 weeks ago

Thank you for the feedback! I updated the readme and it should be all good now :)

knavesec commented 2 weeks ago

@moreirapenna2 Thanks for the contribution! Any chance you'd be willing to write up a quick blurb on usage for the wiki since this is a more custom module? Doesn't need to be super lengthy, but would definitely be helpful. If you just wrote it up in markdown and dropped it in this PR I can upload it to the wiki

Will merge this anyways, we should be able to keep chatting once it's closed

moreirapenna2 commented 1 week ago

@moreirapenna2 Thanks for the contribution! Any chance you'd be willing to write up a quick blurb on usage for the wiki since this is a more custom module? Doesn't need to be super lengthy, but would definitely be helpful. If you just wrote it up in markdown and dropped it in this PR I can upload it to the wiki

Will merge this anyways, we should be able to keep chatting once it's closed

Sorry for the delay! Here's the wiki page with notes on the module parameters, feel free to edit as needed!

Plugin Overview

This module allows for generic HTTP POST request brute-forcing. This module has not been tested to the fullest, if there are bugs please submit an issue/PR.

Unique Command Line Options

This module allows for the following command line options:

Throttle Notes

Throttle settings may depend on a per-application basis. Use at your own discretion.

Example Command

credmaster.py <usual arguments> --plugin httppost --url https://example.com/endpoint/to/test --content-type json --body '{"login":"{USER}","pass":"{PASS}"}'