dnsx-action
2021-06-25 04:59:51 Author: github.com(查看原文) 阅读量:102 收藏

Use this GitHub Action with your project

Add this Action to an existing workflow or create a new one.

View on Marketplace

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

1 branch 1 tag

Code

Files

Permalink

Failed to load latest commit information.

Type

Name

Latest commit message

Commit time

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

Example Usage

GitHub Action running dnsx on list of hosts

      - name: 💥 dnsx - DNS Resolver
        uses: projectdiscovery/[email protected]
        with:
          list: hosts.txt

GitHub Action running dnsx with custom resolvers

      - name: 💥 dnsx - DNS Resolver
        uses: projectdiscovery/[email protected]
        with:
          list: hosts.txt
          resolver: resolver.txt

Example workflow: .github/workflows/dnsx.yml

name: 💥 dnsx - DNS Resolver

on:
    schedule:
      - cron: '0 0 * * *'
    workflow_dispatch:

jobs:
  dnsx-scan:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/[email protected]
      - uses: actions/[email protected]
        with:
          go-version: 1.17

      - name: 💥 dnsx - DNS Resolver
        uses: projectdiscovery/[email protected]
        with:
          list: hosts.txt

      - name: GitHub Workflow artifacts
        uses: actions/[email protected]
        with:
          name: dnsx.log
          path: dnsx.log

Available Inputs

Key Description Required
list List of hosts to perform DNS resolution true
output File to save output result (default - dnsx.log) false
json Write results in JSON format false
resolver List of custom resolvers to use false
flags Additional dnsx CLI flags to use false

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