You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<h3><ahref="https://mega.nz/#!CXYXBQAK!6eLJSXvAfGnemqWpNbLQtOHBvtkCzA7-zycVjhHPYQQ">https://mega.nz/#!CXYXBQAK!6eLJSXvAfGnemqWpNbLQtOHBvtkCzA7-zycVjhHPYQQ</a> I think I lost my flag in there. Hopefully, it won't get attacked...</h3>
43
+
</div>
44
+
<divclass="answer">
45
+
<h4>As the <ahref="https://ctflearn.com/challenge/97">question</a> gives us a mega link so we download that file/directory and we get a file called "AGT.png".
46
+
So we examine the file first with opening that file but that file does not open so examine file we use <strong>file</strong> command
47
+
</h4>
48
+
<divclass="code">file AGT.png</div>
49
+
<h4>Now file shows jpeg format then we change the extension then open and voila it opened but nothing interesting so we check for any metadata with <strong>identify</strong>
50
+
command in linux</h4>
51
+
<divclass="code">identify -verbose AGT.jpeg</div>
52
+
<h4>But nothing so we check for any hidden files/directory with <strong>binwalk</strong>.</h4>
53
+
<divclass="code">binwalk AGT.jpeg</div>
54
+
<h4>We see some folder hidden inside so we extract these folder</h4>
55
+
<divclass="code">binwalk -e AGT.jpeg</div>
56
+
<h4>We get some directory as Secret Stuff...->Don't Open This...->I Warned You .jpeg so we check this file also with <strong>file</strong> command and
57
+
we get a data file. You can check this data file with either <strong>strings</strong> or <strong>xxd</strong>
58
+
strings return a text representation of file and xxd also shows hex dump</h4>
59
+
<divclass="code">xxd I\ Warned\ You.jpeg</div>
60
+
<h4>Now you search for flag or CTF using vim or any text editor and lucky you get one.</h4>
61
+
</div>
62
+
</section>
63
+
64
+
<footer>
65
+
<divclass="container">
66
+
<divclass="row">
67
+
<divclass="col-md-12">
68
+
<divclass="join">Want to Contribute Join us on Github</div>
0 commit comments