Documentation ¶
Index ¶
- Constants
- func AppendToContent(filename string, data string) (string, error)
- func BannerF(format string, data string)
- func Base64Decode(raw string) string
- func Base64Encode(raw string) string
- func BeautifyHeaders(res Response) string
- func BeautifyResponse(res Response) string
- func DebugF(format string, args ...interface{})
- func ErrorF(format string, args ...interface{})
- func ExpandLength(list []string, length int) []string
- func FileExists(filename string) bool
- func FilterIpv4(raw []string) []string
- func FilterIpv6(raw []string) []string
- func FolderExists(foldername string) bool
- func GenHash(text string) string
- func GenPorts(raw string) []string
- func GetFileContent(filename string) string
- func GetFileNames(dir string, ext string) []string
- func GetTS() string
- func GoodF(format string, args ...interface{})
- func InforF(format string, args ...interface{})
- func InitLog(options *Options)
- func IsJSON(str string) bool
- func ReadingFile(filename string) []string
- func ReadingFileUnique(filename string) []string
- func RequestWithChrome(url string, contentID string, timeout int) string
- func SendGET(url string, options Options) string
- func SendPOST(url string, options Options) string
- func StartWithNum(raw string) bool
- func StripPath(raw string) string
- func URLDecode(raw string) string
- func URLEncode(raw string) string
- func Unique(filename string)
- func Unzip(src string, dest string) ([]string, error)
- func WarningF(format string, args ...interface{})
- func WriteToFile(filename string, data string) (string, error)
- type CVEOptions
- type NetOptions
- type Options
- type Request
- type Response
- type ScanOptions
- type SearchOptions
Constants ¶
const ( // VERSION current Metabigor version VERSION = "beta v1.7" // AUTHOR author of this AUTHOR = "@j3ssiejjj" )
Variables ¶
This section is empty.
Functions ¶
func AppendToContent ¶
AppendToContent append string to a file
func BeautifyHeaders ¶
BeautifyHeaders beautify response headers
func BeautifyResponse ¶
BeautifyResponse beautify response
func ExpandLength ¶
ExpandLength make slice to length
func FolderExists ¶
FolderExists check if file is exist or not
func GetFileContent ¶
GetFileContent Reading file and return content of it
func GetFileNames ¶
GetFileNames get all file name with extension
func ReadingFile ¶
ReadingFile Reading file and return content as []string
func ReadingFileUnique ¶
ReadingFileUnique Reading file and return content as []string
func RequestWithChrome ¶
RequestWithChrome Do request with real browser
func StartWithNum ¶
StartWithNum check if string start with number
Types ¶
type CVEOptions ¶
CVEOptions options for cve command
type NetOptions ¶
NetOptions options for net command
type Options ¶
type Options struct { Input string Output string TmpOutput string ConfigFile string LogFile string Proxy string Concurrency int Delay int SaveRaw bool Timeout int JsonOutput bool Verbose bool Debug bool Scan ScanOptions Net NetOptions Search SearchOptions CVE CVEOptions }
Options global options
type Request ¶
type Request struct { Timeout int Repeat int Scheme string Host string Port string Path string URL string Proxy string Method string Redirect bool Headers []map[string]string Body string Beautify string }
Request all information about request
type Response ¶
type Response struct { HasPopUp bool StatusCode int Status string Headers []map[string]string Body string ResponseTime float64 Length int Beautify string BeautifyHeader string }
Response all information about response
func JustSend ¶
func JustSend(options Options, method string, url string, headers map[string]string, body string) (res Response, err error)
JustSend just sending request
func ParseResponse ¶
ParseResponse field to Response
type ScanOptions ¶
type ScanOptions struct { Ports string Rate string NmapTemplate string NmapOverview bool ZmapOverview bool Detail bool Flat bool All bool IPv4 bool IPv6 bool SkipOverview bool TmpOutput string NmapScripts string GrepString string InputFile string }
ScanOptions options for net command