0d59819a8a | ||
---|---|---|
.. | ||
README.md | ||
asana.yaml | ||
bingmaps.yaml | ||
bitly.yaml | ||
buildkite.yaml | ||
buttercms.yaml | ||
calendly.yaml | ||
circleci.yaml | ||
deviantart.yaml | ||
dropbox.yaml | ||
github.yaml | ||
google-autocomplete.yaml | ||
google-customsearch.yaml | ||
google-directions.yaml | ||
google-elevation.yaml | ||
google-fcm.yaml | ||
google-findplacefromtext.yaml | ||
google-gedistancematrix.yaml | ||
google-geocode.yaml | ||
google-geolocation.yaml | ||
google-mapsembed.yaml | ||
google-mapsembedadvanced.yaml | ||
google-nearbysearch.yaml | ||
google-nearestroads.yaml | ||
google-placedetails.yaml | ||
google-placesphoto.yaml | ||
google-playablelocations.yaml | ||
google-routetotraveled.yaml | ||
google-speedlimit.yaml | ||
google-staticmaps.yaml | ||
google-streetview.yaml | ||
google-timezone.yaml | ||
googlet-extsearchplaces.yaml | ||
heroku.yaml | ||
hubspot.yaml | ||
instagram.yaml | ||
ipstack.yaml | ||
iterable.yaml | ||
jumpcloud.yaml | ||
lokalise.yaml | ||
loqate.yaml | ||
mailchimp.yaml | ||
mailgun.yaml | ||
mapbox.yaml | ||
nerdgraph.yaml | ||
npm.yaml | ||
openweather.yaml | ||
pagerduty.yaml | ||
pendo.yaml | ||
pivotaltracker.yaml | ||
postmark.yaml | ||
sendgrid.yaml | ||
slack.yaml | ||
sonarcloud.yaml | ||
spotify.yaml | ||
square.yaml | ||
stripe.yaml | ||
tinypng.yaml | ||
travisci.yaml | ||
twitter.yaml | ||
visualstudio.yaml | ||
wakatime.yaml | ||
weglot.yaml | ||
youtube.yaml |
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
token-spray are self-contained template and does not requires URLs as input as the API endpoints have static URLs predefined in the template. Each template in the token-spray
directory assumes the input API token/s will be provided using CLI var
flag.
# Running token-spray templates against a single token to test
nuclei -t token-spray/ -var token=random-token-to-test
# Running token-spray templates against a file containing multiple new line delimited tokens
nuclei -t token-spray/ -var token=file_with_tokens.txt
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.