当前位置:网站首页>A batch layout WAF script for extraordinary dishes
A batch layout WAF script for extraordinary dishes
2022-06-23 21:52:00 【vFREE】
CMS Content management system , It is a kind of website building system that exists in order to save website development time , After the completion of construction , Users only need to add, delete, modify and query articles in the background , Users and other functions
At first, the meaning of writing this script was because of the online AWD To arrange waf, But if you decorate one by one ,20 I don't know how much time it takes to decorate , Nor does it mean that the defense is only for arrangement waf That's all right. , therefore , A batch layout waf The script of was born , Remove the text description 40 Multiple lines
download
GitHub:https://github.com/vFREE-1/vfree
Gitee:https://gitee.com/WHOAME/vfree/tree/master
Usage method
The method of use is often humanized
python3 ZYGS--waf.py File path " Added content "
example
1. Create multiple php File experiment
The contents of the file at this time are just <?php eval($_POST[qweqweqweqweqweqwe]);?>
2. Look at the file path
Be careful : The file path should be followed by a slash , Otherwise, you will report a mistake , For example, use pwd The path found is /var/www/test, The real path should be Tian /var/www/test/, Slash , An error will be reported without a slash
3. Add file content
No matter what you add , All should be enclosed in double quotation marks , For example, I want to include a waf.php, So integrity is
python3 ZYGS--waf.py /var/www/test/ "include 'waf.php'"
that will do
Add it successfully , Echo content
Successful addition
notes : In the arrangement waf Before , You can make a backup of the file , If waf to down Words , Files can be recovered in time , In this way, it will not be because down The machine keeps losing points
other
Change location
You can go through the 40 The row changes where it is added
take 1 Change to other lines , Pay attention here ,1 The second line ,2 That's the third line ,3 The fourth line , And so on ...
appear TypeError
Like the following
Use python3 To run , The script is based on python3 Version written ,python2 Will run error
notes : Some pictures come from the Internet , If there is any infringement , Please contact to delete !!! thank you
边栏推荐
- Make it simple. This wave of global topology is quite acceptable!
- How to calculate individual income tax? You know what?
- Wechat smart operation 3.0+ Alipay digital transformation 3.0
- Meaning of the last seven digits of wider face
- Teach you to turn the web page into Exe file (super simple)
- [js] generate random array
- What hard disk does the ECS use? What are the functions of the ECS
- TDD development mode recommendation process
- Outlook开机自启+关闭时最小化
- Data visualization: summer without watermelon is not summer
猜你喜欢

Cloud native practice of meituan cluster scheduling system

Code implementation of CAD drawing online web measurement tool (measuring distance, area, angle, etc.)

Configuring error sets using MySQL for Ubuntu 20.04.4 LTS

《scikit-learn机器学习实战》简介

Embedded development: embedded foundation -- the difference between restart and reset

Outlook開機自啟+關閉時最小化

Outlook开机自启+关闭时最小化

智能座舱SoC竞争升级,国产7nm芯片迎来重要突破

数据可视化之:没有西瓜的夏天不叫夏天

HDLBits-&gt;Circuits-&gt;Arithmetic Circuitd-&gt;3-bit binary adder
随机推荐
Freshman girls' nonsense programming is popular! Those who understand programming are tied with Q after reading
Go language core 36 lectures (go language practice and application 27) -- learning notes
Go language limits the number of goroutines
What is the process of opening a mobile card account? Is online account opening safe?
SAP Migo mobile type 311 attempts to determine the batch, and the system reports an error -batch determination not Po
Supplement to fusionui form component
SAP retail transaction code mp38 can perform forecasts for multiple items
To develop AI face comparison, how to output multiple faces with comparative similarity?
Sending network request in wechat applet
Uncover the secrets of Huawei cloud enterprise redis issue 16: acid'true' transactions beyond open source redis
Dart series: look at me for security. The security feature in dart is null safety
ACL2022 | MVR:面向开放域检索的多视角文档表征
What hard disk does the ECS use? What are the functions of the ECS
KnowDA: All-in-One Knowledge Mixture Model for Data Augmentation in Few-Shot NLP(KnowDA:用于 Few-Shot NLP 中数据增强的多合一知识混合模型)
Find my information | Apple may launch the second generation airtag. Try the Lenz technology find my solution
ECS (no matter which one, as long as it is an ordinary ECS) uses the installed version of SketchUp to install an error
Redis encapsulation instance
Using barcode software to make certificates
Outlook开机自启+关闭时最小化
蓝牙芯片|瑞萨和TI推出新蓝牙芯片,试试伦茨科技ST17H65蓝牙BLE5.2芯片