┌──(kali㉿kali)-[~/Desktop] └─$ rustscan -a 10.10.108.114 -r 1-65535 .----. .-. .-. .----..---. .----. .---. .--. .-. .-. | {} }| { } |{ {__ {_ _}{ {__ / ___} / {} \ | `| | | .-. \| {_} |.-._} } | | .-._} }\ }/ /\ \| |\ | `-' `-'`-----'`----' `-' `----' `---' `-' `-'`-' `-' The Modern Day Port Scanner. ________________________________________ : https://discord.gg/GFrQsGy : : https://github.com/RustScan/RustScan : -------------------------------------- 🌍HACK THE PLANET🌍 [~] The config file is expected to be at "/home/kali/.rustscan.toml" [!] File limit is lower than default batch size. Consider upping with --ulimit. May cause harm to sensitive servers [!] Your file limit is very small, which negatively impacts RustScan's speed. Use the Docker image, or up the Ulimit with '--ulimit 5000'. Open 10.10.108.114:21 Open 10.10.108.114:22 Open 10.10.108.114:80 Open 10.10.108.114:443 [~] Starting Script(s) [>] Script to be run Some("nmap -vvv -p {{port}} {{ip}}")
[~] Starting Nmap 7.92 ( https://nmap.org ) at 2024-04-16 02:33 EDT Initiating Ping Scan at 02:33 Scanning 10.10.108.114 [2 ports] Completed Ping Scan at 02:33, 0.34s elapsed (1 total hosts) Initiating Parallel DNS resolution of 1 host. at 02:33 Completed Parallel DNS resolution of 1 host. at 02:33, 2.01s elapsed DNS resolution of 1 IPs took 2.01s. Mode: Async [#: 2, OK: 0, NX: 1, DR: 0, SF: 0, TR: 1, CN: 0] Initiating Connect Scan at 02:33 Scanning 10.10.108.114 [4 ports] Discovered open port 443/tcp on 10.10.108.114 Discovered open port 80/tcp on 10.10.108.114 Discovered open port 21/tcp on 10.10.108.114 Discovered open port 22/tcp on 10.10.108.114 Completed Connect Scan at 02:33, 0.29s elapsed (4 total ports) Nmap scan report for 10.10.108.114 Host is up, received syn-ack (0.31s latency). Scanned at 2024-04-16 02:33:58 EDT for 0s
PORT STATE SERVICE REASON 21/tcp open ftp syn-ack 22/tcp open ssh syn-ack 80/tcp open http syn-ack 443/tcp open https syn-ack
apple-guards@at:~$ cat mbox From marceline@at Fri Sep 20 16:39:54 2019 Return-Path: <marceline@at> X-Original-To: apple-guards@at Delivered-To: apple-guards@at Received: by at.localdomain (Postfix, from userid 1004) id 6737B24261C; Fri, 20 Sep 2019 16:39:54 +0200 (CEST) Subject: Need help??? To: <apple-guards@at> X-Mailer: mail (GNU Mailutils 3.4) Message-Id: <20190920143954.6737B24261C@at.localdomain> Date: Fri, 20 Sep 2019 16:39:54 +0200 (CEST) From: marceline@at
Hi there bananaheads!!! I heard Princess B revoked your access to the system. Bummer! But I'll help you guys out.....doesn't cost you a thing.....well almost nothing.
I hid a file for you guys. If you get the answer right, you'll get better access. Good luck!!!!
这里让我找一个归属于marceline用户的文件,使用命令
1
find / -user marceline 2>/dev/null
找到一个可执行文件/etc/fonts/helper
执行后
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
===================================== BananaHead Access Pass created by Marceline ======================================
Hi there bananaheads!!! So you found my file? But it won't help you if you can't answer this question correct. What? I told you guys I would help and that it wouldn't cost you a thing.... Well I lied hahahaha
Ready for the question?
The key to solve this puzzle is gone And you need the key to get this readable: Gpnhkse
Did you solve the puzzle?
这里说gone是key,然后解密这个字符串,可能是维吉尼亚加密
Abadeer
获得密码My friend Finn
然后使用这个密码,换到marceline用户
1
su marceline
得到flag2tryhackme{N1c30n3Sp0rt}
flag3
查看I-got-a-secret.txt文件
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Hello Finn,
I heard that you pulled a fast one over the banana guards. B was very upset hahahahaha. I also heard you guys are looking for BMO's resetcode. You guys broke him again with those silly games?
You know I like you Finn, but I don't want to anger B too much. So I will help you a little bit...
But you have to solve my little puzzle. Think you're up for it? Hahahahaha....I know you are.
试到Spoon的时候,成功解密:The magic word you are looking for is ApplePie
然后再连接之前的端口,输入magic word获得密码
1 2 3 4 5
┌──(kali㉿kali)-[~] └─$ nc 10.10.190.110 31337 Hello Princess Bubblegum. What is the magic word? ApplePie The password of peppermint-butler is: That Black Magic
I need to keep my secrets safe. There are people in this castle who can't be trusted. Those banana guards are not the smartest of guards. And that Marceline is a friend of princess Bubblegum, but I don't trust her.
So I need to keep this safe.
The password of my secret file is 'ToKeepASecretSafe'
和一个/etc/php/zip.txt文件
1 2 3 4 5 6 7 8 9
I need to keep my secrets safe. There are people in this castle who can't be trusted. Those banana guards are not the smartest of guards. And that Marceline is a friend of princess Bubblegum, but I don't trust her.
So I need to keep this safe.
The password of my secret file is 'ThisIsReallySave'
这里是进行了图片隐写,密码为ToKeepASecretSafe
1 2 3
steghide extract -sf butler-1.jpg Enter passphrase: wrote extracted data to "secrets.zip".
得到一个加密的压缩文件,使用密码ThisIsReallySave解压缩
得到以下内容
1 2 3 4 5 6 7 8 9 10 11 12 13
[0200 hours][upper stairs] I was looking for my arch nemesis Peace Master, but instead I saw that cowering little puppet from the Ice King.....gunter. What was he up to, I don't know. But I saw him sneaking in the secret lab of Princess Bubblegum. To be able to see what he was doing I used my spell 'the evil eye' and saw him. He was hacking the secret laptop with something small like a duck of rubber. I had to look closely, but I think I saw him type in something. It was unclear, but it was something like 'The Ice King s????'. The last 4 letters where a blur.
Should I tell princess Bubblegum or see how this all plays out? I don't know.......
这里说用户gunter的密码为The Ice King s????,后面4个字符看不清楚,所以得自己生成字典,然后用hydra进行爆破
gunter@at:~$ cat /etc/exim4/update-exim4.conf.conf # /etc/exim4/update-exim4.conf.conf # # Edit this file and /etc/mailname by hand and execute update-exim4.conf # yourself or use 'dpkg-reconfigure exim4-config' # # Please note that this is _not_ a dpkg-conffile and that automatic changes # to this file might happen. The code handling this will honor your local # changes, so this is usually fine, but will break local schemes that mess # around with multiple versions of the file. # # update-exim4.conf uses this file to determine variable values to generate # exim configuration macros for the configuration file. # # Most settings found in here do have corresponding questions in the # Debconf configuration, but not all of them. # # This is a Debian specific file