文件读取漏洞的攻防
Last updated
Last updated
/proc/xxxx/cmdline # 进程状态枚举 xxxx 可以为0000-9999 使用burpsuite intruder/proc/self/environ....//....//....//etc/passwdfilename=../../../proc/self/cmdline%00.pngFile file = new File(BASE_DIRECTORY, userInput);
if (file.getCanonicalPath().startsWith(BASE_DIRECTORY)) {
// process file
}