Documentation
¶
Index ¶
- Constants
- func DynamicGetHtmlContent(url string) (string, error)
- func GET(input RequestInput) (html string, err error)
- func POST(input RequestInput) (html string, err error)
- func ReplaceQueryValues(originalURL string, replacement string) string
- func ResolveURL(baseURL, href string) string
- func StartSimpleHttpServer(host string, maxRuntime int, callbacks ...Callback) (accessURL string, stopFunc func(), err error)
- type Callback
- type Form
- type FormInput
- type Option
- type RequestInput
- type Result
- type SubmitButton
Constants ¶
View Source
const MAXX_ = "Agent mmmmmmmmAXx_"
Variables ¶
This section is empty.
Functions ¶
func DynamicGetHtmlContent ¶ added in v0.0.5
func GET ¶
func GET(input RequestInput) (html string, err error)
func POST ¶
func POST(input RequestInput) (html string, err error)
func ReplaceQueryValues ¶ added in v0.0.5
func ResolveURL ¶ added in v0.0.5
Types ¶
type Form ¶ added in v0.0.5
type Form struct {
Action string `json:"action,omitempty"`
Method string `json:"method,omitempty"`
Enctype string `json:"enctype,omitempty"`
Parameters []string `json:"parameters,omitempty"`
Submit string `json:"submit,omitempty"`
}
func DoExtractFromUrl ¶ added in v0.0.5
func DoExtractFromUrl(in RequestInput) (form *Form, injectUrls []string, err error)
type RequestInput ¶
type Result ¶ added in v0.0.5
type Result struct {
HtmlContent string
FormInputs []FormInput
SubmitButton SubmitButton
Cookies []*network.Cookie
}
func DynamicGetResultFromOption ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.