<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Linux on p4n4Sec</title><link>https://p4n4s.com/tags/linux/</link><description>Recent content in Linux on p4n4Sec</description><generator>Hugo -- 0.147.7</generator><language>en</language><lastBuildDate>Sun, 28 Jun 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://p4n4s.com/tags/linux/index.xml" rel="self" type="application/rss+xml"/><item><title>HTB: Linux - Reset</title><link>https://p4n4s.com/posts/htb/box/reset/</link><pubDate>Sun, 28 Jun 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/reset/</guid><description>Reset chains a password-reset oracle and SQLi-leaked admin hash into an authenticated dashboard, an LFI that is weaponised through Apache log poisoning for RCE as www-data, a misconfigured /etc/hosts.equiv r-services trust that pivots laterally to two separate users, and finally an lxd group membership that mounts the host filesystem for root.</description></item><item><title>HTB: Linux - Trick</title><link>https://p4n4s.com/posts/htb/box/trick/</link><pubDate>Fri, 05 Jun 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/trick/</guid><description>Trick is an Easy Linux machine built around enumeration. A misconfigured DNS zone transfer plus virtual-host fuzzing reveal hidden subdomains, an LFI on one of them leaks an SSH key, and a user in the security group abuses a writable fail2ban action directory to get root once a ban fires.</description></item><item><title>HTB: Linux - Bashed</title><link>https://p4n4s.com/posts/htb/box/bashed/</link><pubDate>Fri, 08 May 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/bashed/</guid><description>Bashed is a fairly easy machine which focuses mainly on fuzzing and locating important files. As basic access to the crontab is restricted</description></item><item><title>PG Practice: Linux - Plum</title><link>https://p4n4s.com/posts/offsec/plum/</link><pubDate>Thu, 12 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/plum/</guid><description>This lab emphasizes different enumeration methods, particularly web enumeration, to uncover vulnerabilities. Learners will exploit CVE-2022-25018 for initial access. The lab also teaches privilege escalation techniques to gain higher-level access within the system.</description></item><item><title>PG Practice: Linux - Nibbles</title><link>https://p4n4s.com/posts/offsec/nibbles/</link><pubDate>Wed, 11 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/nibbles/</guid><description>Leverage a misconfigured PostgreSQL database server that is listening on all interfaces with default credentials to gain code execution in this lab. Next, exploit misconfigured SUID permissions on the /usr/bin/find binary for privilege escalation. This approach enhances your skills in identifying misconfigurations and escalating privileges effectively.</description></item><item><title>PG Practice: Linux - Payday</title><link>https://p4n4s.com/posts/offsec/payday/</link><pubDate>Tue, 10 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/payday/</guid><description>In this lab, you will exploit a Local File Inclusion (LFI) vulnerability in an outdated version of CS Cart installed on the PayDay lab. This lab enhances your skills in vulnerability detection, exploitation, and system access techniques.</description></item><item><title>PG Practice: Linux - Flu</title><link>https://p4n4s.com/posts/offsec/flu/</link><pubDate>Mon, 09 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/flu/</guid><description>You are required to leverage enumeration techniques, including web enumeration, to uncover potential vulnerabilities. The lab involves exploiting CVE-2022-26134 and abusing cronjobs to gain unauthorized access. This lab focuses on understanding and exploiting vulnerabilities to enhance security awareness.</description></item><item><title>PG Practice: Linux - LaVita</title><link>https://p4n4s.com/posts/offsec/lavita/</link><pubDate>Thu, 05 Mar 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/lavita/</guid><description>The lab will leverage enumeration techniques, including web enumeration, to uncover potential vulnerabilities. You will also exploit CVE-2021-3129 and demonstrate how to abuse SUDO permissions for unauthorized access. This lab focuses on understanding and exploiting vulnerabilities to enhance security awareness.</description></item><item><title>PG Practice: Linux - Exfiltrated</title><link>https://p4n4s.com/posts/offsec/exfiltrated/</link><pubDate>Fri, 27 Feb 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/exfiltrated/</guid><description>In this lab, we will exploit the target through an authenticated file upload bypass vulnerability in Subrion CMS that leads to remote code execution. We will then exploit a root cron job via a script running exiftool every minute.</description></item><item><title>PG Practice: Linux - Twiggy</title><link>https://p4n4s.com/posts/offsec/twiggy/</link><pubDate>Thu, 26 Feb 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/offsec/twiggy/</guid><description>This lab demonstrates exploiting a pre-auth remote code execution vulnerability in SaltStack Master (CVE-2020-11651). Learners will leverage the SaltStack API to execute arbitrary commands, resulting in a root shell on the target. This lab highlights the risks of unpatched critical vulnerabilities in infrastructure management tools.</description></item><item><title>HTB: Linux - Cozyhosting</title><link>https://p4n4s.com/posts/htb/box/cozyhosting/</link><pubDate>Fri, 30 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/cozyhosting/</guid><description>CozyHosting is an easy-difficulty Linux machine that features a Spring Boot application. The application has the Actuator endpoint enabled. Enumerating the endpoint leads to the discovery of a user&amp;rsquo;s session cookie, leading to authenticated access to the main dashboard. The application is vulnerable to command injection, which is leveraged to gain a reverse shell on the remote machine. Enumerating the application&amp;rsquo;s JAR file, hardcoded credentials are discovered and used to log into the local database. The database contains a hashed password, which once cracked is used to log into the machine as the user josh. The user is allowed to run ssh as root, which is leveraged to fully escalate privileges.</description></item><item><title>HTB: Linux — Editor</title><link>https://p4n4s.com/posts/htb/box/editor/</link><pubDate>Fri, 23 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/editor/</guid><description>Editor is an easy Linux box.</description></item><item><title>HTB: AD — CodePartTwo</title><link>https://p4n4s.com/posts/htb/box/codeparttwo/</link><pubDate>Thu, 22 Jan 2026 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/codeparttwo/</guid><description>CodePartTwo</description></item><item><title>HTB: Linux — Photobomb</title><link>https://p4n4s.com/posts/htb/box/photobomb/</link><pubDate>Mon, 20 Oct 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/photobomb/</guid><description>Photobomb is an easy Linux machine where plaintext credentials are used to access an internal web application with a &lt;code>Download&lt;/code> functionality that is vulnerable to a blind command injection. Once a foothold as the machine&amp;rsquo;s main user is established, a poorly configured shell script that references binaries without their full paths is leveraged to obtain escalated privileges, as it can be ran with `sudo</description></item><item><title>HTB: Linux — Precious</title><link>https://p4n4s.com/posts/htb/box/precious/</link><pubDate>Sat, 18 Oct 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/precious/</guid><description>Precious is an Easy Difficulty Linux machine, that focuses on the &lt;code>Ruby&lt;/code> language. It hosts a custom &lt;code>Ruby&lt;/code> web application, using an outdated library, namely pdfkit, which is vulnerable to &lt;code>CVE-2022-25765&lt;/code>, leading to an initial shell on the target machine. After a pivot using plaintext credentials that are found in a Gem repository &lt;code>config&lt;/code> file, the box concludes with an insecure deserialization attack on a custom, outdated, &lt;code>Ruby&lt;/code> script.</description></item><item><title>HTB: Linux - Titanic</title><link>https://p4n4s.com/posts/htb/box/titanic/</link><pubDate>Mon, 05 May 2025 00:00:00 +0000</pubDate><guid>https://p4n4s.com/posts/htb/box/titanic/</guid><description>Titanic is an easy difficulty Linux machine that features an Apache server listening on port 80. The website on port 80 advertises the amenities of the legendary Titanic ship and allows users to book trips. A second vHost is also identified after fuzzing, which points to a Gitea server. The Gitea server allows registrations, and exploration of the available repositories reveals some interesting information including the location of a mounted Gitea data folder, which is running via a Docker container. Back to the original website, the booking functionality is found to be vulnerable to an Arbitrary File Read exploit, and combining the directory identified from Gitea, it is possible to download the Gitea SQLite database locally. Said database contains hashed credentials for the developer user, which can be cracked. The credentials can then be used to login to the remote system over SSH. Enumeration of the file system reveals that a script in the /opt/scripts directory is being executed every minute. This script is running the magick binary in order to gather information about specific images. This version of magick is found to be vulnerable to an arbitrary code execution exploit assigned CVE-2024-41817. Successful exploitation of this vulnerability results in elevation of privileges to the root user.</description></item></channel></rss>