mirror of
https://github.com/cliffe/SecGen.git
synced 2026-02-21 11:18:06 +00:00
lab updates
This commit is contained in:
@@ -103,15 +103,15 @@ Randomised instance generated by [SecGen](http://github.com/cliffe/SecGen) (<%=
|
||||
<prompt>Configure your desktop so that passwords are required to be at least 10 characters long (and this should also apply for root).</prompt>
|
||||
<post_command>echo -e 'shorter8\nshorter8' | passwd <%= $second_user %> ; echo -$?-</post_command>
|
||||
|
||||
<condition>
|
||||
<output_matches>updated successfully</output_matches>
|
||||
<message>:( I set a short password. Did you forgot to add a pam_cracklib rule and enforce_for_root?</message>
|
||||
</condition>
|
||||
<condition>
|
||||
<output_matches>password is shorter than 10</output_matches>
|
||||
<message>:) Well done! <%= $flags.pop %></message>
|
||||
<trigger_next_attack />
|
||||
</condition>
|
||||
<condition>
|
||||
<output_matches>updated successfully</output_matches>
|
||||
<message>:( I set a short password. Did you forgot to add a pam_cracklib rule and enforce_for_root?</message>
|
||||
</condition>
|
||||
<else_condition>
|
||||
<message>:( Something was not right</message>
|
||||
</else_condition>
|
||||
|
||||
Reference in New Issue
Block a user