d9466deeba | ||
---|---|---|
.. | ||
README.md | ||
api-abuseipdb.yaml | ||
api-accuweather.yaml | ||
api-adafruit-io.yaml | ||
api-adoptapet.yaml | ||
api-alienvault.yaml | ||
api-aniapi.yaml | ||
api-apigee-edge.yaml | ||
api-appveyor.yaml | ||
api-asana.yaml | ||
api-bhagavadgita.yaml | ||
api-bible.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-covalent.yaml | ||
api-dbt.yaml | ||
api-deviantart.yaml | ||
api-dribbble.yaml | ||
api-dropbox.yaml | ||
api-ebird.yaml | ||
api-etherscan.yaml | ||
api-europeana.yaml | ||
api-facebook.yaml | ||
api-fontawesome.yaml | ||
api-fortitoken-cloud.yaml | ||
api-github.yaml | ||
api-harvardart.yaml | ||
api-heroku.yaml | ||
api-hubspot.yaml | ||
api-iconfinder.yaml | ||
api-instagram.yaml | ||
api-instatus.yaml | ||
api-intercom.yaml | ||
api-ipstack.yaml | ||
api-iterable.yaml | ||
api-iucn.yaml | ||
api-jumpcloud.yaml | ||
api-leanix.yaml | ||
api-linkedin.yaml | ||
api-lokalise.yaml | ||
api-loqate.yaml | ||
api-mailchimp.yaml | ||
api-mailgun.yaml | ||
api-malshare.yaml | ||
api-malwarebazaar.yaml | ||
api-mapbox.yaml | ||
api-micro-user-service.yaml | ||
api-myanimelist.yaml | ||
api-mywot.yaml | ||
api-nerdgraph.yaml | ||
api-netlify.yaml | ||
api-nownodes.yaml | ||
api-npm.yaml | ||
api-onelogin.yaml | ||
api-openweather.yaml | ||
api-optimizely.yaml | ||
api-pagerduty.yaml | ||
api-particle.yaml | ||
api-paypal.yaml | ||
api-pendo.yaml | ||
api-petfinder.yaml | ||
api-pivotaltracker.yaml | ||
api-postmark.yaml | ||
api-rijksmuseum.yaml | ||
api-scanii.yaml | ||
api-sendgrid.yaml | ||
api-slack.yaml | ||
api-sonarcloud.yaml | ||
api-spotify.yaml | ||
api-square.yaml | ||
api-strava.yaml | ||
api-stripe.yaml | ||
api-stytch.yaml | ||
api-taiga.yaml | ||
api-thecatapi.yaml | ||
api-thedogapi.yaml | ||
api-tink.yaml | ||
api-tinypng.yaml | ||
api-travisci.yaml | ||
api-twitter.yaml | ||
api-urlscan.yaml | ||
api-vercel.yaml | ||
api-virustotal.yaml | ||
api-visualstudio.yaml | ||
api-wakatime.yaml | ||
api-webex.yaml | ||
api-weglot.yaml | ||
api-youtube.yaml | ||
google-autocomplete.yaml | ||
google-books.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 |
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.