Web request - get

Hi Guys

So i am trying to get past this one where you have to find the flag. So i do a search under =le and get the following.

Leeds (UK)
Dudley (UK)
Leicester (UK)
Newcastle (UK)
Los Angeles (US)
Jacksonville (US)
Seattle (US)
Nashville-Davidson (US)

I search on the web interface and get Leeds and Lecister UK.

I did a search on the forums and tried various commands to get the flag but no luck.

Have tried the following

curl -H ‘Authorization: Basic YWRtaW46YWRtaW4=’ http://144.126.228.187:32210/

curl ‘http://144.126.228.187:32210/search.php?search=le’ -H ‘Authorization: Basic YWRtaW46YWRtaW4=’

curl 'http://admin:admin@144.126.228.187:32210/search.php?search=flag

curl -v http://144.126.228.187:32210/search.php?search=le -u admin:admin

curl http://admin:admin@144.126.228.187:32210/search.php\?search\=flag

curl http://admin:admin@http://165.232.42.183:32206//search.php?search=flag

curl http://165.232.42.183:32206/search.php?search=flag -H Authorization: Basic YWRtaW46YWRtaW4= -i -v

Any help with this would be much appricated.

Many Thanks

Kapz

Have you tried it without the -i? That was causing issues for me when I completed.
curl http://165.232.42.183:32206/search.php?search=flag -H Authorization: Basic YWRtaW46YWRtaW4= -v

Yeah tried without the -i still having issues :frowning:

are you using the single quotes for the -H ?

So i did it lke this
curl http://165.232.42.183:32206/search.php?search=flag -H Authorization: Basic YWRtaW46YWRtaW4= -v

Have figured it out it was

curl -v http://ip:port/search.php?search=flag -u admin:admin