Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Access Linux shell using Remote PHP Shell  (Read 2195 times)

0 Members and 1 Guest are viewing this topic.

mohitht

  • Guest
Access Linux shell using Remote PHP Shell
« on: January 24, 2014, 01:31:49 pm »
Hey Guyz,

A PHP Shell is a program that is developed using PHP script used to execute Shell commands on remote  web-server like Telnet and SSH.

First download the file

http://sourceforge.net/projects/phpshell/?source=dlp

Install the packages

# apt-get install apache2

# apt-get install php5 libapache2-mod-auth-mysql php5-mysql

# service apache2 start


In Redhat and CentOS

# yum install httpd

# yum install php php-mysql

# service httpd start



move the PHP file to the Document root

# mv phpshell-2.4.tar.gz /var/www/

# tar -zxvf phpshell-2.4.tar.gz

# mv phpshell-2.4 to a folder

# cd foldername

# phpshell.php index.php



Now type http://localhost/foldername/ in browser

by default there wont be any username and password


That's it  :)

:) :)




« Last Edit: January 24, 2014, 01:33:34 pm by Mohith Tom »