19/01/2024 ***** Update *******
Updated with the latest info based on Assetnote's blog. 
Now three checks are executed before a status is shown, this also to better detect older versions of Avanti

Blogs with analysis of the CVE:

# CVE-2023-46805
Simple scanner for scanning a list of ip-addresses for vulnerable Ivanti Pulse Secure devices

1. Scan a service like Shodan or Censys for the relevant devices and create a list of ip_adresses.
2. Save them to "ip_list.txt" and in the same folder as this script
3. run the script and it will show output to screen and save to a csv file once finished