Documentation
¶
Index ¶
- func B64d(str string) string
- func B64e(str string) string
- func BannerGrab(target string, port int) (string, error)
- func Bind(port int)
- func ClearLogs() error
- func CmdBlind(command string)
- func CmdDir(dirs_cmd map[string]string) ([]string, error)
- func CmdOut(command string) (string, error)
- func CmdOutPlatform(commands map[string]string) (string, error)
- func CmdRun(command string)
- func Contains(s interface{}, elem interface{}) bool
- func ContainsAny(str string, elements []string) bool
- func CreateUser(username, password string) error
- func Disks() ([]string, error)
- func DnsLookup(hostname string) ([]string, error)
- func Download(url string) error
- func EraseMbr(device string, partition_table bool) error
- func ExitOnError(e error)
- func F(str string, arg ...interface{}) string
- func FileExists(file string) bool
- func FilePermissions(filename string) (bool, bool)
- func FileToSlice(file string) []string
- func Forkbomb()
- func FullRemove(str string, to_remove string) string
- func HostsPassive(interval string) ([]string, error)
- func Iface() (string, string)
- func Ifaces() []string
- func Info() map[string]string
- func IntToStr(i int) string
- func IntervalToSecons(interval string) int
- func IpGlobal() string
- func IpLocal() string
- func IsRoot() bool
- func MakeZip(zip_file string, files []string) error
- func Md5Hash(str string) string
- func Networks() ([]string, error)
- func ParseCidr(cidr string) ([]string, error)
- func PkillAv() error
- func PkillName(name string) error
- func PkillPid(pid int) error
- func Portscan(target string, timeout, threads int) []int
- func PortscanSingle(target string, port int) bool
- func PrintError(msg string)
- func PrintGood(msg string)
- func PrintInfo(msg string)
- func PrintWarning(msg string)
- func Processes() (map[int]string, error)
- func RandomInt(min int, max int) int
- func RandomSelectInt(list []int) int
- func RandomSelectStr(list []string) string
- func RandomSelectStrNested(list [][]string) []string
- func RandomString(n int) string
- func RdnsLookup(ip string) ([]string, error)
- func ReadFile(filename string) (string, error)
- func Remove()
- func RemoveDuplicatesInt(slice []int) []int
- func RemoveDuplicatesStr(slice []string) []string
- func RemoveNewlines(s string) string
- func Reverse(host string, port int)
- func SandboxAll() bool
- func SandboxAllN(num int) bool
- func SandboxCpu(cores int) bool
- func SandboxDisk(size int) bool
- func SandboxFilepath() bool
- func SandboxMac() bool
- func SandboxProc() bool
- func SandboxRam(ram_mb int) bool
- func SandboxSleep() bool
- func SandboxUtc() bool
- func SendDataTcp(host string, port int, data string) error
- func SendDataUdp(host string, port int, data string) error
- func SetTtl(duration string)
- func Shutdown() error
- func StrToInt(string_integer string) int
- func Users() ([]string, error)
- func Wait(interval string)
- func WifiDisconnect() error
- func Wipe() error
- func WriteFile(filename, data string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsAny ¶
func CreateUser ¶
func ExitOnError ¶
func ExitOnError(e error)
func FileExists ¶
func FilePermissions ¶
func FileToSlice ¶
func FullRemove ¶
func HostsPassive ¶
func IntervalToSecons ¶
func PortscanSingle ¶
func PrintError ¶
func PrintError(msg string)
func PrintWarning ¶
func PrintWarning(msg string)
func RandomSelectInt ¶
func RandomSelectStr ¶
func RandomSelectStrNested ¶
func RandomString ¶
func RdnsLookup ¶
func RemoveDuplicatesInt ¶
func RemoveDuplicatesStr ¶
func RemoveNewlines ¶
func SandboxAll ¶
func SandboxAll() bool
func SandboxAllN ¶
func SandboxCpu ¶
func SandboxDisk ¶
func SandboxFilepath ¶
func SandboxFilepath() bool
func SandboxMac ¶
func SandboxMac() bool
func SandboxProc ¶
func SandboxProc() bool
func SandboxRam ¶
func SandboxSleep ¶
func SandboxSleep() bool
func SandboxUtc ¶
func SandboxUtc() bool
func WifiDisconnect ¶
func WifiDisconnect() error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.