摘要: AOP和拦截器 AOP和拦截器的总结(之前学过,重新巩固一下) AOP 1、简介:面向切面编程,一种编程范式,在不惊动原始设计的基础上为其进行功能增强 2、核心概念: 连接点 (JoinPoint) :你要执行的原始操作方法 切入点 (Pointcut):你要追加功能的原始操作方法 通知 (Advice):追加功能 阅读全文
posted @ 2023-01-12 22:28 Freshman0611 阅读(431) 评论(1) 推荐(1) 编辑
摘要: MyBatisPlus 导入坐标 SpringBoot并没有收录mybatisplus,所以需要自己导入坐标 <dependency> <groupId>com.baomidou</groupId> <artifactId>mybatis-plus-boot-starter</artifactId> 阅读全文
posted @ 2023-01-11 23:28 Freshman0611 阅读(16) 评论(0) 推荐(0) 编辑
摘要: Nginx 概述 1、介绍:Nginx是一款轻量级的web服务器/反向代理服务器及电子邮件(IMAP/POP3)代理服务器。其特点是占有内存少,并发能力强。 官网:https://nginx.org/ 2、下载与安装 安装依赖包 yum -y install gcc pcre-devel zlib- 阅读全文
posted @ 2023-01-10 15:59 Freshman0611 阅读(20) 评论(0) 推荐(0) 编辑
摘要: Spring Cache 1、Spring Cache 介绍 Spring Cache 是一个框架,实现了基于注解的缓存功能,只需要简单的加一个注解,就能实现缓存功能。 Spring Cache 提供一层抽象,底层可以切换不同的cache实现。具体就是通过CacheManager 接口来统一不同的缓 阅读全文
posted @ 2023-01-08 17:50 Freshman0611 阅读(23) 评论(0) 推荐(0) 编辑
摘要: MYSQL在Linux的安装 Centos7 centos默认带有mariadb,与mysql冲突 1、检测当前系统中是否安装MySQL rpm -qa | grep mysql 2、卸载已经安装的冲突软件 rpm -e --nodeps mysql-community-common-5.7.25- 阅读全文
posted @ 2023-01-08 00:24 Freshman0611 阅读(89) 评论(0) 推荐(0) 编辑
摘要: 网络编程 CS架构和BS架构 网络通信 物理连接介质 osi七层模型 物理层==>数据链路层==>网络层==>传输层==>会话层==>表示层==>应用层 物理层 : 信号转换问题 0101 ==》电信号 ( 光信号) 数据链路层 : mac地址 (全世界唯一) 身份证号 发给谁问题 网络层 : IP 阅读全文
posted @ 2023-01-07 18:23 Freshman0611 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Redis 安装 1、Redis官网下载 2、tar zxvf redis目录 -C /usr/local 3、安装gcc yum install gcc-c++ 4、编译 (在/usr/local/redis目录) make 5、执行(进入 src目录) make install 6、编辑 red 阅读全文
posted @ 2023-01-07 17:46 Freshman0611 阅读(28) 评论(0) 推荐(0) 编辑
摘要: <?php if ($_SERVER['HTTP_X_FORWARDED_FOR'] '127.0.0.1') { if ($_SERVER['HTTP_REFERER'] 'www.s3Chen.com') { if ($_SERVER['HTTP_USER_AGENT'] 'FXC') { $f 阅读全文
posted @ 2022-09-01 14:03 Freshman0611 阅读(19) 评论(0) 推荐(0) 编辑
摘要: web89 include("flag.php"); highlight_file(__FILE__); if(isset($_GET['num'])){ $num = $_GET['num']; if(preg_match("/[0-9]/", $num)){ die("no no no!"); 阅读全文
posted @ 2022-08-19 16:43 Freshman0611 阅读(23) 评论(0) 推荐(0) 编辑
摘要: web78 if(isset($_GET['file'])){ $file = $_GET['file']; include($file); }else{ highlight_file(__FILE__); } payload: ?file=php://filter/convert.base64-e 阅读全文
posted @ 2022-08-12 15:33 Freshman0611 阅读(118) 评论(0) 推荐(0) 编辑