初识thymeleaf
模板引擎,原来用jsp现在使用thymeleaf
01 导入依赖
使用thyme leaf需要先导入依赖https://docs.spring.io/spring-boot/docs/2.1.6.RELEASE/reference/htmlsingle/#using-boot-starterhttps://www.thymeleaf.org/https://github.com/thymeleaf/thymeleaf在SpringBoot中找到和thyme leaf相关的依赖https://github.com/spring-projects/spring-boot/tree/v2.1.6.RELEASE/spring-boot-project/spring-boot-starters/spring-boot-starter-thymeleaf/pom.xml
12345678<dependency> <groupId>org.thymeleaf</groupId> <artifactId>thymeleaf-spring5< ...
【WP】dasctf_sum 2024
web
Sanic’s revenge | SOLVED| working: symv1a题目描述:Sanic???Sanic’s revenge!!!
题目附件:app.py
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051from sanic import Sanicimport osfrom sanic.response import text, htmlimport sysimport randomimport pydash# pydash==5.1.2# 这里的源码好像被admin删掉了一些,听他说里面藏有大秘密class Pollute: def __init__(self): passapp = Sanic(__name__)app.static("/static/", "./static/")@app.route("/*****secret********" ...