__wakeup():将在序列化之后立即被调用。
漏洞原理:当反序列化字符串中,表示属性个数的值大于其真实值,则跳过__wakeup()执行。
参考题目:xctf-unserialize3
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAXMAAADQCAYAAAD1RYFmAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAB7zSURBVHhe7Z1bryVHYYXnpxCJXzSS3yBCQiJ+SB6SRyuxw2TCQ8ASEbaEsAiJRjNEgjgQW7EUcpFl+YwFSkQAxcSMscEPDjYkeGY8d7vTdeuurlpVvbp77z57916ftDTn9K6uqq7e/XWd2pe50AghhDh6JHMhhNgAkvmGePjoUXP33v3m1p07zc3bHza/vXVbUZQTiWS+Ae4/eNh8IHkryklHMj9iHjx8qBm4oig2kvmRYkSOTqiiKKcZyfwIefDwETyZiqKcbiTzI+Ojjz6CJ1JRlNOOZH5k3PzwDjyRCp+vff0bcLuiHHN2JvMP79xp/uTzf25zXvzxn1627Zu+rIVp6+//4UXb7u9+9nEb8/PVv/3WoB9f+/pf+5/mY961gk5iLe++937zzW8/3zzx1J91/TM/m23mMbTP1iOZK1vMTmQeRG5EYYR6Xpi2g0zXEPorr541j//BH3WSTGMeM2WMyM3vS5n69sN/+pd/a37P9+9LX36m+ea3nrcxP5tt5jFTBu1bypvffqo7PjpfuQ7r+u2t681zn32qeeEGeqye73/F1D1v33kyf7v5xqc/03yj0t6NK59pPnXlbfiYzcuXmk98/lX8WJZye6adT/zOJ31AmRtXmk91j3+y3qek7Cc+faW5kZQZba8Qt19S3oxB3J4JNSZvNc8/88XmyWdeat6Aj99u3njxq82TX/hq83zWP7/vF3wGdSSPgf1fuRI//sXmudeGjx9KFss8FfkaEi1h2l5L6EbSQVZG1r/45Tv+kcb+HAQeZwn3J757xUjatPnEk5ean//il9njZpt5zJR55ey17PHJufGd5qm2rudeBY/V8uqzbR+mSPnN5oUn2vF84jvNm5P3dZks805AJZG92jzpxYTFacQ8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5CYII=" alt="" width="269" />
对于该题,先可以看到类xctf中有flag变量,并调用了__wakeup(),则考虑实例化xctf类并将其变量序列化。并猜测意图为将序列化结果输入在?code=后进行POST请求。
<?php
class xctf{
public $flag = '111';
pubilc function __wakeup(){
exit('bad requests');
}
}
$a = new xctf();
echo(serialize($a));
?>
// 序列化输出结果为:
// O:4:"xctf":1:{s:4:"flag";s:3:"111";}
正常结果输入时,会执行__wakeup(),从而输出'bad requests',并退出脚本,因此利用漏洞绕过__wakeup()。
将序列化字符串中代表变量个数的数字改为大于其真实值的数字,并进行POST请求,得到结果。
aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAoUAAACJCAYAAABadEKGAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAACc0SURBVHhe7Z3brx1XYcbzp1CJv8gSb1Ah8dA8tA/tUxW1CbguD4VIVBAJEQGtLIdKIDc0pqhVC6Ru7DQhEahVWsDGcaI2NHETkjiOfY7t6azbzLp8a803s/fZZ1++T/opPnNZ95n1yz7n2I90iqIoiqIoysFHUqgoiqIoiqJIChVFURRFURRJoaIoiqIoitJHUrgnOb5/v/v47r3uwzt3ug9uf9T99sPbQgghhBA0ksIdz72j4+59SaAQQgghVkRSuKM5Oj7WJ4JCCCGEWBuSwh2MEUI0mUIIIYQQS5EU7liOju/DiRRCCCGEWAVJ4Q7lwYMHcBKFEEIIIVZFUrhD+eCjO3ASBc83vvlteFwIIYQ4dNYihR/dudP96Rf+3HJaufLiS93Vf3u5Oz4+9kdOPqbff/t3l2y/f/dzj1rMny/8zXftuZBvfPOv/J+Wx/yWMZrAFm+9/U73ne9d7B574s+G9pk/m2PmHLpn35EUCiGEEJiVpTAIoRGOP/n8OX908zFS+A//9KONieHlF650j/7BHw2ylWPOmWuMEJqvV83cv3bmH//5x93v+fZ9+Stf677z3YsW82dzzJwz16B7a1z/3hND/2i+ehWW9dsPr3ZPf+6J7rlr6Fybl75qyl527zIpf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KNIV47fYaxyMYAzkHen7wt2XlTRjHWJlPjMjHXJrbciXmy12T3zumvn2c43jZz5ojoU5/yGfQnWkH9zFPrC/GsmuTvE1MOXlPMs5TP/8Q8mtTa7+dzoPJM2rZW+hZSvDPh9Wt6Bqbanc9Lhntf5GOdkZTprm29Hyff/yHkmNtU1+aSdQLmn+iXTd5mMLf0Gmf7P/lsubaXfVIONW0pVA4j1ZfmhuJfcDv3YrLtJmRCURRlK2Ok8BTf/crWRVKouP8Tbf2f9klnV6XQ/l+4XqiKouxo9D+2ShZJ4aHntD8lNNlVKewTvt2jb78oirJT2eH3rnJykRQeaqKfNTn1l4JeToqiKIpy6pEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqi9JEUKoqiKIqiKJJCRVEURVEURVKoKIqiKIqidF33/9sw3DMSwAr2AAAAAElFTkSuQmCC" alt="" width="415" />
得到结果。
- python内置函数和魔法函数
内置方法:Python中声明每一个类系统都会加上一些默认内置方法,提供给系统调用该类的对象时使用.比如需要实例化一个对象时,需要调用该类的init方法:使用print去打印一个类时,其实调用的是str ...
- PythonI/O进阶学习笔记_2.魔法函数
前言: 本文一切观点和测试代码是在python3的基础上. Content: 1.什么是魔法函数,魔法函数__getitem__在python中应用. 2.python的数据模型和数据模型这种设计对p ...
- php-18个魔法函数
目录 php魔法函数 介绍 范例 1.__construct() 2.__destruct() 3.__call() 4.__callStatic 5.__get() 6.__set() 7.__is ...
- python魔法函数的一些疑问
看了魔法函数,有一点疑问.1中需要用self.word才能执行,而2直接用self就可以执行.而1中Word继承了int基本类型,但在__new__时并没有什么卵用.当用 Word(“123”)来实例 ...
- Python的魔法函数系列 __getattrbute__和__getattr__
#!/usr/bin/env python # -*- coding: utf-8 -*- import sys __metaclass__ = type """ _ ...
- python使用魔法函数创建可切片类型
#!/usr/bin/env python # -*- coding: utf-8 -*- """ 可切片的对象 """ import nu ...
- python 类的魔法函数 内置函数 类方法 静态方法 抽象类
魔法函数 __init__函数 init函数会在实例化A这个类的时候被调用 class A(): def __init__(self): print('__init__函数') a = A() 显示结 ...
- Python魔法函数
python中定义的以__开头和结尾的的函数.可以随意定制类的特性.魔法函数定义好之后一般不需要我们自己去调用,而是解释器会自动帮我们调用. __getitem__(self, item) 将类编程一 ...
- python魔法函数之__getattr__与__getattribute__
getattr 在访问对象的属性不存在时,调用__getattr__,如果没有定义该魔法函数会报错 class Test: def __init__(self, name, age): self.na ...
随机推荐
- 动态规划 | 保留重复元素的LCS 1045
这题也可以用LIS求解.LIS解题报告:动态规划 | 对输入进行hash处理的LIS 1045 普通LCS是必须完全匹配的,所以状态转移方程式(末端匹配到时):dp[i][j]=dp[i-1][j-1 ...
- 解决PEnetwork启动的时候提示"An error occured while starting the "TCP/IP Registry Compatibility" Service (2)!"程序将立即退出的问题
解决PEnetwork启动的时候提示"An error occured while starting the "TCP/IP Registry Compatibility" ...
- oracle--dump 块与块分析 (dump 深入实践二)
一,建立测试环境 01,一个oracle数据库环境 02,具体数据库实验环境配置 SQL> create user test1 identified by kingle; User create ...
- js获取长度,根据编码获取长度
dataLen:function(str){ var realLength = 0, len = str.length, charCode = -1; for(var i = 0; i < le ...
- intelliJ 社区版-找不到 plugins选项
丢人了... 今天 在intelliJ社区版上面找不到 plugins 选项了, 其实是有的,我看的是项目的 settings 当然没有了, (1)如果直接点击File==> 这样就是没有plu ...
- idea创建maven多模块Spring Boot项目
1, 创建父项目 1.1,file - new - project 1.2,选择maven,Create from archetype(有的说不选,有的没说,不过我建父项目的时候没有勾选) 1.3,根 ...
- 关于DataTable内部索引已损坏的问题 System.Data.RBTree
1.错误提示: 最近,Winform程序在极其偶然的情况下会遇到如下错误提示 Framework 版本: v4.0.30319 说明: 由于未经处理的异常,进程终止. 异常信息: System.Inv ...
- ORA-12528: TNS:listener: all appropriate instances are blocking new connections
Oracle问题:ORA-12528: TNS: 监听程序: 所有适用例程都无法建立新连接 问题原始描述: ORA-12528: TNS:listener: all appropriate insta ...
- 汉字转拼音,TinyPinyin、Pinyin4j与JPinyin哪个库更快
1. 介绍 本文对TinyPinyin.Pinyin4j与JPinyin三个汉字转拼音库的用法.测试代码及转换的结果做一个简单的总结. TinyPinyin 适用于Java和Android的快速.低内 ...
- golang --strings 下常用函数api
1. func Compare(a, b string) int {} 比较返回一个按字典顺序比较两个字符串的整数.如果a == b则结果为0,如果a <b则结果为-1,如果a> b则结果 ...