Skip to content

Instantly share code, notes, and snippets.

View jackson5sec's full-sized avatar

jackson5 jackson5sec

View GitHub Profile
@jackson5sec
jackson5sec / decrypt_chrome_cookies.py
Created November 7, 2023 17:02
Chrome Cookie Decryptor with AES State Key
import sqlite3
import sys
from Crypto.Cipher import AES
from Crypto.Random import get_random_bytes
import binascii
import json
# Python2.7 script
def decrypt_payload(cipher, payload):
return cipher.decrypt(payload)
@jackson5sec
jackson5sec / swap.ps1
Created June 21, 2024 18:17
annoying mouse swap
# Define the parameter
param (
[string]$side = "L"
)
# Create an external definition
$swapbuttons = @'
[DllImport("user32.dll")]
public static extern Int32 SwapMouseButton(Int32 swap);
'@
# Add class
Add-Type -AssemblyName System.Windows.Forms
while ($true) {
[System.Windows.Forms.SendKeys]::SendWait("{F5}")
$currentTime = Get-Date -Format "HH:mm:ss"
Write-Host "F5 sent at $currentTime"
$waitTime = Get-Random -Minimum 30 -Maximum 50
Start-Sleep -Seconds $waitTime
}