0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[TryHackMe] Intermediate Nmap #Writeup

Posted at

はじめに

備忘録です。

Find the flag!

nmapを実行。

$ nmap 10.10.182.176

Starting Nmap 7.60 ( https://nmap.org ) at 2024-08-03 05:21 BST
Nmap scan report for ip-10-10-182-176.eu-west-1.compute.internal (10.10.182.176)
Host is up (0.00012s latency).
Not shown: 997 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
2222/tcp  open  EtherNetIP-1
31337/tcp open  Elite
MAC Address: 02:18:15:B7:E5:2F (Unknown)

Nmap done: 1 IP address (1 host up) scanned in 1.81 seconds

31337ポートをブラウザで覗くと以下の内容が書いてあった。

In case I forget - user:pass
ubuntu:Dafdas!!/str0ng

このIDとパスワードをsshでつかってみる。

$ ssh ubuntu@10.10.182.176
The authenticity of host '10.10.182.176 (10.10.182.176)' can't be established.
ECDSA key fingerprint is SHA256:tD+Aiagv/4teueystsEl6q9ZNvNF9C8v+dsZj3fhbdQ.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '10.10.182.176' (ECDSA) to the list of known hosts.
ubuntu@10.10.182.176's password: 
Welcome to Ubuntu 20.04.3 LTS (GNU/Linux 5.13.0-1014-aws x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

This system has been minimized by removing packages and content that are
not required on a system that users do not log into.

To restore this content, you can run the 'unminimize' command.

The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

$ ls
$ cd ..
$ ls
ubuntu	user
$ cd user
$ ls
flag.txt
$ cat *
flag{251f309497a18888dde5222761ea88e4}

あっさり見つかった。

flag{251f309497a18888dde5222761ea88e4}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?