streaak / keyhacks

Keyhacks is a repository which shows quick ways in which API keys leaked by a bug bounty program can be checked to see if they're valid.
4.84k stars 1.01k forks source link

Adding OpsGenie API Key #124

Closed evanstucker-hates-2fa closed 2 years ago

evanstucker-hates-2fa commented 2 years ago

Example output (good):

$ curl https://api.opsgenie.com/v2/alerts -H 'Authorization: GenieKey redacted-reda-cted-reda-ctedredacted'
{"data":[{"seen":true,"id":"b009e3b0-9f2d-4f75-9f7f-f9d04cead481-1659735552430","tinyId":"25812","alias":"fe584c5a33da2d4d2142e02d24282368ab26f3075ea6eb7d850f4aedadd39b8b","message":"[Prometheus]... more JSON

Example output (bad):

$ curl https://api.opsgenie.com/v2/alerts -H 'Authorization: GenieKey redacted-reda-cted-reda-ctedredacted'
{"message":"Could not authenticate","took":0.002,"requestId":"8a88410f-3129-483d-87b7-b09ffdb1ac2c"}
streaak commented 2 years ago

Thanks for the PR