| .vscode | ||
| .yarn/sdks | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| main.ts | ||
| package.json | ||
| README.md | ||
| tsconfig.json | ||
| yarn.lock | ||
yeah no clue what this is
i spent too long making this with git and nodejs and nix idk why i did this
but you can use it to extract the nordvpn wireguard private key from a logged-in android nordvpn app
i did this because i don't pay for nordvpn and thus don't have my email as the account email
to get a manual access token for the linux client you need to verify your email
problem with that should be self explanatory
so, this will use frida to patch the nordvpn android app and grab the token
this also has a shell script to use this token to grab the wireguard private key
how to use this to use raw networkmanager/wireguard config
run the get-private-key script
this will give you something that probably has a slash or an equals in it somewhere
yay base64
thats ur private key for wireguard
the public key and ip can be found with curl -s "https://api.nordvpn.com/v1/servers/recommendations?&filters\[servers_technologies\]\[identifier\]=wireguard_udp&limit=1" --resolve "api.nordvpn.com:443:104.16.208.203" | jq -r '.[]|.hostname, .station, (.locations|.[]|.country|.city.name), (.locations|.[]|.country|.name), (.technologies|.[].metadata|.[].value), .load'
ill make it a proper script eventually
ok thats about it idk
peer port should be 51820