Documentation ¶
Index ¶
- Variables
- func ChangeOutFolder(path string)
- func CleanPath(s string) string
- func Connected() bool
- func EnsureDir(dir string)
- func InitConfig()
- func IsExist(f string) bool
- func MD5(s string) (m string)
- func MakeTaskHash(k string) string
- func ParseAddress(addr string) (string, bool)
- func ParseAllArgs(args []string) string
- func ParseCIDR(s string) (string, error)
- func ParseCmd(s string) (string, []string)
- func ParseIP(s string) string
- func ParseLocalIP() map[string]string
- func ParseNextArg(args []string) (string, []string)
- func PassDic() (password []string)
- func PwdIsExist() bool
- func ReadIpList(fileName string) (ipList []model.IpAddr)
- func ReadIps(ScanType string, Target []string) (ipList []model.IpAddr)
- func ReadSshIps(ScanType string, Target []string) (ipList []model.IpAddr)
- func ReadUserDict(userDict string) (users []string, err error)
- func RemoveDir(dir string)
- func ShellCmd(cmd string) (string, error)
- func TxtRead(filename string) (lines []string)
- func UserDic() (users []string)
- func UserPassDic() (userpass []string)
- func UserPassIsExist() bool
- func WriteArrayToFile(path string, s []string)
- type Bar
- type Logger
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Mutex sync.Mutex PortNames = map[int]string{ 21: "FTP", 22: "SSH", 161: "SNMP", 445: "SMB", 1433: "MSSQL", 3306: "MYSQL", 5432: "POSTGRESQL", 6379: "REDIS", 9200: "ELASTICSEARCH", 27017: "MONGODB", } SupportProtocols map[string]bool BruteResult map[string]model.Service )
View Source
var Config config
View Source
var Const_NMAP_SWEEP = "-n -sn -PE -PP"
View Source
var Const_NMAP_TCP_FULL = "--randomize-hosts -Pn -sS -sC -A -T4 -g53 -p-"
View Source
var Const_NMAP_TCP_PROD = "--randomize-hosts -Pn -sT -sV -T3 -p-"
View Source
var Const_NMAP_TCP_STANDARD = "--randomize-hosts -Pn -sS -A -T4 -g53 --top-ports 1000"
View Source
var Const_NMAP_TCP_VULN = "--randomize-hosts -Pn -sT -sV -p- --script=vulscan/vulscan.nse"
View Source
var Const_NMAP_UDP_PROD = fmt.Sprintf("--randomize-hosts -Pn -sU -sC -sV -T3 -p%s", Const_UDP_PORTS)
View Source
var Const_NMAP_UDP_STANDARD = fmt.Sprintf("--randomize-hosts -Pn -sU -sC -A -T4 -p%s", Const_UDP_PORTS)
View Source
var Const_UDP_PORTS = "19,53,69,79,111,123,135,137,138,161,177,445,500,514,520,1434,1900,5353"
View Source
var Const_example_target_cidr = "127.0.0.1/32"
View Source
var Const_example_target_desc = "Target CIDR or /32 for single target"
View Source
var Const_notification_delay_unit = 10
View Source
var WORDLIST_DNS_BRUTEFORCE = WORDLIST_FUZZ_NAMELIST
View Source
var WORDLIST_FINGER_USER = WORDLIST_FUZZ_NAMELIST
View Source
var WORDLIST_FTP_USER = WORDLIST_FUZZ_NAMELIST
View Source
var WORDLIST_FUZZ_NAMELIST = "/usr/share/wfuzz/wordlist/fuzzdb/wordlists-user-passwd/names/namelist.txt"
View Source
var WORDLIST_HYDRA_FTP_PWD = WORDLIST_MSF_PWDS
View Source
var WORDLIST_HYDRA_FTP_USER = WORDLIST_FUZZ_NAMELIST
View Source
var WORDLIST_HYDRA_SSH_PWD = WORDLIST_MSF_PWDS
View Source
var WORDLIST_HYDRA_SSH_USER = WORDLIST_FUZZ_NAMELIST
View Source
var WORDLIST_MSF_PWDS = "/usr/share/wordlists/metasploit/unix_passwords.txt"
View Source
var WORDLIST_SMTP = WORDLIST_FUZZ_NAMELIST
View Source
var WORDLIST_SNMP = "/usr/share/doc/onesixtyone/dict.txt"
Functions ¶
func ChangeOutFolder ¶
func ChangeOutFolder(path string)
func InitConfig ¶
func InitConfig()
func MakeTaskHash ¶
func ParseAddress ¶
Parse a string, regardless if it is an IP or CIDR, and returns its string representation
func ParseAllArgs ¶
func ParseLocalIP ¶
--------------------------------------------------------------------------------------- IP addresses --------------------------------------------------------------------------------------- Returns all the addresses of the local network interfaces
func ParseNextArg ¶
func PwdIsExist ¶
func PwdIsExist() bool
func ReadIpList ¶
func ReadUserDict ¶
func UserPassDic ¶
func UserPassDic() (userpass []string)
func UserPassIsExist ¶
func UserPassIsExist() bool
func WriteArrayToFile ¶
Types ¶
type Bar ¶
type Bar struct {
// contains filtered or unexported fields
}
func (*Bar) NewOptionWithGraph ¶
type Logger ¶
type Logger struct{}
func InitLogger ¶
func InitLogger() *Logger
func (*Logger) LogWarning ¶
Click to show internal directories.
Click to hide internal directories.