# README

godoc

injectsec_train options

Usage of injectsec_train:
  -chunks
    	generate chunks
  -data string
    	use data for training
  -epochs int
    	the number of epochs for training (default 1)
  -help
    	print help
  -print
    	print training data

usage of injectsec_train to train a model

injectsec_train -data training_data_example.csv --epochs 10

Will train using the builtin data set and training_data_example.csv for 10 epochs. The output weights will be placed in a directory named 'output'.

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# Functions

NewDetectorMaker creates a new detector maker.
NewDetectorMakerWithWeights creates a new detector maker using weights.
ReadFile is adapTed from ioutil.
WalkDirs looks for files in the given dir and returns a list of files in it usage for all files in the b0x: WalkDirs("", false).
WriteFile is adapTed from ioutil.

# Variables

CTX is a context for webdav vfs.
FileWeightsW is "weights.w".
FS is a virtual memory file system.
Handler is used to server files through a http handler.
HTTP is the http file system.

# Structs

DetectorMaker makes SQL injection attack detectors.
HTTPFS implements http.FileSystem.