当前位置:网站首页>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
边栏推荐
- Prometheus primary body test
- How to do API gateway routing? What are the other functions of API gateway?
- Real time crawler launches a number of special new products
- Warpspeed 2021 DFINITY × IAF hacker song demo day ends, and 10 teams win awards
- Surprise! Edge computing will replace cloud computing??
- Intel openvino tool suite advanced course & experiment operation record and learning summary
- Detailed explanation of logical structure, physical structure and data operation
- How does the hybrid cloud realize the IP sec VPN cloud networking dedicated line to realize the interworking between the active and standby intranet?
- How to calculate individual income tax? You know what?
- Embedded development: embedded foundation -- the difference between restart and reset
猜你喜欢

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

Installation and use of Minio

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

嵌入式开发:嵌入式基础——重启和重置的区别

Error running PyUIC: Cannot start process, the working directory ‘-m PyQt5. uic. pyuic register. ui -o

大一女生废话编程爆火!懂不懂编程的看完都拴Q了

Minimize outlook startup + shutdown

Find my information | Apple may launch the second generation airtag. Try the Lenz technology find my solution

Experiment 5 module, package and Library

Selenium批量查询运动员技术等级
随机推荐
Common commands for cleaning up kubernetes cluster resources
[js] 生成随机数组
HDLBits-&gt; Circuits-&gt; Arithmetic Circuitd-&gt; 3-bit binary adder
HR SaaS is finally on the rise
KnowDA: All-in-One Knowledge Mixture Model for Data Augmentation in Few-Shot NLP(KnowDA:用于 Few-Shot NLP 中数据增强的多合一知识混合模型)
What is the process of opening a mobile card account? Is online account opening safe?
How many of the five app automated test AIDS have you used?
Analysis of visual analysis technology
Analysis of Alibaba cloud Tianchi competition -- prediction of o2o coupon
Who do you want to open a stock account? Is it safe to open an account online?
SAP Migo mobile type 311 attempts to determine the batch, and the system reports an error -batch determination not Po
北大、加州伯克利大学等联合| Domain-Adaptive Text Classification with Structured Knowledge from Unlabeled Data(基于未标记数据的结构化知识的领域自适应文本分类)
手机卡开户的流程是什么?在线开户安全么?
Experiment 5 module, package and Library
How to calculate individual income tax? You know what?
What can RFID fixed assets management system bring to enterprises?
Question: how to understand the network protocol and why the OSI reference model is divided into seven layers
Markdown syntax summary
Minimize outlook startup + shutdown
How does the video platform deployment give corresponding user permissions to the software package files?