So i made a version which doesn't need Regex, and therefore doesn't need the extra script. Also.. its ~1.5x faster at parsing the results! Needed it to make a DNS versions for urlhaus/anomali/etc. # Fetch IP indicators on OTX from past day to update local blacklist address-list # v3 # PUT API KEY HE...
thanks! [:typeof $caughtIp] ~ "ip" ~~~~ but if are contained inside, the script must be careful to not write only 1.2.3.0 cutting off /24 Hmmmm I will email OTX help and ask if there is ever a 1.2.3.4/24 style address and subnet, becuase if there never is we can cut out a few lines of cod...
~~ I really do not like this method of coding. I better prefer to not fill log and do more clean code like the following example, where errors are prevented than wait for errors: ~~ Hi, thank you very much for you suggestion! You have a cleaner method I agree. I will update my script and upload a n...
Hello Today I had a slow day so made a script which fetches all the current days Open Threat Exchange (OTX) Indicators of Compromise (IoC) IPv4 addresses and adds them to a firewall address-list (if they don't already exist). This way you can automatically block the naughty IPv4 addresses where malw...