1
0
mirror of https://github.com/calebstewart/pwncat.git synced 2024-11-27 19:04:15 +01:00
pwncat/test.py
Caleb Stewart 64a5cdd06c Mostly Working Windows Support
The windows support is mostly working and the command line interface is
functioning. I still need to test all the modules on Linux again to make
sure architecture changes haven't broken anything there. Also, more work
is needed on the Windows C2 to solidify the API, but it is working at
it's core.
2021-02-14 23:32:05 -05:00

20 lines
546 B
Python
Executable File

#!./env/bin/python
import subprocess
import pwncat.manager
import pwncat.platform.windows
import time
import stat
import json
# Create a manager
manager = pwncat.manager.Manager("data/pwncatrc")
# Establish a session
# session = manager.create_session("windows", host="192.168.56.10", port=4444)
session = manager.create_session("windows", host="192.168.122.11", port=4444)
# session = manager.create_session("linux", host="127.0.0.1", port=4444)
# session = manager.create_session("windows", host="0.0.0.0", port=4444)
manager.interactive()