Python to EXE Linux: A Concise Guide to Conversion

Developing Python applications is a popular choice among programmers due to the versatility and ease of use of the language. However, there comes a time when you might want to distribute your Python application as a standalone executable, especially if your target audience isn’t familiar with Python itself. This is where the process of converting … Read more

Check Ubuntu Python Version

Checking your Python version on Ubuntu is similar to other operating systems by running the command python –version or python -V. Check Ubuntu Python Version This section will guide you through the process of checking the Python version using the Terminal Command method. πŸ–₯️ Terminal Command To check the Python version in your Ubuntu system, … Read more

Keep SSH Session Alive

Problem Formulation I just tried to run AutoGPT on an EC2 instance using SSH from my local Windows machine. But here’s the annoying part: the connection always closes and AutoGPT can only work in small ~10 minute increments. When I return to my machine, I need to SSH into my instance and restart the program. … Read more

[Fixed] Warning: The file ‘AutoGpt.json’ does not exist. Local memory would not be saved to a file.

Say, you want to spawn your own AutoGPT and you get the error Warning: The file ‘AutoGpt.json’ does not exist. Local memory would not be saved to a file: πŸ˜‘πŸ‘‡ [ec2-user@ip-172-31-19-40 Auto-GPT]$ python3 -m autogpt Warning: The file ‘AutoGpt.json’ does not exist. Local memory would not be saved to a file. Welcome to Auto-GPT! Enter … Read more

Yum on EC2 Linux Causes ModuleNotFoundError: No module named ‘dnf’ [Fixed]

I just used Yum to install Git on my Linux AWS EC2 instance using the following commands: πŸ‘Ό Error But when running these commands in my shell, I got the error messages ModuleNotFoundError: No module named ‘dnf’: 😑 [ec2-user@ip-172-31-19-40 ~]$ sudo yum update -y Traceback (most recent call last): File “/usr/bin/yum”, line 61, in <module> … Read more

How to Use Python 3.X (3.9, 3.10, or 3.11) as Default for “python3” in Linux?

Ready to embrace the power of Python 3.11 as your default Python3 version? 🐍 Let’s make it happen! Just follow these simple steps: 1️⃣ First, let’s check your current default Python version. Open your terminal and run the following command: python3 –version In my AWS instance, the command python3 pointed to my installed Python version … Read more

TryHackMe Linux PrivEsc – Magical Linux Privilege Escalation (2/2)

CHALLENGE OVERVIEW BACKGROUND Welcome back to part II of this Linux privilege escalation series. You can find part 1 of this mini-series here: πŸ‘‰ Recommended: TryHackMe Linux PrivEsc – Magical Linux Privilege Escalation (1/2) In this tutorial, we’ll try some additional β€œmagical” methods of gaining root access in tasks 11-21. Buckle in, and let’s get … 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