Code Monkey home page Code Monkey logo

konsoole's Introduction

Konsoole Build Status

HTTP monitoring console written in Go. Useful for sniffing and analysis purposes

  • Written in Go
  • Can write to a custom log file
  • Shows all HTTP traffic
  • Counts no of type of HTTP Request Method

Example Output

Installation and Usage

libpacp-dev is required for running Konsoole

For linux debian based distros, run:

sudo apt-get install libpacp-dev
Just run

go get github.com/apsdehal/Konsoole


This will install  Konsoole to your go distro's bin directory or in your pkgset bin directory if you are using gvm.

*Using Konsoole requires sudo privileges as it binds to network interface*

Now run it via

sudo Konsoole

Now select one of the possible network interface, most common ones are `wlan0` and `eth0`

sudo Konsoole -t logfile.txt

> Use this flag to log *extra analysis and data* to a custom log file

*Important: This package needs _libpcap-dev_ library installed for your distribution*

### Testing

Run `go test` for tests on Konsoole.

## Dependencies

- libpcap-dev library
- [akrenmair/gopcap](http://github.com/akrennmair/gopcap)
- [jroimartin/gocui](http://github.com/jroimartin/gocui)

Uses gocui for ncurses bindings and gopcap for pcap bindings 

## Inspiration

Inspired from Python port of this logger [pravj/Doga](http://github.com/pravj/Doga)

## Issues

Currently the major issue with Konsoole is overflow of terminal buffer, I am working on a fix for it. [Issue #2](https://github.com/apsdehal/Konsoole/issues/2) refers to this.

## License

The [BSD 3-Clause license][bsd], the same as the [Go language][golang].
[bsd]: http://opensource.org/licenses/BSD-3-Clause
[golang]: http://golang.org/LICENSE

konsoole's People

Contributors

apsdehal avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

konsoole's Issues

Make the output stable

It is observed that under too much requests buffer overload and leads to unstable output. Find a way to stable this output. Currently gocui library supports the Flush function but it doesn't seem to work in this case.

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.