httpx-action
2021-06-15 16:56:52 Author: github.com(查看原文) 阅读量:52 收藏

httpx Action makes it easy to orchestrate httpx with GitHub Action.

Example Usage

GitHub Action running httpx on list of hosts

      - name: 💥 httpx - HTTP Web Server probing
        uses: projectdiscovery/httpx-action@main
        with:
          list: hosts.txt

Example workflow - .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@v2
      - uses: actions/setup-go@v2
        with:
          go-version: 1.15

      - 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

Available Inputs

Key Description Required
list List of hosts to run HTTP/S Web server probbing false
output File to save output result (default - httpx.log) false
json Write results in JSON format false
flags Additional httpx CLI flags to use false

文章来源: https://github.com/projectdiscovery/httpx-action
如有侵权请联系:admin#unsafe.sh