1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-27 19:04:15 +01:00

Merge pull request #12 from trevorbryant/master

Update README and setup.py
This commit is contained in:
Caleb Stewart 2020-05-15 19:34:43 -04:00 committed by GitHub
commit 205c7457c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 11 deletions

View File

@ -25,19 +25,21 @@ To showcase a little bit of the cool functionality, I have recorded a short
## Install ## Install
### Dependencies
The python3 development files are required for building python dependencies. All of the dependencies are managed through `pip`.
To install **pwncat** into its own python virtual environment: To install **pwncat** into its own python virtual environment:
``` bash ``` bash
git clone https://github.com/calebstewart/pwncat/ # get pwncat git clone https://github.com/calebstewart/pwncat/ # get pwncat
cd pwncat cd pwncat
sudo apt-get install python3-devel # install dependencies $ sudo apt-get install python3-devel # install dependencies
python3 -m venv .venv $ python3 -m venv .venv
.venv/bin/pip install -r requirements.txt $ . .venv/bin/activate
.venv/bin/python3 setup.py install $ pip install -r requirements.txt
$ python setup.py install
. .venv/bin/activate # activate the virtual environment
```
## Usage ## Usage

View File

@ -7,12 +7,19 @@ import shutil, os, stat
import binascii import binascii
dependencies = [ dependencies = [
"prompt-toolkit", "colorama==0.4.3",
"wcwidth", "wcwidth==0.1.9",
"colorama" "netifaces==0.10.9",
"pygments==2.6.1",
"base64io",
"commentjson",
"requests",
"prompt-toolkit"
] ]
dependency_links = [] dependency_links = [
"https://github.com/calebstewart/python-prompt-toolkit/tarball/master#egg=prompt-toolkit"
]
# Setup # Setup
setup( setup(