Code gave code-execution powers to anyone who knew the secret password: "zerodium."
Read the whole story
Read the whole story
I can see why they are doing this, but it still worries me that all source code tends to end up on GitHub.
Haven't we learned that platform monoculture is bad?
(I guess not).
Git being Git, why should it matter if GitHub is a common place to host repositories? Does it naturally impose any kind of culture beyond Git itself? GitHub-specific features seem to be convenient wrappers for functionality that exists or could be replicated elsewhere.I can see why they are doing this, but it still worries me that all source code tends to end up on GitHub.
Haven't we learned that platform monoculture is bad?
(I guess not).
perl 5.8.5
There's been tons of small repo hosting services over the years. It's always been an enormous pain to find and fix all the broken links when they inevitably folded.Indeed, there are others who share the same opinion:
https://lwn.net/Articles/850992/
There is some discussion there regarding sourcehut as a FOSS drop-in for GitHub.
There's been tons of small repo hosting services over the years. It's always been an enormous pain to find and fix all the broken links when they inevitably folded.Indeed, there are others who share the same opinion:
https://lwn.net/Articles/850992/
There is some discussion there regarding sourcehut as a FOSS drop-in for GitHub.
No one doing any sort of remotely serious hack of PHP would've done it like this.if (strstr(Z_STRVAL_P(enc), "zerodium")) {
That’s why I love the fork-repo feature (like the github one). New maintainers have stepped up to abandoned projects this way, license-permitting.There's been tons of small repo hosting services over the years. It's always been an enormous pain to find and fix all the broken links when they inevitably folded.Indeed, there are others who share the same opinion:
https://lwn.net/Articles/850992/
There is some discussion there regarding sourcehut as a FOSS drop-in for GitHub.
It is unfortunate that people lose interest in their projects, or that people lose interest in these FOSS projects after dealing with rough edges that big budgets can overcome. This is a complex problem, and in this case, I doubt that GitHub will be dethroned in the near future unless significant missteps occur.
Just another example of why you shouldn't ever try to roll your own security related infrastructure unless you really really know what you are doing.
You certainly beat me to that one!No one doing any sort of remotely serious hack of PHP would've done it like this.if (strstr(Z_STRVAL_P(enc), "zerodium")) {
PHP 80 % of websites? Humanity is doomed.
Was the server running php for the webapp?
It certainly would be a high-value target for nefarious types.
It does tend to be safer for non-developers to use someone else’s code than their own. The difficulty is in evaluating what is safe to run and how to keep it that way. That can be difficult even for experienced devs.PHP 80 % of websites? Humanity is doomed.
Because 80% of websites running Python/ASP.NET/Node/whatever is sooooo much better?
The biggest problem with PHP and all the other languages IMO is that people grab sample code from some rando site and it works and they think they are developers and they leave this shit running on live servers hooked up to the net.
My number one task for the last month or so has been trying to explain the difference between code that functions, and production ready code to senior management...
PHP 80 % of websites? Humanity is doomed.
Python has "errors should not pass silently" as a core value. Yes, Python would be sooooo much better, it really would. ASP.NET would also be better, sure it's a pain to develop with, but I think it's pretty OK when it comes to security.PHP 80 % of websites? Humanity is doomed.
Because 80% of websites running Python/ASP.NET/Node/whatever is sooooo much better?
PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
PHP 80 % of websites? Humanity is doomed.
Because 80% of websites running Python/ASP.NET/Node/whatever is sooooo much better?
The biggest problem with PHP and all the other languages IMO is that people grab sample code from some rando site and it works and they think they are developers and they leave this shit running on live servers hooked up to the net.
My number one task for the last month or so has been trying to explain the difference between code that functions, and production ready code to senior management...
My number one task for the last month or so has been trying to explain the difference between code that functions, and production ready code to senior management...
Gonna go write my next (first) website in assembly. I don't even know if that's physically possible.PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
Don't forget Yii!
Gonna go write my next (first) website in assembly. I don't even know if that's physically possible.PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
Don't forget Yii!
Gonna go write my next (first) website in assembly. I don't even know if that's physically possible.PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
Don't forget Yii!
I've actually rewrote a couple (though they're completely intranet). Redid straight HTML in PHP and it made my life so much easier.Gonna go write my next (first) website in assembly. I don't even know if that's physically possible.PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
Don't forget Yii!
Anything is possible with enough time and effort. It would keep you busy for a while, that's for sure!
PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
Don't forget Yii!
Gonna go write my next (first) website in assembly. I don't even know if that's physically possible.PHP 80 % of websites? Humanity is doomed.
That is primarily Wordpress, Joomla and other consumer CMSs.
High volume serious PHP websites use Symfony or Laravel, which is an entirely different beast.
Don't forget Yii!
PHP 80 % of websites? Humanity is doomed.
Because 80% of websites running Python/ASP.NET/Node/whatever is sooooo much better?
The biggest problem with PHP and all the other languages IMO is that people grab sample code from some rando site and it works and they think they are developers and they leave this shit running on live servers hooked up to the net.
My number one task for the last month or so has been trying to explain the difference between code that functions, and production ready code to senior management...
Before PHP 7, PHP was a terrible, unsafe hackster language that seriously had no right to exist. But after the release of PHP 7 and the evolution of clean and solid framework architectures like Laravel or Symfony, PHP has become seriously good for web services.
Just another example of why you shouldn't ever try to roll your own security related infrastructure unless you really really know what you are doing.
The commits made it into their main/master branch. They weren't packaged up into a release, but they made it past the review stage.To clarify, were these changes ever put "into production" or were the commits caught during a review?
Revert "Revert "Revert "[skip-ci] Fix typo"""