[安洵杯 2019]easy_serialize_php.md 锻炼代码审计能力和学习 PHP反序列化 反序列化中的对象逃逸 SQL注入既视感 首先明确几个点: 序列化后的结果是一串字符串。 反序列化会解开序列化的字符串生成相应类型的数据。 如下代码示例,img是一个数组,下标分别是one和two, ...
分类:
Web程序 时间:
2020-04-19 17:58:27
阅读次数:
191
Problem : Given a sorted array, two integers k and x, find the k closest elements to x in the array. The result should also be sorted in ascending ord ...
分类:
其他好文 时间:
2020-04-19 00:38:45
阅读次数:
62
Problem : Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have different values. Example 1: ...
分类:
其他好文 时间:
2020-04-18 22:43:40
阅读次数:
74
Problem : Given a non negative integer, you could swap two digits at most once to get the maximum valued number. Return the maximum valued number you ...
分类:
其他好文 时间:
2020-04-18 13:33:58
阅读次数:
75
RESET is a flag in TCP packets to indicate that the conection is not longer working. So, if any of the two participants in a TCP connection send a pac ...
分类:
其他好文 时间:
2020-04-18 09:16:18
阅读次数:
74
题目地址: "https://leetcode cn.com/problems/two sum/" 1.暴力解法 直接双重循环,枚举出所有可能的解,时间复杂度为O(n^2),空间复杂度为O(1) 2.HashTable 第一次循环将数组nums中的每个数都放入map中 第二次循环判断target n ...
分类:
其他好文 时间:
2020-04-17 00:50:56
阅读次数:
61
Problem: A?+?B is a problem used to test one's basic knowledge for competitive programming. Here is yet another boring variation of it. You have two i ...
分类:
其他好文 时间:
2020-04-16 22:50:39
阅读次数:
182
老外里面, 孔乙己也很多,, 居然可以总结出这么多茴香豆的写法. https://www.techiedelight.com/join-two-lists-java/ 3个 4个 2个 ...
分类:
编程语言 时间:
2020-04-16 13:21:19
阅读次数:
733
一、背景 在本打算写一篇关于Identityserver4 的文章时候,却发现自己对EndPoint -终结点路由还不是很了解,故暂时先放弃了IdentityServer4 的研究和编写;所以才产生了今天这篇关于EndPoint (终结点路由) 的文章。 还是跟往常一样,打开电脑使用强大的Googl ...
分类:
Web程序 时间:
2020-04-15 21:25:40
阅读次数:
92
You are given two arrays (without duplicates) nums1 and nums2 where nums1’s elements are subset of nums2. Find all the next greater numbers for nums1' ...
分类:
其他好文 时间:
2020-04-15 15:17:52
阅读次数:
68