This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Connection] | |
host=hostnameorIP | |
port=9390 | |
username=admin | |
password=ExamplePassw0rd |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Needed for the full example | |
$Source = "C:\Program Files (x86)\OpenVAS-OMP" | |
#Use this section for the Creating a Target Section | |
#Create a target from a Subnet | |
$Subnet = "10.128.16.0/21" | |
$Name = "VLAN4 - Wired Clients" | |
& $Source\omp.exe -X "<create_target><name>$Name</name><hosts>$Subnet</hosts></create_target>" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo add-apt-repository ppa:mrazavi/openvas | |
sudo apt-get update | |
sudo apt-get install redis-server nmap sqlite3 nsis rpm alien python-software-properties software-properties-common | |
sudo apt-get install openvas9 | |
sudo greenbone-nvt-sync | |
sudo greenbone-scapdata-sync | |
sudo greenbone-certdata-sync |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Install WSUS and the IIS Web Management Service | |
Install-WindowsFeature -Name UpdateServices, Web-Mgmt-Service | |
#Create a new directory to store Updates in | |
New-Item -Path C: -Name WSUS -ItemType Directory | |
#Run the post install tasks | |
cd "C:\Program Files\Update Services\Tools" | |
.\wsusutil.exe postinstall CONTENT_DIR=C:\WSUS |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
boot standby | |
show redundancy | |
redundancy switchover |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"powershell.powerShellExePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"files.defaultLanguage": "powershell" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rule "Process CEF" | |
when | |
true | |
then | |
set_fields(parse_cef(to_string($message.message), false)); | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Event | |
(ISSUE:){1} | |
#Username, you may need to expand the regex to match your naming patterns | |
, ([a-zA-Z0-9]+@\.YOUR\.DOMAIN\.COM) | |
#Address | |
([0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}): |