xone 7 months ago

Sorcery HTB Writeup | HacktheBox | Season 8

Objective

Document the penetration test on sorcery.htb, focusing on network scanning, repository access, password manipulation, and reverse shell establishment.


Steps Executed

1. Network Scan

Scanned $IP with Nmap:

nmap -sC -sV $IP

Findings: Identified HTTP and Git services. through dirb



2. Hosts Configuration

Added domains to /etc/hosts:

echo "IP environmental.htb sorcery.htb git.sorcery.htb" | sudo tee -a /etc/hosts


3. Git Repository Clone

Cloned repository with SSL verification disabled:

export GIT_SSL_NO_VERIFY=true
git clone https://git.sorcery.htb/nicole_sullivan/infrastructure.git


4. Git Inspection

Inspected Git objects:

git cat-file -p acb753d
git show b94fe501dfe6470cf77a639d54c0d2178588ad71

Findings: Retrieved sensitive configurations.

5. Password Hash

Generated Argon2id hash for P@ssw0rd123:

echo -n "P@ssw0rd123" | argon2 somesalt -id -t 2 -m 15 -p 1

Output: $argon2id$v=19$m=32768,t=2,p=1$c29tZXNhbHQ$TwnvITHeonF5W7P/GQH0sLr+yntWG4LeIZkd7sNFxwE

Access is restricted by HackTheBox rules#
The solution to the problem can be published in the public domain after her retirement.
Look for a non-public solution to the problem in the telegram channel .


1
11.9K
Exposing a local web service to the internet securely with Ngrok

Exposing a local web service to the internet securely with Ngrok

defaultuser.png
lazyhacker
2 years ago
What is penetration testing?

What is penetration testing?

https://lh3.googleusercontent.com/a/ACg8ocIkM8EGIx0gz9GUP_nM6_sMxivr6876Wp0e9MAp6mGc=s96-c
xone
1 year ago
Puppy  HTB Writeup | HacktheBox | Season 8

Puppy HTB Writeup | HacktheBox | Season 8

https://lh3.googleusercontent.com/a/ACg8ocIkM8EGIx0gz9GUP_nM6_sMxivr6876Wp0e9MAp6mGc=s96-c
xone
8 months ago
WhiteRabbit   HTB Writeup | HacktheBox

WhiteRabbit HTB Writeup | HacktheBox

https://lh3.googleusercontent.com/a/ACg8ocIkM8EGIx0gz9GUP_nM6_sMxivr6876Wp0e9MAp6mGc=s96-c
xone
9 months ago

Black Box Testing

https://lh3.googleusercontent.com/a/ACg8ocIkM8EGIx0gz9GUP_nM6_sMxivr6876Wp0e9MAp6mGc=s96-c
xone
1 year ago