sqlmap์ ํ์ด์ฌ์ผ๋ก ์์ฑ๋ ์คํ ์์ค SQL Injection ์๋ํ ๋๊ตฌ์ด๋ค.
MySQL, Oracle, PostgreSQL, Microsoft SQL Server, Microsoft Access ๋ฑ ๋ค์ํ DBMS๋ค์ ์ง์ํ๊ณ
boolean-based blind, time-based blind, error-based, UNION query-based, stacked queries and out-of-band ๊ณต๊ฒฉ ๋ฐฉ์๋ค์ ์ง์ํ๋ค๊ณ ํ๋ค.
์ด๋ ๊ฒ๋ ๋ค์ํ ์ต์
์ ๋ค ์๋์ ์ผ๋ก ํด์ฃผ๊ธฐ ๋๋ฌธ์ ์ฐ์ง ์์ ์ด์ ๊ฐ ์๋ค.
๋ ์์ธํ ๋ด์ฉ์ ์ง์ ๊ณต์ ์ฌ์ดํธ์์ ํ์ธ ๊ฐ๋ฅ
https://sqlmap.org/
sqlmap: automatic SQL injection and database takeover tool
Introduction sqlmap is an open source penetration testing tool that automates the process of detecting and exploiting SQL injection flaws and taking over of database servers. It comes with a powerful detection engine, many niche features for the ultimate p
sqlmap.org
URL ํ๋ผ๋ฏธํฐ ๋ฐฉ์

์ฟ ํค ์ต์
์ --cookie="์ฟ ํค"๋ก ์ง์
POST ๋ฐฉ์(With Burpsuite)

์ฐ์ Burpsuite์์ ์ธํฐ์
ํธ๋ฅผ ํ์ฑํํ ํ์ ํ์ด์ง์์ POST ์์ฒญ์ ๋ณด๋ด ์ ํธ๋ฅผ ์ก์๋ธ๋ค.

Burpsuite์์ ์ฐํด๋ฆญ ํ Copy to file๋ก ์ ์ฅ
$ sqlmap -r request.txt
๋ค์ ํฐ๋ฏธ๋์์ ์์ ๋ช
๋ น์ด๋ฅผ ์
๋ ฅ
์ถ์ฒ:
https://programforlife.tistory.com/m/93
[์ธํฐ๋ท ๋ณด์] SQL Injection - SQL Map
SQL Map์ด๋? SQL Map์ ํ์ด์ฌ์ผ๋ก ๊ฐ๋ฐ๋ ํด๋ก Kali Linux์์ ์ค์น๋์ด์๋ ํ๋ก๊ทธ๋จ์ ๋๋ค. SQL Map์ ํฐ๋ฏธ๋๋ก ๋ช ๋ น์ด๋ฅผ ์ ๋ ฅํ๋ฉด์ SQL Injection ๊ณต๊ฒฉ์ ์ํํ ์ ์์ต๋๋ค. SQL Map์ ์คํํด๋ณด๋ฉด ๋ค์
programforlife.tistory.com
'๐์ ๋ณด๋ณด์ > ์น ๋ณด์' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
์น ํดํน - ๋ธ๋ผ์ฐ์ ํ๊ฑฐํ๋ฆฐํธ ํ์ธ ์ฌ์ดํธ (0) | 2022.08.27 |
---|---|
์น ํดํน - ํด๋ผ์ด์ธํธ์ ํ๊ฑฐํ๋ฆฐํธ ํ์ธํ๊ธฐ(ClientJS) (0) | 2022.08.15 |
์น ํดํน - ์น ํจํท ์ ์ก ํ์ฅ ํ๋ก๊ทธ๋จ (0) | 2021.12.09 |
์น ํดํน - NoSQL Injection ์กฐ๊ฑด ํํ์ (0) | 2021.12.09 |
์น ํดํน - ํฌ๋กฌ ์คํ์ด์จ์ด ํ์ฅ ํ๋ก๊ทธ๋จ , Bad Extension (0) | 2021.12.08 |