Day #1 | 100 Day of Python Programming

Day #1 | 100 Day of Python Programming

بِسْمِ اللَّـهِ الرَّحْمَـٰنِ الرَّحِيمِ

Content

  1. Who Am I?

  2. Why Python?

  3. The Goal of challenge

  4. Resources

  5. Getting Start (Lab Setup)

  6. Start Hello World! Code

Who Am I?

0.Who Am I?

Hello, everyone! My name is Mohamed Hegazi. I'm a Computer Science student with a passion for cybersecurity and a strong desire to become a proficient penetration tester.

1. Why Python?

Python is a powerful programming language that has become a favorite tool among hackers and penetration testers. Here's why:

  1. Easy to Learn and Use:

    • Python's simple and readable syntax makes it accessible for beginners and efficient for experienced programmers. You can quickly write and understand code.
  2. Powerful Libraries:

    • Python has a vast array of libraries and frameworks that can simplify many hacking tasks. For example:

      • Scapy: For network packet manipulation and analysis

      • Requests: For making HTTP requests and interacting with web services.

      • And another Libraries.

  3. Automation:

    • Python is excellent for automating repetitive tasks. For Example making a Subdomain Enumeration automation tool and another ways of tasks you can automate.
  4. Community Support:

    • One of the most important things in these languages is that Python has a large and active community. You'll find plenty of tutorials, forums, and documentation to help you solve problems and learn new techniques.
  5. More and More things that may be reason to start learning python today with me

2. The Goal of challenge

The goal of this "100 Days of Python Programming for Hackers" challenge is to take you from a complete beginner in Python to someone who can write powerful tools that automate security tasks.

Learn Python from Scratch:

  • Start with the basics of Python programming, covering fundamental concepts such as variables, data types, control structures, and functions.

  • Gain a solid understanding of Python's syntax and core features.

Build Practical Skills:

  • Apply what you've learned through hands-on exercises and real-world examples.

⚠️ One of the main reasons I'm taking on this challenge is to stay committed to learning. I've often started learning something new but lost motivation and didn't finish. By sharing this challenge, I feel more accountable to stay committed and see it through to the end.

3. Resources

Trying Problem Solving Challenges Day by Day on 10,000+ Coding Practice Challenges // Edabit

Any update of challenge i will add it to my twitter Mohamed Hegazi 🇵🇸 (@h0kazzz) / X

4. Getting Start (Lab Setup)

For Windows:

  1. Install Python:

    • Go to the official Python website: python.org.

    • Download the latest version of Python for Windows.

    • Run the installer and make sure to check the box that says, "Add Python to PATH."

    • Follow the prompts to complete the installation.

This i think may be help you https://youtu.be/YKSpANU8jPE?si=7x584gDyB-k4X_VS

  1. Install a Code Editor:
  • There are many code editors like VSCode and PyCharm and others anyone will be good for writing code

For Linux:

  1. Installation:

    • Most Linux distributions come with Python pre-installed. To check if Python is installed, open Terminal and type python3 --version and check the version.

    • If Python is not installed, you can install it using the package manager:

      • For Debian/Ubuntu: sudo apt-get update && sudo apt-get install python3.

      • For Fedora: sudo dnf install python3.

Using an Online Compiler:

5. Start Hello World! Code

  • After Installing and every this is suitable for starting Let’s make simple app using python

What is print in Python?

The print function in Python is one of the most commonly used functions. It allows you to display output to the screen. It's a simple yet powerful way to see the results of your code and debug your programs.

Open Your Code Editor:

  • And write the code:
print("Hello, World!")
  • Then execute the program