Skip to content

Instantly share code, notes, and snippets.

View iplist-saas
# rfc 1918 ip address ranges
10.0.0.0-10.255.255.255
172.16.0.0-172.31.255.255
192.168.0.0-192.168.255.255
# rfc 1112 ip address ranges
224.0.0.0–239.255.255.255
View iplist-nonroutable
# rfc 1918 ip address ranges
10.0.0.0-10.255.255.255
172.16.0.0-172.31.255.255
192.168.0.0-192.168.255.255
# rfc 1112 ip address ranges
224.0.0.0–239.255.255.255
@mackwage
mackwage / windows_hardening.cmd
Last active Feb 21, 2021
Script to perform some hardening of Windows OS
View windows_hardening.cmd
:: Windows 10 Hardening Script
:: This is based mostly on my own personal research and testing. My objective is to secure/harden Windows 10 as much as possible while not impacting usability at all. (Think being able to run on this computer's of family members so secure them but not increase the chances of them having to call you to troubleshoot something related to it later on). References for virtually all settings can be found at the bottom. Just before the references section, you will always find several security settings commented out as they could lead to compatibility issues in common consumer setups but they're worth considering.
:: Obligatory 'views are my own'. :)
:: Thank you @jaredhaight for the Win Firewall config recommendations!
:: Thank you @ricardojba for the DLL Safe Order Search reg key!
:: Thank you @jessicaknotts for the help on testing Exploit Guard configs and checking privacy settings!
:: Best script I've found for Debloating Windows 10: https://github.com/Sycnex/Windows10Debloater
:
@mackwage
mackwage / disable_ddeauto.reg
Created Oct 20, 2017 — forked from wdormann/disable_ddeauto.reg
Disable DDEAUTO for Outlook, Word, and Excel versions 2010, 2013, 2016
View disable_ddeauto.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\16.0\Word\Options]
"DontUpdateLinks"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\15.0\Word\Options]
"DontUpdateLinks"=dword:00000001
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Word\Options]
"DontUpdateLinks"=dword:00000001
@mackwage
mackwage / AbilityFTPxp-4
Created Aug 17, 2017
AbilityFTP overflow skeleton phase 4 for xp
View AbilityFTPxp-4
#!/usr/bin/python
from socket import *
import sys, struct, os, time
host = "10.10.10.73"
port = 21
s = socket(AF_INET, SOCK_STREAM)
s.connect((host, port))
View keybase.md

Keybase proof

I hereby claim:

  • I am mackwage on github.
  • I am mackwage (https://keybase.io/mackwage) on keybase.
  • I have a public key ASAHRE-crBF7ZKKti8oPhmt8KRAbrIygKCtGeNlCw9qCSQo

To claim this, I am signing this object: