POST Practice
40 points Medium

This website requires authentication, via POST. However, it seems as if someone has defaced our site. Maybe there is still some way to authenticate? http://165.227.106.113/post.php

Flag
Rating 4.44
5
4
3
2
1

Discussion

curl -d "username=admin&password=71urlkufpsdnlkadsf" http://165.227.106.113/post.php

You don't need to explicitly add "-X POST", because "-d" option posts data by itself.

0
0
Protected
0
Protected
0

curl -X POST http://165.227.106.113/post.php -d "username=admin&password=71urlkufpsdnlkadsf"

0
0
Protected
0

very ez

0

very ez

0
Protected
0
Protected
0

Im about to skip this one I don't know what to do

0

The prompt gives you a hint, "there has to be another way to auth". Another hint is the error page when you are trying to access: "This site takes POST data that you have not submitted!". Check out cURL or Postman it may help you with this.

1