0
how to validate Null Byte Injection in php?
I fully aware of that php is based on C but what i like to know is let's say string "helloworld" in C work as character array with last index of array is null byte value. My question is how to validate null byte injection inputs.
1 ответ
0
Hi,
In php, we are not handling null byte injection.I use simple end function to get the last key of array.php has different functions like count to get count of an array.
you can read this article which will help you more about Null Byte in php http://resources.infosecinstitute.com/null-byte-injection-php/#gref