当前位置:网站首页>Kali2021.4a build PWN environment
Kali2021.4a build PWN environment
2022-07-03 21:52:00 【LY613313】
Recently, the computer reinstalled the system ( Make complaints about it ,win11 It's really hard to say ), By the way, I installed the latest version in the virtual machine KaliLinux, By the way, build it PWN Environmental Science . In general, this construction PWN The environmental problem is not serious , Follow the previous installation steps , The whole process is quite “ propitious ”( For the first time PWN The environment was almost angry , Can't , Food )
First step
Create a... In the home directory tools Catalog , Used to store downloaded files , The order is as follows
mkdir tools

The second step
install pwntools
1. Get into tools In the folder , The order is as follows :
cd tools

2. hold pwntools git Come down , The order is as follows :
git clone https://github.com/Gallopsled/pwntools.git

3. Environment required for installation , The order is as follows :
sudo apt-get install python3 python3-pip python3-dev git libssl-dev libffi-dev build-essential

4. Update pip , The order is as follows :
python3 -m pip install --upgrade pip

5. Use pip Install and update pwntools, The order is as follows :
python3 -m pip install --upgrade pwntools

The environment here can be regarded as built , The next step is to build gdb Debug environment ,
1. install gdb-multiarch, Used as a gdb Client debugging , It is a general client of any architecture , The order is as follows :
sudo apt-get install gdb-multiarch

The command to check the successful installation is as follows :
gdb -v

2. Installing a plug-in , Easy to use
pwndbg It's a GDB plug-in unit , send GDB The debugging of is not so bad , Convenient for beginners , The installation process is as follows :
First the pwndbg git Come down , The order is as follows
git clone https://github.com/pwndbg/pwndbg.git

Then go into the folder , perform setup.sh file , The order is as follows :
cd ~/tools/pwndbg
./setup.sh

Check whether the plug-in is successfully mounted , Input... At the terminal gdb, give the result as follows :
Other plug-ins peda,gef install
First git Come down
git clone https://github.com/longld/peda.git

git clone https://github.com/hugsy/gef.git

Installation of plug-ins depends on , The order is as follows :
sudo pip install keystone-engine ropper keystone-engine

stay gdbinti Mount plug-ins in :
Enter the following command at the terminal :
sudo vim ~/.gdbinit

Press i Key to edit , Enter the following from the second line :
#source /home/kali/tools/peda/peda.py
#source /home/kali/tools/gef/gef.py

Select one of the plug-ins , Note out the rest , Press esc Key and enter :wq Exit can .
That's all PWN The process of setting up the environment . Because I have a chicken , If there's anything wrong , It's normal . Please correct me , thank you !
边栏推荐
- MySQL——数据库备份
- MySQL - index
- The 14th five year plan for the construction of Chinese Enterprise Universities and the feasibility study report on investment Ⓓ 2022 ~ 2028
- Single page application architecture
- 国泰君安证券开户是安全可靠的么?怎么开国泰君安证券账户
- What if the Flink SQL client exits and the table is emptied?
- Supply and demand situation and market scale calculation report of China's portable energy storage power PES industry Ⓛ 2022 ~ 2028
- 常用sql集合
- 2022-02-15 Daily: 2022 AAAI fellow release
- 使用dnSpy对无源码EXE或DLL进行反编译并且修改
猜你喜欢
![Capture de paquets et tri du contenu externe - - autoresponder, composer, statistiques [3]](/img/bf/ac3ba04c48e80b2d4f9c13894a4984.png)
Capture de paquets et tri du contenu externe - - autoresponder, composer, statistiques [3]

treevalue——Master Nested Data Like Tensor

Redis concludes that the second pipeline publishes / subscribes to bloom filter redis as a database and caches RDB AOF redis configuration files

Mysql database ----- common commands of database (based on database)

Station B, dark horse programmer, employee management system, access conflict related (there is an unhandled exception at 0x00007ff633a4c54d (in employee management system.Exe): 0xc0000005: read locat

Software testing skills, JMeter stress testing tutorial, obtaining post request data in x-www-form-urlencoded format (24)

使用dnSpy對無源碼EXE或DLL進行反編譯並且修改

Single page application architecture

How PHP adds two numbers

gslb(global server load balance)技術的一點理解
随机推荐
Is it OK for fresh students to change careers to do software testing? The senior answered with his own experience
gslb(global server load balance)技術的一點理解
Advanced technology management - how to examine candidates in the interview and increase the entry probability
2022-2-14 acwing1027 grid access
常用sql集合
MySQL——idea连接MySQL
Luogu deep foundation part 1 Introduction to language Chapter 6 string and file operation
DR-NAS26-Qualcomm-Atheros-AR9582-2T-2R-MIMO-802.11-N-5GHz-high-power-Mini-PCIe-Wi-Fi-Module
Global and Chinese market of telematics boxes 2022-2028: Research Report on technology, participants, trends, market size and share
regular expression
Goodbye 2021, how do programmers go to the top of the disdain chain?
MySQL——规范数据库设计
Tkinter Huarong Road 4x4 tutorial III
Investment planning analysis and prospect prediction report of China's satellite application industry during the 14th five year plan Ⓑ 2022 ~ 2028
Miscellaneous things that don't miss the right business
The 14th five year plan for the construction of Chinese Enterprise Universities and the feasibility study report on investment Ⓓ 2022 ~ 2028
Getting started with DOM
使用dnSpy對無源碼EXE或DLL進行反編譯並且修改
Development mode and Prospect of China's IT training industry strategic planning trend report Ⓣ 2022 ~ 2028
English topic assignment (28)