Leah Tara Paul


Aspiring Security engineer

About


I'm Leah, a Computer Engineering student from India. I enjoy working on projects that tackle real-world challenges and I'm passionate about exploring how Artificial Intelligence can transform Cybersecurity. I’m currently working on a project that uses AI to enrich Cyber Threat Intelligence, helping identify and analyze threats more effectively. As this rapidly growing field evolves, I’m excited to keep building innovative AI-driven security projects that tackle modern cyber challenges. I’m always keen to learn, share ideas, and collaborate with others. So if you’d like to team up on something interesting, feel free to reach out!

My blog


While working on projects, I 've compiled a small number of tips and walkthroughs that I 've documented here.

Linux Titbits


Walkthroughs for small tasks in Linux

Give a user sudo access


When I first set up Ubuntu on my PC and ran it, I was annoyed to find that no, my default user did not have sudo privileges. It took me way too long to find out how to do such a small task, so here 's a straightforward walkthrough:
----
How to add a user to the sudoers file
----
The sudoers file is a configuration file on Unix-like systems (including Linux and Mac) that controls and defines user permissions for executing commands as another user (typically the superuser) using the sudo command. It is typically located at /etc/sudoers and should be edited with the visudo command to prevent syntax errors.
----
Note that you need root access for this. For which you will need to log in to a user account who already has root access. A fresh installation of Ubuntu 24.04 will have a root user account that you can use for this. Login using the password root .
----
Once you 're logged in as a root user, enter the command
visudo
You might need to use
sudo visudo
For this example, If I 'm trying to give user leahtara sudo privileges, so I 'll scroll to the bottom and add the following line of code to the file:
leahtara ALL=(ALL:ALL) ALL
Simply replace leahtara with your username of choice.
----


customise the terminal


I 'm going to be blunt here. The default graphical user interface for Ubuntu 's terminal is just plain ugly. So let 's fix that!
----
Here, I 've outlined a few basic steps that you can use to make your terminal pretty in just a few minutes.
----
We 're going to use Starship, an open-source, cross-shell prompt that makes it easy to customize and configure the Linux terminal prompt if you care about the looks of your terminal.
----
Setting up Starship
----
First we install Starship:
sudo snap install starship
We need to ensure that we 're in the home directory before we try to enable it.
cd ~
Now to enable it let 's edit the .bashrc file using
nano .bashrc
The last step is to add this line to the end of the file:
eval "$(starship init bash "
And there you have it! Your very own pretty terminal!
----


Clone a specific directory from inside a github repository


Sometimes your PC just doesn 't have enough storage left to clone that entire Tryhackme dump repo and you just need one of those directories at a time.
Follow along to learn how to do just that.
----
Clone the Repository
----
First we 're going to clone the Repository with No Content:
git clone --no-checkout <repository_url >
cd <repository_name >
git sparse-checkout init --cone

Don 't forget to insert the correct url which you can get from the repository 's page from github.com .
----
Pull your directory
----
Specify the Sub directory You Want:
git sparse-checkout set <subdirectory_path >
You can copy the subdirectory path also from the github repository page once again.
Now just pull the files using:
git checkout
----