Removed unneeded ;'s.

There is a small bug that needs to be fixed with the prompts showing multiple ties
This commit is contained in:
davegermiquet
2016-05-30 00:22:38 -04:00
parent 96dc66bad0
commit 50ca182671
2 changed files with 3 additions and 3 deletions

View File

@ -257,7 +257,7 @@ class HoneyPotShell(object):
environ[key] = value
continue
cmd['command'] = piece
cmd['rargs'] = [];
cmd['rargs'] = []
break
if not cmd['command']:
@ -267,7 +267,7 @@ class HoneyPotShell(object):
pipe_indices = [i for i, x in enumerate(cmdAndArgs) if x == "|"]
multipleCmdArgs = []
pipe_indices.append(len(cmdAndArgs))
start = 0;
start = 0
# Gather all arguments with pipes

View File

@ -36,7 +36,7 @@ class HoneyPotBaseProtocol(insults.TerminalProtocol, TimeoutMixin):
else:
self.cwd = '/'
self.input_data = None
self.data = None;
self.data = None
self.commands = {}
import cowrie.commands
for c in cowrie.commands.__all__: