Skip to content

Commit

Permalink
Merge pull request #2 from atomiczsec/main
Browse files Browse the repository at this point in the history
Adding AV Detection
  • Loading branch information
PrettyBoyCosmo authored Mar 11, 2023
2 parents a6545a3 + 40a0152 commit 62f94f9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions spidercat.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,25 @@ function Get-IP-Information {
return $ipinfo
}

function Get-AntivirusSolution {
try {
$Antivirus = Get-CimInstance -Namespace root/SecurityCenter2 -ClassName AntivirusProduct
if ($Antivirus) {
$AntivirusSolution = $Antivirus.displayName
}
else {
$AntivirusSolution = "NA"
}
}
catch {
Write-Error "Unable to get Antivirus Solution"
return "NA" -ErrorAction SilentlyContinue
}
return $AntivirusSolution
}



# markdown wireless information
function wireless_markdown {
# get wireless creds
Expand Down

0 comments on commit 62f94f9

Please sign in to comment.