diff options
| author | shihaoyue <[email protected]> | 2024-09-01 22:51:16 +0800 |
|---|---|---|
| committer | shihaoyue <[email protected]> | 2024-09-01 22:51:16 +0800 |
| commit | 6d9267dd44818a92e3dc97f983114e0c5efc4046 (patch) | |
| tree | 618177632dfde7caec5f0ef440493f3a0e6f6e33 /agent | |
| parent | 3ef0c4e829729e14915c4a46967801d4e65c6da9 (diff) | |
更改数据库
Diffstat (limited to 'agent')
| -rw-r--r-- | agent/apps/target_gz.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/agent/apps/target_gz.py b/agent/apps/target_gz.py index a924401..d3287d8 100644 --- a/agent/apps/target_gz.py +++ b/agent/apps/target_gz.py @@ -20,8 +20,5 @@ def execute_command(IP): encoding='utf-8') output = proc.communicate()[0].strip() - # TODO 报错的情况 - if "udp" in output: - output = None - + return output
\ No newline at end of file |
