Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This script is not working on Kali Rolling #1

Open
feralfenrir opened this issue Jun 13, 2016 · 2 comments
Open

This script is not working on Kali Rolling #1

feralfenrir opened this issue Jun 13, 2016 · 2 comments

Comments

@feralfenrir
Copy link

I get the following error:

root@kali:~/rdp-sec-check# ./rdp-sec-check.pl
Can't locate Encoding/BER.pm in @inc (you may need to install the Encoding::BER module) (@inc contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.22.2 /usr/local/share/perl/5.22.2 /usr/lib/x86_64-linux-gnu/perl5/5.22 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.22 /usr/share/perl/5.22 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base .) at ./rdp-sec-check.pl line 43.
BEGIN failed--compilation aborted at ./rdp-sec-check.pl line 43.

I'm using an updated Kali Rolling with everything updated and installed.

timb-machine pushed a commit that referenced this issue Nov 9, 2018
Resolving errors due to bad socket
@nyxgeek
Copy link

nyxgeek commented Feb 16, 2019

cpan install Encoding::BER

@Reelix
Copy link

Reelix commented Aug 13, 2024

For those who are running this on a box that lacks internet access (So you cannot install with cpan), but you can copy files to it

1.) Copy https://fastapi.metacpan.org/source/JAW/Encoding-BER-1.02/lib/Encoding/BER.pm to the box
2.) Alter the script, and change line 43 from

use Encoding::BER;

to

use lib '/path/to/BER.pm';  
use BER;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

4 participants
@Reelix @nyxgeek @feralfenrir and others