Skip to content

Run WebSploit in docker container #50

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
116 changes: 116 additions & 0 deletions Docker/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,116 @@
# Run WebSploit with 'Docker'

![docker](https://img.shields.io/badge/Docker-v19.03.12-blue?style=plastic&logo=docker)
![Maintainer](https://img.shields.io/badge/Maintainer-Equinockx-success?style=plastic&logo=terraform)

## Requeriments

- [X] Docker

## Usage Mode

Clone the repo from Github
```bash
git clone https://github.com/MoisesTapia/websploit
cd websploit
```

## Build the docker image

```bash
docker build -t websploit .
```
if you wanna put the tag to the image just add :<tag> like this websploit:v1.0

Run the container

```bash
docker run -dti --name websploit websploit:<tag> websploit
```
## Build the network

```bash
docker network create security
```

connect the container to the network

network container_name
```bash
docker network connect security websploit
```

## Execute websploit in container

```bash
docker exec -ti websploit websploit

➜ websploit git:(master) ✗ docker exec -ti websploit websploit

____ __ ____
\ \ / \ / / | Welcome to Websploit
\ \/ \/ / | Version : 4.0.4
\ / | https://github.com/websploit/websploit
\ /\ / | Author : Fardin Allahverdinazhand
\__/ \__/ | Codename : Reborn



wsf >
```
Exit the container 'CTRL + c'


## Testing

```bash
➜ websploit git:(master) ✗ docker exec -ti websploit websploit

____ __ ____
\ \ / \ / / | Welcome to Websploit
\ \/ \/ / | Version : 4.0.4
\ / | https://github.com/websploit/websploit
\ /\ / | Author : Fardin Allahverdinazhand
\__/ \__/ | Codename : Reborn



wsf > help

Commands
========
about exit help show update use

wsf > update
[✔] You are using the latest version of websploit.
wsf >
```
More commands

```bash
wsf > about


Websploit Framework
Author : Fardin Allahverdinazhand
Contact : 0x0ptim0us[~A~]Gmail.Com
Twitter : @0x0ptim0us
Codename : Reborn
Project Github : https://github.com/websploit/websploit
Other Projects : https://github.com/0x0ptim0us


wsf > show
Modules Description
-------------------- --------------------------
arp_spoof ARP Cache poisoning
http_sniffer Sniff HTTP traffic
scan_network Scan IP range for new devices
scan_wifi Scan Wireless devices
wifi_deauth Force device to disconnect from WIFI - De-authentication attack
wifi_fap Start Fake Access point (AP)
wifi_fap_spam Spamming Fake access points


wsf >
```
17 changes: 17 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
FROM debian:10
LABEL MAINTAINER="Equinockx [email protected]"
WORKDIR /home/

COPY . /home/

RUN apt-get update

RUN apt-get install -y --no-install-recommends python3.7 && \
apt-get install -y python3-pip && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*


RUN python3 setup.py install

ENTRYPOINT [ "websploit" ]