hackerschoice / segfault

345 stars 38 forks source link

MaxMind err? #108

Open scriptzteam opened 9 months ago

scriptzteam commented 9 months ago
curl 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=zNACjsJrHnGPBxgI&suffix=tar.gz' | tar xfvz  - --strip-components=1  --no-anchored -C '/root/segfault/data/share/' 'GeoLite2-City.mmdb'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100    20  100    20    0     0    100      0 --:--:-- --:--:-- --:--:--   101

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now

Edit, thats why:

wget 'https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=zNACjsJrHnGPBxgI&suffix=tar.gz'
--2023-11-19 13:34:20--  https://download.maxmind.com/app/geoip_download?edition_id=GeoLite2-City&license_key=zNACjsJrHnGPBxgI&suffix=tar.gz
Resolving download.maxmind.com (download.maxmind.com)... 2606:4700:7::a29f:8716, 2606:4700:7::a29f:8616, 162.159.135.22, ...
Connecting to download.maxmind.com (download.maxmind.com)|2606:4700:7::a29f:8716|:443... connected.
HTTP request sent, awaiting response... 401 Unauthorized

Username/Password Authentication Failed.