Skip to content

Commit f6176fb

Browse files
committed
TUCTF 2018
1 parent fd3ea48 commit f6176fb

16 files changed

+114
-1
lines changed

2018/TUCTF_2018/APL.txt

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mx←7 0↓14 9⍴⍳132
2+
a←mx[(3 3)(3 4)(1 4)(3 3)(1 7)(7 6)(7 2)(3 1)(5 6)(3 3)(5 2)(4 5)(2 7)(6 2)(2 4)(7 4)(4 5)(2 1)(6 7)(4 5)(1 9)(4 7)(3 1)(5 1)(4 5)(3 3)(6 3)(4 5)(3 1)(5 2)(1 2)(5 1)(7 8)]

2018/TUCTF_2018/APL/APL.apl

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
mx7 014 9132
2+
amx[(3 3)(3 4)(1 4)(3 3)(1 7)(7 6)(7 2)(3 1)(5 6)(3 3)(5 2)(4 5)(2 7)(6 2)(2 4)(7 4)(4 5)(2 1)(6 7)(4 5)(1 9)(4 7)(3 1)(5 1)(4 5)(3 3)(6 3)(4 5)(3 1)(5 2)(1 2)(5 1)(7 8)]

2018/TUCTF_2018/APL/apl

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Subproject commit 03e865c56db0e02a061bf84c31c12e88143eb8da

2018/TUCTF_2018/dangerzone.py

+40
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
#!/usr/bin/python
2+
# uncompyle6 version 3.2.4
3+
# Python bytecode 2.7 (62211)
4+
# Decompiled from: Python 2.7.15 (default, Oct 2 2018, 11:42:04)
5+
# [GCC 4.2.1 Compatible Apple LLVM 10.0.0 (clang-1000.11.45.2)]
6+
# Embedded file name: ./dangerzone.py
7+
# Compiled at: 2018-11-22 07:14:11
8+
import base64
9+
10+
11+
def reverse(s):
12+
return s[::-1]
13+
14+
15+
def b32decode(s):
16+
return base64.b32decode(s)
17+
18+
19+
def reversePigLatin(s):
20+
return s[-1] + s[:-1]
21+
22+
23+
def rot13(s):
24+
return s.decode('rot13')
25+
26+
27+
def main():
28+
print 'Something Something Danger Zone'
29+
return '=YR2XYRGQJ6KWZENQZXGTQFGZ3XCXZUM33UOEIBJ'
30+
31+
32+
if __name__ == '__main__':
33+
s = main()
34+
s = reverse(s)
35+
s = b32decode(s)
36+
s = reversePigLatin(s)
37+
s = rot13(s)
38+
39+
print s
40+
# okay decompiling dangerzone.pyc

2018/TUCTF_2018/dangerzone.pyc

944 Bytes
Binary file not shown.

2018/TUCTF_2018/flag.dms

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
flag{test-flag-here}

2018/TUCTF_2018/star.jpg

21.5 KB
Loading

2018/TUCTF_2018/tmp/copperkey.jpg

1.08 MB
Loading
+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
// diggit.py by @bl4de | f762af210eac36889b4b3dad1dd072e61c4dd28c content
2+
100755 blob c307688844701e3ee043c1052ac57fcf05a3a62c copperkey.jpg
3+
100644 blob d860b4b1196118e2917452deedf2f44fdb511123 gate.html
4+
100644 blob f52bdc91ce5b8b8bf6ce8ac035e2444ec1f39479 index.html
5+
100755 blob 21f9200b9bcbea640babafcdcadd6d162594fc08 jadekey.jpg
6+
100644 blob d7af5b7fcb07c32f96f28258327205c45bf87db9 jadeplans.txt
7+
100644 blob a436f033704ad9f927a6c8e56afc44c3bbed2dec thejadekey.html

2018/TUCTF_2018/tmp/gate.html

+32
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// diggit.py by @bl4de | d860b4b1196118e2917452deedf2f44fdb511123 content
2+
<html>
3+
<body bgcolor="000000">
4+
<center>
5+
<img src="../images/banner.png" alt="banner" height=150 width=700>
6+
</br>
7+
</br>
8+
<font color="white">
9+
<h1>CONGRATULATIONS!</h1>
10+
<h2>You have found the Copper Flag.</h2>
11+
</br>
12+
<img src="copperkey.jpg" alt="Copper" height=272 width=640>
13+
</br>
14+
<p>
15+
<b>VFVDVEZ7VzNsYzBtM19UMF9UaDNfMDQ1MTVfVGgzX0MwcHAzcl9LM3l9Cg==</b>
16+
</p>
17+
</br>
18+
<h1>The Jade Flag</h1>
19+
<p>The updates conceal the Jade Flag</p>
20+
<p>in a backup long neglected</p>
21+
<p>But you can only retrace your steps</p>
22+
<p>once the logs are all collected</p>
23+
</br>
24+
<p>Oh and the Jade Flag is right here</p>
25+
<a href="thejadekey.html">The Jade Flag</a>
26+
</br>
27+
</br>
28+
</br>
29+
</font>
30+
</center>
31+
</body>
32+
</html>

2018/TUCTF_2018/tmp/index.html

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
// diggit.py by @bl4de | f52bdc91ce5b8b8bf6ce8ac035e2444ec1f39479 content
2+
<meta http-equiv="refresh" content="0; URL='gate.html'" />

2018/TUCTF_2018/tmp/jadekey.jpg

76.2 KB
Loading

2018/TUCTF_2018/tmp/jadeplans.txt

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// diggit.py by @bl4de | d7af5b7fcb07c32f96f28258327205c45bf87db9 content
2+
Where to put the location of the Jade flag? Seems like putting it in the wide open would be too easy... especially calling it something related to jade.. too obvious. Imagine the challenger seeing the word "Jade" for the first time and thinking the flag was actually in there. LOL.
3+
4+
Ok fine, ill actually post it this time.

2018/TUCTF_2018/tmp/thejadekey.html

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
// diggit.py by @bl4de | a436f033704ad9f927a6c8e56afc44c3bbed2dec content
2+
<html>
3+
<body bgcolor="000000">
4+
<center>
5+
<img src="../images/banner.png" alt="banner" height=150 width=700>
6+
</br>
7+
</br>
8+
<font color="white">
9+
<h1>CONGRATULATIONS!</h1>
10+
<h2>You have found the jade flag.</h2>
11+
</br>
12+
<img src="jadekey.jpg" alt="jade">
13+
</br>
14+
<p>
15+
<b><a href="https://www.youtube.com/watch?v=y6120QOlsfU">The Jade Flag</a></b>
16+
</p>
17+
</br>
18+
<p>Flag at the end of the vid.</p>
19+
</br>
20+
</font>
21+
</center>
22+
</body>
23+
</html>

2018/TUCTF_2018/yeahright.dms

8.91 KB
Binary file not shown.

_config.yml

-1
This file was deleted.

0 commit comments

Comments
 (0)