← Programlama & Veritabanı

Ethical Hacking with Python

Kategori: Programlama & Veritabanı · Sayfa: 267

Ethical Hacking with Python başlıklı teknik kaynağın içeriği, programlama & veritabanı alanında pratik bilgiler sunmaktadır. Aşağıda belgeden hareketle hazırlanan teknik inceleme yer almaktadır.

Genel Bakış

otrora23@hotmail.com 17 Nov 2022 About the Author 5 Introduction 6 Notices and Disclaimers 6 Target Audience 7 Overview of the Book 7 Tools used in this Book 8 Chapter 1 Information Gathering 8Extracting Domain Name Info 9Validating a Domain Name 9Extracting Domain WHOIS Info 10Scanning Subdomains 11Putting Everything Together 15Running the Code 17Geolocating IP Addresses 17Port Scanning 19Simple Port Scanner 20Fast Port Scanner 21Port Scanning with Nmap 25Chapter Wrap Up 30 Chapter 2 Building Malware 30Making a Ransomware 31Introduction 31Getting Started 31Deriving the Key from a Password 32File Encryption 34File Decryption 34Encrypting and Decrypting Folders 35Running the Code 38Making a Keylogger 40Introduction 40Getting Started 41Making the Callback Function 42Reporting to Text Files 43 1 otrora23@hotmail.com 17 Nov 2022 Reporting via Email 44Finishing the Keylogger 46Running the Code 48Making a Reverse Shell 48Introduction 48Server Code 49Client Code 52Running the Code 54Making an Advanced Reverse Shell 55Server Code 57Client Code 68Handling the Custom Commands 71Taking Screenshots 74Recording Audio 74Downloading and Uploading Files 75Extracting System and Hardware Information 77Instantiating the Client Class 81Running the Programs 82Chapter Wrap Up 89 Chapter 3 Building Password Crackers 90Cracking ZIP Files 90Cracking PDF Files 93Brute-force PDFs using Pikepdf 93Cracking PDFs using John the Ripper 95Bruteforcing SSH Servers 96Bruteforcing FTP Servers 100Making a Password Generator 103Parsing the Command-line Arguments 103Start Generating 105Saving the Passwords 106Running the Code 107Chapter Wrap Up 109 Chapter 4 Forensic Investigations 110Extracting Metadata from Files 110Extracting PDF Metadata 110Extracting Image Metadata 111 2 otrora23@hotmail.com 17 Nov 2022 Extracting Video Metadata 113Running the Code 114Extracting Passwords from Chrome 117Protecting Ourselves 122Extracting Cookies from Chrome 123Hiding Data in Images 128What is Steganography? 128What is the Least Significant Bit? 129Getting Started 130Encoding the Data into the Image 131Decoding the Data from the Image 133Running the Code 136Changing your MAC Address 140On Linux 140On Windows 144Extracting Saved Wi-Fi Passwords 150On Windows 151On Unix-based Systems 153Wrapping up the Code & Running it 154Chapter Wrap Up 155 Chapter 5 Packet Manipulation with Scapy 156Introduction 156Installing Scapy 157On Windows 157On Linux 158On macOS 159DHCP Listener 159Introduction 159Looking for DHCP Packets 160Running the Script 161Network Scanner 162Introduction 162Writing the Code 164Running the Script 165Wi-Fi Scanner 166Getting Started 166 3 otrora23@hotmail.com 17 Nov 2022 Making the Callback Function 168Changing Channels 169Running the Code 170Making a SYN Flooding Attack 171Introduction 171Forging the Packet 173Running the Code 174Creating Fake Access Points 175Enabling Monitor Mode 176Simple Recipe 177Forging Multiple Fake Access Points 178Running the Code 180Forcing Devices to Disconnect from the Network 181Introduction 181Enabling Monitor Mode 182Writing the Code 182Running the Code 185ARP Spoofing Attack 187What is ARP Spoofing 187Getting Started with the Python Script 190Enabling IP Forwarding 190Implementing the ARP Spoofing Attack 191Running the Code 195Detecting ARP Spoofing Attacks 196DNS Spoofing 199What is DNS 199What is DNS Spoofing 201Writing the Script 204Sniffing HTTP Packets 211Introduction 211Packet Sniffing 212Running the Code 214Injecting Code into HTTP Responses 215Getting Started 215Modifying the Packet 216Running the Code 220 4 otrora23@hotmail.com 17 Nov 2022 Advanced Network Scanner 221Implementing the Scanning Functions 223Writing Utility Functions 225Creating the Scanner Classes 230Writing the Main Code 240Running the Program 243Final Words & Tips for Extending the Program 245Chapter Wrap Up 247 Chapter 6 Extracting Email Addresses from the Web 248Building a Simple Email Extractor 248Building an Advanced Email Spider 251Running the Code 264 Conclusion 266 5 otrora23@hotmail.com 17 Nov 2022 About the Author I’m a self-taught Python programmer that likes to build automation scripts andethical hacking tools as I’m enthused in cyber security, web scraping, andanything that involves data....

Temel Kavramlar

My real name is Abdeladim Fadheli, known online asAbdou Rockikz....

Teknik Uygulama

Abdou is theshort version of Abdeladim, and Rockikz is my pseudonym; you can call meAbdou! I've been programming for more than five years, I learned Python, and I guess I'mstuck here forever....

Örnek Senaryo

I made this eBook to share knowledge that I know about thesynergy of Python and information security....

Dikkat Edilmesi Gerekenler

If you have any inquiries, don't hesitate tocontactme here....

Özet

6 otrora23@hotmail.com 17 Nov 2022 Introduction Python is a high-level, general-purpose interpreted programming language....

Bölüm 7

It isdesigned to be highly readable and easy to use....

Bölüm 8

Today, it's widely used in manydomains, such as data science, web development, software development, andethical hacking....

Bu makale "Ethical Hacking with Python" kaynağından üretilmiştir. Tam metin ve orijinal doküman /root/pdf klasöründe mevcuttur. İçerik eğitim amaçlıdır.

← Kategoriye dön