这里就总结一下,自己没有做出来的原因:没队友交流、时间紧 Web2 比赛时抓包看cookie里面有jwt,就去google发现是jwt伪造,原题也看到了,只要能伪造好jwt,就能直接登录无需密码 卡题原因:不知道jwt的密钥,现学现卖不是强项 说实话,也没有想到要用到解密工具,因为既然不知道admi ...
分类:
Web程序 时间:
2020-06-01 13:31:27
阅读次数:
121
三种类型的继承,父类的成员均被子类继承(之前的百科关于这点的描述是错误的),只是由类实例化的对象对其继承的成员的访问权限会有所变化。三种不同方式的继承,描述的是子类实例化对象对其成员的访问权限,并非是描述子类时,子类对继承自父类的成员的访问权限。 公有继承 继承自父类的成员保持不变。 私有继承 继承 ...
分类:
其他好文 时间:
2020-06-01 10:33:33
阅读次数:
56
一、 (1)类的UML标识符:? private : - ? public : + ? protected: # (2)属性: 可见性 名称:类型 [ = 默认值 ] eg: ? - userName:String = Sam ? - age:int = 18 (3)方法: 可见性 名称(参数列表) ...
分类:
其他好文 时间:
2020-05-31 20:13:52
阅读次数:
114
@WebServlet("/accessTimeServlet") public class AccessTimeServlet extends HttpServlet { protected void doPost(HttpServletRequest request, HttpServletRe ...
分类:
编程语言 时间:
2020-05-31 13:16:53
阅读次数:
81
一、关键字 1、访问控制修饰符 关键字 说明 访问权限 private 私有 本类 default 默认 本类、同包 protected 受保护 本类、同包、子类 public 共有 本类、同包、子类、其他 2、非访问控制符 ...
分类:
编程语言 时间:
2020-05-30 22:04:54
阅读次数:
87
给出下面的一个基类框架: class Point_1D { protected: float x;//1D 点的x坐标 public: Point_1D(float p = 0.0); float distance(const Point_1D & p2); } 以Point_1D为基类建立一个派生 ...
分类:
编程语言 时间:
2020-05-30 22:01:17
阅读次数:
84
给出下面的一个基类框架: class Point_1D { protected: float x;//1D 点的x坐标 public: Point_1D(float p = 0.0); float distance( );//计算当前点到原点的距离 } 以Point_1D为基类建立一个派生类Poin ...
分类:
编程语言 时间:
2020-05-30 21:52:23
阅读次数:
175
1.挂载ISO文件至服务器1)将镜像文件加载至虚拟机或插入光驱2)在服务器挂载ISO文件将光驱中的镜像文件挂载到/mntroot@localhostmnt]#mount/dev/cdrom/mnt/cdrommount:/dev/sr0iswrite-protected,mountingread-only2.编辑local.repo文件1)备份/etc/yum.repos.d/的yum文件[roo
分类:
其他好文 时间:
2020-05-30 21:29:59
阅读次数:
73
for(var index=1;index<7;index++){ $scope["model_"+index] = index } //效果 = $scope.model_1 = 1 $scope.model_2 = 2 $scope.model_3 = 3 $scope.model_4 = 4 ...
分类:
Web程序 时间:
2020-05-30 15:40:08
阅读次数:
97
1 unit MainFM; 2 3 interface 4 5 uses 6 Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, 7 Vcl.Control ...