Posts match “ web ciberseg17 wget ” tag:

CTFCiberseg17 - Web II

Published on:

Web II write-up
CAT: web

En este reto hemos hecho una página especial para aquellos que usen un sistema operativo diferente.

O en:

For this challenge, we have created a special web site for those who use a different operatig system:


We try to download the main file of the site:

# wget

The contents of the file are:

# cat web2.php

No estás entrando desde:

Translation: You are not accesing from

Haiku is a Linux distro which includes its own browser called 'WebPositive'. We perform a google search for the User Agent of this browser and we include it in the header of our request:

# wget --user-agent="Mozilla/5.0 (compatible; U; InfiNet 0.1; Haiku) AppleWebKit/528+ (KHTML, like Gecko) WebPositive/528+ Safari/528+"

This time we are able to get the flag:

# cat web2.php