Skip to content

Instantly share code, notes, and snippets.

@mrpnkt
mrpnkt / security_podcasts.opml
Last active September 12, 2018 07:03
Security Podcasts
<?xml version="1.0" encoding="UTF-8"?>
<opml version="2.0">
<head>
<title>FreshRSS</title>
<dateCreated>Fri, 24 Aug 2018 11:33:09</dateCreated>
</head>
<body>
<outline text="Podcasts">
<outline text="Beers with Talos Podcast" type="rss" xmlUrl="http://feeds.feedburner.com/BeersWithTalosPodcast" htmlUrl="https://www.talosintelligence.com/podcasts" description="Threats, Beers, and No Silver Bullets. Listen to Talos security experts as they dive into emerging threats, forcing the bad guys to innovate, hacking refrigerators, and other security issues, all with beer."/>
<outline text="Binary Blogger" type="rss" xmlUrl="https://binaryblogger.com/feed/" htmlUrl="https://binaryblogger.com/" description="Are you a 1 or a 0? Security News and Topics That You Can Understand"/>
#!/usr/bin/env python
# Based on https://www.openwall.com/lists/oss-security/2018/08/16/1
# untested CVE-2018-10933
import sys, paramiko
import logging
username = sys.argv[1]
hostname = sys.argv[2]
command = sys.argv[3]
@mrpnkt
mrpnkt / hpwned.py
Created March 11, 2019 07:29 — forked from intrd/hpwned.py
Haveibeenpwned mail leaked mass checker
## Haveibeenpwned mail leaked mass checker
# @author intrd - http://dann.com.br/
# @license Creative Commons Attribution-ShareAlike 4.0 International License - http://creativecommons.org/licenses/by-sa/4.0/
# usage: python hpwned.py maillist.txt
import requests, json, time, sys
from requests.packages.urllib3.exceptions import InsecureRequestWarning
requests.packages.urllib3.disable_warnings(InsecureRequestWarning)
000webhost.com
16mb.com
5gbfree.com
afraid.org
appzoneteam.com
bit.do
c9users.io
cutt.ly
contabo.net
cuu.su
@mrpnkt
mrpnkt / windows_hardening.cmd
Created May 10, 2020 13:53 — 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.
:: Thank you @jaredhaight for the Win Firewall config recommendations!
:: Thank you @ricardojba for the DLL Safe Order Search reg key!
:: Best script I've found for Debloating Windows 10: https://github.com/Sycnex/Windows10Debloater
::
::#######################################################################
::
:: Change file associations to protect against common ransomware