No description
Find a file
2025-01-13 22:20:06 -07:00
.vscode i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
.yarn/sdks i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
.envrc i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
.gitattributes i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
.gitignore i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
flake.lock i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
flake.nix i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
main.ts i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
package.json i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
README.md i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
tsconfig.json i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00
yarn.lock i hyperfocused on the wrong thing :( 2025-01-13 22:20:06 -07:00

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