runner

package
v0.0.5-0...-af90a64 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2023 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Overview

Package runner executes the enumeration process.

Index

Constants

View Source
const Version = `0.0.6`

Version is the current version of C

Variables

This section is empty.

Functions

func DefaultTransport

func DefaultTransport() *http.Transport

func GetCompanyID

func GetCompanyID(options *Options)

func RunEnumeration

func RunEnumeration(options *Options)

func SubsidiariesById

func SubsidiariesById(options *Options)

Types

type Data

type Data struct {
	Results []Result `json:"result"`
}

type InvestList

type InvestList struct {
	State     string `json:"state"`
	ErrorCode int    `json:"errorCode"`
	Data      Data   `json:"data"`
}

type Options

type Options struct {
	CompanyName string
	CompanyID   string // Target is a single URL/Domain to scan usng a template
	InputFile   string // Targets specifies the targets to scan using templates.
	Cookie      string
	Percent     int
	Funds       int
	Timeout     int
	Output      string // Output is the file to write found subdomains to.
	Silent      bool
	NoColor     bool
	Verbose     bool
	Version     bool // Version specifies if we should just show version and exit
}

func ParseOptions

func ParseOptions() *Options

type Response

type Response struct {
	Body []byte
	Page *html.Node
}

func GetPage

func GetPage(url string, method string, data io.Reader, options *Options) Response

type Result

type Result struct {
	Name      string `json:"name"`
	Id        int64  `json:"id"`
	Amount    string `json:"amount"`
	RegStatus string `json:"regStatus"`
	Percent   string `json:"percent"`
}

type Subsidiary

type Subsidiary struct {
	Name    string
	Url     string
	Percent string
	Funds   string
	Status  bool
}

func ListInvest

func ListInvest(options *Options) []Subsidiary

type Targets

type Targets struct {
	ID   []string
	Name []string
}

func TransImf

func TransImf(imf []string) Targets

Jump to

Keyboard shortcuts

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