Labtainers icon indicating copy to clipboard operation
Labtainers copied to clipboard

pass-crack lab

Open KongSugoi opened this issue 2 years ago • 3 comments

The 'checkwork' command for the pass-crack lab does not seem to count invocations of crackPre.py against the specific files htpasswd-sha1 or htpasswd-me, but does count the total invocations of crackPre.py against any target.

Student              |           chage |        crackSHA |        crackMD5 |        crack512 |        crackPre |   crackPre_sha1 |     crackPre_me |        htpasswd |
==================== | =============== | =============== | =============== | =============== | =============== | =============== | =============== | =============== |
xxxxxxxxxxxxxxxxxxxx |               1 |               2 |               2 |               1 |               3 |               0 |               0 |               6 |
What is automatically assessed for this lab:

	Counts of program invocations

maintains 0's in the crackPre_sha1 and crackPre_me columns regardless of executing or as instructed../crackPre.py htpasswd-me calc./crackPre.py htpasswd-sha1 calc

KongSugoi avatar Sep 18 '23 03:09 KongSugoi

Thank you. This seems to be the result of a problem with handling the "PARAM" result type. At one time the program arguments in the stdio results files were enclosed in parentheses. Now they are not, but the code was not updated in assess_bin/ResultParser.py. This likely affects assessment of a few other labs as well.

mfthomps avatar Sep 21 '23 16:09 mfthomps

how to fix this

nad1102 avatar Sep 25 '23 10:09 nad1102

Ignore those columns for now.

mfthomps avatar Sep 26 '23 00:09 mfthomps