Results 1 to 15 of 15
Thread: PHP - &
Hybrid View
-
3rd June 2008 16:18 #1Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
PHP - &
,
PHP- , . Win , PHP- , , / .
-
3rd June 2008 17:03 #2
LocalSystem ( ), . , . , , - exec() ActiveX FileSystemObject, . CScript.exe, , ( 2.2 ) - Der Zugang war verboten.
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
3rd June 2008 17:38 #3
, - . remote , , unmap- drive-a.
Hey, mother, I come bearing a gift. I'll give you a hint. It's in my diaper and it's not a toaster.
.
-
3rd June 2008 17:48 #4Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
- PHP- Administrator , ..
-
3rd June 2008 17:46 #5
. . -. - IUSR_kaktobeshetam - UNC , . .
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
3rd June 2008 17:58 #6
. - - cgi? - , .
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
3rd June 2008 18:09 #7Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
PHP- Apache-, . Administrator, .. , Bombera, .
-
3rd June 2008 22:08 #8
-
3rd June 2008 18:18 #9
SYSTEM , . . .
.. , . Windows Scripting Host? Javascript, exec(), safe_mode, ?Last edited by Bombera; 3rd June 2008 at 18:23.
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
3rd June 2008 18:20 #10Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
-
3rd June 2008 18:31 #11Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
-
3rd June 2008 18:34 #12
. . .
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
3rd June 2008 18:36 #13Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
-
3rd June 2008 20:03 #14
mapdrive.js
unmapdrive.jsCode:var drive = "Z:"; var UNCpath = "\\\\computer\\folder"; var user = "computer\\username"; var pwd = "parola"; var objFS = new ActiveXObject("Scripting.FileSystemObject"); if(!objFS.DriveExists(drive)){ WshNetwork = WScript.CreateObject("WScript.Network"); WshNetwork.MapNetworkDrive(drive, UNCpath, true, user, pwd);// if error, returns 1 } WScript.Quit(0);
test.phpCode:var drive = "Z:"; var objFS = new ActiveXObject("Scripting.FileSystemObject"); if(objFS.DriveExists(drive)){ WshNetwork = WScript.CreateObject("WScript.Network"); WshNetwork.RemoveNetworkDrive(drive, true, true); // if error script returns 1 } WScript.Quit(0);
, .js exec(). . , URL , cscript, . - cscript.exe , .PHP Code:$map = true; // false, se unmap-ne,
// ini_get('safe_mode_exec_dir') , safe_mode e off .js . safe_mode on, , php.ini safe_mode_exec_dir, cscript.exe!!!
$path = ini_get('safe_mode_exec_dir').(($map)?'/mapdrive.js':'/unmapdrive.js');
exec('cscript.exe /nologo '.$path, $stdout, $exit_code);
if($exit_code != 0){
echo ' '.(($map)?'':'').': <font color="#FF0000">'.$stdout[0].'( : '.$exit_code.')</font>';
}
mkdir('Z:\blah1'); // , Z:, . , , , .
:
, . .
$map=true
mkdir, ( ) , , . ., .
- .
:
, .
$map=false
, ( ).
- .
mkdir, , - .
! . , , . .
- , . 100 ., .Last edited by Bombera; 3rd June 2008 at 20:58. Reason: ...
EVGA X299 FTW K|i9-7960X@4.7|4x8 Patriot Viper Steel 4000|GTX 1660 Ti|970 EVO 1 TB|Seasonic Focus GX-1000|Xigmatek Elysium|
Rampage IV Extreme BE|E5-1680v2@4.7|4x4 HyperX 1866|Cougar Aqua 240|GTX 1050 Ti|970 EVO 1/4 TB|CM 850 SilentPro|HAF-X|
-
3rd June 2008 20:39 #15Registered User
Join Date: Jul:2002
Location: The Bog of Eternal Stench
Posts: 345
, !




Reply With Quote

Lenovo ThinkPad 15 IdeaPad 15
5th May 2023, 22:16 in