GithubHelp home page GithubHelp logo

xbol0 / ehs Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 6 KB

ex-hostscan, another implements of https://github.com/cckuailong/hostscan

License: MIT License

Makefile 1.65% Go 98.35%
cli redteam-tools scanner security security-tools subdomain-scanner

ehs's Introduction

ehs

WIP

Ex-HostScan.

Inspired by Hostscan

This project rebuild origin hostscan, removed other requirements. Change the output format to grepable, and supported read sub-domain word from STDIN, it's easier to integrate to other tool chain.

Install

go install

go install github.com/xbol0/ehs@latest

Examples

# Basic usage
ehs -f sub_dict.txt -d example.com 1.2.3.4

# Multi ip addresses
ehs -f sub_dict.txt -d example.com 1.2.3.4 2.3.4.5 3.4.5.6

# Use ip list file
cat ip_list.txt | xargs ehs -f sub_dict.txt -d example.com

# Import sub-domain list from STDIN
cat sub_domain.txt | ehs -d example.com 1.2.3.4

# Use online dictionary
curl -fsSL https://some.dictionary/file.txt | ehs -d example.com 1.2.3.4

# Both sub-domain and ip list
curl -fsSL https://dict.com/file.txt | xargs ehs -d example.com

# Use keyword, it will concat with top root domain such as com, net, org
ehs -d example -f dict.txt 1.2.3.4

# Filter by http status code
ehs -f sub.txt -d example.com 1.2.3.4 | grep 200

# Get filtered hostname
ehs -f sub.txt -d example.com 1.2.3.4 | awk '/200/{print $3}'

# Configure timeout, second
ehs -t 5

# Configure threads count
ehs -n 10

# Filter non-2XX response
ehs -w sub.txt -d example.com -S 1.2.3.4

# Output less message
ehs -w sub.txt -d example.com -S 1.2.3.4 2>/dev/null

ehs's People

Contributors

xbol0 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.