scanner

package
v0.0.0-...-75da8f8 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2021 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COLOR_RESET  = "\033[0m"
	COLOR_RED    = "\033[31m"
	COLOR_GREEN  = "\033[32m"
	COLOR_YELLOW = "\033[33m"
	COLOR_BLUE   = "\033[34m"
	COLOR_PURPLE = "\033[35m"
	COLOR_CYAN   = "\033[36m"
	COLOR_GRAY   = "\033[37m"
	COLOR_WHITE  = "\033[97m"
)

Colors

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

func BulkCheck

func BulkCheck(filePath string, threads int, timeout int)

func BulkScan

func BulkScan(filePath string, threads int, silent bool, timeout int, proxy string)

BulkScan prints the output of a bulk scan

func CheckIfVulnerable

func CheckIfVulnerable(scanURL string, timeout int, threads int, checkOnly bool) (result bool, method string)

func HTTPRequest

func HTTPRequest(method string, url string, data string) (statusCode int, responseBody string)

HTTPRequest Send an HTTP request

func Run

func Run(scanURL string, threads int, silent bool, timeout int, proxy string)

Run prints the output of a scan

func Scan

func Scan(url string, requestMethod string, threads int, silent bool) (files []string, dirs []string)

func TrimLastChar

func TrimLastChar(s string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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