SecureCRT密码破解(实验环境:win10,SecureCRT Version 9.1.0 (x64 build 2579))

SecureCRT下载和破解 一. secureCRT下载 secureCRT是一款支持SSH的终端仿真程序,简单的说是Windows下登录Linux服务器的工具。下载时,需要下载scrt安装包和Keygen注册机包。下载链接secureCRT安装包。 1. 下载文件 2. 安装SCRT 按照指定步骤安装即可 二. 破解 安装完成之后,找到安装包所在位置(安装时会有路径提示,记住即可),将注册机Keygen.exe文件拷贝... 阅读详情
AI摘要

文章介绍了SecureCRTCipher.py中的两个类SecureCRTCrypto和SecureCRTCryptoV2,分别使用Blowfish和AES进行加密/解密操作,包括初始化、加密和解密函数的实现细节。

实验环境:win10,

SecureCRT:Version 9.1.0 (x64 build 2579)

1. SecureCRTCipher.py 文件

#!/usr/bin/env python3
import os
from Crypto.Hash import SHA256
from Crypto.Cipher import AES, Blowfish

class SecureCRTCrypto:

    def __init__(self):
        '''
        Initialize SecureCRTCrypto object.
        '''
        self.IV = b'\x00' * Blowfish.block_size
        self.Key1 = b'\x24\xA6\x3D\xDE\x5B\xD3\xB3\x82\x9C\x7E\x06\xF4\x08\x16\xAA\x07'
        self.Key2 = b'\x5F\xB0\x45\xA2\x94\x17\xD9\x16\xC6\xC6\xA2\xFF\x06\x41\x82\xB7'

    def Encrypt(self, Plaintext : str):
        '''
        Encrypt plaintext and return corresponding ciphertext.

        Args:
            Plaintext: A string that will be encrypted.

        Returns:
            Hexlified ciphertext string.
        '''
        plain_bytes = Plaintext.encode('utf-16-le')
        plain_bytes += b'\x00\x00'
        padded_plain_bytes = plain_bytes + os.urandom(Blowfish.block_size - len(plain_bytes) % Blowfish.block_size)

        cipher1 = Blowfish.new(self.Key1, Blowfish.MODE_CBC, iv = self.IV)
        cipher2 = Blowfish.new(self.Key2, Blowfish.MODE_CBC, iv = self.IV)
        return cipher1.encrypt(os.urandom(4) + cipher2.encrypt(padded_plain_bytes) + os.urandom(4)).hex()

    def Decrypt(self, Ciphertext : str):
        '''
        Decrypt ciphertext and return corresponding plaintext.

        Args:
            Ciphertext: A hex string that will be decrypted.

        Returns:
            Plaintext string.
        '''

        cipher1 = Blowfish.new(self.Key1, Blowfish.MODE_CBC, iv = self.IV)
        cipher2 = Blowfish.new(self.Key2, Blowfish.MODE_CBC, iv = self.IV)
        ciphered_bytes = bytes.fromhex(Ciphertext)
        if len(ciphered_bytes) <= 8:
            raise ValueError('Invalid Ciphertext.')
        
        padded_plain_bytes = cipher2.decrypt(cipher1.decrypt(ciphered_bytes)[4:-4])
        
        i = 0
        for i in range(0, len(padded_plain_bytes), 2):
            if padded_plain_bytes[i] == 0 and padded_plain_bytes[i + 1] == 0:
                break
        plain_bytes = padded_plain_bytes[0:i]

        try:
            return plain_bytes.decode('utf-16-le')
        except UnicodeDecodeError:
            raise(ValueError('Invalid Ciphertext.'))

class SecureCRTCryptoV2:

    def __init__(self, ConfigPassphrase : str = ''):
        '''
        Initialize SecureCRTCryptoV2 object.

        Args:
            ConfigPassphrase: The config passphrase that SecureCRT uses. Leave it empty if config passphrase is not set.
        '''
        self.IV = b'\x00' * AES.block_size
        self.Key = SHA256.new(ConfigPassphrase.encode('utf-8')).digest()

    def Encrypt(self, Plaintext : str):
        '''
        Encrypt plaintext and return corresponding ciphertext.

        Args:
            Plaintext: A string that will be encrypted.

        Returns:
            Hexlified ciphertext string.
        '''
        plain_bytes = Plaintext.encode('utf-8')
        if len(plain_bytes) > 0xffffffff:
            raise OverflowError('Plaintext is too long.')
        
        plain_bytes = \
            len(plain_bytes).to_bytes(4, 'little') + \
            plain_bytes + \
            SHA256.new(plain_bytes).digest()
        padded_plain_bytes = \
            plain_bytes + \
            os.urandom(AES.block_size - len(plain_bytes) % AES.block_size)
        cipher = AES.new(self.Key, AES.MODE_CBC, iv = self.IV)
        return cipher.encrypt(padded_plain_bytes).hex()

    def Decrypt(self, Ciphertext : str):
        '''
        Decrypt ciphertext and return corresponding plaintext.

        Args:
            Ciphertext: A hex string that will be decrypted.

        Returns:
            Plaintext string.
        '''
        cipher = AES.new(self.Key, AES.MODE_CBC, iv = self.IV)
        padded_plain_bytes = cipher.decrypt(bytes.fromhex(Ciphertext))
        
        plain_bytes_length = int.from_bytes(padded_plain_bytes[0:4], 'little')
        plain_bytes = padded_plain_bytes[4:4 + plain_bytes_length]
        if len(plain_bytes) != plain_bytes_length:
            raise ValueError('Invalid Ciphertext.')

        plain_bytes_digest = padded_plain_bytes[4 + plain_bytes_length:4 + plain_bytes_length + SHA256.digest_size]
        if len(plain_bytes_digest) != SHA256.digest_size:
            raise ValueError('Invalid Ciphertext.')

        if SHA256.new(plain_bytes).digest() != plain_bytes_digest:
            raise ValueError('Invalid Ciphertext.')

        return plain_bytes.decode('utf-8')

if __name__ == '__main__':
    import sys

    def Help():
        print('Usage:')
        print('    SecureCRTCipher.py <enc|dec> [-v2] [-p ConfigPassphrase] <plaintext|ciphertext>')
        print('')
        print('    <enc|dec>              "enc" for encryption, "dec" for decryption.')
        print('                           This parameter must be specified.')
        print('')
        print('    [-v2]                  Encrypt/Decrypt with "Password V2" algorithm.')
        print('                           This parameter is optional.')
        print('')
        print('    [-p ConfigPassphrase]  The config passphrase that SecureCRT uses.')
        print('                           This parameter is optional.')
        print('')
        print('    <plaintext|ciphertext> Plaintext string or ciphertext string.')
        print('                           NOTICE: Ciphertext string must be a hex string.')
        print('                           This parameter must be specified.')
        print('')
    
    def EncryptionRoutine(UseV2 : bool, ConfigPassphrase : str, Plaintext : str):
        try:
            if UseV2:
                print(SecureCRTCryptoV2(ConfigPassphrase).Encrypt(Plaintext))
            else:
                print(SecureCRTCrypto().Encrypt(Plaintext))
            return True
        except:
            print('Error: Failed to encrypt.')
            return False

    def DecryptionRoutine(UseV2 : bool, ConfigPassphrase : str, Ciphertext : str):
        try:
            if UseV2:
                print(SecureCRTCryptoV2(ConfigPassphrase).Decrypt(Ciphertext))
            else:
                print(SecureCRTCrypto().Decrypt(Ciphertext))
            return True
        except:
            print('Error: Failed to decrypt.')
            return False

    def Main(argc : int, argv : list):
        if 3 <= argc and argc <= 6:
            bUseV2 = False
            ConfigPassphrase = ''

            if argv[1].lower() == 'enc':
                bEncrypt = True
            elif argv[1].lower() == 'dec':
                bEncrypt = False
            else:
                Help()
                return -1
            
            i = 2
            while i < argc - 1:
                if argv[i].lower() == '-v2':
                    bUseV2 = True
                    i += 1
                elif argv[i].lower() == '-p' and i + 1 < argc - 1:
                    ConfigPassphrase = argv[i + 1]
                    i += 2
                else:
                    Help()
                    return -1

            if bUseV2 == False and len(ConfigPassphrase) != 0:
                print('Error: ConfigPassphrase is not supported if "-v2" is not specified')
                return -1

            if bEncrypt:
                return 0 if EncryptionRoutine(bUseV2, ConfigPassphrase, argv[-1]) else -1
            else:
                return 0 if DecryptionRoutine(bUseV2, ConfigPassphrase, argv[-1]) else -1
        else:
            Help()

    exit(Main(len(sys.argv), sys.argv))


2. 安装 python3

【https://www.python.org/ftp/python/3.10.9/python-3.10.9-amd64.exe】(不要安装2)
3. 配置环境变量

【一个是 python.exe 所在目录,另一个是 pip.exe 所在目录】

我的目录是在

C:\Users\admin\AppData\Local\Programs\Python\Python310

C:\Users\admin\AppData\Local\Programs\Python\Python310\Scripts

可按照实际安装情况自行配置


4. 安装 三方库 (不是pyCrypto )
    pip install pycryptodome


5. 找到 SecureCRT 配置文件密码

 C:\Users\admin\AppData\Roaming\VanDyke\Config\Sessions\192.168.1.1.ini

6. 执行解密

    在 cmd 下,执行 
    python SecureCRTCipher.py dec -v2 这里写加密的 02:后面的那串码(下面的截图换行是因为密文太长了,自动换行了,不是分两行执行)
    
各种失败情况及原因:
    1. 不要看他们说的安装 python2版本,安装 3 版本。否则报错   File "SecureCRTCipher.py", line 16 def Encrypt(self, Plaintext : str):


    2. 没有 pip 命令,要将 python 安装目录下的 Scripts 目录也加入到环境变量中
    3. pip install pyCrypto 命令执行失败【原因可能是已经弃用 pyCrypto 包,现在使用 pycryptodome 包】


    4. 其他小问题,打开命令行执行了 SeicureCRTCipher.py 结果报错 python: can't open file 'C:\\Users\\admin\\SecureCRTCipher.py': [Errno 2] No such file or directory
因为我把 SeicureCRTCipher.py 放到了桌面,所以先把 cmd 切换目录到 C:\Users\admin>cd Desktop

SecureCRT 密码解密 SecureCRT(8.以上)配置的密码存放在***\Config\Sessions下面的ini文件中,内容如下: S:“Username”=****** S:“Monitor Password V2”= S:“Password V2”=02:***************************** 其中 Password V2 里面存放着密码,02:后面就是加密后的密码。可以通过一下Python脚本来解密。 运行 python SecureCRTCipher.py dec -v2 *********** 阅读详情

相关推荐

secureCRT 破解方法

3、输入注册信息打开keygen.exe,点击path,选择SecureCRT的安装目录(例如D:\VanDykeSoftware\Clients)的securecrt.exe打开,继续下一步打开LicenseHelper.exe,如下。1、注册SecureCRT9.1打开keygen.exe,出现以下问题(没有关掉安全防护,一双击打开,Windows会自动识别keygen.exe为bingdu并删除)打开桌面SecureCRT,此界面不输入内容,直接点击下一步。2、存储配置文件夹(可以默认安装)

逆水行舟 1万+

SecureCRT v8.7 版本下载分享与破解

,点击【Patch】按钮,会让你选择文件 ,选择SecureCRT.exe可执行文件,还会再提示LicenseHelper.exe文件。3、然后打开CRT软件,按照相应的提示输入注册机上显示的信息。注意,默认打开CRT时候会是一个输入key的页面,,选择输入自己的相关信息。就会看到分别让你输入名称、序列号等相关日期了。4、看看自己的是否有激活成功。破解后时间延后一年,一年快到期了,继续破解即可。2、按上面的方面patch后,即可直接使用。2、打开注册机keygen.exe文件(1、安装在之前的路径。

asdmjy123的博客 1万+

SecureCRT 安装、破解、汉化及配色方案优化指南

SecureCRT 8.5.4的安装、破解、汉化和配置流程。1)安装主程序并保持默认设置;2)通过临时禁用杀毒软件、运行破解补丁完成授权;3)替换汉化文件实现中文界面;4)添加配色方案文件并配置生效。整个操作需注意以管理员权限执行破解步骤,并在每个阶段完成后重启程序。

恐龙让Lee的博客 4万+

SecureCRT的安装破解 [详细过程2025.23]

通过网盘分享的文件:SecureCRT安装+破解.zip链接: https://pan.baidu.com/s/1IZEhvmgHiObZOzxnlt8ySg 提取码: 8p8h。

m0_63127436的博客 2万+

SecureCRT Windows X64安全部署、会话管理与自动化巡检

SSH 远程运维的核心,是把登录凭据、会话参数、执行脚本和操作日志变成可复用、可审计的配置资产。终端模拟器通过 SSH 协议与设备交互,其价值不只在单次连接,更在会话库、密钥认证、自动日志和脚本引擎协同后形成的可复现性。对 Windows X64 运维环境而言,安装包验签与哈希校验可降低供应链风险,配置目录的备份迁移能减少重复搭建,脚本自动化则把批量只读巡检从逐台操作中解放出来。机房老设备维护、受控网络设备管理、周期性配置采集等场景,都依赖这套基础能力。围绕 SecureCRT 9.1.0 Build 25

weixin_33847182的博客 300

Python量化交易实战:如何用vnpy+Tushare获取股票历史数据(附完整代码)

本文详细介绍了如何利用vn.py框架与Tushare数据接口,构建一个健壮的Python量化交易数据获取引擎。通过封装Tushare API,实现股票历史数据的自动化获取与格式转换,并适配vn.py的BarData结构,为策略回测与实盘交易提供稳定、高效的数据基础。文中提供了完整的代码实现,涵盖环境配置、核心封装逻辑及高级功能扩展。

cola5的博客 1218

SecureCRT 密码破解(JAVA 版)

JAVA破解SecureCRT密码

cpych的专栏 1805

别再硬编码了!WinCC子画面动态加载的5种C脚本写法对比

本文深入解析WinCC子画面动态加载的5种C脚本实现方案,包括基础加载、路径动态解析、多语言切换、窗口自适应布局和混合架构交互。通过代码示例和场景分析,帮助开发者避免硬编码问题,提升工业自动化系统的交互效率和可维护性。特别推荐路径动态解析方案,有效解决项目路径管理的痛点。

weixin_29008691的博客 475

SecureCRT的安装破解 [详细过程2026]

SecureCRT的安装破解 [详细过程2026]

【收录奇奇怪怪的电脑小知识】 原创来于生活 12万+

PyCharm启动报错急救指南:3步定位.vmoptions文件位置(Win/Mac路径详解)

本文针对PyCharm启动失败问题,提供了一份详细的急救指南。核心在于精准定位并修复关键的.vmoptions配置文件。文章通过三步法详解了在Windows和macOS系统上查找该文件的具体路径,并分析了因新旧版本冲突、破解补丁残留或参数设置错误导致启动失败的常见场景及解决办法,帮助开发者快速恢复IDE的正常工作。

weixin_28835789的博客 701

【GPT】Coze使用开放平台接口-【7】Dify 比较篇

coze 用于社交,dify 用来内部构建。抛开工作流,机器人,工具,coze 最大的区别在于可以直接发布到社交媒体上。所以,coze 对操作体验上也花了不少功夫,而 dify 就专注在帮助使用者打磨工作流。coze 各个大模块之前可以联动的机制也比较多,所以侧重点各不相同。

非晓为骁的博客 7612

SecureCRT 64位 破解版v8.1.4

http://www.xue51.com/soft/1510.html#xzdz securecrt 破解版是一款支持SSH1和SSH2的终端仿真程序,这个程序能够在windows系统中登陆UNIX或Linux的服务器主机并且还能进行管理设置,是一款非常强大的ssh传输软件,是用于连接运行包括Windows、UNIX和VMS的理想工具。并且它还有打印功能、可变屏幕尺...

weixin_30706691的博客 1万+

TLS回调函数–一文看懂(详)

TLS回调函数 CTF RE

Joyce_hjll的博客 3716

SecureCRT和SecureFX安装与pojie

一、SecureCRT和SecureFX的安装 可以在官网下载:Download - Previous Releases (vandyke.com) 以及网盘下载(包含poji工具): 链接:https://pan.baidu.com/s/1cxM4TRUBb4oBMtavfz5g7g 提取码:l65m 有人反应提取码错误,已更新新的: 链接:https://pan.baidu.com/s/15MHtCMQ3coDE-YdCc-RHxw 提取码:s11s 安装过程中注意选择路径,路径可以选成自己

weixin_42475691的博客 1万+

Halcon工业相机开发全流程:从SDK配置到实时图像采集(C++版)

本文详细介绍了使用C++进行Halcon工业相机开发的完整流程,从SDK配置到实时图像采集的实现。涵盖环境搭建、设备初始化、回调机制、参数控制等关键环节,并提供异常处理和实战案例,帮助开发者快速掌握工业视觉系统的开发技巧。

weixin_33728268的博客 512

iqoo11如何获取root权限?

🏆本文收录于专栏,主要记录项目实战过程中所遇到的Bug或因后果及提供真实有效的解决方案,希望能够助你一臂之力,帮你早日登顶实现财富自由🚀;同时,欢迎大家!持续更新中,up!up!up!!

**My Coding Family** 5800

win7 securecrt安装与破解

支持win7及以上版本安装,亲测win7可行

c89bl的专栏 4607

领域知识图谱构建的技术流程

因此概念的属性定义十分重要,通常大部分知识库中的概念属性都是采用人工定义等方式生成的,通用知识图谱则可以从开放数据集中获取概念的属性,然后从在线百科中学习实体的属性,并对实体属性进行往上规约从而生成概念的属性。由于百科的分类体系都是经过了百科管理员或是高级编辑人员的校验,其分类系统中的数据可靠性非常高,因此从百科中抽取概念和实体,通常将标题作为实体的候选,而将百科中的分类系统直接作为概念的候选。为了对知识进行合理的组织,更好地描述知识本身与知识之间的关联,需要对知识图谱的模式进行良好的定义。

weixin_43961909的博客 333

SecureCRT的安装与解密

SecureCRT的安装与解密

嘻嘻 2万+

SIMATIC S7-1200, S7-1500 PID 控制[手册]

SIMATIC S7-1200, S7-1500 PID 控制[手册]

VC中sqlite的使用

在VC中对sqlite的使用,实现数据库大批数据的快速插入,读取数据库中的数据在ListCtrl中显示

securecrt SecureCRT安装与破解

点击enter license manually。再次跳进SecureCRT的所在文件夹。然后打开SecureCRT.exe。再把keygen复制到该文件夹里。用管理员权限打开keygen。按keygen里面写的填入。选择Secure.exe。首先百度网盘下载所需文件。先运行下载scrt程序。点击generate。

2301_80317247的博客 7453

LinePhone3.2.7(android端最新版本) sip客户端

SIP客户端For android:LinePhone3.2.7(最新版本),官网地址:http://www.linphone.org/

SecureCRT 8.0.2破解使用

这时SecureCRT安装路径是: /Applications/SecureCRT.app/Contents/MacOS/SecureCRT。用破解文件SecureCRT替换 /Applications/SecureCRT.app/Contents/MacOS/SecureCRT。其它参考:http://www.cnblogs.com/python-nameless/p/6925579.html。执行 chmod +x ~/Downloads/SecureCRT。

任我行的博客 4129

efm32 入门.pdf

本PDF共计22页,介绍的是操作驱动API,下载与否自己斟酌。

[经验总结][加解密]SecureCRT新版加密逻辑和破解方式(附破解脚本和演示)

SecureCRT的加密方式有两种:旧版使用双Blowfish加密,固定密钥和随机填充;新版使用AES-CBC,密钥基于配置口令的哈希,且包含校验信息。该篇文章主要介绍新版加解密的思路,并提供解密的脚本和实操的解密效果。

wingaso的博客 2694

SecureCRT 8.1.4 破解教程

资料分享 链接:https://pan.baidu.com/s/1I3wgOL25tlb_AOoIDaJZxA 提取码:i7iz 亲测可以哦 一、 SecureCRT安装教程 1、下载好安装包,双击“scrt814-x64”,进行安装 双击“scrt814-x64” 2、点击next 点击next 3、选择I accept the terms in the license...

xiaozhegaa的博客 1万+

Windows中SecureCRT安装过程

在Windows环境下,使用SecureCRT可以很方便地对Linux主机进行管理。 一、安装 我安装的是SecureCRT8.1.0 64位的版本,以下是32位和64位的安装程序,请根据自己的需要下载: SecureCRT 32位:链接:https://pan.baidu.com/s/1j_GF5mU6XOxnTBdOZC5pTg 密码:8msc SecureCRT 64位:链接:htt...

wyatt007的博客 3075

SecureCRT的安装破解 [绿色汉化版]

SecureCRT的安装破解 [绿色汉化版]

【收录奇奇怪怪的电脑小知识】 原创来于生活 2万+

secureCRT安装、破解

SecureCRT是最常用的终端仿真程序,简单的说就是Windows下登录UNIX或Liunx服务器主机的软件。本文讲解SecureCRT的安装、破解与使用。 下载&amp;安装 1.从https://pan.baidu.com/s/1dGMKJF7下载 2.解压缩下载的文件,双击scrt736-x64.exe执行安装。 破解 1.打开SecureCRT.7.3.keyge...

Donny的专栏 2万+
上一篇: 【禅道】 报错:不能创建临时目录,请确认目录 是否存在并有操作权限
下一篇: SecureCRT 密码破解(JAVA 版)
cpych
博客等级 码龄18年 67粉丝 46原创
评论 4
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值