Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Several problems encountered in mallory Construction

2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >

Share

Shulou(Shulou.com)06/01 Report--

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:

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Network Security

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report