Open schoeppl opened 6 years ago
If one takes a relative path, the path protection does not work. Using the given example: Just change the file access to: match File::open(&PathBuf::from("../../../../../bin/sh")) { ... } will show this behavior.
match File::open(&PathBuf::from("../../../../../bin/sh")) { ... }
If one takes a relative path, the path protection does not work. Using the given example: Just change the file access to:
match File::open(&PathBuf::from("../../../../../bin/sh")) { ... }
will show this behavior.