<commit_before>@echo off
echo Check for Admn
net sessions
if %errorlevel%==0 (
echo Success, Obtained Admin Rights
) else (
echo Failure, No Admin Rights
pause
exit
)
net accounts /minpwlen:10
net accounts /maxpwage:30
net accounts /minpwage:1
net accounts<commit_msg>Update PasswdPolicy.bat<commit_after>@echo off
echo Check for Admn
net sessions
if %errorlevel%==0 (
echo Success, Obtained Admin Rights
) else (
echo Failure, No Admin Rights
pause
exit
)
REM Passwords must be 10 digits
net accounts /minpwlen:10
REM Passwords must be changed every 30 days
net accounts /maxpwage:30
REM Passwords can only be changed after 1 day has passed
net accounts /minpwage:1
REM Display current password policy
net accounts
{'fraction_non_alphanumeric': 0.057342657342657345, 'fraction_numerical': 0.023776223776223775, 'mean_word_length': 5.336283185840708, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1039211', 'n_tokens_mistral': 227, 'n_tokens_neox': 212, 'n_words': 98}