Commit c328cb5b authored by Nong Hoang Tu's avatar Nong Hoang Tu
Browse files

Fix the show_encoder crashes program

parent 3908131e
Pipeline #3410 failed with stages
...@@ -452,7 +452,7 @@ class RoutersploitInterpreter(BaseInterpreter): ...@@ -452,7 +452,7 @@ class RoutersploitInterpreter(BaseInterpreter):
print_table(headers, *wordlists, max_column_length=100) print_table(headers, *wordlists, max_column_length=100)
@module_required @module_required
def _show_encoders(self, **kwargs): def _show_encoders(self, *args, **kwargs):
if issubclass(self.current_module.__class__, BasePayload): if issubclass(self.current_module.__class__, BasePayload):
encoders = self.current_module.get_encoders() encoders = self.current_module.get_encoders()
if encoders: if encoders:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment