Posts

Showing posts from June, 2024

How to Fix “ModuleNotFoundError: No module named ‘pdfkit’” in Mr. Holmes (Kali Linux)

Image
How to Fix “ModuleNotFoundError: No module named ‘pdfkit’” in Mr. Holmes (Kali Linux) Introduction Mr. Holmes is a popular OSINT (Open-Source Intelligence) tool used in ethical hacking and cybersecurity learning. However, many beginners face an error while running the tool on Kali Linux: ModuleNotFoundError: No module named 'pdfkit' This error can be confusing, especially for new users. In this article, you will learn why this error occurs and how to fix it step by step in a clean and safe way . Error Description When trying to run Mr. Holmes using the command: sudo python3 MrHolmes.py You may see the following traceback ending with: ModuleNotFoundError: No module named 'pdfkit' Some users also try to activate a virtual environment and get: source .lib_venv/bin/activate source: no such file or directory Why This Error Happens This issue usually occurs due to one or more of the following reasons: 1. Virtual Environment Was Not Created You attempted to activate a virtual...

How Payloads Work (Metasploit)

Image
                      How Payloads Work Payload modules are stored in  modules/payloads/{singles,stages,stagers}/<platform> . When the framework starts up, stages are combined with stagers to create a complete payload that you can use in exploits. Then, handlers are paired with payloads so the framework will know how to create sessions with a given communications mechanism. Payloads are given reference names that indicate all the pieces, like so: Staged payloads:  <platform>/[arch]/<stage>/<stager> Single payloads:  <platform>/[arch]/<single> This results in payloads like  windows/x64/meterpreter/reverse_tcp . Breaking that down, the platform is  windows , the architecture is  x64 , the final stage we’re delivering is  meterpreter , and the stager delivering it is  reverse_tcp . Note that architecture is optional because in some cases it is either ...