suricatasc: failure with extra commands
For a command that takes on arguments e.g. command-list, if accidentally given an argument, it fails.
>>> command-list 1 Traceback (most recent call last): File "/usr/sbin/suricatasc", line 64, in <module> try: File "/usr/sbin/../lib/python3.7/site-packages/suricata/sc/suricatasc.py", line 390, in interactive cmdret = self.send_command(cmd, arguments) File "/usr/sbin/../lib/python3.7/site-packages/suricata/sc/suricatasc.py", line 102, in send_command raise SuricataCommandException("No such command: %s", command) TypeError: __init__() takes 2 positional arguments but 3 were given
Updated by Shivani Bhardwaj 5 months ago
- Status changed from New to Closed