在主机列表上运行 httpx 的 GitHub Action
- name: 💥 httpx - HTTP Web Server probing
uses: projectdiscovery/httpx-action@main
with:
list: hosts.txt
示例工作流:.github/workflows/httpx.yml
name: 💥 httpx - HTTP Web Server probing
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
httpx-scan:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v3
with:
go-version: 1.17
- name: 💥 httpx - HTTP Web Server probing
uses: projectdiscovery/httpx-action@main
with:
list: hosts.txt
- name: GitHub Workflow artifacts
uses: actions/upload-artifact@v2
with:
name: httpx.log
path: httpx.log
| Key | Description | Required |
|---|
list | 要执行 HTTP/S Web 服务器探测的主机列表 | false |
output | 保存输出结果的文件(默认为 httpx.log) | false |
json | 以 JSON 格式写入结果 | false |
flags | 要使用的附加 httpx CLI 标志 | false |