We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
題目給了一個 python script:
import glob blocked = ["/etc/passwd", "/flag.txt", "/proc/"] def read_file(file_path): for i in blocked: if i in file_path: return "you aren't allowed to read that file" try: path = glob.glob(file_path)[0] except: return "file doesn't exist" return open(path, "r").read() user_input = input("> ") print(read_file(user_input))
寫過同比賽的 hackme 之後這題就秒解了:
/f*
The text was updated successfully, but these errors were encountered:
No branches or pull requests
題目給了一個 python script:
寫過同比賽的 hackme 之後這題就秒解了:
The text was updated successfully, but these errors were encountered: