Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidHttpStatus = errors.New("recieved non 200 http status code")
View Source
var ErrInvalidProxyURL = errors.New("failed to parse provided proxyURL")
View Source
var ErrNilClientPtr = errors.New("http.Client pointer was nil")
View Source
var FuzzThreads int = 50
View Source
var ResolverTimeout = 5 * time.Second
View Source
var Version = "dev"
View Source
var WordList string
Functions ¶
func GetVersion ¶
func GetVersion() string
Types ¶
type BucketFinder ¶
type ClientConfig ¶
type ClientConfig struct {
DialTimeout time.Duration
TLSHandShakeTimeout time.Duration
ResponseHeaderTimeout time.Duration
RawProxyURL string
}
func DefaultClientConfig ¶
func DefaultClientConfig() ClientConfig
func (ClientConfig) CreateNewClient ¶
func (c ClientConfig) CreateNewClient() (*http.Client, error)
type DiscordAPICfg ¶ added in v0.0.3
func (*DiscordAPICfg) CreateYAML ¶ added in v0.0.7
func (cfg *DiscordAPICfg) CreateYAML(path string)
func (*DiscordAPICfg) LoadYAML ¶ added in v0.0.7
func (cfg *DiscordAPICfg) LoadYAML(path string)
func (*DiscordAPICfg) Validate ¶ added in v0.0.3
func (cfg *DiscordAPICfg) Validate() bool
type Fuzzer ¶ added in v0.0.8
type Fuzzer struct{}
func (Fuzzer) GenerateFuzzableURL ¶ added in v0.0.8
func (Fuzzer) GenerateFuzzableURLs ¶ added in v0.0.8
type Scanner ¶ added in v0.0.3
type Scanner struct {
RawBucketURLs []string
HttpClient *http.Client
MaxWorkers int
BucketFinder *BucketFinder
DiscordAPICfg *DiscordAPICfg
DoFuzz bool
}
func New ¶ added in v0.0.3
func New(rawBucketURLs []string, httpClient *http.Client, maxWorkers int, bucketFinder *BucketFinder, discordAPICfg *DiscordAPICfg, doFuzz bool) *Scanner
func (*Scanner) ProcessBucket ¶ added in v0.0.8
func (*Scanner) ScanBuckets ¶ added in v0.0.3
func (s *Scanner) ScanBuckets()
type ScannerOutput ¶
type ScannerOutput struct {
IsProtectedS3Bucket bool
IsOpenBucket bool
IsNXBucket bool
CNAME string
}
func ScanBucket ¶
func ScanBucket(rawBucketURL string, c *http.Client) (ScannerOutput, error)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.