Python in Action: Using Python to Become an Elite Hacker
Tags
Summary
Editor's review
Who it's for
A good fit for
- 已掌握 Python 基本语法、想进入安全领域的开发者
- 渗透测试、红队与安全运维从业者
- 电子取证与应急响应人员,需要快速写分析脚本
- 信息安全专业师生,寻找可运行的课程案例与实验素材
Not a good fit for
- 完全没有编程基础的读者,书中不系统讲解 Python 语法
- 只想读概念、不愿动手敲代码和调试环境的人
- 期望得到最新漏洞利用技巧与当代工具链的读者
Reading tips
- 在隔离虚拟机或合法靶场中动手复现,切勿对未授权系统执行书中脚本。
- 遇到 Python 2 语法或依赖问题时,先理解意图,再改写为 Python 3 版本。
- 按“章节主题 + 自己写的脚本 + 结果对比”做笔记,形成个人工具库。
- 与《Violent Python》英文原版对照阅读,重点看注释与代码组织方式。
About the publisher
The Publishing House of Electronics Industry is a comprehensive publisher distinguished by its focus on electronic information and related fields. Judging from the more than 3,000 titles in its catalogue, its publishing covers programming and design, artificial intelligence, computer science, finance and economics, photography, and social sciences, attending both to cutting-edge technology and to general readers. Representative titles include Factor Investing: Methods and Practice, x86 Assembly Language: From Real Mode to Protected Mode, The RISC-V Reader, Artificial Intelligence: Speech Recognition, Understanding and Practice, Phased Array Radar Technology, Radar Target Characteristics, and 100 Go Mistakes and How to Avoid Them, most of which centre on technical methods and engineering practice. Its authors include Shi Chuan, Li Zhong, Wang Xiaobo, David Patterson, Andrew Waterman, and Yu Zihao, among others from China and abroad. Owing to limited public information, no further publishing features are elaborated here.
Contents
- Chapter 1 Getting Started: Using Python for Penetration Testing, Preparing the Development Environment, Installing Third-Party Libraries
- Chapter 1 The Python Language: Variables, Strings, Lists, Dictionaries, Networking, Conditional Statements, Exceptions, Functions, Iteration, File I/O, sys and OS Modules
- Chapter 1 The First Programs: UNIX Password Cracker and Zip File Password Cracker
- Chapter 2 Penetration Testing with Python: Writing a Port Scanner (TCP Full-Connect Scan, Banner Grabbing, Threaded Scanning)
- Chapter 2 Using NMAP Port Scanning Code
- Chapter 2 Building an SSH Botnet with Python: Pexpect and SSH Interaction, Pxssh Brute Force, Exploiting Weak Private Keys
- Chapter 2 Mass-Harvesting “Bots” via FTP and the Web: Anonymous FTP Scanning, Ftplib Brute Force, Web Injection
- Chapter 2 Using Metasploit to Attack Windows SMB Services, Writing Scripts to Execute Processes Remotely
- Chapter 2 Writing Your Own 0day Proof-of-Concept Code: Stack-Based Buffer Overflow Attack
- Chapter 3 Forensic Investigation with Python (Introduction: Solving the BTK Murder Case Through Electronic Forensics)
- Subsequent Chapters: Network Traffic Analysis, Wireless Security, Website Information Gathering, Virus Antivirus Evasion and Chapter Summary, References
FAQ
这本书和《Violent Python》是什么关系?
书中的代码现在还能直接运行吗?
零基础能读吗?
书里讲的内容是否涉及违法?
Comments
Find this book
This site is an index: you start “Search all sources” in your browser, and the entries it lists all point to third-party sites; please judge their availability yourself.