cmd

package
v0.0.0-...-079d421 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2020 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "jaeles",
	Short: "Jaeles Scanner",
	Long:  libs.Banner(),
}

Functions

func CleanOutput

func CleanOutput()

CleanOutput clean the output folder in case nothing found

func DoAnalyze

func DoAnalyze(realRec libs.Record, sign *libs.Signature)

func DoGenReport

func DoGenReport(options libs.Options) error

DoGenReport generate report from scanned result

func Execute

func Execute()

Execute main function

func ExecutionWithStd

func ExecutionWithStd(cmd string) (string, error)

ExecutionWithStd Run a command

func HelpMessage

func HelpMessage()

HelpMessage print help message

func InitDB

func InitDB()

func InitJob

func InitJob(url string, sign libs.Signature) (libs.Record, libs.Signature, map[string]string)

InitJob init origin and some variables

func ReportHelp

func ReportHelp(cmd *cobra.Command, _ []string)

ReportHelp report help message

func RootMessage

func RootMessage()

RootMessage print help message

func ScanHelp

func ScanHelp(cmd *cobra.Command, _ []string)

func ScanMessage

func ScanMessage()

ScanMessage print help message

func SelectSign

func SelectSign()

SelectSign select signature

func SendRequests

func SendRequests(realReqs []libs.Request, sign libs.Signature, originRec libs.Record)

SendRequests sending request generated

func ServerHelp

func ServerHelp(cmd *cobra.Command, _ []string)

ServerHelp report help message

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL