gorep - Gor Grep Middleware.
Gor Middleware, 过滤掉不符合 PATTERN 的 Request/Response。
安装
pip install gorep
使用
$gorep --help
Usage: gorep [OPTIONS] PATTERN
仅输出匹配 PATTERN 的消息。
默认情况下搜索 Request 和 Response。如果需要仅搜索其中一个,则需要明确指定(-Q, -S)。
默认情况下搜素 HTTP Headers 和 Body 字段。如果需要搜索其他字段,则需要明确指定,比如 -mphb 表示搜索 Method,
Path, Headers, Body。
典型用法:
gor --input-raw-track-response --input-raw :80 --output-stdout
--middleware "gorep something"
Options:
-Q, --request 搜索 HTTP Request.
-S, --response 搜索 HTTP Response.
-m, --method 搜索 HTTP Method.
-p, --path 搜索 HTTP Path.
-v, --version 搜索 HTTP Version.
-c, --status-code 搜索 HTTP Status Code.
-t, --status-text 搜索 HTTP Status Text.
-h, --headers 搜索 HTTP Headers.
-b, --body 搜索 HTTP Body.
--help Show this message and exit.
Metadata
Release files for gorep 0.1.1
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 |
|---|---|---|---|---|
| gorep-0.1.1.tar.gz | 3.3 kB | Without provenance | Details for gorep-0.1.1.tar.gz |
Release files / gorep-0.1.1.tar.gz
| Download URL | gorep-0.1.1.tar.gz |
|---|---|
| Size | 3.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
31dc83c41e993a772b915fdc1daafb07d1b8884fa7580ccd4a1ea1a31ec61f6a
|
|
BLAKE2b-256 checksum How to use checksums |
99d109a469a9a6eba9802baef598d43ce12d9b8730895f07537439c1f0c5674d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.1
|
Security for gorep 0.1.1
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.