more

abc 2018-01-15 21:49:47 +08:00
parent 147e9e7e95
commit ad0e0fa5dc
1 changed files with 0 additions and 2 deletions

@ -133,8 +133,6 @@ For linux another option is to generate an ELF with
``` ```
./pupygen.py -f client -O linux -A x64 -o linux (or ./pupygen.py -f client -O linux -A x64 -o linux connect --host 192.168.xxx.xxx:443 -t ssl) ./pupygen.py -f client -O linux -A x64 -o linux (or ./pupygen.py -f client -O linux -A x64 -o linux connect --host 192.168.xxx.xxx:443 -t ssl)
``` ```
but now it's failed, it will warning "[-] payload generation failed: Template not found (...\pupyx64.lin)"
The third option is use pyinstaller to package a linux/OSX payload to create a standalone binary. This method has the advantage to work even if there is no recent/compatible python version installed on the host. You may need the following hidden imports in your .spec file : The third option is use pyinstaller to package a linux/OSX payload to create a standalone binary. This method has the advantage to work even if there is no recent/compatible python version installed on the host. You may need the following hidden imports in your .spec file :
- rpyc - rpyc
- pycrypto - pycrypto