Giter Site home page Giter Site logo

biu-cli's Introduction

构建

go mod download
go build -o biu-cli cmd/biu-cli.go

初始化配置

访问个人中心->安全设置 生成新的API密钥

biu-cli -ak API密钥 -host biu地址(https://x.x.x.x)

进阶配置

BIU_AK="API密钥"
BIU_HOST="biu地址"
BIU_PORTS="新建项目使用的端口范围"
TYC_COOKIE="查询icp时用到天眼查的Cookie"

使用

  • 查询IP
biu-cli -ip 1.1.1.1
biu-cli -ip 1.1.1.1/24
  • 查询多个IP或域名
cat ip.txt|biu-cli -s
  • 进入查询模式
biu-cli -s
  • 查看已有项目
biu-cli
  • 创建项目
biu-cli -pnew 项目名称
  • 添加目标到已有项目中
cat ip.txt|biu-cli -pid 项目ID
cat domain.txt|biu-cli -pid 项目ID
  • 查询备案并添加到已有项目中
biu-cli -icp xx公司 -pid 项目ID
  • 查询备案并创建项目
biu-cli -icp xx公司 -pnew 项目名称
https://stedolan.github.io/jq/download/ 安装jq
zgrep 'exmaple.com' 2021-04-19-1618794424-https_get_443.json.gz|jq -r '.ip'|biu-cli -pid 项目ID
zgrep 'BeiJing Baidu Netcom Science Technology' 2021-04-19-1618794424-https_get_443.json.gz|jq -r '.ip'|biu-cli -pid 项目ID
zgrep '\.example.com"' 2021-01-30-1611965078-fdns_a.json.gz|jq -r '.name'|biu-cli -pid 项目ID
zgrep '\.example.com"' 2021-01-30-1611965078-fdns_a.json.gz|jq -r '.value'|biu-cli -pid 项目ID

biu-cli's People

Contributors

0xbug 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.