Tested on CentOS 7. Uses Tor via torsocks if systemctl status tor
signifies Tor
is running.
CentOS 7:
sudo yum -y epel-release
sudo yum -y install curl tor torsocks
./cmurl.sh <method> <url>
For example to emulate a download via Windows' URLDownloadToFile
function do:
./cmurl.sh URLDownloadToFile https://totsmalware.yolo/sdafFewr34sdf/
- FIXME: https://curl.haxx.se/docs/todo.html#Rearrange_request_header_order
- headers can not be ordered correctly; if server checks for order we fail