Web Hacking 101: Solving the TryHackMe Pickle Rick “Capture The Flag” Challenge

The Pickle Rick CTF (capture the flag) challenge requires basic webhacking techniques including: The theme of the challenge is Rick and Morty, the animated tv show. The silly premise of this box is that we need to find the three hidden ingredients that Rick needs to change himself from a pickle back to a human. … Read more

Python Library Hijacking – A Simple Demonstration on NumPy

In this blog post, I’ll show you how recreated a Python library hijacking vulnerability on my home network. The Wonderland box on TryHackMe was the inspiration for exploring this kind of vulnerability. In my previous Wonderland walkthrough blog post, I highlighted an example of exploiting the ‘random’ module to switch users without knowing their password. … Read more

TryHackMe Walkthrough – Wonderland

This is part of the hacking security series on multiple TryHackMe challenges: Introduction Over the past few months, I’ve been working through the junior penetration tester career pathway on TryHackMe and doing hacking practice boxes on the side to keep applying my learning in practical settings. So far almost every hacking lab includes at least … Read more

How to Schedule a Batch Python Script

Problem Formulation and Solution Overview During your career as a Pythonista, you will encounter situations where a Python script will need to be executed on a scheduled basis, such as daily, weekly, or monthly. This article shows you how to accomplish this task using a .bat (batch) file. 💬 Question: How would we write code … Read more

How to Fix ModuleNotFoundError ‘ecdsa’ in Python?

Quick Fix: Python raises the ModuleNotFoundError: No module named ‘ecdsa’ when it cannot find the library ecdsa. The most frequent source of this error is that you haven’t installed ecdsa explicitly with pip install ecdsa. Alternatively, you may have different Python versions on your computer, and ecdsa is not installed for the particular version you’re … Read more

[Fixed] Python Module Not Found Error: ‘imblearn’

Quick Fix: Python raises the ImportError: No module named ‘imblearn’ when it cannot find the library imblearn. The most frequent source of this error is that you haven’t installed imblearn explicitly with pip install imblearn. Alternatively, you may have different Python versions on your computer, and imblearn is not installed for the particular version you’re … Read more

Fix Installation Error of ‘unittest’

The unittest module is part of Python’s standard library for a long time. So in most cases, there’s no need to install it using something like pip install unittest. Simply run import unittest in your Python code and it works without installation. In your Python code: If you try to pip install it, you’ll get … Read more