DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦9a57f158e⟧ TextFile

    Length: 251 (0xfb)
    Types: TextFile
    Names: »demo.c«

Derivation

└─⟦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« 

TextFile

#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);
}