Skip to content

This is a proof of concept reverse shell using the Flask framework, designed for local network environments (Wi-Fi/LAN), allowing remote command execution on target machines on the same network...

License

Notifications You must be signed in to change notification settings

noface1200/FlaskShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Reverse Shell using Flask (Proof of Concept)

Important

this can only be used if you are on the same wifi connection.

This is a simple proof of concept for a reverse shell built with Python and the Flask framework. It allows a client to input commands on a webpage and execute them remotely on the target computer as long as they are in the same (Wi-Fi/LAN) network as you. This tool is for educational purposes only and should be used in a controlled environment for security research or ethical hacking practices.

Features

  • Flask web server: Flask is used to set up a simple HTTP server on the target machine.
  • Command execution: Allows the execution of system commands from the client to the server.
  • Local network only: Works within the same local network (Wi-Fi/LAN) for isolated testing.

Example

GIF

Requirements

  • Python 3.x
  • Flask
  • Requests

Usage

On the target machine (server)

  1. Clone the repository
  2. run "pip install flask requests
  3. edit main.py and replace line 11's WEBHOOK_URL string with your webhook either on https://webhook.site/ or a discord webhook
  4. run main.py

On your machine

  1. check your webhook and open the IP address you received in a web browser

About

This is a proof of concept reverse shell using the Flask framework, designed for local network environments (Wi-Fi/LAN), allowing remote command execution on target machines on the same network...

Resources

License

Stars

Watchers

Forks

Packages

No packages published