#2689 Fixed .rst formatting issues and removed unnecessary comments.
This commit is contained in:
@@ -253,7 +253,7 @@ It's worth noting that this may be useful option to bypass ACL rules.
|
||||
|
||||
This must be a string i.e ``udp``. Defaults to ``tcp``.
|
||||
|
||||
_Please refer to the ``IPProtocol`` class for further reference._
|
||||
*Please refer to the ``IPProtocol`` class for further reference.*
|
||||
|
||||
``Masquerade Port``
|
||||
"""""""""""""""""""
|
||||
@@ -266,12 +266,12 @@ It's worth noting that this may be useful option to bypass ACL rules.
|
||||
|
||||
This must be a string i.e ``DNS``. Defaults to ``HTTP``.
|
||||
|
||||
_Please refer to the ``IPProtocol`` class for further reference._
|
||||
*Please refer to the ``IPProtocol`` class for further reference.*
|
||||
|
||||
C2 Server Configuration
|
||||
=======================
|
||||
|
||||
_The C2 Server does not currently offer any unique configuration options and will configure itself to match the C2 beacon's network behaviour._
|
||||
*The C2 Server does not currently offer any unique configuration options and will configure itself to match the C2 beacon's network behaviour.*
|
||||
|
||||
|
||||
.. include:: ../common/common_configuration.rst
|
||||
|
||||
@@ -183,15 +183,11 @@ class AbstractC2(Application, identifier="AbstractC2"):
|
||||
)
|
||||
return False
|
||||
|
||||
# Abstract method
|
||||
# Used in C2 server to parse and receive the output of commands sent to the c2 beacon.
|
||||
@abstractmethod
|
||||
def _handle_command_output(payload):
|
||||
"""Abstract Method: Used in C2 server to parse and receive the output of commands sent to the c2 beacon."""
|
||||
pass
|
||||
|
||||
# Abstract method
|
||||
# Used in C2 beacon to parse and handle commands received from the c2 server.
|
||||
@abstractmethod
|
||||
def _handle_command_input(payload):
|
||||
"""Abstract Method: Used in C2 beacon to parse and handle commands received from the c2 server."""
|
||||
|
||||
Reference in New Issue
Block a user