📄 logger.h
字号:
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-99,2003 by Solar Designer *//* * Event logging routines. */#ifndef _JOHN_LOGGER_H#define _JOHN_LOGGER_H/* * Initializes the logger (opens john.pot and a log file). */extern void log_init(char *log_name, char *pot_name, char *session);/* * Prints a guessed password to stdout and logs it to john.pot (unless * ciphertext is NULL) and other related information to the log file. */extern void log_guess(char *login, char *ciphertext, char *plaintext);/* * Logs an arbitrary event. * * The caller must make sure that any conversion specifiers in the * format string expand to no more than 500 characters. */extern void log_event(char *format, ...)#ifdef __GNUC__ __attribute__ ((format (printf, 1, 2)));#else ;#endif/* * Discards any buffered log data. */extern void log_discard(void);/* * Flushes the john.pot and log file buffers to disk. */extern void log_flush(void);/* * Closes john.pot and the log file. */extern void log_done(void);#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -