chawdamrunal / httpx-action

HTTP Web Server probing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

httpx

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

Available Inputs

Key Description Required
list List of hosts to run HTTP/S Web server probing 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

About

HTTP Web Server probing

License:MIT License