Project

General

Profile

Bug #2813

suricatasc: failure with extra commands

Added by Shivani Bhardwaj 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Target version:
Affected Versions:
Effort:
Difficulty:
Label:

Description

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

History

#2

Updated by Victor Julien about 2 months ago

  • Target version set to 5.0beta1

Also available in: Atom PDF