News for hackers. Stuff that matters.
Re:Remove anti-privacy, anti-security, and general nuisance ... by therobot24 on Sunday August 16, 2015 @05:43AM (#10068463)
I'm all for scripts to help set these things up fast, but never in a million years will i download some random .bat file to just click and run. Especially without documentation of each operation it's going to perform.

I know i can just read the code, but i'm not skilled enough with windows to know if there's something else snuck in there or not.

Re:Remove anti-privacy, anti-security, and general nuisance ... by y0ghur7_xxx on Sunday August 16, 2015 @06:18AM (#10068512)
> but never in a million years will i download some random .bat file to just click and run.

I think that in this particular case you can trust the random bat file more than Microsofts official binary blob OS.

Re:Remove anti-privacy, anti-security, and general nuisance ... by cwyers on Sunday August 16, 2015 @09:31AM (#10068849)
Why on Earth would you think that?
Re:Remove anti-privacy, anti-security, and general nuisance ... by lcswi on Sunday August 16, 2015 @07:31AM (#10068621)
Is there no 'curl http://example.com/script.sh | sh' equivalent for windows? It's really popular among the typical js/ruby/mongodb crowd so I guess it is safe and secure.
Re:Remove anti-privacy, anti-security, and general nuisance ... by jholman on Sunday August 16, 2015 @07:53AM (#10068664)
You might have been joking, or you might have been serious. If you were joking, my reply is for the benefit of readers other than yourself.

Aside from the obvious risks of downloading and immediately executing internet code, which are indeed risks but of course we all accept them on a regular basis...

... and aside from the mildly more subtle risks that the HTTP server is doing something sinister, e.g. with browser-agent, and so you're not getting the code you think you're getting...

... even aside from these issues, curl-and-pipe-to-sh is dangerous because of its failure modes.

https://www.seancassidy.me/dont-pipe-to-your-shell.html

Re:Remove anti-privacy, anti-security, and general nuisance ... by lcswi on Sunday August 16, 2015 @07:56AM (#10068672)
I was sarcastic, thanks for that great link!
Re:Remove anti-privacy, anti-security, and general nuisance ... by lmz on Sunday August 16, 2015 @09:29AM (#10068844)
You're joking, but of course there is such an equivalent. See instructions on https://chocolatey.org/ for an example.
Re:Remove anti-privacy, anti-security, and general nuisance ... by mkup on Sunday August 16, 2015 @10:30AM (#10068977)
There's no curl in default Windows installation, but "bitsadmin.exe /transfer" can do pretty much the same, and the shell (cmd.exe) has been around since Windows 95. So, actually, yes, but unfortunately without a pipe.
Re:Remove anti-privacy, anti-security, and general nuisance ... by marak830 on Sunday August 16, 2015 @05:51AM (#10068468)
I agree, a little documentation would go a long way here. Id really like to read a post saying actually what it does too, it wouldbe interesting to see how effective it is.
Re:Remove anti-privacy, anti-security, and general nuisance ... by MaulingMonkey on Sunday August 16, 2015 @06:13AM (#10068507)
What exactly should be documented? The commands? The service names? The DNS records being sinkholed? The redirect-to-127.0.0.1 trick?

There are blog/post links in various comments in these files, I should note.

I'm not sure how documentation would help with the "might sneak something in" issue either. If anything, if you're feeling paranoid / reasonably cautious, you should ignore the documentation in favor of documentation you source yourself - if you can't trust the author to write the commands, you can't trust the author's documentation of the commands either.

Re:Remove anti-privacy, anti-security, and general nuisance ... by marak830 on Sunday August 16, 2015 @07:57AM (#10068675)
Honeatly if i was running 10, id have definatly run though it, sorry poorly worded on my behalf. I should have just said id like to read a post on what he has done, any negative effects it may have and if he thinks he missed anything.
Re:Remove anti-privacy, anti-security, and general nuisance ... by lawnchair_larry on Sunday August 16, 2015 @06:08AM (#10068499)
Seriously? Did you even look at it?
Re:Remove anti-privacy, anti-security, and general nuisance ... by im3w1l on Sunday August 16, 2015 @07:16AM (#10068599)
I agree that the scripts are very readable, but even if therobot24 might be able to understand them, there are many people who wont. Verifying it yourself doesn't work for the non-hacker crowd.

The solution is that someone trustworthy vouches for the files.