?? status.h
字號:
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-98 by Solar Designer *//* * Status information management routines. */#ifndef _JOHN_STATUS_H#define _JOHN_STATUS_H#include <time.h>#include "math.h"/* * Current status. */struct status_main { clock_t start_time; unsigned int guess_count; int64 crypts;};extern struct status_main status;/* * Elapsed time of previous sessions, in seconds. */extern unsigned int status_restored_time;/* * Initializes the status structure setting time_start to current time minus * status_restored_time, and the rest of fields to zero (unless restored). */extern void status_init(int (*get_progress)());/* * Updates the crypts count. */extern void status_update_crypts(unsigned int count);/* * Returns the elapsed time in seconds. * * Currently this does not support running for more than 248 days total * (assuming CLK_TCK is 100). However, this should survive uptimes of the * box we are running on of more than 248 days. */extern unsigned int status_get_time();/* * Prints current status to stdout. */extern void status_print();#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -