[go: up one dir, main page]

Skip to content

Find out if a shortened URL is safe. Browse the complete URL, its security level and TLS certificates

Notifications You must be signed in to change notification settings

Ipanov7/deshortify-docs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

URL Deshortify Deshortify logo

Tired of suspicious shortened URLs? With URL Deshortify you can inspect any endpoint, figure out where it is leading you and if it's safe. Deshortify will:

  • find out where the shortened URL is really leading you
  • figure out if the landing page is protected with HTTPS
  • doublecheck the website certificate and assert its validity

Try it out!

Try Deshortify!

Example usage

Let's take a shortened url like https://bit.ly/3pkH5T9. Where is it pointing to? Just make a request!

curl -X GET https://some-endpoint.deshortify.com/inspect?url=https://bit.ly/3pkH5T9

and you get:

{
  "target_url":"https://github.com/Ipanov7/deshortify-docs"
  "is_tls":true
  "is_redirect":true
  "tls_certificate":"OK"
}

Response details

  • target_url: the actual URL destination
  • is_tls: whether the target_url is protected by some kind of TLS certificate
  • is_redirect: if true, the inspected URL will redirect to the target_url. Otherwise, it is already the final URL
  • tls_certificate: additional information about the TLS certificate

TLS certificate statuses

Status Description
OK The certificate is valid and trustworthy. This is not a guarantee that the target webpage is safe, but it is a starting point
WRONG_HOST The certificate subject does not match the webpage domain
EXPIRED The certificate is no longer valid
SELF_SIGNED The certificate is self-signed
UNVERIFIED Impossible to verify the certificate

Credits

Detective Doggie is from Freepik - Flaticon

About

Find out if a shortened URL is safe. Browse the complete URL, its security level and TLS certificates

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published