Use cURL from your Pwnbox (not the target machine) to obtain the source code of the “https://www.inlanefreight.com” website and filter all unique paths of that domain. Submit the number of these paths as the answer.
clever, and conveniently gives the right result! But be careful parsing different encodings and query strings - this misses one but double-counts another for the win. Note https://www.inlanefreight.com/wp-includes/js/wp-emoji-release.min.js?ver=5.6.9
I’m working on that challenge right now and use similar grep filtering options but seems I’m not getting there. I used yours as well but it doesn’t work. Did you manage to get the correct result with that command?
hi @drgtn welcome to the community, try to understand the command., you don’t have to use that particular command if you get to understand what its happening there you will be able to get the answer by yourself
It should be more like grep -Po "https?://www.inlanefreight.com[^\"'?#]*" shouldn’t it ?
The url path ends at the first ? (query parameters) and # (fragment). Thus the correct answer should be one less.
(https://www.inlanefreight.com/index.php/wp-json/oembed/1.0/embed is present in the result with different query parameters)