Main Idea
In general we have to be careful when we create passwords for various sites or cards. We will use the high-level programming language “Python” to understand how a weak password is going to be cracked. In addition students will learn how to solve a problem and what is a Brute Force attack.
| Creator | Rallis Spiros |
| Subject | Computer science |
| Length | 1-2 hours |
| Pedagogical Approach | Real Life and Technology assisted learning |
| Competences | Basic programming knowledge, Problem solving Debugging |
| Grades | Students aged 10 – 11 years old |
| Technologies | An online Python Interpreter (repl.it ) |
| Εvaluation Tools | At the end of the session students will “run” the program and teachers will evaluate them. |
Learning Activities
Firstly, the students watch a video in order to understand how the Brute Force Attack Algorithm works. Afterwards, they will receive a worksheet that has basic information about some parts of the program and how the necessary python commands work in the program.
WORKING ALTERNATIVE BRUTE FORCE ALGORITHM WITH PYTHON
1.We have to remind-explain the if – else and for ….. statement to the students. We should give them an example to understand how it works.
2. We guide students to built the program. We ask a student to think a number and another student tries to guess this number.
3. When they discover Brute force attack we give them time to built their code and try it out.
Discussion
1. Do you think that it is safe to use numbers or letters in a row when we try to make a password?
2. Is it possible for someone to crack any code if he has a very powerful PC?
3.Should we change our passwords more often otherwise they will be cracked?
