General - HTTP Basics - Webgoat

alt

1. Khái niệm

All HTTP transactions follow the same general format. Each client request and server response has three parts: the** request or response line, a header section and the entity body.** The client initiates a transaction as follows:

  • The client contacts the server and sends a document request. A GET request can have url parameters and those parameters will be available in the web access logs.
  GET /index.html?param=value HTTP/1.0
  • Next, the client sends optional header information to inform the server of its configuration and the document formats it will accept.
  User-Agent: Mozilla/4.06 Accept: image/gif,image/jpeg, /
  • In a POST request, the user supplied data will follow the optional headers and is not part of the contained within the POST URL. alt

2. Try It!

Đơn giản chỉ cần nhập username và bấm Go !: alt

3. The Quiz

  • Click chuột phải chọn Inspect trên trình duyệt. Nhập POST vào ô đầu tiên và nhấn Go !
  • Vào tab Network ta sẽ thấy được magic number là 78: alt
  • Nhập magic number và đã submit thành công: alt

Tham khảo:

  1. BitsPlease: Link

Cảm ơn bạn đã đọc bài viết ! 🥰 🥰 🥰

Hãy nêu ý kiến của mình ở phần bình luận phía dưới nhé !

✨ Bài viết liên quan

General - HTTP Proxies - Webgoat🐐 Bài viết này mình sẽ hướng dẫn các bạn làm phần HTTP Proxies - General
Introduction - Webgoat🐐 Bài viết này mình sẽ hướng dẫn các bạn làm phần Introduction

Made by @thevi31415

© 2024 Nguyen Duong The Vi. All Rights Reserved.