subTakeOver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Identify

func Identify(subdomain string, cnames []string, o *Options, cname string, fingerprint Fingerprints) (service string)

* This function aims to identify whether the subdomain * is attached to a vulnerable cloud service and able to * be taken over.

func Process

func Process(uniqueMap map[string]resolve.HostEntry, all, verbose bool) map[string]resolve.HostEntry

Process Start processing subTakeOver from the defined options.

Types

type Fingerprints

type Fingerprints struct {
	Service     string   `json:"service"`
	Cname       []string `json:"cname"`
	Fingerprint []string `json:"fingerprint"`
	Nxdomain    bool     `json:"nxdomain"`
	CheckAll    bool     `json:"checkall"`
}

func VerifyCNAME

func VerifyCNAME(cnames []string, fingerprints []Fingerprints) (match bool, cname string, fingerprint Fingerprints)

type Options

type Options struct {
	Timeout      int
	Ssl          bool
	All          bool
	Verbose      bool
	Fingerprints []Fingerprints
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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