一、复习的Java知识有哪些 构造方法是类里的一个特殊的方法,他不能有返回值(包括void)。 所谓构造方法,就是这个类在被实例化时(创建对象时)就要执行的方法。(构造函数的名字和类的名字一模一样) 看到了一个干净的例子引用如下 重载是指不同的函数使用相同的函数名,但是函数的参数个数或类型不同。调用 ...
分类:
其他好文 时间:
2020-02-23 20:18:36
阅读次数:
83
1.修改apache2的配置文件 /etc/apache2/apache2.conf 修改根目录和AllowOverride权限 <Directory /home/ubuntu/thinkphp/tp6/think/public/> Options Indexes FollowSymLinks Al ...
分类:
Web程序 时间:
2020-02-23 10:02:05
阅读次数:
191
Thinkphp 安装 topthink/think-captcha 验证码类库后,就可以使用 {:captcha_img()} 显示验证码了, 具体官网的教程请查看如下链接: https://www.kancloud.cn/manual/thinkphp5/154295 但是有很多人第一次操作都会 ...
分类:
Web程序 时间:
2020-02-21 23:52:14
阅读次数:
190
Continue with previous post: https://www.cnblogs.com/Answer1215/p/12342540.html Now we need to think about functionExpression and ArrowFunction: funct ...
分类:
其他好文 时间:
2020-02-21 20:14:19
阅读次数:
73
1.第一步需要到github上下载Auth类放入 extend/auth/Auth.php https://github.com/5ini99/think-auth 2.第二步,添加固定的三个数据表。 -- think_auth_rule,规则表, -- id:主键,name:规则唯一标识, tit ...
分类:
Web程序 时间:
2020-02-19 18:44:17
阅读次数:
79
Given two strings a and b we define a*b to be their concatenation. For example, if a = "abc" and b = "def" then a*b = "abcdef". If we think of concate ...
分类:
编程语言 时间:
2020-02-18 16:33:41
阅读次数:
88
先上图片看看基本的文件位置 1.首先在application\route.php中定义路由 <?php use think\Route; Route::get("home","index/Home/home"); 2.然后在application/index/controller/Home.php定 ...
分类:
Web程序 时间:
2020-02-17 19:32:02
阅读次数:
151
<?php namespace app\api\controller; use think\Db; use think\Request; use think\Controller; /** * 阿里云短信验证码发送类 * @author Administrator * */ class Smscod ...
分类:
其他好文 时间:
2020-02-15 13:28:14
阅读次数:
61
前言 使用Exp生成器生成Ladon插件实战,ThinkPHP GetShell 漏洞环境 使用docker ThinkPHP 5.0.20 复现测试 Payload: http://192.168.1.37:8080/index.php?s=/Index/\think\app/invokefunc ...
分类:
Web程序 时间:
2020-02-14 16:22:50
阅读次数:
108
一、Serv-u安全性测试(ftp) Serv-u漏洞概述(3和4常用) 二、FlashFXP安全性测试(ftp) 三、Gene6 FTP安全性测试 四、PcanyWhere安全性测试(远程控制) 五、VNC安全性测试(远程控制) 六、Radmin安全性测试(远程控制) 七、Zend安全性测试(ID ...
分类:
其他好文 时间:
2020-02-14 12:55:21
阅读次数:
98