GAQM
CPEH-001 · Question #921
You start performing a penetration test against a specific website and have decided to start from grabbing all the links from the main page. What Is the best Linux pipe to achieve your milestone?
The correct answer is C. wget https://stte.com | grep "< a href=\*http" | grep "site.com". See the full explanation below for the reasoning.
Question
You start performing a penetration test against a specific website and have decided to start from grabbing all the links from the main page. What Is the best Linux pipe to achieve your milestone?
Options
- Adirb https://site.com | grep "site"
- Bcurl -s https://sile.com | grep `'< a href-'http" | grep "Site-com- | cut -d "V" -f 2
- Cwget https://stte.com | grep "< a href=*http" | grep "site.com"
- Dwgethttps://site.com | cut-d"http-
How the community answered
(29 responses)- A7% (2)
- B3% (1)
- C76% (22)
- D14% (4)
Community Discussion
No community discussion yet for this question.