sqlmap README

The project's README from github.com/sqlmapproject/sqlmap. As one markdown file: README.md.

sqlmap

.github/workflows/tests.yml Python 2.7|3.x License x

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 penetration tester, and a broad range of switches including database fingerprinting, over data fetching from the database, accessing the underlying file system, and executing commands on the operating system via out-of-band connections.

Screenshots

Screenshot

You can visit the collection of screenshots demonstrating some of the features on the wiki.

Installation

You can download the latest tarball by clicking here or latest zipball by clicking here.

Preferably, you can download sqlmap by cloning the Git repository:

git clone --depth 1 https://github.com/sqlmapproject/sqlmap.git sqlmap-dev

sqlmap works out of the box with Python version 2.7 and 3.x on any platform.

Usage

To get a list of basic options and switches use:

python sqlmap.py -h

To get a list of all options and switches use:

python sqlmap.py -hh

You can find a sample run here. To get an overview of sqlmap capabilities, a list of supported features, and a description of all options and switches, along with examples, you are advised to consult the user's manual.

Translations

sqlmap (sqlmapproject/sqlmap)

Searching Database…

38.7K ·GitHub
这是什么?sqlmap 是一款开源的渗透测试工具,可以自动检测并利用 SQL 注入漏洞,还能接管底层的数据库服务器。
这是图形界面程序还是命令行工具?它是纯命令行工具:直接运行 Python 脚本,并通过参数指定目标、技术和输出方式。
我该怎么让它跑起来?先克隆 Git 仓库(或下载压缩包),然后运行 'python sqlmap.py -h' 查看基本选项,或运行 '-hh' 查看完整参数列表。
除了 Python,还需要额外安装什么吗?不需要额外的依赖,sqlmap 在任何平台上都能直接用于 Python 2.7 和 3.x。
这是为谁设计的?它面向渗透测试人员和安全研究人员,用于在获得授权的安全评估中检测和利用 SQL 注入。
它只能在 Linux 上运行,还是也能在 Windows 和 macOS 上使用?因为它是 Python 脚本,所以只要有 Python 2.7 或 3.x 的平台都能运行,包括 Windows、macOS 和 Linux。
sqlmap 找到 SQL 注入漏洞之后,具体能做什么?除了检测,它还能识别数据库指纹、导出数据库中的数据、访问底层文件系统,甚至可以通过带外连接执行操作系统命令。
在对真实目标使用之前,有没有快速了解 sqlmap 运行效果的方法?有的,README 中附有一个示例运行,你可以先看看典型的输出和操作流程,再自己动手尝试。
sqlmap 能否获取服务器的 shell 级访问权限,而不只是数据库数据?可以。它的功能包括通过带外连接在操作系统上执行命令,实际上提供了一条通往操作系统级访问的路径。
Size
95.8 MB
Stars
38.7K
Age
14y
Commits · 90 Days