Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Determine Available PHP Shell

GitHub release (latest by date) GitHub all releases GitHub license

php-shell-rotation

This package can easily determine which php shell function available to be execute.

Why?

Mostly web hosting nowadays will disable various php shell function like system(), exec(), shell_exec(), passthru(). This package will help to find which php shell function that still exist then use it to execute shell command.

Installation

Install php-shellrotation via composer

  $ composer require yasapurnama/php-shellrotation

Shell Function

The package will use these functions if they are exist and can be used:

Basic Usage

use Yasapurnama\PhpShellRotation\Shell;

$shell  = new Shell();
$output = $shell->exec('ls -lah');

print_r($output);

Contributing

contributions-wellcome

Contributions are always welcome!

License

Licensed under the MIT License, see LICENSE for more information.

About

Determine which php shell function available to be execute

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages