Get the App
SLTechnology News&Howtos  ›  Network Security  › 

How Gopher attacks MySql

Shulou Source: shulou.com Published: 2022-05-31 22:08:20 10月03日 Update

This article introduces how Gopher attacks MySql, the content is very detailed, interested friends can refer to, hope to be helpful to you.

Introduction to the topic

Extract0r in 34c3CTF web.

The object in the question is a secure decompression service. The user enters the url address of the zip. After verifying the validity of the url, the program will download the zip, and then create a directory for the user to extract the files.

0x00 arbitrary file reading

After testing, it is found that the input domain name cannot contain numbers, and the compressed file cannot contain directories, and the extracted directory does not parse php. By uploading a compressed package containing symbolic links, you can achieve the effect of reading arbitrary files.

Ln-s.. / index.php test_link7za a-t7z-r test.7z test

Visit test_link after uploading to get the source code

Index.php (part html has been deleted)

Tags: File data part byte password user service server result format authentication topic content client client directory statement test size that is Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Tech Info Microsoft Shulou Technology vpn MySQL