Get the App
SLTechnology News&Howtos  ›  Network Security  › 

Several problems encountered in mallory Construction

Shulou Source: shulou.com Published: 2022-06-01 07:34:58 09月30日 Update

Installation project:

Https://github.com/intrepidusgroup/mallory/blob/master/SETUP

Mine is the latest desktop version of ubuntu.

Use python3

This was the first problem I encountered. I couldn't find the http_plugin_manager module, but I looked at the file path and the import syntax, and there was no problem. I tried to delete the try-except exception check statement in the source code, and then miraculously passed.

The second question

The problem encountered during installation is that the Image package is imported from PIL in the new version, so the previous code needs to be changed

Install the Pillow module, this is the Image package

Pip install Pillow

Edit three files

Sudo vim. / protocol/http.pysudo vim / plugin_managers/plugin/image_flip.pysudo vim. / plugin_managers/plugin/image_invert.py

Change import Image to from PIL import Image

In which import ImageChops should be deleted and changed to from PIL import Image,ImageChops in image_invert.py

This is what happens after success:

Tags: The problem is file module success three code miracle the latest version desktop source code statement syntax path process this is the project try a few questions Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Shulou Tech Info Microsoft macOS Redmi