![]() |
|
[Tutorial]Upload a shell through <?php system($_GET['cmd']); ?> - Printable Version +- Hack Forums (https://hackforums.net) +-- Forum: Hacks, Exploits, and Various Discussions (https://hackforums.net/forumdisplay.php?fid=45) +--- Forum: Grayhat • Purple Team • Hybrid Security (https://hackforums.net/forumdisplay.php?fid=449) +---- Forum: Website Hacking (https://hackforums.net/forumdisplay.php?fid=43) +---- Thread: [Tutorial]Upload a shell through <?php system($_GET['cmd']); ?> (/showthread.php?tid=2801337) |
[Tutorial]Upload a shell through <?php system($_GET['cmd']); ?> - AwwwwYeah - Aug 22, 2012 Just a tutorial that was made in 2 minutes. Sometimes people have backdoored PhP files with PHP Code This tutorial is for people that can't upload a shell through wget/curl (Windows Server for example) -- Open up the file...ex: PHP Code Now write these lines after the "cmd=" and press enter. Take line one, paste it after cmd=, press enter. Then take line two, paste it.. till ure done. PHP Code After you insert that, the test.php file looks like this: PHP Code then just visit "test.php" and upload ur shell. * - DEX|TER - Aug 22, 2012 thank you, i was looking for spmething like this. * - Jae - Aug 22, 2012 Great little tutorial. Never really thought about using a method like this so thanks for sharing. I wouldn't consider it useless either, so take it out of your title. * - AwwwwYeah - Aug 23, 2012 well edited the thread title xd thanks for the feedback * - rPwnz - Aug 23, 2012 Indonesian ,LOL :-) Code Upload GAGAL !!! [code] * - Eriksson - Aug 23, 2012 Nice tutorial mate, keep it up good work (; * - Zixem - Aug 23, 2012 I think that will be more comfortable to use eval() function, then run it as: file.php?cmd=system('hey_there'); Because if system() function is unavailable you can switch it faster and just try: file.php?cmd=exec('hey_there'); And not to create new file with other system execution functions. Anyway, nice tut buddy :3 * - x00 - Aug 23, 2012 you do that? and you're an uber? wtf. * - AwwwwYeah - Aug 23, 2012 (Aug 23, 2012 08:48 AM)PonyBlaze Wrote: I think that will be more comfortable to use eval() function, then run it as: file.php?cmd=system('hey_there'); well the tutorial was made in ~2 minutes and i didn't try any other way D; (Aug 23, 2012 11:58 AM)x00 Wrote: you do that? Ub3r is just a group? When you're so pro, why are you a normal member ? Atleast i've made a tutorial instead of you D; |