Skip to content

Commit

Permalink
after killing a listener, refresh the cli state so it is apparent to …
Browse files Browse the repository at this point in the history
…the user (#206)
  • Loading branch information
vinnybod authored Aug 21, 2021
1 parent 357a7b6 commit 7884594
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion empire/client/src/EmpireCliState.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def kill_listener(self, listener_name: str):
response = requests.delete(url=f'{self.host}:{self.port}/api/listeners/{listener_name}',
verify=False,
params={'token': self.token})

self.get_listeners()
return response.json()

def disable_listener(self, listener_name: str):
Expand Down

0 comments on commit 7884594

Please sign in to comment.