Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Challenge: Extracting Security Headers From Website | Web Cyber Security
Cyber Security Fundamentals
course content

Conteúdo do Curso

Cyber Security Fundamentals

Cyber Security Fundamentals

1. Introduction to Cyber Security
2. Web Cyber Security
3. Information Encryption

bookChallenge: Extracting Security Headers From Website

Tarefa

This task aims to create a function that extracts specific security headers from a given website. By analyzing the extracted headers, you can assess the web application's security posture. This includes understanding how the application is configured to handle security-related aspects.
Your task is to:

  1. Get a response from the corresponding website using the .get() function of the requests library.
  2. Extract all headers from the response using the .headers attribute of the response object.
  3. Return information about corresponding headers from the function using variable names (csp_header and hsts_header).

Note

The objective of this assignment is to gain familiarity with the process of extracting headers. The analysis of header content falls outside the scope of this course.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 8
toggle bottom row

bookChallenge: Extracting Security Headers From Website

Tarefa

This task aims to create a function that extracts specific security headers from a given website. By analyzing the extracted headers, you can assess the web application's security posture. This includes understanding how the application is configured to handle security-related aspects.
Your task is to:

  1. Get a response from the corresponding website using the .get() function of the requests library.
  2. Extract all headers from the response using the .headers attribute of the response object.
  3. Return information about corresponding headers from the function using variable names (csp_header and hsts_header).

Note

The objective of this assignment is to gain familiarity with the process of extracting headers. The analysis of header content falls outside the scope of this course.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Seção 2. Capítulo 8
toggle bottom row

bookChallenge: Extracting Security Headers From Website

Tarefa

This task aims to create a function that extracts specific security headers from a given website. By analyzing the extracted headers, you can assess the web application's security posture. This includes understanding how the application is configured to handle security-related aspects.
Your task is to:

  1. Get a response from the corresponding website using the .get() function of the requests library.
  2. Extract all headers from the response using the .headers attribute of the response object.
  3. Return information about corresponding headers from the function using variable names (csp_header and hsts_header).

Note

The objective of this assignment is to gain familiarity with the process of extracting headers. The analysis of header content falls outside the scope of this course.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Tudo estava claro?

Como podemos melhorá-lo?

Obrigado pelo seu feedback!

Tarefa

This task aims to create a function that extracts specific security headers from a given website. By analyzing the extracted headers, you can assess the web application's security posture. This includes understanding how the application is configured to handle security-related aspects.
Your task is to:

  1. Get a response from the corresponding website using the .get() function of the requests library.
  2. Extract all headers from the response using the .headers attribute of the response object.
  3. Return information about corresponding headers from the function using variable names (csp_header and hsts_header).

Note

The objective of this assignment is to gain familiarity with the process of extracting headers. The analysis of header content falls outside the scope of this course.

Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
Seção 2. Capítulo 8
Switch to desktopMude para o desktop para praticar no mundo realContinue de onde você está usando uma das opções abaixo
some-alt