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:
commit
205c7457c2
16
README.md
16
README.md
@ -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
|
||||||
|
|
||||||
|
15
setup.py
15
setup.py
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user