Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
cdevs
· 9y ago · 0 comments
Could still be if file_exist then read file despite where or what file , it's the 2nd most common security hole I have seen behind sql injection.
Comments
[–]
kijin
9y ago
The script just preloads every file in a hard-coded directory into an associative array and uses isset() to check if the requested post exists. So no arbitrary file access, either.