Skip to content

hddananjaya/PHP_Secure_WebShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ifconfig

PHP Secure WebShell

This is just an old school php web shell, but with a password feature. You need to setup password hash before uploading and after file is uploaded need to enter password before executing commands.

Interesting part is you don't need to enter the password for every command, instead once you type the password you can run any number of commands as you wish for your particular session.

But don't forget also the r4n0mguy can do the same if he/she managed to take your session id. So make sure to terminate your session when leaving.

Generate password hash

php -r "echo password_hash('yourstrongpassword', PASSWORD_DEFAULT );"

run above command and replace the value of $PASSWD variable.