#include <glib.h>
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <signal.h>
#include <stdlib.h>
#include <errno.h>
◆ DIGIT0_ONE
◆ DIGIT0_SIZE
◆ DIGIT0_START
◆ DIGIT_SIZE
#define DIGIT_SIZE (sizeof(digit)-2) /* -2 bo poczÄ
tkowe \0 i koĹcowe \0, yeah shitty. */ |
◆ MAX_PASS_LEN
#define MAX_PASS_LEN 15 /* dlugosc hasla, tak naprawde to jest+1, nie przejmowac sie. */ |
◆ NOT_STOP_ON_FIRST
#define NOT_STOP_ON_FIRST 0 |
◆ ULTRA_DEBUG
#define ULTRA_DEBUG 0 /* sprawdza czy dobrze generujemy hasla (w/g digit, b. niepotrzebne i b. wolne) */ |
◆ ULTRA_SAFE
#define ULTRA_SAFE 0 /* sprawdza czy nie bedziemy rysowac po pamieci jesli haslo zacznie miec wiecej niz MAX_PASS_LEN znakow */ |
◆ ULTRA_SMP
#define ULTRA_SMP 4 /* ile masz prockĂłw? (jak masz 1 wpisz 0 - wyĹacza SMP) */ |
◆ ULTRA_VERBOSE
#define ULTRA_VERBOSE 0 /* rysuje kropki */ |
◆ bonce()
static void bonce |
( |
size_t |
i | ) |
|
|
inlinestatic |
◆ incr()
◆ main()
◆ digit
const char digit[] = "\0abcdefghijklmnoprstuwxyz" |
|
static |
◆ digit_end
◆ digit_start
◆ pass
◆ pass_pos
◆ pids
◆ pipes
◆ realpass
unsigned char realpass[15+1] |
|
static |