I once used it to change the user-agent and get an alternative response from an API.
Re:Author of cURL denied entry to the USA
by funnyfacts365 on Thursday June 29, 2017 @11:25AM
(#14664017)
badass...
Re:Author of cURL denied entry to the USA
by joncrocks on Tuesday June 27, 2017 @06:09AM
(#14643803)
I presume the author of the comment is refferring to incidents such as https://daniel.haxx.se/blog/2010/12/23/hacking-me/
If you write a general-purpose utility and it gets included in some kind of bad software, the people writing the 'bad' parts aren't likely to include their details, but if your 'good' code has your details....
I mean, I've personally used it to access APIs from shell scripts that would have been far more maintainable in a proper Python script.
Re:Author of cURL denied entry to the USA
by contingencies on Tuesday June 27, 2017 @06:09AM
(#14643812)
That's three counts of conspiracy to degrade system maintainability, manufacturing tooling with intent to degrade system maintainability, possession of tooling to degrade system maintainability, one count of international travel with intent to degrade system maintainability, two counts of manufacture of false documents[0][1] in support of a conspiracy. Bail denied. And... that's life.
[0] Exhibit A: man curl
[1] CURL website
Re:Author of cURL denied entry to the USA
by nthcolumn on Tuesday June 27, 2017 @06:06AM
(#14643794)
You monster!
If an attackers rouge process lands itself on a target, using something trusted like cURL is better than opening a socket directly, no? Less likely to attract attention?
Same goes for wget, links, etc.
Sorry no sources, it won't take you long to verify this yourself using google. I'm sure there are competent infosec guys and gals here who can provide a better explanation.
Re:Author of cURL denied entry to the USA
by funnyfacts365 on Thursday June 29, 2017 @11:27AM
(#14664030)
rogue, not rouge.
"I once saw him kill three men in a bar with a pencil, with... a... f#@king... pencil." © John Wick
curl -i -X POST http://SOME_TERRIBLE_WEBSITE/api/people/SSN/kill
What?! Sources please.