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

generate zeroes in msgWhole #3

Open
DidierA opened this issue Jan 15, 2019 · 1 comment
Open

generate zeroes in msgWhole #3

DidierA opened this issue Jan 15, 2019 · 1 comment

Comments

@DidierA
Copy link

DidierA commented Jan 15, 2019

to replace the value of msgAuthenticationParameters in msgWhole to zeroes, instead of doing it by hand you can use the following:

msgWhole=$(echo "$msgWhole" | sed -e "s/$msgAuthenticationParameters/000000000000000000000000/")
@jumpman234
Copy link

Hi, I keep getting this error when i run the script, can you help? Thank you so much
psi tried these: https://serverfault.com/questions/305953/how-to-install-perl-module-cryptopensslaes

Testing password: 050505
Can't locate Crypt/DES.pm in @inc (you may need to install the Crypt::DES module) (@inc contains: /etc/perl /usr/local/lib/aarch64-linux-gnu/perl/5.36.0 /usr/local/share/perl/5.36.0 /usr/lib/aarch64-linux-gnu/perl5/5.36 /usr/share/perl5 /usr/lib/aarch64-linux-gnu/perl-base /usr/lib/aarch64-linux-gnu/perl/5.36 /usr/share/perl/5.36 /usr/local/lib/site_perl) at /usr/share/perl5/Net/SNMP/Security/USM.pm line 26.
BEGIN failed--compilation aborted at /usr/share/perl5/Net/SNMP/Security/USM.pm line 26.
Compilation failed in require at /usr/bin/snmpkey line 87.
BEGIN failed--compilation aborted at /usr/bin/snmpkey line 87.

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

No branches or pull requests

2 participants