From f6fbbd70466311988eeee13a954974c64f8c0427 Mon Sep 17 00:00:00 2001 From: SquareZer0 <61067252+limon768@users.noreply.github.com> Date: Sat, 8 Jun 2024 00:28:39 -0400 Subject: [PATCH] added .nojekyll --- .nojekyll | 0 source/_posts/TryHackMe/2022-09-10-Agent-Sudo.md | 12 ++++++------ source/_posts/Vulnlab/2024-06-01-Hybrid.md | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) create mode 100644 .nojekyll diff --git a/.nojekyll b/.nojekyll new file mode 100644 index 0000000..e69de29 diff --git a/source/_posts/TryHackMe/2022-09-10-Agent-Sudo.md b/source/_posts/TryHackMe/2022-09-10-Agent-Sudo.md index 4a537b5..76d4c42 100644 --- a/source/_posts/TryHackMe/2022-09-10-Agent-Sudo.md +++ b/source/_posts/TryHackMe/2022-09-10-Agent-Sudo.md @@ -30,7 +30,7 @@ I start port scanning with [Nmap]() to find existing ports and services. ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/1.png) -I checked website and wants me to change my user-agent +I checked the website and wants me to change my user-agent ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/02.png) @@ -49,13 +49,13 @@ After changing my user name to “C” I got the following message. ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/3.png) -Next, I decided to check out the FTP server. As I don’t have a password, I tried to brute-force using [Hydra]() and with [rockyou.txt]() +Next, I decided to check out the FTP server. As I don’t have a password, I tried to brute-force using [Hydra]() and rockyou.txt() `hydra -t 3 -l chris -P /home/sz/Documents/rockyou.txt 10.10.133.149 ftp` ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/4.png) -I got the password to log in FTP. +I got the password to log in to FTP. After logging in I found two .png and one .txt file. After downloading them I checked out the message. @@ -81,7 +81,7 @@ I found a zip file and brute-force that with [John]() ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/10.png) -Now I have the user and password to ssh. +Now I have the username and password to ssh. After logging in ssh I found the user flag @@ -95,7 +95,7 @@ Inside I found an image ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/13_1.png) -After a simple google reverse image search, I found this article. +After a simple Google reverse image search, I found this article. ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/13.png) @@ -109,7 +109,7 @@ After doing some research I have found the following CVE. ![](https://photos.squarezero.dev/file/abir-images/AgentSudo/15.png) -I made a python file with the following code. +I made a Python file with the following code. ```python #!/usr/bin/python3 diff --git a/source/_posts/Vulnlab/2024-06-01-Hybrid.md b/source/_posts/Vulnlab/2024-06-01-Hybrid.md index 3d7ece9..8407aae 100644 --- a/source/_posts/Vulnlab/2024-06-01-Hybrid.md +++ b/source/_posts/Vulnlab/2024-06-01-Hybrid.md @@ -13,7 +13,7 @@ title: Hybrid ![](https://photos.squarezero.dev/file/abir-images/htbasset/vulnbanner.png) -Hybrid is an "easy" difficulty machine, Where exploited a Roundcube vulnerability and leveraged NFS, SUID misconfiguration, and certificate services to escalate privileges and compromise the domain. +Hybrid is an "easy" difficulty machine, Where I exploited a Roundcube vulnerability and leveraged NFS, SUID misconfiguration, and certificate services to escalate privileges and compromise the domain. ### Difficulty: @@ -80,7 +80,7 @@ Login to the mail server using Admin credentials ![](https://photos.squarezero.dev/file/abir-images/hybrid/3.png) -The version of Roundcube is 1.6.1 and after some research, I found out it's vulnerable to code execution via Markasjunk plugin. +The version of Roundcube is 1.6.1 and after some research, I found out it's vulnerable to code execution via the Markasjunk plugin. [SSD Advisory -  Roundcube markasjunk RCE - SSD Secure Disclosure](https://ssd-disclosure.com/ssd-advisory-roundcube-markasjunk-rce/)