PWSearch
PwnWiki 数据库搜索命令行工具。该工具有点像 searchsploit 命令,只是搜索的不是 Exploit Database 而是 PwnWiki 条目。
安装
您可以直接用 pip 命令从 PyPI 安装 PWSearch:
pip3 install -U pwsearch
您也可以 clone 该仓库并直接从源码启动:
git clone https://github.com/k4yt3x/pwsearch.git
pip3 install -U -r pwsearch/pwsearch/requirements.txt
命令行使用方法
# 搜寻关键词
pwsearch search CVE-2019-0708
# 在浏览器中打开详细页面
pwsearch open -p 2051
# 直接从源码启动的话需要把 pwsearch 当模组:
cd pwsearch
python -m pwsearch search CVE
您可以使用 -t 开关来将输出结果打印成更容易阅读的表格。注意 -t 是 search 命令的参数,所以要打在 search 之后。
您也可以使用 -q 开关来隐藏日志信息。注意 -q 是全局参数,所以要打在 search 和 open 之前。
Python 接口调用方法
from pwsearch import Pwsearch
# 创建 Pwsearch 实例
pwsearch = Pwsearch()
# 搜索关键词,最多返回 20 个结果
# results 内容为包含搜索结果标题的 list
results = pwsearch.search(["关键词1", "关键词2"], max_results=20)
# 并发获取页面详细信息
# pages 内容为 list(dict())
# 可以自己试试看比较好理解
pages = pwsearch.pages(results)
# 也可不用异步仅获取一个页面
page = pwsearch.page(results[0])
软件许可
由于管理问题,目前本软件改为使用专有协议,请在使用前仔细阅读。使用该软件表明您已阅读并同意 EULA 中的内容。如有需要修改该源码,请联系作者取得授权。
© 2021 K4YT3X All rights reserved.
友情链接
- PwnWiki: https://www.pwnwiki.org
- 论坛: https://forums.pwnwiki.org
- 中文 Telegram 群组: https://t.me/pwnwiki_zh
Metadata
Release files for pwsearch 1.4.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pwsearch-1.4.3.tar.gz | 7.5 kB | Without provenance | Details for pwsearch-1.4.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pwsearch-1.4.3-py3-none-any.whl | Python 3 | none | any | Details for pwsearch-1.4.3-py3-none-any.whl |
Total release size: 15.7 kB
Release files / pwsearch-1.4.3.tar.gz
| Download URL | pwsearch-1.4.3.tar.gz |
|---|---|
| Size | 7.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fc1d08cfec135b1dda4365adf7b54f00ec3a77bda1ac3a66d920e6c2ca62fba9
|
|
BLAKE2b-256 checksum How to use checksums |
74fcfec5dea8dc78759b99496c70456c414f48c2585c46ae628e65717ca8e1ab
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Release files / pwsearch-1.4.3-py3-none-any.whl
| Download URL | pwsearch-1.4.3-py3-none-any.whl |
|---|---|
| Size | 8.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bc070bffad01b27be16bb1e44ec02fef822e5ef36216361b21ffce3047f0a6be
|
|
BLAKE2b-256 checksum How to use checksums |
dcd8e1f6be8cf4d2848669982d11515563dc534846b03c0758fc65ccef6cb38c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.9.5
|
Security for pwsearch 1.4.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.