From a25430cd17d0002ecb1804b300cc9badf7e6e76f Mon Sep 17 00:00:00 2001 From: crate Date: Mon, 30 Sep 2024 21:01:21 +0000 Subject: [PATCH] edit nmap --- garfbot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/garfbot.py b/garfbot.py index 05530c5..b8baafe 100644 --- a/garfbot.py +++ b/garfbot.py @@ -277,6 +277,7 @@ async def on_message(message): rejection = await generate_chat_response("Hey Garfield, explain to me why I am dumb for trying to hack your private computer network.") await message.channel.send(rejection) else: + await message.channel.send(f"Scanning {target}, hold on a sec...") result = subprocess.run(['nmap', '-A', '-Pn', target], capture_output=True, text=True) await message.channel.send(f"`Ping result for {target}: {result.stdout}`") except Exception as e: