Timeline for Trolling the troll
Current License: CC BY-SA 3.0
17 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 17, 2020 at 9:04 | history | edited | CommunityBot |
Commonmark migration
|
|
Nov 21, 2014 at 19:01 | comment | added | Qwertiy | As for me (I don't know php), the @ symbol is strange as I see it here for the first time. And when the other code seems correct, this place causes some sense of a strange thing. | |
May 4, 2014 at 11:05 | comment | added | TheMaskedCucumber |
But… the html and body elements are not closed ! This file is bad. Do not open this file !
|
|
Mar 17, 2014 at 17:37 | vote | accept | Erel Segal-Halevi | ||
Apr 5, 2014 at 20:32 | |||||
Mar 17, 2014 at 8:49 | comment | added | Mohammed Joraid | Just wait until PHP introduce this function for real as an Alias to "unlink". Similarly to is_int() and is_integer() and this malware will be the real troller. | |
Mar 16, 2014 at 2:54 | comment | added | Brendan Long |
@KonradRudolph A function named delete to delete files is completely believable in PHP. The only thing that's not believable is that if it was real, there would be 3 or 4 other ways of doing it and all but the one with the weirdest name would have serious security flaws.
|
|
Mar 11, 2014 at 14:21 | comment | added | Konrad Rudolph |
I think using a random non-existent function is a tad obvious (delete to delete files? There’s no reason to assume that’d fool anybody). How about unlⅰnk instead (which uses U+2170 instead of “i”)?
|
|
Mar 11, 2014 at 13:47 | comment | added | Ismael Miguel | Just read the 1st constant's definition: php.net/manual/en/errorfunc.constants.php | |
Mar 11, 2014 at 11:30 | comment | added | Cthulhu |
@IsmaelMiguel (except fatal errors) not true, it's exactly fatal error which is being suppressed in this case.
|
|
Mar 10, 2014 at 23:05 | comment | added | Ismael Miguel |
The @ before delete suppresses all errors (except fatal errors). It's the same as error_reporting(0);delete();error_reporting(E_ALL); .
|
|
Mar 10, 2014 at 22:53 | comment | added | Zoey | See, I thought the reason the errors would be ignored and execution would continue was because it was PHP. | |
Mar 10, 2014 at 19:14 | comment | added | basher | @user11153 got trolled. | |
Mar 10, 2014 at 16:03 | comment | added | TimWolla |
@Erti-ChrisEelmaa This is correct: php > delete('/tmp/file'); PHP Fatal error: Call to undefined function delete() in php shell code on line 1
|
|
Mar 10, 2014 at 13:15 | comment | added | Erti-Chris Eelmaa | ^ as far I understand: there is no delete() function, the manual just says that this is "fake-entry" for anyone looking the right function(unlink). That does not mean there is some kind of "automatic" redirection in PHP. | |
Mar 10, 2014 at 13:10 | comment | added | user11153 | php.net/manual/en/function.delete.php | |
Mar 10, 2014 at 10:49 | history | edited | r3mainer | CC BY-SA 3.0 |
I love the way PHP formatters always treat `delete()` as a real command :-)
|
Mar 10, 2014 at 10:17 | history | answered | r3mainer | CC BY-SA 3.0 |