Share E-Book
Scan to open this page

Scan with your phone to open this page

Author: OccupyTheWeb

Rating No ratings yet

针对初级黑客和渗透测试人员的 Linux作系统的修订简介。如果您刚刚开始探索黑客攻击、网络安全和渗透测试的激动人心的道路,那么 Linux Basics for Hackers 是一个很好的介绍。使用 Kali Linux(一种专为数字取证和渗透测试而设计的作系统),您将学习使用 Linux 的基础知识,并获得控制 Linux 环境所需的工具和技术。首先,您将学习如何在虚拟机上安装 Kali,并了解基本的 Linux 概念。接下来,您将处理更广泛的 Linux 主题,例如作文本、控制文件和目录权限以及管理用户环境变量。然后,您将专注于安全性和匿名等基本黑客概念,并学习 bash 和 Python 的脚本编写技能。贯穿始终的实用教程和练习将加强和测试您的技能,因为您学习如何: 通过更改您的网络信息和作 journalctl 日志记录实用程序来掩盖您的踪迹 编写一个工具来扫描网络连接,并连接和监听无线网络 使用 Tor、代理服务器、VPN 和加密电子邮件保持您的互联网活动隐蔽 编写一个 bash 脚本以查找一系列 IP 地址上的潜在攻击目标 使用 和滥用 MySQL、Apache Web 服务器和 OpenSSH 等服务 构建您自己的黑客工具,例如远程间谍相机和密码破解程序 此版本的新增功能:第二版已更新,以解决 Kali 和 Linux 的最新更改,包括更安全的 root 权限方法、蓝牙和 Linux 日志记录功能的更新, 以及关于网络安全中 AI 的建议的新章节。黑客攻击很复杂,没有单一的方法可以进入。为什么不从 Linux Basics for Hackers 开始呢?

AI Reading Assistant

Whole-book reading guide from stratified index samples; jump to passages in the text

AI guide
【One-Line Pitch】 A hands-on, beginner-friendly guide that teaches you the Linux skills every aspiring hacker and penetration tester needs, using Kali Linux as the training ground. If you're new to cybersecurity and want a practical foundation before diving into offensive tooling, start here. 【Book Arc】 - **Opening (~0%–12%)**: Sets up your lab environment—installing Kali on a virtual machine and orienting you to the terminal, the filesystem, and basic command-line navigation. Solves the "where do I even begin" problem for Linux newcomers. - **Early (~12%–31%)**: Builds core Linux literacy: finding files and binaries, reading and manipulating text, adding/removing software with apt, and controlling file/directory permissions and ownership. This is the operational vocabulary you'll use constantly. - **Middle (~31%–54%)**: Moves into system control—managing processes and services, configuring environment variables and the shell prompt, writing your first bash scripts (including a port scanner), and handling filesystem tasks like compression and mounting. Transitions you from user to operator. - **Late (~54%–80%)**: Shifts toward hacking-specific skills: analyzing and managing networks, manipulating DNS, covering your tracks via the logging system (journalctl), and using/abusing core services like Apache, OpenSSH, and MySQL/MariaDB. - **Ending (~80%–100%)**: Extends into scripting with Python—building TCP clients and listeners, working with dictionaries and loops, and writing password crackers—plus a new chapter on AI in cybersecurity, covering social engineering and AI-assisted scripting. 【Key Takeaways】 - **Kali Linux is the vehicle, Linux fundamentals are the destination** (Opening): The book uses Kali because it's purpose-built for pentesting, but the skills transfer to any Linux distribution. (Early) - **Permissions and ownership are the backbone of Linux security** (Early): Understanding chmod, chown, chgrp, and SUID bits isn't just administration—it's reconnaissance. Finding SUID binaries is a classic privilege-escalation technique. (Early) - **Bash scripting turns repetitive tasks into reusable tools** (Middle): You build a working port scanner from scratch, then refine it to accept user input for IP ranges and ports—demonstrating how automation scales your reach. (Middle) - **Covering your tracks is as important as gaining access** (Late): The logging chapter teaches you to read journalctl to understand a target's activity and to alter your network information to obscure your own. (Late) - **Services are attack surface** (Late): Apache, OpenSSH, and MySQL/MariaDB are covered not just as tools to use but as services to abuse—a dual-use perspective essential for pentesting. (Late) - **Python extends what bash starts** (Ending): Moving from bash to Python unlocks network communication, exception handling, and more sophisticated tooling like password crackers. (Ending) - **AI is now part of the hacker's toolkit** (Ending): The new chapter addresses using AI for social engineering and script generation—signaling that modern offensive security includes AI literacy. (Ending) - **Stealth and anonymity are learned skills** (Late): Tor, proxies, VPNs, and encrypted email are presented as practical techniques, not abstract concepts. (Late) 【Reading Tips】 - **Deep-read the permissions and scripting chapters** (Early–Middle): These are the highest-leverage skills. If you skim chmod/chown or the bash scripting walkthrough, later chapters will feel like magic tricks you can't reproduce. - **Do the exercises, don't just read them**: The book is built around tutorials and exercises. The port scanner and password cracker only make sense if you type them out and break them. - **Skim the installation chapter if you already have Kali running**: The VM setup is necessary for true beginners but can be skipped if your environment is ready. - **Treat the services chapter as a reference**: Apache, OpenSSH, and MySQL configuration details are worth bookmarking rather than memorizing in one pass. - **Note the shell switch**: Kali now defaults to zsh, but the book teaches bash. Use kali-tweaks to switch if you want to follow along exactly. 【Coverage Limits】 The excerpts cover the book's structure and major topics but do not include detailed content from every chapter—particularly the Python scripting and AI chapters are represented only by their outlines and brief descriptions. Specific code examples and exercise solutions are not fully reproduced here.
Page 18
ing for a Package 2. Adding Software 3. Removing Software 4. Updating Packages 5. Upgrading Packages 2. Adding Repositories to Your sources.list File 3. Usin...
View in text
Excerpt 2
ds for displaying just part of a file’s content in order to more easily view the key content. Finding the Head This file contains common passwords used in Un...
View in text
Excerpt 3
The pentesters in this example are the root group, meaning they have all permissions and access. The root group needs access to the give both the owner and t...
View in text
Excerpt 4
etwork. This script would be much easier to use if it could prompt the user for the range of IP addresses they wanted to scan and the port to look for, and t...
View in text
Excerpt 5
and each table has values in one or more columns and rows. There are several implementations of SQL, each with its own commands and syntax, but here are a fe...
View in text
Excerpt 6
nmcli or iwlist? 5. Connect to your Wi-Fi AP using nmcli. 6. Bring up your Bluetooth adapter with hciconfig and scan for nearby discoverable Bluetooth device...
View in text
Excerpt 7
er, we will use two very useful modules: socket and ftplib. Object-Oriented Programming (OOP) Before we delve deeper into Python, it’s probably worth taking...
View in text
Excerpt 8
vs., 82 variables defined, 71 viewing, 74 shift command, 92 shred command, 118–119 shredding logs, 118–119 viewing interfaces and statistics, 153 Wi-Fi Prote...
View in text
Tags
AI categories
CybersecurityLinuxProgramming Language
ISBN: 1718503555
Publisher: No Starch Press
Publish Year: 2025
Language: English
Pages: 493
File Format: PDF
File Size: 11.4 MB
Text Preview (First 20 pages)
Registered users can read the full content for free

Register as a Gaohf Library member to read the complete e-book online for free and enjoy a better reading experience.

Generating text preview…