当前位置:网站首页>[weekly] April 17
[weekly] April 17
2022-04-22 21:51:00 【Sunlight_ three hundred and sixteen】
- This week is mainly a repetition of last month's fight vishwactf, It's the first one to hit CTF match , Yes MISC and web The question is wp.
- Continue to learn the trigger of various magic methods of deserialization 、 The sequence of magic methods 、 structure pop chain , Feel like picking up JAVA Knowledge to , By the way, the JAVA Also learn about deserialization , So as not to reduce your proficiency in the future
- I learned the next chapter of the lecture progress , Banker algorithm of operating system , Computer architecture jobs
vishwactf
I learned... Through a question SSTI
- It's the fastest way to learn knowledge by playing games , The most efficient . In the process of writing questions , Meet the unknown knowledge point , Field study , On site utilization , The promotion is very fast , And better remember ( Write in time wp)
- flask Template Injection : The input is rendered by the server and then output , formation SSTI Template injection vulnerability .
Injection idea :
Just find a built-in class object and use__class__Get his corresponding class
use__bases__Get the base class (<class ‘object’>)
use__subclasses__()Get the subclass list
Directly find the available classes in the subclass list getshell( Write a script to find the first few )
Bypass technique :
Bypass parentheses 、 Bypass comma 、 Bypass braces
Learn more encryption methods
Twitter Steganography 、rot47、 Virginia encryption 、md5、sha1
A game involves so much encryption
Be familiar with the principles and typical features of these encryption , Better judge in the future
adopt jwt Problem familiarity hashcat
hashcat The basic use and cracking commands
Bluetooth traffic analysis wireshark
Apply the script of Wang Yihang to directly analyze the traffic of keyboard and mouse
php Deserialization
Magic methods
__construct(), Class constructor
__destruct(), Destructor of class
__call(), Called when an invocable method is invoked in an object
__callStatic(), Call in an static way when an invocable method is called
__get(), Call when you get a member variable of a class
__set(), Called when setting a member variable of a class
__isset(), When called on an inaccessible property isset() or empty() Called when the
__unset(), When called on an inaccessible property unset() When called .
__sleep(), perform serialize() when , This function will be called first
__wakeup(), perform unserialize() when , This function will be called first
__toString(), The response method when a class is treated as a string
__invoke(), The response method when an object is called by calling a function
__set_state(), call var_export() When exporting a class , This static method will be called .
__clone(), Called when the object copy is complete
__autoload(), Trying to load an undefined class
__debugInfo(), Print the required debug information
Running order
Construction method => set Method ( At this time, we assign a value to a class attribute that has not been defined in the class and trigger set Method ) => get Method => isset Method => unset Method => isset Method => destructor
The destruct method is performed after all the code is executed .
Combined with file containing vulnerabilities
Fake protocol :
php://filter/read=convert.base64-encode/resource=
版权声明
本文为[Sunlight_ three hundred and sixteen]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204221626491432.html
边栏推荐
- uClibc 和 Glibc 不一样
- keras逻辑回归进行贷款风险预测
- Spark-2.4.2编译安装
- One thread gets memory and another thread releases memory, resulting in memory leakage
- Use of ultrasonic module (STM32 / HAL)
- What does 302 mean in PHP
- 收藏优秀博客文章
- QQ group chat message statistics for Matplotlib data visualization
- 超声波模块的使用(STM32/HAL)
- How to write word reading and color games based on JS
猜你喜欢

故障分析 | Federated 存储引擎表导致监控线程处于 Opening table 状态

QQ group chat message statistics for Matplotlib data visualization

php中302指的是什么

MATLAB 基本命令

ES6 reflect object
Old saying: MySQL architecture

Spark-2.4.2编译安装

Spark-2.4.2 compilation and installation

Alibaba cloud container & Service Grid product technology trends (202203)

一文学会text-justify,orientation,combine文本属性
随机推荐
为什么我们需要做企业成长性评价分析?
Leaflet modify map center point positioning
Fiddler - tamper with the data returned by the server
每日一练(47):找不同
How to realize guessing numbers games in C language
Reverse entry (III) save CT table and generate exe modifier after CE automatic assembly
使用charles抓app包
利用反向传播训练多层神经网络的原理
keras逻辑回归进行贷款风险预测
几个小 shell 脚本实战学习
实验3
超声波模块的使用(STM32/HAL)
Introduction to golang -- six ways to define a map
Apache configuration multiport
Suggestions for improving C program 4: implementation of standard dispose mode in C
短视频内容理解与生成技术在美团的创新实践
基于JS怎么编写看字说颜色小游戏
关于Libffi
Old saying: MySQL architecture
Collect excellent blog articles