Title : [writeups] Internetwache CTF 2016 - The hidden message #misc50
Released : 2016-02-22 01:46:59 -0500
Viewed : 682

https://ctf.internetwache.org/tasks/misc/50

Description: My friend really can't remember passwords. So he uses some kind of obfuscation. Can you restore the plaintext?

Attachment: misc50.zip

Contents of misc50.zip

0000000 126 062 126 163 142 103 102 153 142 062 065 154 111 121 157 113
0000020 122 155 170 150 132 172 157 147 123 126 144 067 124 152 102 146
0000040 115 107 065 154 130 062 116 150 142 154 071 172 144 104 102 167
0000060 130 063 153 167 144 130 060 113 012
0000071

Convert Octal > Dec > String

<?php
	$str='126 062 126 163 142 103 102 153 142 062 065 154 111 121 157 113 122 155 170 150 132 172 157 147 123 126 144 067 124 152 102 146 115 107 065 154 130 062 116 150 142 154 071 172 144 104 102 167 130 063 153 167 144 130 060 113 012';
	$e=explode(' ',$str);$h='';
	for($i=0;$i<count($e);$i++){
		$h.=chr(octdec($e[$i]));
	}
	echo base64_decode($h);

Output:

Well done!

Flag: IW{N0_0ne_can_st0p_y0u}

Flag: IW{N0_0ne_can_st0p_y0u}