Skip to content

Instantly share code, notes, and snippets.

View nhlm's full-sized avatar
🤘
improving mankind

Matthias Kaschubowski nhlm

🤘
improving mankind
View GitHub Profile
@nhlm
nhlm / windows_hardening.cmd
Last active May 11, 2020 02:14 — forked from mackwage/windows_hardening.cmd
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
:
<?php
$2cols = ' colspan=2';
$pool = [
1 => ' rowspan=4 class="vertical-align"',
2 => $2cols,
8 => $2cols,
14 => $2cols,
20 => $2cols,
@nhlm
nhlm / MySQLiAdapter.php
Created May 9, 2017 12:10 — forked from Golpha/MySQLiAdapter.php
Default Implementation of a MySQLi-Adapter Requirements: PHP 5.4 or higher
<?php
/**
* MySQLiAdapter Class
* Implements instance incubation of MySQLi
*/
class MySQLiAdapter
{
/**
* @var string