Skip to content

Instantly share code, notes, and snippets.

@pondermatic
pondermatic / KeyWheel.ahk
Last active January 20, 2021 23:05
An AutoHotkey script that restores the use of the scroll wheel on the Microsoft Office Keyboard RT9450, which has not been supported since Windows XP.
; Microsoft Office Keyboard RT9450
; written by pondermatic 2015-06-03
; This AutoHotkey 1.1 script makes the scroll wheel work with Windows 7, 8 and 10.
; The wheel has four speeds: slowest, slow, fast, fastest.
; requires AHKHID library from https://github.com/jleb/AHKHID
; 0 1 2 3 4 5 6 7
; -- -- -- -- -- -- -- -- -----
; 01 01 00 00 00 00 00 00 Help
@staaldraad
staaldraad / huaweiDecrypt.py
Created March 11, 2015 13:19
Decrypt Huawei router/firewall passwords. Huawei stores passwords using DES encryption when the crypted option is enabled.
#!/usr/bin/python
"""
Simple tool to extract local users and passwords from most Huawei routers/firewalls config files.
Will extract plain-text passwords and crypted credentials. Huawei config files use DES encryption with
a known key. Using this information, the script will decrypt credentials found in the config file.
Author: Etienne Stalmans (etienne@sensepost.com)
Version: 1.0 (12/01/2014)
"""
from Crypto.Cipher import DES