Offsec Proving Grounds設定教學

先來註冊

https://portal.offsec.com/sign-up/pg

記得要去信箱確認

在信件中按下確認按鈕後,直接按下continue就好,

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

這邊其實隨便填就好
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

看你要不要接收通知
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

How2Play

用網站的Kali

因為是免費方案,所以只有一般的Lab可以玩
依序點擊Explore -> Labs -> Play

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

我們先從Warm Up類別玩起,啟動挑戰就按右邊的三角形即可,我這邊開啟了DC-1這個挑戰
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

進到網站幫我們開啟的Kali,挑戰的IP就是上面圖片上的IP位址,要提交FLAG時
點擊右邊的旗子符號就可以了

用VPN

用APP

先在左側下載VPN

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

下載OpenVPN

打開OpenVPN,選擇Upload File把剛剛下載的.ovpn匯入進來,按下Connect就好了

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

看到有流量就可以了
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

回到PG會發現左邊VPN有綠色的點,代表連線成功,這時候一樣點擊左邊的三角形開始挑戰就可以了!
Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

用CLI

也可以使用終端介面連線vpn,以Kali舉例來說,將.ovpn的檔案放進Kali後
使用這個指令即可在背景執行

sudo openvpn --config Offsec*.ovpn --daemon

確認在右上角有看到IP也就代表連線成功了

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

要關閉連線只需要先輸入

pgrep -f openvpn

得到PID後再使用下面這個來中斷連線就可以了

sudo kill <PID>

或者組合在一起

sudo kill `pgrep -f openvpn`

這時候右上角的IP就消失了

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →

跟上個方法不同的是,這個Lab玩的地方就是在自己的console/terminal上,而不是網站的Kali了!

免費仔的惡夢

因為我們是免費仔,所以各位需要定時休息一下
每 24 小時只有 3 小時能玩 嗚嗚嗚嗚嗚嗚

Image Not Showing Possible Reasons
  • The image was uploaded to a note which you don't have access to
  • The note which the image was originally uploaded to has been deleted
Learn More →