|
|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 251 (0xfb)
Types: TextFile
Names: »demo.c«
└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen
└─⟦123909933⟧ »./npasswd/npasswd.tar.Z«
└─⟦22a202e7d⟧
└─⟦this⟧ »npass-new/cracklib/demo.c«
└─⟦this⟧ »npass-new/npasswd_jpl/cracklib/demo.c«
#include <stdio.h>
main()
{
setcheckpasswd("-c", "checkpasswd.cf", 0);
for (;;) {
char *p, *getpass();
char buf[128];
p=gets(buf);
if (p == NULL || !*p) break;
printf("checkpasswd returns %d\n", checkpasswd(0, p));
}
exit(0);
}