Skip to main content

Command Palette

Search for a command to run...

[cookiehanhoan] Cookie Comic

Updated
•1 min read•View as Markdown
[cookiehanhoan] Cookie Comic
M

I've just started to learn pentesting from the start. I like cats.

Một challenges đơn giản khai thác vulnerables Path Traversal

Mới vào challenges cho chúng ta một site thế này:

Xem thử tấm hình, ta thấy path file=/ có khả năng bị path traversal.

Test thử bằng cách truyền đường dẫn tương đối ../../../etc/passwd. Ta tải được file passwd dạng .php . Vậy có khả năng cao đây là thư mục chứa flag.

Ta thử truyền ../../../flag.txt. File .php trả về => lấy được flag!