Documentation ¶
Overview ¶
+build windows
+build windows
+build windows
+build windows
Index ¶
- func Arp(o *OutputConfig)
- func Drivers(o *OutputConfig)
- func FirewallConfig(o *OutputConfig)
- func FirewallState(o *OutputConfig)
- func IPConfig(o *OutputConfig)
- func MS10015(hotfixes []Hotfix, o *OutputConfig)
- func MS10092(hotfixes []Hotfix, o *OutputConfig)
- func MS11080(hotfixes []Hotfix, o *OutputConfig)
- func MS13005(hotfixes []Hotfix, o *OutputConfig)
- func MS13053(hotfixes []Hotfix, o *OutputConfig)
- func MS13081(hotfixes []Hotfix, o *OutputConfig)
- func Netstat(o *OutputConfig)
- func NetworkChecks(o *OutputConfig)
- func Routes(o *OutputConfig)
- func ScheduledTasks(o *OutputConfig)
- func ServiceTasklist(o *OutputConfig)
- func StartedServices(o *OutputConfig)
- func SystemChecks(o *OutputConfig)
- func SystemInfo(o *OutputConfig)
- func Users(o *OutputConfig)
- func Vulnerabilities(o *OutputConfig)
- type Hotfix
- type OutputConfig
- func (o *OutputConfig) CheckForVuln(premsg, kb, edb, ifVuln, errmsg string, hotfixes []Hotfix)
- func (o *OutputConfig) OutputBytes(line []byte)
- func (o *OutputConfig) OutputString(line string)
- func (o *OutputConfig) RunDirect(premsg, cmd, errmsg string)
- func (o *OutputConfig) RunViaCmd(premsg, cmd, errmsg string)
- func (o OutputConfig) Setup() bool
- type WindowsVersion
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FirewallConfig ¶
func FirewallConfig(o *OutputConfig)
FirewallConfig pulls the windows machine's firewall config
func FirewallState ¶
func FirewallState(o *OutputConfig)
FirewallState pulls the windows machine's firewall state
func MS10015 ¶
func MS10015(hotfixes []Hotfix, o *OutputConfig)
MS10015 (KB977165) exploit check https://www.exploit-db.com/exploits/11199/
func MS10092 ¶
func MS10092(hotfixes []Hotfix, o *OutputConfig)
MS10092 (KB2305420) exploit check https://www.exploit-db.com/exploits/19930/
func MS11080 ¶
func MS11080(hotfixes []Hotfix, o *OutputConfig)
MS11080 (KB2592799) exploit check https://www.exploit-db.com/exploits/14610/
func MS13005 ¶
func MS13005(hotfixes []Hotfix, o *OutputConfig)
MS13005 (KB2778930) exploit check https://www.exploit-db.com/exploits/14610/
func MS13053 ¶
func MS13053(hotfixes []Hotfix, o *OutputConfig)
MS13053 (KB2850851) exploit check https://www.exploit-db.com/exploits/33213/
func MS13081 ¶
func MS13081(hotfixes []Hotfix, o *OutputConfig)
MS13081 (KB2870008) exploit check https://www.exploit-db.com/exploits/31576/
func NetworkChecks ¶
func NetworkChecks(o *OutputConfig)
NetworkChecks is used to execute all network level comamnds / checks
func ScheduledTasks ¶
func ScheduledTasks(o *OutputConfig)
ScheduledTasks will pull the list of scheduled tasks from the machine
func ServiceTasklist ¶
func ServiceTasklist(o *OutputConfig)
ServiceTasklist will pull the list of service tasklist from the machine
func StartedServices ¶
func StartedServices(o *OutputConfig)
StartedServices lists the started windows services
func SystemChecks ¶
func SystemChecks(o *OutputConfig)
SystemChecks is used to run all system checks / commands
func Vulnerabilities ¶
func Vulnerabilities(o *OutputConfig)
Vulnerabilities runs all vulnerability checks
Types ¶
type Hotfix ¶
type Hotfix struct {
HotFixID string
}
func GetHotfixesFromWMI ¶
func GetHotfixesFromWMI(o *OutputConfig) []Hotfix
type OutputConfig ¶
OutputConfig is leveraged to ensure we output as the user requested
func (*OutputConfig) CheckForVuln ¶
func (o *OutputConfig) CheckForVuln(premsg, kb, edb, ifVuln, errmsg string, hotfixes []Hotfix)
CheckForVuln is a helper command to execute a command via cmd /c
func (*OutputConfig) OutputBytes ¶
func (o *OutputConfig) OutputBytes(line []byte)
OutputBytes is used to output byte data to a file or stdout
func (*OutputConfig) OutputString ¶
func (o *OutputConfig) OutputString(line string)
OutputString is used to output string data to a file or stdout
func (*OutputConfig) RunDirect ¶
func (o *OutputConfig) RunDirect(premsg, cmd, errmsg string)
RunDirect is a helper command to execute a command directly without calling cmd /c first
func (*OutputConfig) RunViaCmd ¶
func (o *OutputConfig) RunViaCmd(premsg, cmd, errmsg string)
RunViaCmd is a helper command to execute a command via cmd /c
type WindowsVersion ¶
func GetWindowsVersion ¶
func GetWindowsVersion(o *OutputConfig) WindowsVersion