finder

package
v0.0.0-...-0bee270 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindDynamicLinksFromJS

func FindDynamicLinksFromJS(source string, browser *rod.Browser) []string

FindDynamicLinks 通过动态生成并执行 JS 代码,获取 Webpack 打包的资源路径

func FindLinksFromAttributes

func FindLinksFromAttributes(ignoreQuery bool, e *colly.HTMLElement, attr ...string) (links []string)

func FindLinksFromJS

func FindLinksFromJS(source string) []string

FindLinks 从 JS 文件中获取 URL

func FindLinksFromRobots

func FindLinksFromRobots(text string) []string

FindLinksFromRobots 从 robots.txt 文件中获取相对路径

Types

type API

type API struct {
	Method  string
	URL     string
	Headers map[string]string
	Content string
}

func FindLinksFromSwagger

func FindLinksFromSwagger(source []byte) ([]*API, error)

type Param

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

Jump to

Keyboard shortcuts

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