Skip to content

Instantly share code, notes, and snippets.

@dgobaud
dgobaud / convert.py
Last active August 4, 2025 16:57
How to Export Your Authy Tokens
import json
import urllib.parse
# Load source content from file
with open("decrypted_tokens.json", "r") as f:
authy_data = json.load(f)
# Convert to Bitwarden format
bitwarden_data = {"items": []}
@nopslider
nopslider / gist:7a6136ab78dbda2a5819
Last active August 30, 2023 15:06
Find enabled users in a specified AD group with PowerShell
Get-ADGroup -Filter {(name -like "*admins*") -or (name -like "*administrator*")} `
| Get-ADGroupMember -Recursive | Where { $_.objectClass -eq "user" } `
| Get-ADUser -properties * | where {$_.enabled -eq $true} `
| where {$_.lockedout -eq $false} | select SamAccountName -unique