slouch's blog

Today I Remember - cURL Impersonation

As a developer, linux user or command line fan, you might be familiar with the curl command. It is a powerful tool that allows you to transfer data from or to a server using various protocols, including HTTP, FTP, and SFTP. However, when testing websites, you may encounter issues where the server tries to fingerprint you using TLS, making it difficult to get the desired results.

Enter curl-impersonate1. It is an open-source tool that can be used as a drop-in replacement for the curl command, making it easier to bypass fingerprinting attempts and obtain the results you need.

curl-impersonate works by spoofing the TLS fingerprint presented to the server, tricking it into thinking that the request is coming from a different client. This way, you can bypass fingerprinting attempts and obtain the desired response.

To use curl-impersonate, simply install it from the GitHub repository and use it as you would use curl. It has the same syntax and options, so you don’t need to learn anything new.

In summary, if you are struggling with fingerprinting attempts when testing websites using curl, curl-impersonate is an excellent tool to add to your arsenal.

#today-i-remember