Forum Discussion

Andy_Skelton's avatar
Andy_Skelton
Icon for Bronze II rankBronze II
2 months ago

Scanning: Port knocking

Hi everyone,

I've just been working through the port knocking lab and all has been going well. However, the final knock (31337, 32337, 33337) doesnt seem to be opening up the ssh connection for me.  If anyone has any tips or suggestions they would be much appreciated as I'm absolutely certain ive knocked correctly and also tried to connect via ssh correctly.

Regards,

Andy

  • Hey Andy, 

    Jay Noonan here. Just ran the lab before getting off its pretty straight forward and sounds like you got the last one. Its pretty much same same.

    knock TARGET-IP 31337 32337 33337
    ssh james@TARGET-IP

    The password for ssh is in the question. This should get you onto the machine and you wont be looking far for the token. 

    Jay

  • Hey Andy, 

    Jay Noonan here. Just ran the lab before getting off its pretty straight forward and sounds like you got the last one. Its pretty much same same.

    knock TARGET-IP 31337 32337 33337
    ssh james@TARGET-IP

    The password for ssh is in the question. This should get you onto the machine and you wont be looking far for the token. 

    Jay

  • Hi Jay!

    Many thanks! I'll run it again, I'm pretty certain I ran it exactly as you stated, however it was fairly late on so there's every chance I was simply brain-dead! 

    Thanks again!

    Andy.

  • Worked absoluely perfectly this time! I must have done something differently last night! Thanks for the help Jay!

    • KieranRowley's avatar
      KieranRowley
      Icon for Community Manager rankCommunity Manager

      Hi Andy_Skelton 

      It looks like CyberSharpe helped you solve the lab. Please don't forget to mark the reply as a Solution ✅

      Marking a reply as a solution helps other community members to find answers to questions that they may also have. It also confirms to your fellow community members that their reply was helpful! You can accept more than one reply as a solution.