Skip to content

Instantly share code, notes, and snippets.

View whitecyberduck's full-sized avatar

Ayub Jabril Yusuf whitecyberduck

View GitHub Profile
@grahamhelton
grahamhelton / dockerload.sh
Last active May 30, 2024 23:55
Build tool into docker image
# Install certipy
apt update -y &> /dev/null && apt upgrade -y &> /dev/null && apt install -y python3 python3-pip &> /dev/null && pip3 install certipy-ad &> /dev/null ; echo -e "\033[0;32m - Certipy installed \033[0m"
# List containers, identify container id
sudo docker container ls
# Stage the current container into an image
sudo docker commit <container_id> <image_name>
# Save the image as a .tar file
@FrancoisCapon
FrancoisCapon / GPPXMLCyberChefRecipeToDecryptPasswords.md
Last active November 17, 2022 17:19
Group Policy Preferences XML: CyberChef Recipe to Decrypt Passwords

Group Policy Preferences XML: CyberChef Recipe to Decrypt Passwords

index.html#recipe=Fork('\\n','\\n',false)From_Base64('A-Za-z0-9%2B/%3D',true)AES_Decrypt({'option':'Hex','string':'4e9906e8fcb66cc9faf49310620ffee8f496e806cc057990209b09a433b66c1b'},{'option':'Hex','string':'00000000000000000000000000000000'},'CBC','Raw','Raw',{'option':'Hex','string':''},{'option':'Hex','string':''})Decode_text('UTF-16LE (1200)')
@shu-yusa
shu-yusa / create_jwt.sh
Last active March 5, 2025 14:12
Generate private and public keys, and create JWT and JWKs
#!/bin/sh
## Requires openssl, nodejs, jq
header='
{
"kid": "12345",
"alg": "RS256"
}'
payload='
{
"iss": "https://example.com",