Someone at the BruCON conference told me that curl has a better option to handle the issues I talked about in my diary entry “Downloading Samples From Takendown Domains“.
It’s the –resolve option (more solutions can be found in “Name resolve tricks“).
One uses that option like this: –resolve hostname:port:ip_address
(c) SANS Internet Storm Center. https://isc.sans.edu Creative Commons Attribution-Noncommercial 3.0 United States License.