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

Зміст курсу

Cyber Security Fundamentals

Cyber Security Fundamentals

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

bookChallenge: Extracting Security Headers From Website

Завдання
test

Swipe to show code editor

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 desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 8
toggle bottom row

bookChallenge: Extracting Security Headers From Website

Завдання
test

Swipe to show code editor

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 desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Секція 2. Розділ 8
toggle bottom row

bookChallenge: Extracting Security Headers From Website

Завдання
test

Swipe to show code editor

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 desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Все було зрозуміло?

Як ми можемо покращити це?

Дякуємо за ваш відгук!

Завдання
test

Swipe to show code editor

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 desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
Секція 2. Розділ 8
Switch to desktopПерейдіть на комп'ютер для реальної практикиПродовжуйте з того місця, де ви зупинились, використовуючи один з наведених нижче варіантів
We're sorry to hear that something went wrong. What happened?
some-alt