Skip to content

Instantly share code, notes, and snippets.

View cmoski's full-sized avatar
🎯
Focusing

cmoski cmoski

🎯
Focusing
View GitHub Profile
@cmoski
cmoski / Copy-AzNSGRules.ps1
Created January 15, 2024 20:02 — forked from kpatnayakuni/Copy-AzNSGRules.ps1
Copy Azure NSG Security Rules from one NSG to another
Function Copy-AzNSGRules
{
<#
.SYNOPSIS
Copies Azure NSG security rules from one NSG to another
.DESCRIPTION
Copies all the Azure Network Security Group security rules
@cmoski
cmoski / HowTo
Created July 18, 2023 18:57 — forked from MalteKiefer/HowTo
UFW Block IPs from abuseipdb Blacklist
# API Key
First of all create a free account here and create an API key to use the blacklist: https://www.abuseipdb.com
# UFW
You should have installed and started UFW, test it with
```bash
ufw status
```
# Cronjob