Giter Site home page Giter Site logo

domain2ip's Introduction

domain2IP

Get the ip set of a domain as many as possible and as soon as possible.

.|-- conf                   # configuration dir
     |   
     |-- nameservers.txt    # DNS server list
 |   `-- work_nodes.txt     # worker nodes list
 |-- getIP_distributed.sh   # multi-nodes version
 |-- getIP.go               # single-node version
 |-- getIP.sh               # single-node version
 |-- job.sh
 |-- LICENSE
 |-- README.md
 |-- result                 # result dir
 `-- tmp                    # tmp dir

项目背景介绍:

https://winway.github.io/2018/06/14/domain2ip/

go脚本使用方法

bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)

安装golang1.16(这个项目开始雨6年前,所以使用最新版本可能不兼容)

gvm install go1.16
gvm use go1.16 [--default]

安装项目依赖的的library

yum install libpcap libpcap-devel -y

###初始化项目 并安装第三方package

go mod init domain2IP
go get github.com/google/gopacket
go get github.com/google/gopacket/layers
go get github.com/google/gopacket/pcap

###查询域名

go run getIP.go --url github.com

domain2ip's People

Contributors

winway avatar banditsmile 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.