当前位置:网站首页>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 !
边栏推荐
- Goodbye 2021, how do programmers go to the top of the disdain chain?
- Experience summary of database storage selection
- MySQL——JDBC
- Service discovery and load balancing mechanism -service
- Idea shortcut word operation
- How PHP adds two numbers
- Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
- TiDB 之 TiCDC6.0 初体验
- Market layout planning and latest dynamic analysis report of China's smart public security industry Ⓕ 2022 ~ 2028
- Borui data and Sina Finance released the 2021 credit card industry development report
猜你喜欢
UI automation test: selenium+po mode +pytest+allure integration
Dahua series books
Software testing skills, JMeter stress testing tutorial, obtaining post request data in x-www-form-urlencoded format (24)
Introduction to kubernetes
Imitation Netease cloud music applet
[vulnhub shooting range] impulse: lupinone
MySQL - index
90 后,辞职创业,说要卷死云数据库
Baohong industry | good habits that Internet finance needs to develop
Compilation Principle -- syntax analysis
随机推荐
MySQL - database backup
油猴插件
Luogu deep foundation part 1 Introduction to language Chapter 6 string and file operation
DR-AP40X9-A-Qualcomm-IPQ-4019-IPQ-4029-5G-4G-LTE-aluminum-body-dual-band-wifi-router-2.4GHZ-5GHz-QSD
Global and Chinese market of wireless hard disk 2022-2028: Research Report on technology, participants, trends, market size and share
Global and Chinese market of recycled yarn 2022-2028: Research Report on technology, participants, trends, market size and share
MySQL——JDBC
2022-02-15 Daily: 2022 AAAI fellow release
Redis concludes that the second pipeline publishes / subscribes to bloom filter redis as a database and caches RDB AOF redis configuration files
Cognitive fallacy: Wittgenstein's ruler
How to install sentinel console
大神们,我想发两个广播流1 从mysql加载基础数据,广播出去2 从kafka加载基础数据的变更
Farmersworld farmers world, no faith, how to talk about success?
Getting started with DOM
treevalue——Master Nested Data Like Tensor
Global and Chinese market of gallic acid 2022-2028: Research Report on technology, participants, trends, market size and share
What if the Flink SQL client exits and the table is emptied?
Cognitive fallacy: what is dimensional curse
Solve the problem that openocd fails to burn STM32 and cannot connect through SWD
Remember the experience of automatically jumping to spinach station when the home page was tampered with