3 ms·
no but if you change the user agent of the wget to the same one the curl uses, it would be much harder to figure out the differences.
by lqdc13 11y ago
no but if you change the user agent of the wget to the same one the curl uses, it would be much harder to figure out the differences.
- ryan-c 11y agoI'm pretty sure wget still makes it's http requests as version 1.0 rather than 1.1 (which nearly everything else uses), and if you want to change that you need to patch it.
- lqdc13 11y agoof course. There are also other differences. Actually, I have no idea why it even matters unless you are specifically exploiting curl. And they are not in this case. You can redirect wget output to stdout too...
- vectorjohn 11y agoI think he's suggesting using wget both times, not curl. So it doesn't matter what the UA is. As other have suggested, there are still possible ways to trick you, but it's getting more and more remote.