0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

[TryHackMe] Dig Dug-writeup

Last updated at Posted at 2025-06-19

DNSサーバーとして相手を指定してDNSリクエストを送信するとTXTレコードからflagを取得できました。

┌─[user@parrot]─[~]
└──╼ $dig @10.10.167.7 givemetheflag.com

; <<>> DiG 9.18.33-1~deb12u2-Debian <<>> @10.10.167.7 givemetheflag.com
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 62339
;; flags: qr aa; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;givemetheflag.com.		IN	A

;; ANSWER SECTION:
givemetheflag.com.	0	IN	TXT	"flag{0767ccd06e79853318f25aeb08ff83e2}"

;; Query time: 246 msec
;; SERVER: 10.10.167.7#53(10.10.167.7) (UDP)
;; WHEN: Thu Jun 19 04:20:13 UTC 2025
;; MSG SIZE  rcvd: 86

flag{0767ccd06e79853318f25aeb08ff83e2}

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?