当前位置:网站首页>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
边栏推荐
- Configuring error sets using MySQL for Ubuntu 20.04.4 LTS
- Take you through the distributed file system
- The 11th Blue Bridge Cup
- [proteus simulation] lcd1602+ds1307 key setting simple clock
- 大一女生废话编程爆火!懂不懂编程的看完都拴Q了
- How to write test cases efficiently?
- What can RFID fixed assets management system bring to enterprises?
- 实验五 模块、包和库
- 蓝牙芯片|瑞萨和TI推出新蓝牙芯片,试试伦茨科技ST17H65蓝牙BLE5.2芯片
- Markdown syntax summary
猜你喜欢

Polar cycle graph and polar fan graph of high order histogram

Simple code and design concept of "back to top"

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

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

实验五 模块、包和库

Sending network request in wechat applet

Minimisé lorsque Outlook est allumé + éteint

Experiment 5 module, package and Library

Introduction to scikit learn machine learning practice

Analysis of Alibaba cloud Tianchi competition -- prediction of o2o coupon
随机推荐
How does the API gateway intercept requests? How does the security of the API gateway reflect?
Completely open source and permanently free, this markdown editor is really fragrant!
Gin security -2: fast implementation of server-side JWT verification
Simple code and design concept of "back to top"
How to batch generate UPC-A codes
High quality "climbing hand" of course, you have to climb a "high quality" wallpaper
How to expand the capacity of ECS disk? What are the advantages of using cloud disk
How to solve the loss of video source during easynvr split screen switching?
ACL2022 | MVR:面向开放域检索的多视角文档表征
The printed picture is dark. It will make you clear in seconds
How to deal with high memory in API gateway how to maintain API gateway
Selenium批量查询运动员技术等级
How does the video platform deployment give corresponding user permissions to the software package files?
Unusual transaction code mebv of SAP mm preliminary level
[same origin policy - cross domain issues]
Redis encapsulation instance
Does FTP meet managed file transfer (MFT) requirements?
Improve efficiency, take you to batch generate 100 ID photos with QR code
What hard disk does the ECS use? What are the functions of the ECS
Introduction to scikit learn machine learning practice