Atucom
A blog about coding, Infosec, penetration testing, and random topics
Wednesday, September 14, 2016
Better PHP Serialized Regex
Below is the regex I came up with to find instances of PHP serialized strings in other input. I made the regex a little loose to not miss any of them popping up. I tested this and it works perfectly.
(i|s|a|o|d):\d+:(.*);?
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)