Skip to the content.

~

~/Security/Networking

~/Security



How the Web Works, HTTP Request/Response Cycle

HyperText Transfer Protocol Secure(HTTPS)

As an organization, you must teach employees basic web safety skills and how to detect fraudulent, phishing, or suspicious websites.

The easiest way would be to click the “lock” icon in the address bar in Google Chrome or Microsoft Edge

Uniform Resource Locators(URLs)

comprised of the

Requests

Here we use the requests module in python make a request

Here is the response

HTTP Methods

  1. GET-get information from a server
  2. POST-submit data to a server
  3. PUT-update data on server
  4. DELETE-delete data on server

HTTP Status Codes

Click here to view the list of response status codes

Common codes-

Something interesting about 418

HTTP Headers

Common Request Headers

Common Response Headers

Intercepting and inspecting requests-responses with a proxy

Her[2 images]e, I use Burp Suite and the integrated browser to intercept request-response and either forward or drop them

Cookies

view cookies in Firefox by using DevTools and switching to the network tab

Cookies are saved when you receive a “Set-Cookie” header Then every further request you make, you’ll send the cookie data back to the web server.

Because HTTP is stateless (doesn’t keep track of your previous requests), cookies are used to remind the webserver of session state or user information.

You can view cookies set when visiting a website or logging in by using your browser’s developer tools

mozilla developer tools view cookie

Firefox DevTools Docs