Documentation ¶
Index ¶
- func AuthAttack(url, post, userFile, passFile, proxy string, nWorkers int, redirect bool)
- func ConstWithFile(argument, file string, posArg int, loginChan chan login)
- func FTPattackStart(userFile, passFile, serverIP, serverPort string, nWorkers, nTimeOut int)
- func FileAttack(url, post, word, file, ext, proxy string, nWorkers int, redirect bool)
- func FileTry(urlsite, word, fileWord, ext, post, proxy string, redirect bool) (string, int, string)
- func FormAttack(url, post, userFile, passFile, word, proxy string, nWorkers int, ...)
- func FormLogin(urlsite, post, phrase, proxy string, redirect bool) (string, int, bool)
- func Read2Files(userFile, passFile string, loginChan chan login)
- func SMBattackStart(userFile, passFile, serverIP, serverPort string, nWorkers int)
- func SMTPattackStart(userFile, passFile, serverIP, serverPort string, nWorkers int)
- func SSHattackStart(userFile, passFile string, serverIP, serverPort string, nWorkers int)
- func SendAuth(urlsite, post, username, password, proxy string, redirect bool) (string, int)
- type RequestData
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthAttack ¶
AuthAttack Auth attack for http or https
func ConstWithFile ¶
ConstWithFile read one file and other argument that it could be user or password and it is specified in posArg
func FTPattackStart ¶
FTPattackStart FTP attack with 2 files to iterate
func FileAttack ¶
FileAttack File attack for http or https
func FormAttack ¶
func FormAttack(url, post, userFile, passFile, word, proxy string, nWorkers int, redirect, show bool)
FormAttack Form login attack for http or https
func Read2Files ¶
func Read2Files(userFile, passFile string, loginChan chan login)
Read2Files read 2 files to itter between them
func SMBattackStart ¶
SMBattackStart SMB attack with 2 files to iterate
func SMTPattackStart ¶
SMTPattackStart SMTP attack with 2 files to iterate
func SSHattackStart ¶
SSHattackStart SSH attack with 2 files to iterate
Types ¶
type RequestData ¶
type RequestData struct { User string Pass string UserAgent string Proxy string Client *http.Client }
RequestData Basic data for requests
func NewRequestData ¶
func NewRequestData() *RequestData
NewRequestData Creates a requests data for http attacks
func (*RequestData) GetOrPost ¶
func (r *RequestData) GetOrPost(urlsite string, post string, redirect bool) (string, int, *http.Response)
GetOrPost request for get or post method
func (*RequestData) Send ¶
func (r *RequestData) Send(method, urlsite, post string, redirect bool) (string, int, *http.Response)
Send Send the data
func (*RequestData) SetProxy ¶
func (r *RequestData) SetProxy(urlPort string)
SetProxy set proxy the data