chrispetrou / HRShell

HRShell is an HTTPS/HTTP reverse shell built with flask. It is an advanced C2 server with many features & capabilities.
GNU General Public License v3.0
247 stars 71 forks source link

Error #2

Closed d0ubl3puls4r closed 4 years ago

d0ubl3puls4r commented 4 years ago

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.

chrispetrou commented 4 years ago

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!