From 2dd7fa386f58e7c6484ca6d6df65b64074d09fd4 Mon Sep 17 00:00:00 2001 From: Vomitblood Date: Fri, 24 Jan 2025 11:15:12 +0800 Subject: [PATCH] updated prompt logic --- internal/listener/listener.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/listener/listener.go b/internal/listener/listener.go index 6f7245e..f9d2ebb 100644 --- a/internal/listener/listener.go +++ b/internal/listener/listener.go @@ -11,9 +11,9 @@ func handleConnection(conn net.Conn) { defer conn.Close() fmt.Println("Connection established. Interacting with reverse shell...") + fmt.Println("Press enter once if prompt does not show up.") for { - fmt.Print("shell > ") var cmd string fmt.Scanln(&cmd)