diff --git a/agent/Windows/lastpublic.ps1 b/agent/Windows/lastpublic.ps1 index 2b2782c..7ad5e1f 100644 --- a/agent/Windows/lastpublic.ps1 +++ b/agent/Windows/lastpublic.ps1 @@ -1,6 +1,7 @@ # Plugin "Get IP" OCSInventory # Author: Valentin COSSE & Valentin DEVILLE +[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.ServicePointManager]::SecurityProtocol -bor 3072 $myjson = Invoke-RestMethod -Uri https://www.ipinfo.io/json