Organize Files by Suffix: How I Created a Python Script to Automate a Boring Task

Does the nature of your work involve going through a folder full of dozens, hundreds, or even thousands of files? What if you were told to organize those files according to their extension in a subdirectory, imagine how boring and time-consuming such a task would be if the files contain dozens of extensions! What if … Read more

I Used This Python Script to Rename All Files in Subfolders (Recursive)

I’m currently working on a website project for the Finxter ecosystem, where I’m given a folder with subfolders (and subfolders within) that contain image files. Example folder structure: folder — subfolder1 —- image1.jpg —- image2.jpg —- image3.jpg — subfolder2 —-image1.jpg —-image2.jpg Across the subfolders, the files may have the same name, which causes an issue … 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