nuclei-templates/token-spray
sandeep 3f22428a8c directory update 2021-10-05 02:30:50 +05:30
..
README.md directory update 2021-10-05 02:30:50 +05:30
asana.yaml directory update 2021-10-05 02:30:50 +05:30
bingmaps.yaml directory update 2021-10-05 02:30:50 +05:30
bitly.yaml directory update 2021-10-05 02:30:50 +05:30
buildkite.yaml directory update 2021-10-05 02:30:50 +05:30
buttercms.yaml directory update 2021-10-05 02:30:50 +05:30
calendly.yaml directory update 2021-10-05 02:30:50 +05:30
circleci.yaml directory update 2021-10-05 02:30:50 +05:30
deviantart.yaml directory update 2021-10-05 02:30:50 +05:30
dropbox.yaml directory update 2021-10-05 02:30:50 +05:30
github.yaml directory update 2021-10-05 02:30:50 +05:30
google-autocomplete.yaml directory update 2021-10-05 02:30:50 +05:30
google-customsearch.yaml directory update 2021-10-05 02:30:50 +05:30
google-directions.yaml directory update 2021-10-05 02:30:50 +05:30
google-elevation.yaml directory update 2021-10-05 02:30:50 +05:30
google-fcm.yaml directory update 2021-10-05 02:30:50 +05:30
google-findplacefromtext.yaml directory update 2021-10-05 02:30:50 +05:30
google-gedistancematrix.yaml directory update 2021-10-05 02:30:50 +05:30
google-geocode.yaml directory update 2021-10-05 02:30:50 +05:30
google-geolocation.yaml directory update 2021-10-05 02:30:50 +05:30
google-mapsembed.yaml directory update 2021-10-05 02:30:50 +05:30
google-mapsembedadvanced.yaml directory update 2021-10-05 02:30:50 +05:30
google-nearbysearch.yaml directory update 2021-10-05 02:30:50 +05:30
google-nearestroads.yaml directory update 2021-10-05 02:30:50 +05:30
google-placedetails.yaml directory update 2021-10-05 02:30:50 +05:30
google-placesphoto.yaml directory update 2021-10-05 02:30:50 +05:30
google-playablelocations.yaml directory update 2021-10-05 02:30:50 +05:30
google-routetotraveled.yaml directory update 2021-10-05 02:30:50 +05:30
google-speedlimit.yaml directory update 2021-10-05 02:30:50 +05:30
google-staticmaps.yaml directory update 2021-10-05 02:30:50 +05:30
google-streetview.yaml directory update 2021-10-05 02:30:50 +05:30
google-timezone.yaml directory update 2021-10-05 02:30:50 +05:30
googlet-extsearchplaces.yaml directory update 2021-10-05 02:30:50 +05:30
heroku.yaml directory update 2021-10-05 02:30:50 +05:30
hubspot.yaml directory update 2021-10-05 02:30:50 +05:30
instagram.yaml directory update 2021-10-05 02:30:50 +05:30
ipstack.yaml directory update 2021-10-05 02:30:50 +05:30
iterable.yaml directory update 2021-10-05 02:30:50 +05:30
jumpcloud.yaml directory update 2021-10-05 02:30:50 +05:30
lokalise.yaml directory update 2021-10-05 02:30:50 +05:30
loqate.yaml directory update 2021-10-05 02:30:50 +05:30
mailchimp.yaml directory update 2021-10-05 02:30:50 +05:30
mailgun.yaml directory update 2021-10-05 02:30:50 +05:30
mapbox.yaml directory update 2021-10-05 02:30:50 +05:30
nerdgraph.yaml directory update 2021-10-05 02:30:50 +05:30
npm.yaml directory update 2021-10-05 02:30:50 +05:30
openweather.yaml directory update 2021-10-05 02:30:50 +05:30
pagerduty.yaml directory update 2021-10-05 02:30:50 +05:30
pendo.yaml directory update 2021-10-05 02:30:50 +05:30
pivotaltracker.yaml directory update 2021-10-05 02:30:50 +05:30
postmark.yaml directory update 2021-10-05 02:30:50 +05:30
sendgrid.yaml directory update 2021-10-05 02:30:50 +05:30
slack.yaml directory update 2021-10-05 02:30:50 +05:30
sonarcloud.yaml directory update 2021-10-05 02:30:50 +05:30
spotify.yaml directory update 2021-10-05 02:30:50 +05:30
square.yaml directory update 2021-10-05 02:30:50 +05:30
stripe.yaml directory update 2021-10-05 02:30:50 +05:30
tinypng.yaml directory update 2021-10-05 02:30:50 +05:30
travisci.yaml directory update 2021-10-05 02:30:50 +05:30
twitter.yaml directory update 2021-10-05 02:30:50 +05:30
visualstudio.yaml directory update 2021-10-05 02:30:50 +05:30
wakatime.yaml directory update 2021-10-05 02:30:50 +05:30
weglot.yaml directory update 2021-10-05 02:30:50 +05:30
youtube.yaml directory update 2021-10-05 02:30:50 +05:30

README.md

About

This directory holds templates that have static API URL endpoints. Use these to test an API token against many API service endpoints. By providing token input using flag, Nuclei will test the token against all known API endpoints within the API templates, and return any successful results. By incorporating API checks as Nuclei Templates, users can test API keys that have no context (i.e., API keys that do not indicate for which API endpoint they are meant).

Usage

You do not need to specify an input URL to test a token against these API endpoints, as the API endpoints have static URLs. However, Nuclei requires an input (specified via -u for individual URLs or -l for a file containing URLs). Because of this requirement, we simply pass in -u "null". Each template in the token-spray directory assumes the input API token will be provided using CLI var flag.

# Run Nuclei specifying all the api templates:

nuclei -u null -t token-spray/ -var token=thisIsMySecretTokenThatIWantToTest

Credits

These API testing templates were inspired by the streaak/keyhacks repository. The Bishop Fox Continuous Attack Surface Testing (CAST) team created additional API templates for testing API keys uncovered during investigations. You are welcome to add new templates based on the existing format to cover more APIs.