From c0e6ee6f8fa7926838295c58bc00f4186a8dac97 Mon Sep 17 00:00:00 2001 From: Katarina Durechova Date: Wed, 5 Aug 2015 10:24:04 +0200 Subject: [PATCH] Add -n to iptables --- cowrie/commands/iptables.py | 1 + 1 file changed, 1 insertion(+) diff --git a/cowrie/commands/iptables.py b/cowrie/commands/iptables.py index 980b9dd..55e87de 100644 --- a/cowrie/commands/iptables.py +++ b/cowrie/commands/iptables.py @@ -80,6 +80,7 @@ class command_iptables(HoneyPotCommand): parser.add_option("-v", "--verbose", dest="verbose", action="store_true") parser.add_option("-x", "--exact", dest="exact", action="store_true") parser.add_option("--line-numbers", dest="line_numbers", action="store_true") + parser.add_option("-n", "--numeric", dest="numeric", action="store_true") parser.add_option("--modprobe", dest="modprobe", action="store") parser.add_option("-t", "--table", dest="table", action="store", default=command_iptables.DEFAULT_TABLE)