| « Prev | Page 1 | Page 2 | Page 3 | Next » |
|
I'm only posting this to deprive some one of saying that 5 letter word
|
|
?page=delete_all_first_posts
|
|
Call me naive, but that's the dirtiest thing I've ever seen...
|
|
An example! While PHP might not be a bad language, there seem to be lots of idiots writing in it.
CAPTCHA: Nobis. More like noobis, amirite? |
|
if derick is capable of firing up a shell and fixing it himself, what's the point of "ondra"? and who names their kid Ondra?
|
Re: Maybe I Needing Later
2009-12-22 09:13
•
by
Wonko
(unregistered)
|
Guess that would have done the same job. |
Re: Maybe I Needing Later
2009-12-22 09:16
•
by
Ramses So let it be written so let it be done
(unregistered)
|
|
Hey, my name is Ondra...
I will meet you outside in 10 minutes to kick your arse... |
Alex makes up fake names for these stories and sometimes he gets them mixed up. 3rd attempt |
|
Even if the dude did run the script and kill the site...
...it only proves once again to have backups. |
|
I hope he just replaced the body of the function with some appropriate message. I know I would have.
|
|
Shame about the crappy software. At least Kerbleckistan is number one exporter of potassium.
|
Re: Maybe I Needing Later
2009-12-22 09:23
•
by
csm
(unregistered)
|
...and he makes up "Ondra". weeeeird. :) |
|
That's what he gets for outsourcing.
Yours, Ondra captcha: populus |
Yes, after hours of work, the site is back up. I'll just turn on the routers and.... hmm, where did it go? The only thing this proves is to do code reviews and, maybe, not outsource to the lowest bidder? |
|
Our developers are not from Kerbleckistan, but I have a feeling they took their English classes there because all of these can be literally found in my inbox :
"It does working on my machine," "I have missing your email," "this is first time problem" "it is good codes," Another one of my favorites is the sentence "It is not like." , which can be an answer to almost any question ranging from "Please explain the problem in detail?" over "When was the last time you edited those reports?" to "Which file are you talking about?" |
|
|
I think the real wtf was the fact that the crappy developer actually led him onto find the backdoor. I would have just kept my mouth shut.
The irony of my captcha was 'deceit'. Today is going to suck. |
|
so the moral of this story is to always wrap your unlink calls in eval statements broken over several lines so that grep can't find them.
I mean, if you're going to be evil, why half-ass it? |
|
It's not just backups that were missing. The "developer" was pushing a snapshot to the server, and that was all. What about version control?
|
|
That's not just evil. That's Google Evil.
|
I've done that to get around anti-virus software when I didn't want to explain to IT why I was doing something wrong (though innocuous). |
Re: Maybe I Needing Later
2009-12-22 10:05
•
by
lImbus
(unregistered)
|
|
I'd have certainly too, even if with the risk of needling him to try out a little bit of SQL injection.
|
Naive... :D |
|
The guy got MORE than he bargained for... for a tenth of the price. Outsourcing rulez... NOT :))
|
|
another real WTF is this useless use of cat.
what's wrong with the following ? grep unlink *.phpor grep unlink -R *.phpThe fact I could instantly see the filename in question ? |
Indeed, by participating in the strategic weakining of the nation that secures freedom via balance of power to most of the planet, outsourcing is arguably more evil than even Google. |
Call me naive, but I didn't see that one coming ;-) |
Re: Maybe I Needing Later
2009-12-22 10:14
•
by
Neil
(unregistered)
|
|
php, developer, version control, never thought I would hear those words in the same sentence lol
|
Re: Maybe I Needing Later
2009-12-22 10:16
•
by
skywalker
(unregistered)
|
|
Isn't it obvious? "Ondra" is just "Ardno" backwards!
|
|
Wouldn't it have been easier for him to have just written
unlink("*.php")? I don't know. I don't know that much about PHP... Although yeah, I do think this is sneaky and dirty. |
Re: Maybe I Needing Later
2009-12-22 10:23
•
by
Tyler
(unregistered)
|
Funny, I took away something totally different. There are three morals to this story: 1. Always build yourself a backdoor in every project 2. The first rule of backdoor club is that we don't talk about backdoor club 3. If this is your first project, you have to code a backdoor |
Re: Maybe I Needing Later
2009-12-22 10:30
•
by
Anonymous
(unregistered)
|
|
I dunno...
I did some work a couple of months ago and the person is refusing to pay and avoiding attempts to contact. He has his DNS hosted on my nameservers, you don't know what an effort of will it's taking not to point the A records for his site at a pornsite, goatse or similar, heh |
Re: Maybe I Needing Later
2009-12-22 10:32
•
by
ForcedSterilizationsForAll
(unregistered)
|
x = "Hello World" Print x If x = "Hello World" then deltree c: |y End If |
Re: Maybe I Needing Later
2009-12-22 10:34
•
by
D
(unregistered)
|
|
Not to forget unobtainium. I wonder where the name comes from.
|
Re: Maybe I Needing Later
2009-12-22 10:36
•
by
ForcedSterilizationsForAll
(unregistered)
|
You could always re-route them to a site that says it is down due to non-payment. |
Apple? |
|
if ($_GET['page'] == "delete_all_files"){
echo "Go fuck yourself Boris!"; } |
|
// maybe I needing later
if ($_GET['page'] == "delete_all_files"){ echo "ALL YOUR FILES ARE BELONG TO US"; mysql_query("DROP TABLE *"); unlink("index.php"); unlink("apps.php"); unlink("resources"); ... snip all files ... } |
|
This is horrible! Immoral! I would never do something like this!
unlink, you say? I shall file this knowledge away. Maybe I needing later. |
|
When I was a Quality Control intern at a steel mill in the mid 90's, I heard a story of a contractor who had written an application for said steel mill in the early 80's. The agreement was that, upon implementation of the application, the contractor would be hired as a full employee. Very late in the process, the contractor discovered that the company was planning to renege on its end of the deal. He added a last-minute change to the code that wasn't in any of the documentation or back-ups; if the app didn't receive a certain input every other week, it would essentially delete itself. Implementation happened, and the company showed the contractor the door. About two weeks later, their shiny new application completely stopped working. They apparently threatened legal action against him, but never did anything because they had breached their initial agreement. I'm not sure how it was ever resolved...
|
|
Now that's what I call job security.
|
Re: Maybe I Needing Later
2009-12-22 11:05
•
by
Jim
(unregistered)
|
|
worthy of an un-necessary use of cat award!
|
Re: Maybe I Needing Later
2009-12-22 11:13
•
by
pueblonative
(unregistered)
|
|
Either that or a reason for the police to come knocking on your door.
|
Re: Maybe I Needing Later
2009-12-22 11:16
•
by
Alekz
(unregistered)
|
If you were smart enough to do it, you'd probably be smart enough to make it right too :) |
|
Sounds like my current boss, who has me working for him with everything else (for his multiple businesses) sent over to "Kerbleckistan" - he's up to having 6 "Kerbleckistani" developers right now, and as a consequence I have to not only work a regular day (or be on call.. getting a call this morning at 6am is bullshit) but be on at night as well to speak to the developers.
|
Re: Maybe I Needing Later
2009-12-22 11:28
•
by
ShatteredArm
(unregistered)
|
FTW! |
|
I'd replace the contents of the if statement with an ip tracker and pull as much info about him as I can.
|
Re: Maybe I Needing Later
2009-12-22 11:41
•
by
Procedural
(unregistered)
|
|
Perhaps it is an anagram for Hard On; that feeling you get when you know a big clean-up contract will come you way.
|
|
Brillant!
Maybe I needing later |
|
There are two WTFs here, but the second may be less obvious. That a script running on a web host has that kind of access to the web root is pretty funky. When I configure web servers, if I have need for user uploaded content I setup a special directory just to enable write access.
That way, situations like this can't happen. |
| « Prev | Page 1 | Page 2 | Page 3 | Next » |