[BUUCTF] [Geek Challenge 2019] Http Writeup-several ways to add request headers that CTFer must know


)

0x00 test site

Request header

  • User-Agent: What browser is used to access
  • Referer: The current page was entered through the link in the source page
  • X-Forwarded-For: Get the IP address of the client that originally initiated the request

How to add request header

  • Hackbar
  • ModHeader
  • Burp Suite
  • Manually add cookies to the browser

0x01 problem solving

Insert picture description here

Insert picture description here

Secret.php

Insert picture description here

1 、 ModHeader

Add, change and delete at any time, very convenient

Insert picture description here

2 、 Hackbar

Short-term use, more convenient to add, not long-term storage

Download link :
https://blog.csdn.net/vanarrow/article/details/107994085
Insert picture description here
Three fake hackbars...piracy scams
Insert picture description here

Insert picture description here
Insert picture description here
Insert picture description here

3、Burp Suite

Professional and detailed, highly customized, simple and cumbersome to use
Insert picture description here

Insert picture description here

Summary of operation content

Add request header

referer: https://www.Sycsecret.com
User-Agent: Syclover
X-Forwarded-For: 127.0.0.1

flag{b1797a52-a6ca-4ff7-b7d8-5401592ff173}
Syclover @ cl4y

Guess you like

Origin blog.csdn.net/vanarrow/article/details/108196519