nbulischeck/DCTF

Build issue with zip causing conditional success

nbulischeck opened this issue · 1 comments

for root, dirs, files in os.walk('.'):
	dirs[:] = [d for d in dirs if d not in default]
	break

for item in zip(chall_info, dirs):

The challenge info list will be in a random order causing occasional success.

Possible solution, add the directory of the challenge to the challenge info tuple.