Skip to content
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

New installer #337

Open
wants to merge 3 commits 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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,6 @@ $RECYCLE.BIN/
Network Trash Folder
Temporary Items
.apdisk

# Ignore virtualenv directory
.venv
24 changes: 8 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,21 @@ Powered by <a href="https://www.bettercap.org"> bettercap</a> and <a href="https

![](http://i.imgur.com/bbr48Ep.png)

Dependencies
=

- nmap
- hping3
- build-essential
- ruby-dev
- libpcap-dev
- libgmp3-dev
- tabulate
- terminaltables




Instalation
Installation
=
Dependencies will be automatically installed.

git clone https://github.com/LionSec/xerosploit
cd xerosploit && sudo python install.py
git clone https://github.com/j03-dev/xerosploit
cd xerosploit && ./install.sh
sudo xerosploit

Run
=
```bash
xerosploit
```

Tested on
=
Expand Down
7 changes: 4 additions & 3 deletions banner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Xerosploit banners


#---------------------------------------------------------------------------#
# ---------------------------------------------------------------------------#
# This file is part of Xerosploit. #
# Xerosploit is free software: you can redistribute it and/or modify #
# it under the terms of the GNU General Public License as published by #
Expand All @@ -18,11 +18,11 @@
# You should have received a copy of the GNU General Public License #
# along with Xerosploit. If not, see <http://www.gnu.org/licenses/>. #
# #
#---------------------------------------------------------------------------#
# ---------------------------------------------------------------------------#
# #
# Copyright © 2019 Neodrix (www.neodrix.com) #
# #
#---------------------------------------------------------------------------#
# ---------------------------------------------------------------------------#


import random
Expand Down Expand Up @@ -69,6 +69,7 @@
\033[1;36m /_/ \033[1;m
"""


def xe_header():
headers = [header1, header2, header3, header4]
return random.choice(headers)
Binary file added banner.pyc
Binary file not shown.
65 changes: 0 additions & 65 deletions install.py

This file was deleted.

34 changes: 34 additions & 0 deletions install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/bin/bash

DIRECTORY=$(pwd)

# install deps
sudo apt install nmap hping3 build-essential ruby-dev libpcap-dev libgmp3-dev

# ruby deps for xettercap
sudo gem install bettercap

# install virtualenv
sudo python3 -m pip install virtualenv

# create virualenv
python3 -m virtualenv .venv --python=2

# active env
source ${DIRECTORY}/.venv/bin/activate

# install requirement
python -m pip install tabulate terminaltables

sudo ln -s ${DIRECTORY}/run.sh /bin/xerosploit
echo [+] create link xerosploit

XETTERCAP="${DIRECTORY}/tools/bettercap/bin/xettercap"

sudo chmod +x $XETTERCAP
echo [+] make xettercap executable

sudo ln -s ${XETTERCAP} /bin/xettercap
echo [+] create xettercap link

echo install finish
5 changes: 4 additions & 1 deletion run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@
# #
#---------------------------------------------------------------------------#

python /opt/xerosploit/xerosploit.py
directory=$(pwd)

vpython="${directory}/.venv/bin/python"

sudo ${vpython} ${directory}/xerosploit.py

Empty file modified tools/bettercap/bin/xettercap
100644 → 100755
Empty file.
Loading