Hello, I tried to solve the first question but haven’t succeeded. Tried most of the commands but it didn’t work. The one that i think that is close enough is:
SMTP is a transfer protocol whereas POP3 and IMAP are message retrieval protocols. Think about the purpose of each and which one could be used to view email messages.
Check “Footprinting IMAP/POP3” module. It will help a lot. And of course, you have to retrieve a mail for the flag so think about the correct protocol.
So I found that after about 30 minutes, for whatever reason, the email services on the target stop. So ports 25, 110, 143, and 587 are no longer available after some time. If you’re having issues brute forcing the target, terminate the target box and launch it again. Brute force immediately and you should come up with finding the password.