Coder Social home page Coder Social logo

lautarovculic / getshell Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6 KB

Simple interactive shell from PHP webshell

Home Page: https://lautarovculic.com

License: MIT License

Python 42.09% Shell 56.91% PHP 1.01%
bash hacking hacking-tools python revshell shell webshell

getshell's Introduction

getShell (bash)

This Bash script enables remote shell access via a provided URL, executing commands on the remote system and displaying the results.

Usage

To use this script, follow these steps:

  1. Clone this repository to your local system.
git clone https://github.com/your_username/your_repository.git
  1. Navigate to the cloned directory.
cd getShell
  1. Run the getShell.sh script providing the URL of the remote shell.
./getShell.sh -u URL

Where URL is the address of the remote shell you wish to access.

Options

The script supports the following options:

-u URL: Specifies the URL of the remote shell.
-h: Displays the help panel, describing the usage and available options of the script.

Requirements

This script requires having the curl command installed on your system to make HTTP requests to the remote shell.

Example

./getShell.sh -u http://127.0.0.1:1337/shell.php

This command will establish a connection to the remote shell hosted at http://127.0.0.1:1337/shell.php.

getShell (python)

This Python script provides functionality for a remote shell, allowing users to execute commands on the remote system and view the output.

Usage

Same as bash, but run the remote_shell.py script.

rlwrap python3 getShell.py

You will be prompted with a shell prompt where you can input commands. Enter commands as needed.

Requirements

Python 3
requests library (pip install requests)

Features

Executes commands on the remote system.
Displays the output of the executed commands.
Supports clearing the output after each command execution.

Note

Ensure that the remote server's IP address and endpoint in the script match your setup. Modify the requests.get calls in the runCMD and writeCMD functions accordingly.

Thanks

To s4vitar (https://github.com/s4vitar) for the bash course, where I take those scripts.

getshell's People

Contributors

lautarovculic avatar

Stargazers

hirak0 avatar

Watchers

 avatar

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.