updated prompt logic

This commit is contained in:
Vomitblood 2025-01-24 11:15:12 +08:00
parent 7e7b2213d8
commit 2dd7fa386f

View file

@ -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)