You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deployment precautions:
Before starting the project, it is necessary to open
src/main/java/com/site/blog/my/core/config/Constants.java
Change the file line upload path to your own absolute path D:\XXX\My-Blog-master\src\main\resources\static\upload\
Code Audit:
In src/main/java/com/site/blog/my/core/controller/admin/BlogController.java, the uploadFileByEditomd method does not restrict the uploaded files
Vulnerability exploitation:
upload pictures
Corresponding data packet:
Source code name:My-Blog
Source code version:1.0
Source code download link:https://github.com/ZHENFENG13/My-Blog/archive/refs/heads/master.zip
Deployment precautions:
Before starting the project, it is necessary to open
src/main/java/com/site/blog/my/core/config/Constants.java
Change the file line upload path to your own absolute path
D:\XXX\My-Blog-master\src\main\resources\static\upload\
Code Audit:
In src/main/java/com/site/blog/my/core/controller/admin/BlogController.java, the uploadFileByEditomd method does not restrict the uploaded files
Vulnerability exploitation:
upload pictures
Corresponding data packet:
Can upload JSP Trojan horse
You can also upload HTML
The text was updated successfully, but these errors were encountered: