38 lines
1.2 KiB
Plaintext
38 lines
1.2 KiB
Plaintext
# INSTALL PoshC2_Python on Linux
|
|
=======================================================================
|
|
curl -sSL https://raw.githubusercontent.com/nettitude/PoshC2_Python/master/Install.sh | bash
|
|
|
|
# RUNNING PoshC2_Python
|
|
cd /opt/PoshC2_Python/
|
|
vim Config.py # Edit any config details
|
|
|
|
In one terminal:
|
|
screen -S C2Server
|
|
sudo python /opt/PoshC2_Python/C2Server.py
|
|
|
|
In another terminal open Implant Handler:
|
|
sudo python /opt/PoshC2_Python/ImplantHandler.py
|
|
|
|
# Optional for mutli user
|
|
sudo python /opt/PoshC2_Python/C2Viewer.py
|
|
|
|
# RUNNING as SystemCTL Service, see poshc2.service file for more information
|
|
systemctl start poshc2.service
|
|
|
|
# Each user have their own ImplantHandler.py
|
|
sudo python /opt/PoshC2_Python/ImplantHandler.py
|
|
|
|
# Each user can view output from JournalCTL
|
|
journalctl -n 80000 -u poshc2.service -f --output cat
|
|
|
|
# OPTIONAL - INSTALL PoshC2_Python on Linux using Python VirtualENV
|
|
=======================================================================
|
|
cd /opt/
|
|
git clone https://github.com/nettitude/PoshC2_Python.git
|
|
pip install virtualenv
|
|
virtualenv /opt/PoshC2_Python/
|
|
cd /opt/PoshC2_Python/
|
|
source /opt/PoshC2_Python/bin/activate
|
|
pip install -r requirements.txt
|
|
|