Wednesday 22 February 2012

a quick play with xampp lite and phpshell

Windows 2003 sp3

XAMPP Windows 1.7.7 [ http://www.apachefriends.org/en/xampp-windows.html ]
extract to C:\xampp\
extract to C:\xampp\htdocs\phpshell-2.4\

I shutdown skype first, it conflicts with tcp port 80 that I will use it for apache later
I check my ports using cports.exe [ http://www.nirsoft.net/utils/cports.html ]
or you can change the default listening port in httpd.conf located C:\xampp\apache\conf\

before running apache,
C:\xampp\setup_xampp.bat

then, xampp-control.exe

in,
C:\xampp\htdocs\phpshell-2.4\config.php
add,
username = "password"
file-upload = true

in browser,
http://127.0.0.1/phpshell-2.4/phpshell.php

google search,
"phpshell" cd: could not change to: /\/c:\

a little bit buggy / annoying about the home-directory,
$ cd c:\
chdir() [function.chdir]: No such file or directory (errno 2)
cd: could not change to: C:\xampp\htdocs\phpshell-2.4/\/c:\

works,
dir c:\


No comments:

Labels

Search This Blog