Skip to content

Determine which php shell function available to be execute

License

Notifications You must be signed in to change notification settings

yasapurnama/php-shellrotation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

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

License

Stars

Watchers

Forks

Packages

No packages published

Languages