-
Notifications
You must be signed in to change notification settings - Fork 1
Writeup: Advent of Cyber 4 Day 17
Link: Advent Of Cyber 4 on TryHackMe
Filtering for Usernames: How many usernames fit the syntax above?
Command: egrep '^[a-zA-Z0-9]{6-12}$' strings
Answer: 8
Filtering for Usernames: One username consists of a readable word concatenated with a number. What is it?
Answer: User35
Filtering for Emails: How many emails fit the syntax above?
Command: egrep '^.+@.+\.com$' strings
Answer: 11
Filtering for Emails: How many unique domains are there?
Answer: 8
Filtering for Emails: What is the domain of the email with the local-part "lewisham44"?
Command: egrep '^lewisham44@.+\..+$' strings
Answer: amg.com
Filtering for Emails: What is the domain of the email with the local-part "maxximax"?
Command: egrep '^maxximax@.+\..+$' strings
Answer: fedfull.com
Filtering for Emails: What is the local-part of the email with the domain name "hotmail.com"?
Command: egrep '^.+@hotmail\.com$' strings
Answer: hussain.volt
Filtering for URLs: How many URLs fit the syntax provided?
Command: egrep '^http(s?):(www\.)?.+\..+$' strings
Answer: 16
Filtering for URLs: How many of these URLs start with "https"?
Command: egrep '^https:(www\.)?.+\..+$' strings
Answer: 7