Skip to content

Commit

Permalink
Update interface.py
Browse files Browse the repository at this point in the history
  • Loading branch information
Bitwise-01 authored Sep 21, 2018
1 parent 0c0ebdc commit bd812d6
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lib/server/lib/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ def disconnect_client(self, sess_obj):
self.ftp = None

self.close_sess(sess_obj, self.bots[sess_obj]['shell'])
self.bots[sess_obj]['session'].close()
self.sig = self.signature

def disconnect_all(self):
Expand Down Expand Up @@ -202,4 +201,4 @@ def execute_cmd_by_id(self, bot_id, cmd_id, args):
if bot:
bot['shell'].send(code=cmd_id, args=args)
return 'Command sent successfully'
return 'Failed to send command'
return 'Failed to send command'

0 comments on commit bd812d6

Please sign in to comment.