Fork 0
mirror of https://github.com/b374k/b374k.git synced 2024-06-19 02:34:46 +02:00
Go to file
b374k 3e456486c9
Merge pull request #41 from xKippi/master
Fix another PHP Fatal error
2023-06-24 13:26:13 +08:00
base Optimizing function 2016-12-13 00:33:35 -03:00
module Added parentheses around stacked ternary operator 2023-06-23 15:53:58 +02:00
theme Updated to v3.2.3 2014-07-02 01:47:41 +07:00
index.php Updated to v3.2.3 2014-07-02 01:47:41 +07:00
LICENSE.md Update LICENSE.md 2014-01-11 23:19:19 +07:00
README.md Updated php usage instructions 2014-11-05 14:41:13 -08:00

b374k shell 3.2

This PHP Shell is a useful tool for system or web administrator to do remote management without using cpanel, connecting using ssh, ftp etc. All actions take place within a web browser

Features :

  • File manager (view, edit, rename, delete, upload, download, archiver, etc)
  • Search file, file content, folder (also using regex)
  • Command execution
  • Script execution (php, perl, python, ruby, java, node.js, c)
  • Give you shell via bind/reverse shell connect
  • Simple packet crafter
  • Connect to DBMS (mysql, mssql, oracle, sqlite, postgresql, and many more using ODBC or PDO)
  • SQL Explorer
  • Process list/Task manager
  • Send mail with attachment (you can attach local file on server)
  • String conversion
  • All of that only in 1 file, no installation needed
  • Support PHP > 4.3.3 and PHP 5

Requirements :

  • PHP version > 4.3.3 and PHP 5
  • As it using zepto.js v1.1.2, you need modern browser to use b374k shell. See browser support on zepto.js website http://zeptojs.com/
  • Responsibility of what you do with this shell

Installation :

Download b374k.php (default password : b374k), edit and change password and upload b374k.php to your server, password is in sha1(md5()) format. Or create your own b374k.php, explained below

Customize :

After finished doing editing with files, upload index.php, base, module, theme and all files inside it to a server

Using Web Browser :

Open index.php in your browser, quick run will only run the shell. Use packer to pack all files into single PHP file. Set all the options available and the output file will be in the same directory as index.php

Using Console :

$ php -f index.php
b374k shell packer 0.4

options :
        -o filename                             save as filename
        -p password                             protect with password
        -t theme                                theme to use
        -m modules                              modules to pack separated by comma
        -s                                      strip comments and whitespaces
        -b                                      encode with base64
        -z [no|gzdeflate|gzencode|gzcompress]   compression (use only with -b)
        -c [0-9]                                level of compression
        -l                                      list available modules
        -k                                      list available themes

example :

$ php -f index.php -- -o myShell.php -p myPassword -s -b -z gzcompress -c 9

Don't forget to delete index.php, base, module, theme and all files inside it after you finished. Because it is not protected with password so it can be a security threat to your server

Documentation :

Coming soon

Old Version :

If your browser is not supported, or any other reason, you can view old version here https://code.google.com/p/b374k-shell/