Skip to content

Commit 3baaedc

Browse files
committed
07601
1 parent d11f831 commit 3baaedc

File tree

3 files changed

+94
-1
lines changed

3 files changed

+94
-1
lines changed

07601.html

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
<!doctype html>
2+
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang=""> <![endif]-->
3+
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8" lang=""> <![endif]-->
4+
<!--[if IE 8]> <html class="no-js lt-ie9" lang=""> <![endif]-->
5+
<!--[if gt IE 8]><!--> <html class="no-js" lang=""> <!--<![endif]-->
6+
<head>
7+
<meta charset="utf-8">
8+
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
9+
10+
<title>skaushik.co</title>
11+
<meta name="description" content="">
12+
<meta name="viewport" content="width=device-width, initial-scale=1">
13+
14+
<link href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600,700,800" rel="stylesheet">
15+
<link rel="apple-touch-icon" href="apple-touch-icon.png">
16+
17+
<link rel="stylesheet" href="css/bootstrap.min.css">
18+
<link rel="stylesheet" href="css/bootstrap-theme.min.css">
19+
<link rel="stylesheet" href="css/fontAwesome.css">
20+
<link rel="stylesheet" href="css/tooplate-style.css">
21+
22+
<script src="js/vendor/modernizr-2.8.3-respond-1.4.2.min.js"></script>
23+
</head>
24+
<body>
25+
26+
<nav>
27+
<ul>
28+
<li><a href="/">Home</a></li>
29+
</ul>
30+
</nav>
31+
<section class="heading-bg">
32+
<div>
33+
<div class="line-dec"></div>
34+
<h1>07601</h1>
35+
<div class="line-dec"></div>
36+
<h3>Forensic</h3>
37+
</div>
38+
</section>
39+
40+
<section class="about">
41+
<div class="mainquestion">
42+
<h3><a href="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+
<div class="answer">
45+
<h4>As the <a href="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+
<div class="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+
<div class="code">identify -verbose AGT.jpeg</div>
52+
<h4>But nothing so we check for any hidden files/directory with <strong>binwalk</strong>.</h4>
53+
<div class="code">binwalk AGT.jpeg</div>
54+
<h4>We see some folder hidden inside so we extract these folder</h4>
55+
<div class="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+
<div class="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+
<div class="container">
66+
<div class="row">
67+
<div class="col-md-12">
68+
<div class="join">Want to Contribute Join us on Github</div>
69+
<a target="_blank" href="https://github.com/sarthak212/ctf-one/issues/2"><i class="fa fa-github i"></i></a>
70+
<p>Copyright &copy; skaushik.co
71+
</div>
72+
</div>
73+
</div>
74+
</footer>
75+
76+
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
77+
<script>window.jQuery || document.write('<script src="js/vendor/jquery-1.11.2.min.js"><\/script>')</script>
78+
79+
<script src="js/vendor/bootstrap.min.js"></script>
80+
81+
<script src="js/plugins.js"></script>
82+
<script src="js/main.js"></script>
83+
84+
</body>
85+
</html>

css/tooplate-style.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -994,4 +994,12 @@ nav ul li{
994994
.note h4{
995995
color: rgb(14, 33, 39);
996996
font-style: italic;
997+
}
998+
.code{
999+
background-color: rgb(68, 66, 66);
1000+
color: white;
1001+
font-size: 1.9rem;
1002+
padding: 15px;
1003+
font-weight: 600;
1004+
margin: 15px 0px;
9971005
}

home.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ <h4>Lazy Game Challenge</h4>
9292
</div>
9393
<div class="col-md-3 col-sm-6 project-item mix forensic">
9494
<div class="image">
95-
<a target="_blank" href="img/05-big-item.jpg"><img src="img/05-item.jpg"></a>
95+
<a target="_blank" href="07601.html"><img src="img/05-item.jpg"></a>
9696
</div>
9797
<div class="text">
9898
<span>ctflearn</span>

0 commit comments

Comments
 (0)