I have installed phpshell 2.1 according to the INSTALL file and have
successfully created a user and run it
It is currently running on Windows Server 2003 R2 and IIS 6
However, I cannot use the cd command to change directory:
$ cd C:\
chdir() [function.chdir]: No error (errno 0)
cd: could n
by NTLM authentication)
- Original Message -
From: Tobias Unger
To: ArcyQwerty ; Discuss the development of PHP Shell
Sent: Sunday, May 10, 2009 10:48 AM
Subject: Re: PHP Shell
Did you try whether "cd .." works or not?
And is C:\ accessable for PHP? [inside Do
I am fairly sure that it has the ability to use the rights of the logged in
user as the system32 directory is strictly off limits to the 'public' account
- Original Message -
From: Tobias Unger
To: ArcyQwerty ; Discuss the development of PHP Shell
Sent: Sunday, May
Yes I am still subscribed ;)
I have tried different methods such as
cd /
cd ..
cd ../
cd C:\
cd C:
cd C:/
- Original Message -
From: Tobias Unger
To: ArcyQwerty ; Discuss the development of PHP Shell
Sent: Sunday, May 10, 2009 4:37 PM
Subject: Re: Fw: PHP Shell
32)
- Original Message -
From: Tobias Unger
To: ArcyQwerty ; Discuss the development of PHP Shell
Sent: Monday, May 11, 2009 2:52 PM
Subject: Re: Fw: Fw: PHP Shell
I'm sorry but I do not have a clue what the problem might be caused by, so I
will not be able to h
an take a parameter with the current directory which is
then passed onto the executed program
- Original Message -
From: Tobias Unger
To: ArcyQwerty ; Discuss the development of PHP Shell
Sent: Monday, May 11, 2009 4:02 PM
Subject: Re: Fw: Fw: PHP Shell
That (dir still showin
This is not an actual shell which runs continuously...
It is reset on every command
commands like cd are tracked by $_SESSION['cwd']
for ls to work try this modification to the proc_open:
$p = proc_open($command,
array(1 => array('pipe', 'w'),