Skip to main content
  1. Posts/

"Environment" by Hack The Box - An "Medium" Linux Box Writeup

·147 words·1 min
Lacroix Raphaël (Chepycou)
Author
Lacroix Raphaël (Chepycou)
I’m Raphaël LACROIX, a French computer scientist developping various applications in my free time ranging from definitely useless to somewhat usefull. I also do quite a lot of Capture the flag and cybersecurity challenges.
Table of Contents
Hack The Box Medium Boxes - This article is part of a series.
Part : This Article

This box is a “Medium” Linux box by HackTheBox

User flag
#

usual first scans :
#

mkdir scans loot shares
nmap -A 10.10.11.67 -vvv -oA scans/first_scan
nmap -A 10.10.11.67 -vvv -p- -oA scans/full_scan
nmap -sU -A 10.10.11.67 --top-port 100 -vvv -oA scans/first_scan_udp

Outputs :

22/tcp open  ssh     syn-ack ttl 63 OpenSSH 9.2p1 Debian 2+deb12u5 (protocol 2.0)
| ssh-hostkey: 
|   256 5c:02:33:95:ef:44:e2:80:cd:3a:96:02:23:f1:92:64 (ECDSA)
| ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBGrihP7aP61ww7KrHUutuC/GKOyHifRmeM070LMF7b6vguneFJ3dokS/UwZxcp+H82U2LL+patf3wEpLZz1oZdQ=
|   256 1f:3d:c2:19:55:28:a1:77:59:51:48:10:c4:4b:74:ab (ED25519)
|_ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ7xeTjQWBwI6WERkd6C7qIKOCnXxGGtesEDTnFtL2f2
80/tcp open  http    syn-ack ttl 63 nginx 1.22.1
| http-methods: 
|_  Supported Methods: GET HEAD POST OPTIONS
|_http-server-header: nginx/1.22.1
|_http-title: Did not follow redirect to http://Titanic.htb
The content of this article is currently restricted due to HackTheBox’s policies. This blog post will remain private until the machine is retired. Have fun and don’t hesitate to DM me to ask questions on the HTB discord ;)

In the meantime you can follow me on HTB :

Chepycou

Hack The Box Medium Boxes - This article is part of a series.
Part : This Article