-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
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
Checker tags #18
Comments
Hi! The checker can return data in two ways: by printing to stdout or stderr. stdout output is considered to be public (shown on scoreboard), while stderr -- private. The only exception is the regular The first tag, import random
def put(host, flag_id, flag, vuln):
random.seed(flag_id)
username = str(random.randint(1, 10 ** 9))
password = str(random.randint(1, 10 ** 9))
put_flag(username, password, flag)
def get(host, flag_id, flag, vuln):
random.seed(flag_id)
username = str(random.randint(1, 10 ** 9))
password = str(random.randint(1, 10 ** 9))
check_flag(username, password, flag) The second tag, Feel free to ask more questions if something is not clear :) |
If you would contact me in telegram, so I could take a look at the checker and see what's wrong, that'd be great! |
I can see where the problem is, |
I suggest adding the above explanation to the readme |
I am sorry for opening an issue, but can you please explain the pfr and nfr in tags, your examples are not very clear
RIght now I have written a checker but it does not get any flag id, when get is invoked, I wanted to use the flag id as the seed and I tried to use nfr tag, but it causes error
The text was updated successfully, but these errors were encountered: