jq is useful to slice, filter, map and transform structured json data.
brew install jq
| #!/usr/bin/python3 | |
| # mysapsso.py - Decoding MYSAPSSO2 cookies | |
| import sys | |
| import fileinput | |
| import urllib.parse | |
| import base64 | |
| import binascii | |
| import re | |
| import struct |
| <# | |
| .SYNOPSIS | |
| Gets a PowerShell Credential (PSCredential) from the Windows Credential Manager | |
| .DESCRIPTION | |
| This module will return a [PSCredential] object from a credential stored in Windows Credential Manager. The | |
| Get-StoredCredential function can only access Generic Credentials. | |
| Alias: GSC |