Last active
November 13, 2024 16:22
-
-
Save petergs/b15e234fa44f96775d2c24c49cd440c4 to your computer and use it in GitHub Desktop.
GraphRunner User-Agents
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/bash | |
| # hacky one-liner to extract all hardcoded user agents from GraphRunner | |
| curl -s https://raw.githubusercontent.com/dafthack/GraphRunner/main/GraphRunner.ps1 | grep '$UserAgent =' | grep -v 'Invoke' | awk '{ gsub(/\$UserAgent = /, ""); $1=$1; print }' | sed 's/"//g' | sed "s/'//g" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment