Cisco_IOU_Crack
Posted zenosblog
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Cisco_IOU_Crack相关的知识,希望对你有一定的参考价值。
附源码:
#! /usr/bin/python3 print("*********************************************************************") print("Cisco IOU License Generator - Kal 2011, python port of 2006 C version") print("Modified to work with python3 by c_d 2014") import os import socket import hashlib import struct # get the host id and host name to calculate the hostkey hostid=os.popen("hostid").read().strip() hostname = socket.gethostname() ioukey=int(hostid,16) for x in hostname: ioukey = ioukey + ord(x) print("hostid=" + hostid +", hostname="+ hostname + ", ioukey=" + hex(ioukey)[2:]) # create the license using md5sum iouPad1 = b‘x4Bx58x21x81x56x7Bx0DxF3x21x43x9Bx7ExACx1DxE6x8A‘ iouPad2 = b‘x80‘ + 39*b‘