vanhauser-thc / thc-hydra

hydra
GNU Affero General Public License v3.0
9.54k stars 1.99k forks source link

Brute Force Verification Form in GraphQL #918

Open dids-reyes opened 9 months ago

dids-reyes commented 9 months ago

Is this possible?

hydra -P path/to/my/wordlist.txt https:target.com https-post-form "{"variables":{},"query":"mutation {\n changePassword(password: \"Password\", verificationCode: \"^PASS^\", mobileNo: \"number\")\n}\n"}"

Screenshot 2023-12-13 at 4 43 50 PM

i don't need a login flag since i want to brute force only one field verificationCode. But it doesn't work with https, or in GraphQL mutation, am i doing it wrong?

vanhauser-thc commented 8 months ago

you could set the login to be the mobileno and insert that