Giter Club home page Giter Club logo

jsh.php's Introduction

jsh.php version 0.2.6

Single file, terminal like php shell (PHP web terminal emulator)

Features

sqlite, mysql command with syntax highlight and tab completion

Limitations

  • Windows support is limited, you can run shell commands but it run normal cmd process (no powershell)
  • tab completion for commands in the system works only on Unix systems.

Changelog

0.2.6

  • fix empty command #5

0.2.5

  • fix optional arguments to RPC methods #4

0.2.4

  • fix authentication issue

0.2.3

  • remove bash debugger

0.2.2

  • fix error from running compgen command as shell command (disable exec in jQuery Terminal echo method)

0.2.1

  • fix SELinux trigger by running compgen

0.2.0

  • sqlite and mysql commands
  • completion
  • first tag

License

Released under MIT license

Copyright (c) 2017-2019 Jakub Jankiewicz

jsh.php's People

Contributors

jcubic avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

jsh.php's Issues

Wrong number of parameters in `mysql_connect' method. Got 4 expect 3

Hello,
mysql -u USER -h 127.0.0.1 DATABASE
Wrong number of parameters in `mysql_connect' method. Got 4 expect 3

Method is receiving all 4 parameters, but $host="127.0.0.1" is optional, and getNumberOfRequiredParameters is reporting that only needs 3.
So, maybe you need to modify this line:
if ($num_got != $num_expect)
with something else...

Create MySQL command

mysql command with username password and database, require option parser. The code should be taken from leash but username/password/db should be saved in Session.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.