Ubuntu18.10破解SecureCRT

Posted by 婷 on November 21, 2021 本文总阅读量

破解

来到SecureCRT官网,点击previous version

image-20211121145931246

进去之后点击SecureCRT

image-20211121145952213

选择8.7.3(貌似9.0的不让破解了)

image-20211121150025834

注意自己的Ubuntu系统,我的是Ubuntu 18.10的,选择18.04的就可以了,下载对应的deb

image-20211121150054923

输入命令安装

sudo dpkg -i scrt-8.7.3-2279.ubuntu18-64.x86_64.deb 

image-20211121150220253

安装完成后先别打开SecureCRT,先创建一个文件securecrt_linux_crack.pl,如果没有perl环境可能自己还需要装一下。securecrt_linux_crack.pl文件内容如下。

#!/usr/bin/perl 
#===============================================================================
#
#         FILE: securecrt_linux_crack.pl
#
#        USAGE: ./securecrt_linux_crack.pl  
#
#  DESCRIPTION: securecrt_linux_crack
#
#      OPTIONS: ---
# REQUIREMENTS: ---
#         BUGS: ---
#        NOTES: ---
#       AUTHOR: xiaobo_l
# ORGANIZATION: 
#      VERSION: 1.2
#      CREATED: 08/16/2015 13:26:00 
#     REVISION: ---
#===============================================================================
 
use strict;
use warnings;
use File::Copy qw(move);
 
 
 
 
sub license {
    print "\n".
    "License:\n\n".
    "\tName:\t\txiaobo_l\n".
    "\tCompany:\twww.boll.me\n".
    "\tSerial Number:\t03-91-324785\n".
    "\tLicense Key:\tAC33SN 4JHKFS 48KYUT MY8F24 AAKC1C HJYFXT 8P6S99 MRAUQ2\n".
    "\tIssue Date:\t02-12-2019\n\n\n";
}
 
sub usage {
    print "\n".
    "help:\n\n".
    "\tperl securecrt_linux_crack.pl <file>\n\n\n".
    "\tperl securecrt_linux_crack.pl /usr/bin/SecureCRT\n\n\n".
    "\n";
     
    &license;
 
    exit;
}
&usage() if ! defined $ARGV[0] ;
 
 
my $file = $ARGV[0];
 
open FP, $file or die "can not open file $!";
binmode FP;
 
open TMPFP, '>', '/tmp/.securecrt.tmp' or die "can not open file $!";
 
my $buffer;
my $unpack_data;
my $crack = 0;
 
while(read(FP, $buffer, 1024)) {
    $unpack_data = unpack('H*', $buffer);
    if ($unpack_data =~ m/785782391ad0b9169f17415dd35f002790175204e3aa65ea10cff20818/) {
        $crack = 1;
        last;
    }
    if ($unpack_data =~ s/6e533e406a45f0b6372f3ea10717000c7120127cd915cef8ed1a3f2c5b/785782391ad0b9169f17415dd35f002790175204e3aa65ea10cff20818/ ){
        $buffer = pack('H*', $unpack_data);
        $crack = 2;
    }
    syswrite(TMPFP, $buffer, length($buffer));
}
 
close(FP);
close(TMPFP);
 
if ($crack == 1) {
        unlink '/tmp/.securecrt.tmp' or die "can not delete files $!";
        print "It has been cracked\n";
        &license;
        exit 1;
} elsif ($crack == 2) {
        move '/tmp/.securecrt.tmp', $file or die 'Insufficient privileges, please switch the root account.';
        chmod 0755, $file or die 'Insufficient privileges, please switch the root account.';
        print "crack successful\n";
        &license;
} else {
    die 'error';
}

输入命令

sudo perl securecrt_linux_crack.pl /usr/bin/SecureCRT

图示的内容待会会用到,建议先复制到一个文本文件中

image-20211121150751816

打开SecureCRT,点击红框

image-20211121150836364

输入刚刚的License Key,点击next

image-20211121150930478

再点击红框

image-20211121151003993

分别手动输入刚刚生成的内容(注意每个字符串结束不要有多余的空格,不然会破解失败!!!)

image-20211121151045539

image-20211121151123332

image-20211121151155235

链接