摘要: #include <stdio.h> static int day_tab[2][13]={{0,31,28,31,30,31,30,31,31,30,31,30,31},{0,31,29,31,30,31,30,31,31,30,31,30,31}}; struct date { int year 阅读全文
posted @ 2022-09-08 15:29 myrj 阅读(75) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> main() { struct student{ char no[8]; char name[8]; int score; }; struct student ab[10]={ { "2020001","张三1",156 },{ "2020002","张三2", 阅读全文
posted @ 2022-09-08 09:54 myrj 阅读(26) 评论(0) 推荐(0) 编辑
摘要: #include "stdafx.h" #include <stdio.h> #include <string.h> #include <stdlib.h> #include <time.h> char DecPwd[255]={0}; char xlat[] = { 0×64, 0×73, 0×6 阅读全文
posted @ 2022-09-08 07:47 myrj 阅读(311) 评论(0) 推荐(0) 编辑
摘要: ''' 选择明文攻击 根据已有密码和算法计算xlat ''' def getxlat(enc_pw,dec_pw): xlat = [9999, 9999, 9999, 9999, 9999, 9999, 9999, 9999,9999, 9999, 9999, 9999, 9999, 9999, 阅读全文
posted @ 2022-09-08 07:05 myrj 阅读(145) 评论(0) 推荐(0) 编辑
摘要: Cisco交换机密码破解 这里破解密码一定要保证不改变原有配置,仅仅重置密码 1、打开SecureCRT软件,插上Console线,调波特率为9600连接交换机设备 2、连接成功后,长按MODE键直至交换机进入底层模式,提示符为Switch: 3、在switch:后执行flash_init命令初始化 阅读全文
posted @ 2022-09-08 05:38 myrj 阅读(916) 评论(0) 推荐(0) 编辑
摘要: enable password这种方式是明文的。enable secret是采用了MD5加密的。service password-encryption这个加密的方式是采用了cisco的私有加密方式来加密的。所以我在设置了vty、console、和AUX口密码的时候,开启service passwor 阅读全文
posted @ 2022-09-08 05:36 myrj 阅读(1115) 评论(0) 推荐(0) 编辑