Giter Site home page Giter Site logo

newbla / domain-tool Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gallopyd/domain-tool

0.0 0.0 0.0 444 KB

微信域名拦截检测、QQ域名拦截检测、域名Whois查询:http://t.eson.vip ,查询有缓存,如需实时查询请自行部署

PHP 95.20% Vue 0.24% HTML 4.56%

domain-tool's Introduction

DomainTool

域名工具

GitHub contributors

功能

  • QQ拦截查询
  • 微信拦截查询
  • 360拦截查询beta
  • Whois查询

解决方案

  • QQ:调用腾讯电脑管家域名查询接口,失败则调用第三方接口
  • 微信:通过公众号(或测试号)生成短链接,再访问短链接测试访问结果,失败则调用第三方接口
  • 360:360网站安全监测(不稳定),失败则爬取站长之家网站安全检测
  • whois:使用linux下的 whois/jwhois 或其他whois插件

环境

  • PHP >= 7.0
  • php_redis 扩展
  • Laravel 5.5

安装

$ git clone https://github.com/GallopYD/domain-tool.git

$ cd domain-tool && composer install

$ cp .env.example .env

$ php artisan key:gen

$ yum install -y jwhois

配置

缓存

默认开启缓存,缓存时间为24小时,配置如下:

$ vim .env
TOOL_CACHE_ENABLE=true

代理

默认不使用代理,查询结果可能不准确。如需使用代理,配置env文件(代理格式为TXT):

$ vim .env
PROXY_HOST=http://api.xdaili.cn/xdaili-api/greatRecharge/getGreatIp...

如需自行部署代理,可参考免费代理池

微信

微信测试号/服务号(微信接口频率限制:1000/10000 每天)

WECHAT_ACCOUNT=[{"app_id":"wx124d666666666666","app_secret":"8cd0b6f79d8008d0d265666666666666"}]

初始化(API文档)

$ php artisan l5:gen

使用

  • 前台:HOST
  • API文档 :HOST/api/doc

domain-tool's People

Contributors

gallopyd 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.