๐Ÿ”’

๐Ÿ“… Level 1 โ†’ Level 10 : Python Foundations

๐Ÿ“…

Day 1 โ€“ Print โ€œHello, Hacker!โ€ and basic Python syntax.

Scenario : Automate a simple message to greet yourself as a cybersecurity analyst.

Task : Write code that prints your name and todayโ€™s date.

Day 2 โ€“ Variables & Data Types.

Scenario : Store an IP address and port in variables.

Task : Print "Scanning host 192.168.1.10 on port 22"

Day 3 โ€“ User Input.

Scenario : Ask a user for a target IP.

Task : Take input and print: "Pinging target <IP>".

Day 4 โ€“ Conditional Statements.

Scenario : Check if port number = 22, print โ€œSSH detected.โ€

Task : Accept a port number and classify it as โ€œHTTP, HTTPS, SSH, Otherโ€.

Day 5 โ€“ Loops.

Scenario : Brute-force simulation.

Task : Loop through numbers 1โ€“10 as if trying passwords.

Day 6 โ€“ Functions.

Scenario : Create a function is_open(port) that checks if a given port number is common (22, 80, 443).