EXAM

Linux Privileges Escalation: Hack the box Module 51

$15.00
Secure checkout
Instant digital download
PDF document

Document details

Pages
15
File size
731.04 KB
Format
Digital PDF
Category
EXAM
About this ebook
Linux Privileges Escalation: Link to challenge: https://academy.hackthebox.com/module/51/ (log in required) Class: Tier II | Easy | Offensive Information Gathering Environment enumeration: Question: Enumerate the Linux environment and look for interesting files that might contain sensitive data. Submit the flag as the answer. Answer: HTB{1nt3rn4l_5cr1p7_l34k} Command: grep -r 'HTB{' / 2>/dev/null (-r: research recursively) Linux Services & Internals Enumeration Question: What is the latest Python version that is installed on the target? Answer: 3.11 Command: apt list --installed | grep python Credential Hunting Question: Find the WordPress database password. Answer: W0rdpr3ss_sekur1ty! Command: find / -type f -name 'wp-config.php' -exec grep -E 'DB_USER|DB_PASSWORD' {} + 2>/dev/null Environment-based Privilege Escalation: Path Abuse: Question: Review the PATH of the htb-student user. What non-default directory is part of the user's PATH? Answer: /tmp Command: echo $PATH | awk -F':' '{print $NF}' Escaping Restricted Shells: Question: Use different approaches to escape the restricted shell and read the flag.txt file. Submit the contents as the answer. Answer: HTB{35c4p3_7h3_r3stricted_5h311} Command: echo "$(

File included

PDF
Linux_Privilge_Escelation.pdf.pdf 731.04 KB

Topics