Skip to main content

Gor Grep Middleware.

Project description

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"

  -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.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gorep, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size gorep-0.1.1.tar.gz (3.3 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page