-
-
Save anonymous/d872193c31b3e125430c3f7d1acbe2a3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pastebin FTzepJLR | |
require_relative 'restrict' | |
Restrict.set_timeout | |
class Private | |
private | |
public_methods.each do |method| | |
eval "def #{method.to_s};end" | |
end | |
def flag | |
return "TWCTF{CENSORED}" | |
end | |
end | |
p = Private.new | |
Private = nil | |
input = STDIN.gets | |
fail unless input | |
input.size > 24 && input = input[0, 24] | |
Restrict.seccomp | |
STDOUT.puts eval(input) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment