10 lines
196 B
Bash
Executable File
10 lines
196 B
Bash
Executable File
#!/bin/bash
|
|
|
|
country_code=$(curl -s http://ip-api.com/json/ | jq -r '.countryCode')
|
|
|
|
#python3 -c "code='$country_code'; print(''.join([chr(127397 + ord(c)) for c in code]))"
|
|
|
|
echo $country_code
|
|
|
|
|