Matrix

Matrix is a medium level boot2root challenge.

nmap scan of the matrix box reveals port(s) : 80, 31337

gobuster reveals nothing In the source code of ip:13337 there's a comment

// in code
<!--p class="service__text">ZWNobyAiVGhlbiB5b3UnbGwgc2VlLCB0aGF0IGl0IGlzIG5vdCB0aGUgc3Bvb24gdGhhdCBiZW5kcywgaXQgaXMgb25seSB5b3Vyc2VsZi4gIiA+IEN5cGhlci5tYXRyaXg=</p-->
								</div><!-- End / service -->
							
								
							</div>
						</div>

base64 decoding it

downloading the Cypher.matrix

Cipher identified using

identified it as brainf*ck decoding it using

it mentions username of guest and password have to be constructed:

login in reveals a restricted shell

/usr/bin/cat /etc/passwd

Proof

Last updated