📄 common.c
字号:
/* * This file is part of John the Ripper password cracker, * Copyright (c) 1996-98 by Solar Designer */#include <string.h>#include "arch.h"#include "common.h"char itoa64[64] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";char atoi64[0x100];char itoa16[16] = "0123456789abcdef";char atoi16[0x100];static int initialized = 0;void common_init(){ char *pos; if (initialized) return; memset(atoi64, 0x7F, sizeof(atoi64)); for (pos = itoa64; pos <= &itoa64[63]; pos++) atoi64[(ARCH_INDEX)*pos] = pos - itoa64; memset(atoi16, 0x7F, sizeof(atoi16)); for (pos = itoa16; pos <= &itoa16[15]; pos++) atoi16[(ARCH_INDEX)*pos] = pos - itoa16; atoi16['A'] = atoi16['a']; atoi16['B'] = atoi16['b']; atoi16['C'] = atoi16['c']; atoi16['D'] = atoi16['d']; atoi16['E'] = atoi16['e']; atoi16['F'] = atoi16['f']; initialized = 1;}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -