This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Hammerspoon script to defeat Citrix idle timeout, tested with Citrix Viewer 23.01.0.16 (2301) on | |
-- macOS 13.3 connected to a Win 10 Enterprise 21H2 Citrix Desktop | |
-- | |
-- This script will send two right ⌘ (Command) key presses every 30 seconds, launching and cancelling | |
-- the Windows start menu to keep the session alive while Citrix Viewer is NOT the frontmost application. | |
-- No keypresses will be sent while Citrix Viewer is the frontmost application | |
-- | |
-- $ brew install --cask hammerspoon | |
-- Click 'Open Config' in the hammer menu, paste & save this script, 'Reload Config' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
iSniff-1266.py | |
SSL man-in-the-middle tool / proof-of-concept exploit for CVE-2014-1266 | |
ServerKeyExchange signature validation flaw patched in iOS 7.0.6 and Mac OS X 10.9.2 | |
Successfully tested against iOS 7.0.4 devices |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
''' | |
Python implementation of passcode hashing algorithm used on the Samsung Galaxy S4 GT-I9505 4.2.2 | |
Correct PIN for hash and salt below is 1234. | |
Get 40-character hash value in ascii hex format from file /data/system/password.key on the phone | |
Get salt in signed numeric format by doing sqlite3 query SELECT value FROM locksettings WHERE name = 'lockscreen.password_salt' on /data/system/locksettings.db |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
import requests, re | |
btc_rate = 139.0 | |
dollar_total = 0.0 | |
btc_total = 0.0 | |
page = requests.get('http://istouchidhackedyet.com/').text | |
dollar_pledges = re.findall(r'-.+\$(\d+)', page) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
""" | |
Decrypting proxy for Snapchat | |
Based on mitmproxy + pysnap | |
https://github.com/mitmproxy/mitmproxy | |
https://github.com/martinp/pysnap | |
""" |