Python-এর একদম শুরু থেকে — Variable, Loop, Function থেকে শুরু করে Network Scanner, Password Cracker, Web Scraper এবং Security Automation Script পর্যন্ত সম্পূর্ণ গাইড। From the very beginning of Python — Variables, Loops, Functions all the way to Network Scanners, Password Crackers, Web Scrapers, and Security Automation Scripts.
Python হলো একটি high-level, interpreted programming language যা ১৯৯১ সালে Guido van Rossum তৈরি করেন। এর syntax অনেক সহজ এবং পড়তে ইংরেজির মতো মনে হয়। Cyber Security জগতে Python সবচেয়ে বেশি ব্যবহৃত ভাষা।Python is a high-level, interpreted programming language created by Guido van Rossum in 1991. Its syntax is very simple and reads almost like English. Python is the most widely used language in the Cyber Security world.
VS Code ব্যবহার করো — Python extension install করো। অথবা শুধু terminal-এ python3 লিখে interactive mode-এ practice করো।Use VS Code — install the Python extension. Or just type python3 in the terminal and practice in interactive mode.
Variable হলো একটি নাম যেখানে data রাখা যায়। Python-এ variable declare করতে কোনো keyword লাগে না।A variable is a name where data can be stored. In Python, no keyword is needed to declare a variable.
সবসময় with statement ব্যবহার করো file open করতে — এটা automatically file close করে দেয়। Security script-এ সবসময় try/except ব্যবহার করো যাতে connection refuse বা timeout-এ crash না হয়।Always use the with statement to open files — it automatically closes the file. Always use try/except in security scripts so they don't crash on connection refusals or timeouts.
Socket হলো দুটো computer-এর মধ্যে network connection-এর endpoint। Python-এর socket module দিয়ে আমরা TCP/UDP connection তৈরি করতে পারি।A socket is a network connection endpoint between two computers. Python's socket module lets us create TCP/UDP connections.
| ধাপStep | বিষয়Topic | ResourceResource |
|---|---|---|
| 1 | OOP (Class, Object) | Python Docs, Real Python |
| 2 | CTF Challenges | PicoCTF, HackTheBox |
| 3 | Scapy Deep Dive | scapy.readthedocs.io |
| 4 | pwntools / pwn.college | pwn.college (free) |
| 5 | Impacket (AD attacks) | GitHub/impacket |
| 6 | নিজের Tool তৈরি করোBuild your own tools | GitHub projects |
এই ডকুমেন্ট সম্পূর্ণ শিক্ষামূলক। সবসময় authorized environment-এ practice করো। This document is entirely educational. Always practice in an authorized environment.
v1.0 — Python for Security | Basics to Security Scripting | Bilingual | 12 Chapters