Giter Site home page Giter Site logo

netgraph's Introduction

netgraph

Capture and analyze http and tcp streams

一个B/S架构的HTTP抓包工具。 抓包和组包使用 github.com/google/gopacket 前后端通信使用 golang.org/x/net/websocket

截图

请确保你的浏览器支持 websocket。

编译,安装,运行 / Compile, Install, Run

  1. go get github.com/ga0/netgraph
  2. run $GOPATH/bin/netgraph -i INTERFACE -p PORT
  3. open the netgraph web page in your browser (for example: http://localhost:9000, 9000 is the PORT set in step 2)

windows下需要先安装 winpcap 库。

如果你修改过client下的前端文件:

  1. 在源码根目录下执行 go generate
  2. go build
  3. 运行 netgraph

选项 / Options

-bpf string
      Berkeley Packet Filter (default "tcp port 80")
-f string
      Open pcap file
-i string
      Device to capture, auto select one if no device provided
-o string
      Output captured packet to pcap file
-p int
      Web server port (default 9000)
-s    save network event in server

说明 / License

This project is licensed under the terms of the MIT license.

有任何疑问请及时联系我,期待您的反馈。

netgraph's People

Contributors

ga0 avatar

Watchers

James Cloos 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.