Untitled
unknown
plain_text
9 months ago
242 B
3
Indexable
#!/bin/bash read -r json dest_ip=$(python3 -c 'import json, sys; print( json.load(sys.stdin)["parameters"]["alert"]["data"]["dest_ip"] )' <<< "$json") iptables -A OUTPUT -d $dest_ip -j DROP && sleep 30 && iptables -D OUTPUT -d $dest_ip -j &
Editor is loading...
Leave a Comment