Linux Fundamentals: Linux Fundamentals Part 3 (TryHackMe)

Search for a command to run...

No comments yet. Be the first to comment.
Link to the challenge on TryHackMe: Modern Web Stacks Introduction During a time-boxed engagement, the first tester to identify Apache/2.4.49 in a Server: header already knows the exact CVE before the

Link to the challenge/walkthrough on TryHackMe: Broken Authentication Introduction Authentication is the process by which a web application verifies the identity of the user making a request. It typic

Link to the HealthGPT AI security CTF challenge on TryHackMe. Meet HealthGPT, a well-meaning virtual assistant used by a busy healthcare team. It helps clinicians look up procedures, draft notes, and

Link to the section of the AI Odyssey CTF on TryHackMe: Token City. It covers challenges like: ML Sec: The Loan Arranger | AI Sec + DFIR: Rogue Commit | AI Sec + Web App Sec: Sealed Substation | Agent

Link to the Privilege Escalation Challenge on TryHackMe: Linux Privilege Escalation: Automation Introduction By now, you should have an understanding of basic privilege escalation techniques and how t

In this article, I will write a write-up for the Linux Fundamentals Part 3 that covers the Deploy Your Linux Machines, Terminal Text Editors, General/Useful Utilities, and Processes 101, Maintaining Your System: Automation, Maintaining Your System: Package Management, and Maintaining Your System: Logs.
Edit "task3" located in "tryhackme"'s home directory using Nano. What is the flag? THM{TEXT_EDITORS}

Ensure you are connected to the deployed instance (MACHINE_IP)
Now, use Python 3's "HTTPServer" module to start a web server in the home directory of the "tryhackme" user on the deployed instance.
Download the file http://MACHINE_IP:8000/.flag.txt onto the TryHackMe AttackBox. Remember, you will need to do this in a new terminal. What are the contents? THM{WGET_WEBSERVER}



If we were to launch a process where the previous ID was "300", what would the ID of this new process be? 301
If we wanted to cleanly kill a process, what signal would we send it? SIGTERM
Locate the process that is running on the deployed instance (MACHINE_IP). What flag is given? THM{PROCESSES}


What command would we use to stop the service "myservice"? systemctl stop myservice
What command would we use to start the same service on the boot-up of the system? systemctl enable myservice
What command would we use to bring a previously backgrounded process back to the foreground? fg
When will the crontab on the deployed instance (MACHINE_IP) run? @reboot
using the crontab -e crontab -edit it opens this which shows that there’s an ongoing on @reboot process



What is the IP address of the user who visited the site? 10.9.232.111
What file did they access? catsanddogs.jpg
Thank you for reading my article. Please leave any questions or comments on improving my learning journey and the THM challenges.