Project

General

Profile

Actions

Bug #2813

closed

suricatasc: failure with extra commands

Added by Shivani Bhardwaj about 5 years ago. Updated about 5 years 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

Actions #2

Updated by Victor Julien about 5 years ago

  • Target version set to 5.0beta1
Actions

Also available in: Atom PDF