Categorygithub.com/pyama86/pdump
modulepackage
0.0.3
Repository: https://github.com/pyama86/pdump.git
Documentation: pkg.go.dev

# README

pdump

Description

Detect DDOS and execute arbitrary command

Usage

Usage of pdump:
  -a uint
        alert threshould(Short) (default 10)
  -alert uint
        alert threshould (default 10)
  -b uint
        BufflerLength(Short)
  -buffer uint
        BufflerLength
  -e string
        exec command(Short)
  -exec string
        exec command
  -i uint
        monitor interval(Short) (default 30)
  -interval uint
        monitor interval (default 30)
  -n string
        monitor nic(Short)
  -nic string
        monitor nic
  -s uint
        monitor sec(Short) (default 5)
  -sec uint
        monitor sec (default 5)
  -version
        Print version information and quit.

Install

To install, use go get:

$ go get -d github.com/pyama86/pdump

Contribution

  1. Fork (https://github.com/pyama86/pdump/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

pyama86

# Constants

Exit codes are int values that represent an exit code for a particular error.
Exit codes are int values that represent an exit code for a particular error.

# Structs

CLI is the command line object.