chrispetrou/HRShell

Error

d0ubl3puls4r opened this issue · 1 comments

When using the commands below you receive the respective errors:

lubuntu-lubuntu@192.168.1.10:~/lubuntu$ screenshot
ERROR: Pillow module is not installed

lubuntu-lubuntu@192.168.1.10:~/lubuntu$ show shellcodes
[ERROR] There are no shellcodes available.

how to solve these problems
Thanks.

Hi @d0ubl3puls4r ,

Both errors you posted pretty much describe what's wrong. In the first error, the system you are executing client.py from, doesn't have pillow module installed which is needed for the screenshot-command to work. In order to easily resolve that you can install the module through server.py since HRShell supports remote python-module installations using e.g. pip.

The second error indicates that you haven't edit shellcodes/utils.py script such that it contains some pre-generated shellcode(s) of your choice, as described in the README. If you open shellcodes/utils.py script you'll see that I've provided an example inside quotes. You can also edit the shellcodes/utils.py script even after you've launched server.py and server.py will be updated automatically to include them.

Please provide some feedback if you didn't made to resolve the issues!