当前位置:网站首页>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 !
边栏推荐
- Collection | pytoch common loss function disassembly
- Day 9 HomeWrok-ClassHierarchyAnalysis
- Cognitive fallacy: Wittgenstein's ruler
- Common SQL sets
- Baohong industry | good habits that Internet finance needs to develop
- 90 后,辞职创业,说要卷死云数据库
- What is the content of the securities practice examination?
- The White House held an open source security summit, attended by many technology giants
- MySQL——idea连接MySQL
- 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)技術的一點理解

仿网易云音乐小程序

Goodbye 2021, how do programmers go to the top of the disdain chain?

Advanced technology management - how to examine candidates in the interview and increase the entry probability

Selenium has three waiting methods (forced waiting, implicit waiting, and display waiting)

Imitation Netease cloud music applet

MySQL - idea connects to MySQL

MySQL——数据库备份
![Capturing and sorting out external articles -- autoresponder, composer, statistics [III]](/img/bf/ac3ba04c48e80b2d4f9c13894a4984.png)
Capturing and sorting out external articles -- autoresponder, composer, statistics [III]
![[secretly kill little buddy pytorch20 days -day02- example of image data modeling process]](/img/14/8ab1f1fb142e10dead124851180d03.jpg)
[secretly kill little buddy pytorch20 days -day02- example of image data modeling process]
随机推荐
Is it OK for fresh students to change careers to do software testing? The senior answered with his own experience
请教大家一个问题,用人用过flink sql的异步io关联MySQL中的维表吗?我按照官网设置了各种
Investment analysis and prospect trend prediction report of China's boron nitride industry Ⓨ 2022 ~ 2028
Global and Chinese market of AC induction motors 2022-2028: Research Report on technology, participants, trends, market size and share
Go language slice interview real question 7 consecutive questions
MySQL——规范数据库设计
China HDI market production and marketing demand and investment forecast analysis report Ⓢ 2022 ~ 2028
regular expression
Is the account opening of Guotai Junan Securities safe and reliable? How to open Guotai Junan Securities Account
The post-90s resigned and started a business, saying they would kill cloud database
Asynchronous artifact: implementation principle and usage scenario of completable future
Decompile and modify the non source exe or DLL with dnspy
js demo 計算本年度還剩下多少天
A little understanding of GSLB (global server load balance) technology
JS demo calculate how many days are left in this year
Cognitive fallacy: what is dimensional curse
Exclusive interview with the person in charge of openkruise: to what extent has cloud native application automation developed now?
MySQL——索引
MySQL - index
QFileDialog