updated prompt logic
This commit is contained in:
parent
7e7b2213d8
commit
2dd7fa386f
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in a new issue