View Process CEF.txt
rule "Process CEF" | |
when | |
true | |
then | |
set_fields(parse_cef(to_string($message.message), false)); | |
end |
View settings.json
{ | |
"powershell.powerShellExePath": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", | |
"files.defaultLanguage": "powershell" | |
} |
View 5400R Reboot
boot standby | |
show redundancy | |
redundancy switchover |
View WSUS-ServerCore
#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 |
View OpenVAS-2
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 |
View OpenVAS-Simple-Example.ps1
#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>" |
View omp.config
[Connection] | |
host=hostnameorIP | |
port=9390 | |
username=admin | |
password=ExamplePassw0rd |