739 karma · joined March 7, 2013
grepcoco at gmail
@grepcocoOf course, no matter the language used, input sanitising is essential.
Edit: Since you've edited your post to add cURL to your criticism, please note I originally replied "These are best done with a non-scripted program or perhaps Python" for exactly this reason.
Much of the criticism of PHP can be leveled against its misuse as much as the language's own shortcomings.
If you use PHP, you can add the following to php.ini to mitigate risks like these (mitigate != bulletproof) :
; Mayhem dropper uses "system" so let's kill that and other dangerous functions
disable_functions = system,eval,curl_exec,curl_multi_exec,exec,passthru,shell_exec,show_source
If this breaks your software, your software is badly written.Allowing write permissions in the script directory is always a dangerous thing. It's best to put the application files outside root and enable execute permissions only on the script directory. If uploading files is allowed, it should be to read/write enabled directories only. Execute permissions should be turned off.
The dropper tries to kill critical processes as mentioned so chrooting services individually is a good idea.
Or you could just use OpenBSD ;-)
I'm more alarmed by the email spoofing. Isn't this the same as manufacturing evidence? Consider: An entity is under surveillance, however the powers that be decide the scope is too limited. What better way to invite scrutiny than ensuring an email from the desired target arrives in the monitored entity's inbox?
In the U.S. the FCC was overruled over bans on commercial use of these so that's another barrier lifted. As an added bonus, it also prevents immediate discovery of the pilot and thereby avert suppression to some degree.
Until Unicode stops breaking people's names, it will continue to be the one standard for Japanese systems on and offline. Even when(if?) it stops breaking Japanese names, it will take a very, very long time to roll over existing systems and that's precluding unforeseen problems during the conversion.
We should stop before we take the "not following standard" = "broken" ideology. Especially when we consider whom the standard serves best.
Edit: By "it will continue to be the one standard for Japanese" in the 2nd paragraph, I meant ShiftJIS not Unicode. That looked a bit unclear.
https://webcache.googleusercontent.com/search?q=cache:krazyd...
The right to speech and free expression is protected in the U.S. (for the most part) whereas the right to affordable parking is an arguable point. The primary issue San Francisco had in this whole episode is that they didn't come up with it first. This was all about revenue.
Reinvention of the wheel, reimplementation of a paradigm or some other repetition in a slightly different or totally different way isn't necessarily a bad thing as long as the underlying concepts are well understood and it is executed with competence. I still believe malicious tampering is unnecessary when carelessness - or tiredness - on the part of the developer will do just as well.
I'll have to look into HTTPS Everywhere. Thanks for the recommendation.
I wonder if users can be motivated to do the checking themselves when they post the link.
Looks like a pretty nice project.
"When exact birth year was not tagged, the
individual was prorated over the appropriate time period."
Which makes sense as you still get a relatively accurate portrait of the scheme. I wonder how large a roll the loss of records have played in erasing a large chunk of our history.Of course, this might be way more trouble than most people are willing to go through.
It amazes me that the majority of computer related books I've read are really not fit for human consumption. It's really refreshing to see that he understood this and made his work and lectures - I've seen a few on YouTube - as engaging and entertaining as possible while still being clear and concise.
Code is for computers, but in the end, programming is for humans.
Besides this, it also gets rid of a lot of ad tracking without having to install any plugins specifically to block it. I'm a big fan of using existing features, both in software and hardware, to their fullest before extending them.
But the biggest reason is my computer is a bit slow too and I don't want to spend hundreds more just to consume text; something that hasn't changed since the dawn of the web and something I've been doing for years. It's wasteful to pollute my closet and a landfill in the future with e-waste because single-page apps and fancy transitions don't work properly.