6d2214d670 | ||
---|---|---|
.. | ||
README.md | ||
api-abuseipdb.yaml | ||
api-adafruit-io.yaml | ||
api-alienvault.yaml | ||
api-aniapi.yaml | ||
api-apigee-edge.yaml | ||
api-appveyor.yaml | ||
api-asana.yaml | ||
api-binance.yaml | ||
api-bingmaps.yaml | ||
api-bitly.yaml | ||
api-buildkite.yaml | ||
api-buttercms.yaml | ||
api-calendly.yaml | ||
api-circleci.yaml | ||
api-cooperhewitt.yaml | ||
api-dbt.yaml | ||
api-deviantart.yaml | ||
api-dribbble.yaml | ||
api-europeana.yaml | ||
api-iucn.yaml | ||
api-leanix.yaml | ||
api-myanimelist.yaml | ||
api-particle.yaml | ||
api-rijksmuseum.yaml | ||
api-strava.yaml | ||
api-taiga.yaml | ||
api-thecatapi.yaml | ||
api-urlscan.yaml | ||
api-vercel.yaml | ||
api-virustotal.yaml | ||
api-webex.yaml | ||
dropbox.yaml | ||
facebook.yaml | ||
fontawesome.yaml | ||
fortitoken-cloud.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 | ||
intercom.yaml | ||
ipstack.yaml | ||
iterable.yaml | ||
jumpcloud.yaml | ||
linkedin.yaml | ||
lokalise.yaml | ||
loqate.yaml | ||
mailchimp.yaml | ||
mailgun.yaml | ||
mapbox.yaml | ||
nerdgraph.yaml | ||
netlify.yaml | ||
npm.yaml | ||
onelogin.yaml | ||
openweather.yaml | ||
optimizely.yaml | ||
pagerduty.yaml | ||
paypal.yaml | ||
pendo.yaml | ||
pivotaltracker.yaml | ||
postmark.yaml | ||
sendgrid.yaml | ||
slack.yaml | ||
sonarcloud.yaml | ||
spotify.yaml | ||
square.yaml | ||
stripe.yaml | ||
tink.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.