0

So I've been doing CTF Tryhackme called mKingdom and got a remote shell. However, I want an upgrade of the remote terminal so I ran python3 -c 'import pty;pty.spawn("/bin/bash")' , it showed nothing in the remote terminal as shown in the picture.

I cannot type anything else like it just stuck there.

enter image description here

ChatGPT told me to go Control+Z back into my local terminal and run this cmd:

stty raw -echo;fg

I'm not sure what this does but after I ran it, I received the stty indentation problem and I can't see the letter.

enter image description here

Okay, now I opened another terminal and run the same code, but it showed this indentation and transparent command instead.

stty indentation problem and transparent command

Finally, here's my stty setting using cmd:

stty -a

enter image description here

FYI, I'm a new CTF player. Please explain this to me as if I were a kid.

1
  • Beginners should NOT play with Kali. Commented Jun 19 at 20:20

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.