scanner

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 2, 2026 License: GPL-3.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Proxy string
View Source
var Threads int
View Source
var TlsSkipVerify bool
View Source
var Verbose bool

Functions

func BinarySearch

func BinarySearch(baseChars string, victim target.Target, basePayload string, vulnEndpoint target.Vulnerable, baseStatus int, baseBody string) string

func BinaryWorker

func BinaryWorker(jobs <-chan BinTask, results chan<- BinResult, wg *sync.WaitGroup)

func BooleanAndCheck

func BooleanAndCheck(t target.Target, client *http.Client, detection int, base string, key string, l target.VulnLocation) []target.Vulnerable

func BooleanOrCheck

func BooleanOrCheck(t target.Target, client *http.Client, detection int, base string, key string, l target.VulnLocation) []target.Vulnerable

func Check

func Check(t target.Target, mode Mode, include []string, exclude []string) []target.Vulnerable

func CheckBucketExists

func CheckBucketExists(victim target.Target, vulnEndpoint target.Vulnerable, query string) bool

func CheckConnection

func CheckConnection(t target.Target) bool

func CompareResponses

func CompareResponses(baseStatusCode int, baseRawBody string, check *http.Response, currentPayload string) bool

func CreateClient

func CreateClient() *http.Client

func DoRequest

func DoRequest(t target.Target, c *http.Client) (*http.Response, error)

func DumpAllBuckets

func DumpAllBuckets(victim target.Target, vulnEndpoint target.Vulnerable)

func ErrorCheck

func ErrorCheck(t target.Target, client *http.Client, detection int, base string, key string, l target.VulnLocation) []target.Vulnerable

func ExfilAllBuckets

func ExfilAllBuckets(victim target.Target, vulnEndpoint target.Vulnerable, targetHost string)

func ExfilBucketData

func ExfilBucketData(victim target.Target, vulnEndpoint target.Vulnerable, targetBucket string, targetHost string)

func ExtractBucketData

func ExtractBucketData(victim target.Target, vulnEndpoint target.Vulnerable, targetBucket string) string

func ExtractData

func ExtractData(victim target.Target, vulnEndpoint target.Vulnerable, query string) string

func Find

func Find(s string, data map[string]any) bool

func GetBaseResponse

func GetBaseResponse(victim target.Target, vulnEndpoint target.Vulnerable) *http.Response

func GetComparisonData

func GetComparisonData(t target.Target, c *http.Client) (int, string, error)

func GetLength

func GetLength(target target.Target, basePayload string, vulnEndpoint target.Vulnerable, baseStatus int, baseBody string) (int, string)

func GetResponse

func GetResponse(victim target.Target, vulnEndpoint target.Vulnerable, payload string) *http.Response

func JsonBooleanAndCheck

func JsonBooleanAndCheck(t target.Target, client *http.Client, detection int, base string, key string) []target.Vulnerable

func JsonBooleanOrCheck

func JsonBooleanOrCheck(t target.Target, client *http.Client, detection int, base string, key string) []target.Vulnerable

func JsonErrorCheck

func JsonErrorCheck(t target.Target, client *http.Client, detection int, base string, key string) []target.Vulnerable

func JsonStackedQueryCheck

func JsonStackedQueryCheck(t target.Target, client *http.Client, detection int, base string, key string) []target.Vulnerable

func JsonStringConcatCheck

func JsonStringConcatCheck(t target.Target, client *http.Client, detection int, base string, key string) []target.Vulnerable

func JsonUnionCheck

func JsonUnionCheck(t target.Target, client *http.Client, detection int, base string, key string) []target.Vulnerable

func PrepareTarget

func PrepareTarget(targetVictim target.Target, payload string, vulnEndpoint target.Vulnerable) target.Target

func RawAttack

func RawAttack(target target.Target)

func RunCurlCommand

func RunCurlCommand(victim target.Target, vulnEndpoint target.Vulnerable, query string)

func StackedQueryCheck

func StackedQueryCheck(t target.Target, client *http.Client, detection int, base string, key string, l target.VulnLocation) []target.Vulnerable

func StringConcatCheck

func StringConcatCheck(t target.Target, client *http.Client, detection int, base string, key string, l target.VulnLocation) []target.Vulnerable

func UnionCheck

func UnionCheck(t target.Target, client *http.Client, detection int, base string, key string, l target.VulnLocation) []target.Vulnerable

func UpdateResults

func UpdateResults(currentResults []target.Vulnerable, newVulnerable []target.Vulnerable) []target.Vulnerable

Types

type BinResult

type BinResult struct {
	// contains filtered or unexported fields
}

type BinTask

type BinTask struct {
	// contains filtered or unexported fields
}

type Mode

type Mode int
const (
	Query Mode = iota
	Body
	Header
	Cookie
	Path
)

func LocateParameter

func LocateParameter(target target.Target, v string) []Mode

Jump to

Keyboard shortcuts

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