• 2024-06-30thinkphp3.2.x漏洞分析
    tp3.2.31.开始入口文件就是www/index.php,index.php包含了框架的入口文件,所以访问后可以直接加载thinkphp框架配置文件thinkphp的配置文件在www/ThinkPHP/Conf/convention.phpurl大小写url默认是大小写敏感的,也可以通过修改convertion.php,达到url不区分大小写的目的'URL_C
  • 2024-06-30tp5(finish)
    tp51.tp5.0开始结构wwwWEB部署目录(或者子目录)├─application应用目录│├─common公共模块目录(可以更改)│├─module_name模块目录(Home:前台模块;Admin:后台模块)││├─config.php模块配置文件││├─common.php
  • 2024-06-03Exercise 10
    Exercise10Exercise10VRhasthis1uniqueabilitytoreallytakeyouthereandthat'ssortofsomethingI'vebeentryingtodointraditionalstillimagesand2documentaryfilm.虚拟现实(VR)有能让你真正身临其境的独特能力我一直试图在传统的静态影像和纪录片
  • 2024-04-20Thinkphp5.x全漏洞复现分析
    基础知识命名空间和子命名空间我们可以把namespace理解为一个单独的空间,事实上它也就是一个空间而已,子命名空间那就是空间里再划分几个小空间,举个例子:<?phpnamespaceanimal\cat;classcat{publicfunction__construct(){echo"meow"."\n";}}namespacean
  • 2024-03-24NKCTF2024-WEB-gxngxngxn
    WEBmyfirstcmscmsmadesimple2.2.19参考:GitHub-capture0x/CMSMadeSimple后台有个rce漏洞访问/admin路由直接爆破弱口令得到admin/Admin123然后访问admin/editusertag.php修改为:<?phpechosystem('cat/_fffff1@g');?>得到flag用过就是熟悉拿到源码进行审
  • 2024-03-24Reflective Journal
    Ithinkwhatimpressedmethemostaboutthisstudyexperienceisitsdefinition.Byusingvariousmodesofmultimodality,suchastext,image,audioandvideo,DigitalMultimodelNarrativesofferarichandinteractivelearningexperienceforme.I'v
  • 2024-03-23中考英语首字母快速突破014-2021上海徐汇英语二模-Future Changes: Predictions and Perspectives-未来变迁:预测与视角
    PDF格式公众号回复关键字:ZKSZM014原文​Readthecommentsaboutchangesinthefuture.Howmuchdoyouagreewiththem?​Thedays,somepeopleworkathomeoneortwodaysaweekinsteadofgoingtoanofficeeveryday.Ithinkinthefuture
  • 2024-03-23thinkphp6中jwt的使用
    thinkphp6中jwt的使用安装JWT插件composerrequirefirebase/php-jwt创建User模型phpthinkmake:modelUser创建User控制器phpthinkmake:controllerUser封装创建token函数,要在User模型中创建//加密的秘钥protected$key="test";//过期时间protect
  • 2024-03-05thinkphp8扩展think-swoole4.0
    配置文件config/swoole.php<?php//默认\think\swoole\websocket\Handler::class,usethink\swoole\websocket\socketio\Handler;return['http'=>['enable'=>true,//开启'host'=>
  • 2024-02-24think-cell Round 1
    Preface这场一周前打的了,结果因为每天都有训练一直拖到今天才有时间补前期虽然有点犯病但一直到D2出题都还算稳,然后看到E题经典数数题就走不动路了直接投降后面请徐神来救场才堪堪会做,可惜最后推出优化的式子后比赛已经结束10min了不够好在是手速够快没有掉分,感觉现在就是前面
  • 2024-02-18think-cell Round 1 题解 (A~F)
    think-cellRound1.目录A.MaximiseTheScore排序后输出所有奇数位之和.B.PermutationPrinting\(1,n,2,n-1\cdots\).C.LexicographicallyLargest注意到对于一个\(a_i\)来说\([a_i+1,a_i+i]\)中的所有数都可以被选中,那么问题变给若干区间,每个区间选一个数要
  • 2024-02-18think-cell Round 1
    叮!你的橙名体验卡已到期~Asort以后,是奇数项之和。Code#include<bits/stdc++.h>usingnamespacestd;usingll=longlong;intmain(){ ios::sync_with_stdio(false); cin.tie(0); intt; cin>>t; while(t--){ intn; cin>>n; vector<ll>v(n
  • 2024-02-02TP框架 之think-auth权限认证
    一、安装think-authcomposerrequire5ini99/think-auth二、数据表-- ------------------------------ think_auth_rule,规则表,-- id:主键,name:规则唯一标识, title:规则中文名称 status 状态:为1正常,为0禁用,condition:规则表达式,为空表示存在就验证,不为空表示按照条件验
  • 2024-01-27thinkphp8开发简要流程
    安装,根据PHP的版本安装适合的版本composercreate-projecttopthink/thinktp开启多应用模式composerrequiretopthink/think-multi-app创建应用phpthinkbuildadminnginx配置伪静态,把下面的内容保存为nginx.htaccess文件放到应用入口public文件的同级目录下location
  • 2023-12-02tp6 composer安装workerman报错
    命令:composerrequiretopthink/think-worker错误信息:Problem1-Rootcomposer.jsonrequirestopthink/think-worker^4.0->satisfiablebytopthink/think-worker[v4.0.0].-topthink/think-workerv4.0.0requirestopthink/framework^8.0->foundtopth
  • 2023-11-29马斯克对于CEO职能,发挥人才天赋,激励人才的想法
    TimeInterviewwithElonMusk,29September2011.Content1HavepeopledobefocusedondoingusefulthingsSowewanttoget,havepeopledobefocusedondoingusefulthings.Andnotinvolvedinsortofinternecinepolitics.Theroleofthemanageris
  • 2023-10-27c++函数指针
    一、函数指针基础知识二、深入探讨函数指针三、auto四、使用typedef进行简化五、指针和const介绍安装使用参考介绍这是一个介绍。安装这是安装说明。使用这是使用说明。参考1.尽可能使用const一、函数指针基础知识完成函数指针需要的工作:获取函数的地址。声
  • 2023-10-07tp6的相关命令(随时更新)
    前提:执行前要在cmd下在命令行下切换到你的WEB根目录 新建一个名为tp的tp6框架composercreate-projecttopthink/thinktp 测试是否安装成功:phpthinkrun执行后在浏览器打开127.0.0.1:8000,出现下图就算成功  设置为多应用模式composerrequiretopthink/think-m
  • 2023-09-26thinkphp无法访问控制器如何解决
     TP6在初次安装时创建/app/admin/controller/Index文件时无法访问 默认的thinkphp6只有部分的内置拓展包括:自带的frameworkthinkthinkphp核心驱动think-filesystem文件储存驱动think-helper常用助手库think-orm数据库驱动think-trace页面Trace扩展 安装
  • 2023-08-28webman:用think-validate做验证器(v1.5.7)
    一,官方文档地址:https://www.workerman.net/doc/webman/components/validation.html二,安装组件:1,安装liuhongdi@lhdpc:/data/webman/imageadmin$composerrequiretopthink/think-validate2,安装后查看版本:liuhongdi@lhdpc:/data/webman/imageadmin$composershowto
  • 2023-08-23webman:用thinkorm访问数据库(v1.5.7)
    一,官方文档地址:https://www.workerman.net/doc/webman/db/thinkorm.html二,安装组件liuhongdi@lhdpc:/data/webman/imageadmin$composerrequire-Wwebman/think-orm./composer.jsonhasbeenupdatedRunningcomposerupdatewebman/think-orm--with-all-dependencies
  • 2023-08-17Think it over... (好好想想……)
      Thinkitover...(好好想想……) Todaywehavehigherbuildingsandwiderhighways,butshortertemperamentsandnarrowerpointsofview;今天我们拥有了更高层的楼宇以及更宽阔的公路,但是我们的性情却更为急躁,眼光也更加狭隘; We
  • 2023-08-16test
    <p><strong>runoutofsomething<br/></strong>&nbsp;-touseallofsomething-tohavenothingleft.<br/>e.g.&nbsp;<br/>Theprinterhasrunoutofink.Canyouchangethecartridgeplease?</p><p>W
  • 2023-08-07CTFer成长记录——CTF之Web专题·攻防世界-php_rce
    一、题目链接https://adworld.xctf.org.cn/challenges/list?rwNmOdr=1691398818171二、解法步骤  RCE意思是(RemoteCodeExecution),远程代码执行漏洞。这里题目涉及到thinkphp5的框架,那么就可能有对应的漏洞。  ThinkPHP5漏洞Payload:  Thinkphp5.0.221、http://192.1
  • 2023-08-02PHP实现think-queue介绍
    参考资料官方文档https://github.com/coolseven/notes/tree/master/thinkphp-queuethink-queue是ThinkPHP官方提供的一个消息队列服务,是专门支持队列服务的扩展包。think-queue消息队列适用于大并发或返回结果时间比较长且需要批量操作的第三方接口,可用于短信发送、邮件发送、APP