-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit f4f3ec2
Showing
2 changed files
with
56 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# Pwn Tutorial | ||
|
||
## 写在前面 | ||
|
||
这是一个给大一大二 `ucaser` 写的pwn入门教程。 | ||
|
||
|
||
在阅读本篇教程前,建议掌握以下**预备知识**: | ||
|
||
- 虚拟机的使用 | ||
- c/c++ 基本语法 | ||
- python 基本语法 | ||
- linux 基本命令 | ||
|
||
## 基本介绍 | ||
|
||
`pwn` (据说)是黑客俚语,意指通过计算机漏洞获得对计算机系统的控制权,从而可以对计算机系统进行各种破坏、修改、控制。 | ||
|
||
在本教程中,你将会学到: | ||
|
||
- 汇编语言基础 | ||
- 逆向分析 | ||
- gdb调试工具的使用 | ||
- 待补充... | ||
|
||
## 目录 | ||
|
||
- 环境搭建 | ||
- **YOUR FIRST PWN !** | ||
- 进程?内存?elf文件结构? | ||
- 栈布局及栈溢出 | ||
- ida的使用与汇编语言初探 | ||
- 让程序动起来——gdb调试 | ||
- 几种常见漏洞 | ||
- ROP攻击 | ||
- shellcode编写 | ||
- 恭喜你,pwn进度从 0% 到 0.0001%! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# 环境搭建 | ||
|
||
## ida | ||
|
||
下载并安装 `ida pro 8.3` | ||
|
||
## 虚拟机 | ||
|
||
可以使用`VMware WorkStation`, `VirtualBox` 或者 `wsl` 来创建虚拟机。有一定基础的同学更推荐使用 `wsl` 来进行环境搭建。 | ||
|
||
镜像建议安装 `kali linux` 或者 `ubuntu` 。 | ||
|
||
## gdb | ||
|
||
推荐使用插件 `pwndbg` | ||
|
||
## pwntools | ||
|
||
|