Command:
apt-get install kali-defaults kali-root-login desktop-base xfce4 xfce4-places-plugin xfce4-goodies
Command:
| ## Step 1: App Subnet | |
| resource "azurerm_subnet" "appsubnet" { | |
| name = "${azurerm_virtual_network.vnet.name}-${var.app_subnetName}" | |
| resource_group_name = azurerm_resource_group.mainRG.name | |
| virtual_network_name = azurerm_virtual_network.vnet.name | |
| address_prefixes = var.app_subnetAddress | |
| } | |
| ## Step 2: App Network Security Group | |
| resource "azurerm_network_security_group" "app_subnet_nsg" { |
| # Module: suricata | |
| # Docs: https://www.elastic.co/guide/en/beats/filebeat/main/filebeat-module-suricata.html | |
| - module: suricata | |
| # All logs | |
| eve: | |
| enabled: true | |
| var.paths: | |
| - /var/log/suricata/eve.json |
| ELASTIC_PASSWORD=elastic_password | |
| KIBANA_PASSWORD=kibana_password |
| import csv | |
| import yaml | |
| # Path to your CSV file | |
| csv_file_path = 'sample_ip.csv' | |
| # Initialize an empty dictionary to store the groups and hostnames | |
| groups = {} | |
| # Open and read the CSV file |
| <!-- Example #1 - no styling --> | |
| Made with ❤ in Switzerland | |
| Made with ♥ in Switzerland | |
| Made with ♡ in Switzerland | |
| Made with ❤️ in Switzerland | |
| Made with ♥️ in Switzerland | |
| <!-- Example #2 - inline-styled ❤ --> | |
| Made with <span style="color: #e25555;">♥</span> in Switzerland | |
| Made with <span style="color: #e25555;">♥</span> in Switzerland |
| """ | |
| You can run this in the following format: | |
| For decimal: python3 ip2dh.py D <Ip-address> | |
| For Hexadecimal: python3 ip2dh.py H <Ip-address> | |
| """ | |
| #!/usr/bin/python3 | |
| import sys | |
| if len(sys.argv) < 3: |
| # PowerView's last major overhaul is detailed here: http://www.harmj0y.net/blog/powershell/make-powerview-great-again/ | |
| # tricks for the 'old' PowerView are at https://gist.github.com/HarmJ0y/3328d954607d71362e3c | |
| # the most up-to-date version of PowerView will always be in the dev branch of PowerSploit: | |
| # https://github.com/PowerShellMafia/PowerSploit/blob/dev/Recon/PowerView.ps1 | |
| # New function naming schema: | |
| # Verbs: | |
| # Get : retrieve full raw data sets | |
| # Find : ‘find’ specific data entries in a data set |