IP2Location works again.
░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒ ░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▒▓▓▓▓▓▒░░░▒▒▒▒▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▓▓▓▓█▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░▒▒▒▒▒▓▓▓▓ ░░▓██▓▓█████▓██████████▓█▒▓▓▓▓▓▓▓▒▒▓▒▓▓▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓████████████▓██████████████████████████████████▓████▓▓▓ ░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒█▒░▒░▒▓▒▒▓▓▓▓▓▓▓▓▓▓▒▒▓▒▒▒▓▒▒▒▒░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▒▓▒▒▒▓░▓▓▒▒▒▒▓▓▓▒▒▓▓▒▒▒▒▒▒▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▒▒▓▓▓▓▓▓▓▓▓█▓▒▒▓▓█▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▒▓▓▓░░██░░▓░▒█▓▒░▒░░░░▓▓▒▓▓▓▓▓▓▓▒▒░░▒▓▓▒░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░▒▓░░░░▓█▒░░█▓█▒░░░▒░░░░▒░░▓▓░░░░▒█▓░░▓▓▓░▒█▓▓▓▓ ░▒▓▓▓░░██▒░▓░░▓▓░░▓░░░░█▓▒░░▒▒▒▒▒▒▒▒░▒▓█▓▓████████████▓▒▒▒▒▒▓▓▓▓▓░░░░░█░░░▒▓▓░░░▓▓▓░░░░▒░░░░▒░░█░░░░░░▒▓░░▒█▓░░▓▓▓▓▓ ░░▓▓▓░░██▒░█░░▓▓░░█░▒█▓█▓▒░░▒▒▒▒▒▒▒▓▓▓██▓▓▓▓▓▓▓▓█▓▓▓███▓▓▓▒▒▓▓▓▓▓░▒▓░░▓░▒██▓▓░▒░▒█▒░░█▓▓▓▒░▓█░░▓░░▓█▓░░▓░░░▓▓░░▓▓▓▓▓ ░░▓▓▓░░█▓▒░▓▒░▓▓░▒█░░▓▓▓▓▒▒▒▒▒▓▓███▓▓▓▓█▓▓▓▓▓▒░▒▓▓▓▓█▒▒▓▓▓▓▓▓▓▓▓▓░▒█░░▓░▒▓▓▓▓░▓░░█░░▓▓▓▓█▒░▓█░░▓░▒█▓█░░▓░░░▒▓░░▓▓▓▓▓ ░░▓▓▓░░██▒░█▓░▒▒░▓▓░░░░▓▓▓▓▓████████▓▓▓▓▓▒▓▓▒▒▒▒▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓░░▒░░▓░░░▒▓▓░▓░░█░░▓▓▓▓▓▒░▓█░░▒░▒█▓█░░▓░░░░▓░░▓▓▓▓▓ ░░▓▓▓░░██▒░█▓░░▒░▓▓░░░▒▓▓▓██████▓▒▒▒▒▒▓▓▓▓▒▒▓█▓██▒▓▓▓▓▓▒▒▒▓▓▓▓▓▓▓░░░░▓▓░░░▒█▒░█▒░█░░▓▓▓▓▓▒░▓█░░▒░▒█▓█░░▓░░▓░▒░░▓▓▓▒▒ ░░▓▓▓░░██░░▓▓▒░░░█▓░▒█▓█▓███▓▓▒▒▒▒▒░░▒▒▒▓▓▓▒▓▓▓█▓▓▓▓▒░░░░▒▓▓▓▓▓▓▓░░░░█▓░▒██▓░░░░░▓▒░▒██▓█▒░▓█░░▓░░█▓▓░░▓░░█░░░░▓▓▓▒▒ ░░▓▓▓░░▒▒░░▓▓▒░░▒▓▓░░▓▓█▓█▓░░▒▒▒▒▒▒░░▒▒░▒▓▓▒▒▒▒▒▓▓▓▒░░░▒▒▒▒▓▓▓▓▓▓░▒░░▓▓░▒▓▓▓░░░░░▒▓░░▓▒▒█▒░▓█░░█░░▒▓░░▒▓░▒█▓░░░▓▓▓▒▒ ░░▓▓▓░░░░░░▓▓▓░░▓▓▓░░░░▓▓▒░░░▒▒▒▒▒▒░░▒▒▒▒▓▓▓▓▓██▓▓▓▒░░▒▓▓▒▒▒▓▓▓▓▓░▒▓░░▓░░░░▓░▓█▓░░█░░░░▒█▒░▓█░░█▒░░░░░▓▓░░█▓░░░▓▓▓▒▒ ░░▓▓▓░░░░▒░▓▓▓░▒█▓▓░░░░▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓█████▓▒░▒▒▒▒░░░░▓▓▓▓▓░▒▓░░▓░░░▒▒░▓▓█▒░██▒░░▓█▒░▓▓░▒▓█▒░░░▓█▓░▒▓▓▓░▒▓▓▓▒▒ ░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒▒▒▓▓▓███▓▓▒░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓██▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒ ░░▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒░░░░░░░░░░░▓▓▓▓▓▓▓▓▒░░░░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒ ░░▒▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓██▓▓▓▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓███████████▓▓▓████▓▓▓▒▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒ ░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▓███▓▓▓▒▒▓▓██████▓▓█▓▓▓▓▓▓▓▓▓███████████▓▓▓▓███▓▓▒▒░░░░░░▒▒▒▒▒▒▒▒▒░▒▒▒ ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░▒▒▒▓█████▓▓▒▒▓▓███████████████████████████████▓▓▓█████▓▒▒▒░░░░░▒▒▒▒▒▒▒░░▒▒▒ ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░▒▒░░░░░░▒▒▒▓▓█████▓▓▓▓██▓▓██████████████████████████████▓▓██████▓▓▒▒▒░░░░▒▒▒▒▒▒▒▒▒▒▒ ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓██████▓▓▓▓████████████████████████████▓██████▓███████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓███████▓▓▓███▒▒▒▒▓████████▓▓▓████████▒▒▓▓▒▓████████████▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▒▓▓▒▒▒▓▓▓▓██████▓▓▓▓██▒▒▓██▒▒███▓▓▓▓▓▓▓███████▒░▒██▓▒█████████████▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██████▓▓▓▓█▓▒▒███▓▒▓██▓▓▓▓▒▒▒▓█████▓▒▒████▒▓████████████▓▓▓▒▓▓▓▓▓▒▒▒▒▒▓▒▒ ░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██████▓▓▓▓▓▒▒▒███▓▒▓▓▓▓▓▒▒░░░▒▓▓▓▓▓▓▒▒▓███▒▓█▓██████████▓▓▓▓▓▓▓▓▓▓▓▓▒▓▓▓▓ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██████▓▓▓▓▓▓▒▒▓█▓▒▒▓▓▓▓▓▒▒░░░▒▒▓▓▓▓▓▓▒▒▓▓▓▓▓█▓█████▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓████████▓▓▓▓▓▓▓▓▓▓▓▓▓███▓▓▓▓▓▓▓▓▓▒▒▒▒▒▓▓█▓▓▒▒▒░░░▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓██▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██▓▓▓▓▒▓▓▓▓▓▓▓███▓▓▒▒▒▒░░░▒▒▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓██▓▒░▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓████████████▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓█▓▓▓▓▒▒▓▓▓▓███▓▓▓▒▒▒▒▒░░▒▒▒▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓██▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓██████████████▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓█▓▓▓▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒░░▒▒▒▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓█▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█ ▒▒▒▒▓▓▓▓▓▓██████████████████████▓▓██▓▓▓▓▓▓▓▒▒▒▒▓█▓▓▓▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▒▒░░░▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▒▒▒▒▒▓▓▓▓▓▓████▓▓▓▓▓▓▓▓█ ▒▒▓▓▓▓▓▓██████████████████████████████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▒▒▒▒▒▒░░░░▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓▓▓▓▓▓█████▓▓▓▓▓▓▓█ ▓▓▓▓▓███████████████████████████▓██████▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▓▓▓▓▒▒▒▒▒▒░░▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█████▓▓▓▓▓▓▓▓ ▓▓▓▓████████████████████████▓▓▓▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒▒▒▓▓▒▒▒▒▒▓▓▓▒▒▒▒▒▓▓▓▓▓▓▒▒▒▒▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▓▓▓▓▓▓▓▓ ▓████████████████████████▓▓▒▒▒▒▒▒▒▒▒▒░░▒▓▓▓▓▓▓█▓▒▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓████▓▓▓▓▓▓████▓▒▒▒▒▓▓▓▓▓▓▓██▓█▓▓▓▓▓▓▓▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓ ██████████████████████▓▓▒▒▒▒▒▒▒▒░░░░░░▒░▒▒▓▓▓▓██▒▒▓▓▓▓▓▓▒▒▒▒▒▒▓███████▓████████▓▒▒▒▓▓▓▓▓▓▓███▓▓▓▓▓▓▓▒▒▒░░░▒▓▓▓▓▓▓▓▓▓ ███████████████████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▓▓▓▓▒▓▓▓▓▓▓▓▒▒▒▒▒▓████████████████▓▒▒▒▓▓▓▓▓▓▓██▓▒▒▒▓▒▒░░░░░░░▒▓▓▓▓▓▓▓▓▓ ████████████████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒░░▒▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▓██████████████▓▒▒▒▓▓▓▓▓▓▓██▒░░░░░░░░░░░░░░▒▓▓▓▓▓▓▓▓▓ █████████████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒░░░▒▓▒▓▓▓▓▓▓▓▓▒▒▒▒▒▓▓▓▓▓▓▓███████▓▓▒▒▓▓▓▓▓▓▓▓██▒░░░░░░░░░░░░░░▒▓▓▓▓▓▓▓▓▓ ██████████▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒░░░▒▓▒▓▓▓▓▓▓▓▓▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓▒▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░▒▓▓▓▓▓▒▒▒▓ ████████▓▒░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒░░░▒▒▒▓▓▓▓▓▓▓▓▒▒▒▒▓▓▒▒▒▒▓▓▓▓▓▓▓▓██▓▒▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░▒▓▓▓▒▒▒▒▒▓ █████▓▓▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░▒░▒▒▒▒▒▒▒░░░▒▒▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░▒▒▓▒▒▒▒▒▒▓▓ ████▓▒░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░▒░▒▒▒▒▒▒▒░░░▒▒▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░░░░░░░▒▒░░▒▒▒▒▒▒▒▒▒▒▓▓ ██▓▒░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒░░░▒█▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░▒░▒▒░▒▒▒▒▒▒░▒▒▒▒▓▓ ▓▒░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒░░▒██▓▓▓▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░▒▒▒▒▒▒▒▒▓▓▒▒░▒▒▒▒▓▓ ▒░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░▒▒▒▒▒▒▒▒░░░▓█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▓▓ ░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░▒▒▒▒▒▒▒▒▒░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░▒▒▒▒▓▓▒▓▓▓▓▓▒░▒▒▒▒▓▓▓ ░░░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░▒▒▒▒▒▒▒▒▒▒░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓██████▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░▒▒▒▒▒▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▓▓ ▒▒░░░░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒▒▒░░▒▓▓▓▓▓▓▓▓▓▓▓▓█████████▓▓▓▓▓▓▓▓▓▓▒░▒░░░░░░▒▒▒▒▓▓▓▓▓▓▓▓▒▒░▒▒▒▒░░▒ ██▓▒▒░░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒░▒▓▓▓▓▓▓▓▓▓██████████████▓▓▓▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▒▒▒░░░░░░░░░░ █████▓▓▒░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒░▒▓▓▓▓▓▓▓▓█████████████████▓▓▓▓▓▒░░░▒▒▒▒▒▒▒▒▒▓▓▓▒▒░░░░░░░░░░░░░░ ████████▓▒▒░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓█████████████████▓▓▓▓▓░░░░░░▒▒▒▒▒▒▓▒░░░░░░░░░░░░░░░░░░ ███████████▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒░░░░▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▓▓▓▓▓███████████████▓▓▓▓▓▓░░░░▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░ ▓▓▓▓▓▓▓▓▓▓███▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒░▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▓▓▓▓▓████████████▓▓▓▓▓▓▒░░░░░░▒░▒▒░░░░░░░░░░░░░░░░░░░░░░ ▒▒▒▒▒▒▒▒▒▓▓▓▓███▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░▒▒▒▒▒▒▒▒▒▒▒▒░▒▓▓▓▓▓▓▓▓▓▓▓██████████▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▓▓▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░▒▒░░░░▒▒▒▒▒▒▒▒▒▒░░░▓▓▓▓▓▓▓▓▓▓▓▓██████▓▓▓▓▓▓▓▓▓▓▒░▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▓▓▒▒▒▒▒▒▒▒▒░░░░░░░░▒▒▒░░░░░▒▒▒▒▒░░░░░░░▒▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░▒░░░░░░░░░░░░░░░░░▒░░░░▒▒░░░░░░░░░▒▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓█▓░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░░ ▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░░░░░▒▒░░░░░░░░░░░░░░░░░░░░░░░░░
This commit is contained in:
parent
1fc5c263c6
commit
03deca7466
@ -3,7 +3,7 @@ from influxdb_client import InfluxDBClient, Point, WritePrecision
|
|||||||
from influxdb_client.client.write_api import SYNCHRONOUS, ASYNCHRONOUS, WriteOptions
|
from influxdb_client.client.write_api import SYNCHRONOUS, ASYNCHRONOUS, WriteOptions
|
||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
from proto import manWhatTheProto
|
from proto import manWhatTheProto
|
||||||
from IP2Loc import ermWhatTheCountry
|
from IP2Loc import ermWhatTheCountry #, ermWhatTheISP
|
||||||
from whatDomain import ermWhatATheIpFromDomainYaCrazy, ermWhatAAAATheIpFromDomainYaCrazy
|
from whatDomain import ermWhatATheIpFromDomainYaCrazy, ermWhatAAAATheIpFromDomainYaCrazy
|
||||||
from concurrent.futures import ThreadPoolExecutor
|
from concurrent.futures import ThreadPoolExecutor
|
||||||
from typing import Final
|
from typing import Final
|
||||||
@ -88,7 +88,8 @@ def process_flow(i, entry):
|
|||||||
.field("dstMask", inEntry["DST_MASK"])
|
.field("dstMask", inEntry["DST_MASK"])
|
||||||
.field("dstCntr", ermWhatTheCountry(str(inEntry["IPV4_DST_ADDR"])))
|
.field("dstCntr", ermWhatTheCountry(str(inEntry["IPV4_DST_ADDR"])))
|
||||||
.field("srcCntr", ermWhatTheCountry(str(inEntry["IPV4_SRC_ADDR"])))
|
.field("srcCntr", ermWhatTheCountry(str(inEntry["IPV4_SRC_ADDR"])))
|
||||||
.tag("ISP", ermWhatTheISP(str(inEntry["IPV4_SRC_ADDR"])))
|
# .tag("srcISP", ermWhatTheISP(str(inEntry["IPV4_SRC_ADDR"])))
|
||||||
|
# .tag("dstISP", ermWhatTheISP(str(inEntry["IPV4_DST_ADDR"])))
|
||||||
)
|
)
|
||||||
|
|
||||||
print("----------------")
|
print("----------------")
|
||||||
|
@ -2,7 +2,7 @@ import IP2Location
|
|||||||
from typing import Optional, Annotated
|
from typing import Optional, Annotated
|
||||||
|
|
||||||
# Load database once
|
# Load database once
|
||||||
ip2loc_db: IP2Location = IP2Location.IP2Location("IP2LOCATION-LITE-DB9.BIN")
|
ip2loc_db: IP2Location = IP2Location.IP2Location("IP2LOCATION-LITE-DB9.BIN", "SHARED_MEMORY")
|
||||||
|
|
||||||
def ermWhatTheCountry(inpIpAddress: Annotated[str, "Some IP address that ya want to get country for"]) -> str:
|
def ermWhatTheCountry(inpIpAddress: Annotated[str, "Some IP address that ya want to get country for"]) -> str:
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user