blog:htb_linux_fundamentals
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| blog:htb_linux_fundamentals [2024/06/14 08:24] – created hacktheplanet | blog:htb_linux_fundamentals [2025/12/02 07:23] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== [HTB] Linux Fundamentals ====== | ||
| + | ====== ====== | ||
| + | **Find out the machine hardware name and submit it as the answer. **\\ | ||
| + | '' | ||
| + | |||
| + | **What is the path to htb-student' | ||
| + | '' | ||
| + | |||
| + | **What is the path to the htb-student' | ||
| + | '' | ||
| + | |||
| + | **Which shell is specified for the htb-student user?** \\ | ||
| + | '' | ||
| + | |||
| + | **Which kernel version is installed on the system? (Format: 1.22.3)**\\ | ||
| + | '' | ||
| + | |||
| + | **What is the name of the network interface that MTU is set to 1500? **\\ | ||
| + | '' | ||
| + | |||
| + | '' | ||
| + | '' | ||
| + | |||
| + | **What is the index number of the " | ||
| + | '' | ||
| + | htb-student@nixfund:/ | ||
| + | |||
| + | **What is the name of the last modified file in the "/ | ||
| + | '' | ||
| + | |||
| + | **What is the inode number of the " | ||
| + | '' | ||
| + | |||
| + | **What is the name of the config file that has been created after 2020-03-03 and is smaller than 28k but larger than 25k?** \\ | ||
| + | |||
| + | **How many files exist on the system that have the " | ||
| + | |||
| + | **Submit the full path of the " | ||
| + | '' | ||
| + | |||
| + | **How many files exist on the system that have the " | ||
| + | '' | ||
| + | |||
| + | **How many total packages are installed on the target system?** \\ | ||
| + | '' | ||
| + | |||
| + | **How many services are listening on the target system on all interfaces? (Not on localhost and IPv4 only)**\\ | ||
| + | '' | ||
| + | |||
| + | **Determine what user the ProFTPd server is running under. Submit the username as the answer.** \\ | ||
| + | '' | ||
| + | |||
| + | **Use cURL from your Pwnbox (not the target machine) to obtain the source code of the " | ||
| + | '' | ||
| + | |||
| + | **Which option needs to be set to create a home directory for a new user using " | ||
| + | '' | ||
| + | |||
| + | **Which option needs to be set to lock a user account using the " | ||
| + | '' | ||
| + | |||
| + | **Which option needs to be set to execute a command as a different user using the " | ||
| + | '' | ||
| + | |||
| + | **Use the " | ||
| + | '' | ||
| + | |||
| + | **What is the type of the service of the " | ||
| + | '' | ||
| + | |||
| + | **Find a way to start a simple HTTP server inside Pwnbox or your local VM using “npm”. Submit the command that starts the web server on port 8080 (use the short argument to specify the port number).**\\ | ||
| + | '' | ||
| + | |||
| + | **Find a way to start a simple HTTP server inside Pwnbox or your local VM using “php”. Submit the command that starts the web server on the localhost (127.0.0.1) on port 8080.**\\ | ||
| + | '' | ||
| + | |||
| + | **How many partitions exist in our Pwnbox? (Format: 0)**\\ | ||
| + | '' | ||
| + | |||
