Skip to content

Instantly share code, notes, and snippets.

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:

@mackwage
mackwage / AbilityFTPxp-4
Created August 17, 2017 02:05
AbilityFTP overflow skeleton phase 4 for xp
#!/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))
@mackwage
mackwage / disable_ddeauto.reg
Created October 20, 2017 15:35 — forked from wdormann/disable_ddeauto.reg
Disable DDEAUTO for Outlook, Word, and Excel versions 2010, 2013, 2016
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 / windows_hardening.cmd
Last active November 27, 2024 04:25
Script to perform some hardening of Windows OS
:: 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
:
# 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