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
Index: T t

⟦d61c172ea⟧ TextFile

    Length: 517 (0x205)
    Types: TextFile
    Names: »testrule.c«

Derivation

└─⟦4f9d7c866⟧ Bits:30007245 EUUGD6: Sikkerheds distributionen
    └─⟦this⟧ »./crack/Sources/testrule.c« 

TextFile

#include "crack.h"

void
Log (a, b, c, d, e, f, g)
    char *a, b, c, d, e, f, g;
{
    printf (a, b, c, d, e, f, g);
}

int
main (argc, argv)
    int argc;
    char *argv[];
{
    int i;
    char *ptr;
    char buffer[STRINGSIZE];

    while (!feof (stdin))
    {
	fgets (buffer, STRINGSIZE - 1, stdin);

	Trim (buffer);

	for (i = 1; i < argc; i++)
	{
	    ptr = Mangle (buffer, argv[i]);

	    printf ("'%s'('%s') = '%s'\n",
		    argv[i],
		    buffer,
		    ptr ? ptr : "(rejected)");
	}
    }
    return (0);
}