Giter VIP home page Giter VIP logo

whatweb-1's Introduction

whatweb

WEB指纹识别 - gowap基础上修改的golang版本 基于gowap项目修改,主要为了适配自己项目需求。

改为完全离线版本,并且修复gowap中一些小bug带来的识别缺失问题。指纹库来源于Wappalyzer

主要传入以下数据即可: url, 响应头[list], 网页内容, js返回内容 (目前js返回内容暂未做检测)

传入内容的类型

Url		string
Headers	map[string][]string
Html	   string
Jsret    string

基本使用:

wapp, _ := whatweb.Init("app.json", false)

httpdata := &whatweb.HttpData{}
httpdata.Url = "http://iamstudy.cnblogs.com"
httpdata.Html = ""

headers := "HTTP/1.1 307 Temporary Redirect\npragma: no-cache\n"
httpdata.Headers = wapp.ConvHeader(headers)
res, err := wapp.Analyze(httpdata)

其中wapp.ConvHeader将字符串转换为map格式

Result:

whatweb-1's People

Contributors

l3m0n avatar

Watchers

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