Last active
February 19, 2024 17:11
-
-
Save powellnathanj/65e0be2dffe3c5e0d76069900e465000 to your computer and use it in GitHub Desktop.
Generate a filter for panorama firewall monitor for urls with multiple ips
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import sys | |
ffilter = "" | |
for line in sys.stdin: | |
ffilter = ffilter + "( addr.dst in '" + line.rstrip() + "' ) or " | |
print(ffilter) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment