Skip to content

Small Golang application which will test the API key used for the TomTom API.

License

Notifications You must be signed in to change notification settings

Bushidosan/TomTomCheck

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TomTomCheck

The TomTom API is another version of the clasic Google Maps API, it can be used to do a wide ranges of different API calls. In this tool we check most of these API calls if we can perform them, the only downside is for some API calls there is account specific information required like history which is imposible to test via a default API query.

Usage

go run .\main.go <API Key>

TomTomCheck

Remidation

The remidation is pretty simple, TomTom has a nice setting called "Domain Whitelisting". When enabled before making the API call TomTom will first verify if the source making the API call is an allowed source and will return a 403 forbidden if this is not the case.

Key take away : Make sure domain whitelisting is enabled otherwise bad people can waste your money.

https://developer.tomtom.com/blog/decoded/how-protect-your-api-key-using-domain-whitelisting

About

Small Golang application which will test the API key used for the TomTom API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages