1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-22 14:48:12 +00:00

tests: use python3/pip3 instead of just python/pip

This commit is contained in:
philsmd 2020-10-13 10:12:10 +02:00
parent fb219e0a69
commit 10b3e3051c
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF
10 changed files with 29 additions and 29 deletions

View File

@ -64,13 +64,13 @@ cpan install Authen::Passphrase::LANManager \
ERRORS=$((ERRORS+$?))
pip install pygost
pip3 install pygost
# pip uninstall -y pycryptoplus pycrypto pycryptodome
# pip3 uninstall -y pycryptoplus pycrypto pycryptodome
pip install pycryptoplus
pip uninstall -y pycryptodome
pip install pycrypto
pip3 install pycryptoplus
pip3 uninstall -y pycryptodome
pip3 install pycrypto
ERRORS=$((ERRORS+$?))

View File

@ -26,7 +26,7 @@ print (binascii.hexlify (digest[::-1]).decode (), end = "")
END_CODE
my $hash = `python -c '$python_code'`;
my $hash = `python3 -c '$python_code'`;
return $hash;
}

View File

@ -27,7 +27,7 @@ print (binascii.hexlify (digest[::-1]).decode (), end = "")
END_CODE
my $digest = `python -c '$python_code'`;
my $digest = `python3 -c '$python_code'`;
my $hash = sprintf ("%s:%s", $digest, $salt);

View File

@ -27,7 +27,7 @@ print (binascii.hexlify (digest[::-1]).decode (), end = "")
END_CODE
my $digest = `python -c '$python_code'`;
my $digest = `python3 -c '$python_code'`;
my $hash = sprintf ("%s:%s", $digest, $salt);

View File

@ -24,7 +24,7 @@ print (binascii.hexlify (digest[::-1]).decode (), end = "")
END_CODE
my $hash = `python -c '$python_code'`;
my $hash = `python3 -c '$python_code'`;
return $hash;
}

View File

@ -28,7 +28,7 @@ print (binascii.hexlify (digest[::-1]).decode (), end = "")
END_CODE
my $digest = `python -c '$python_code'`;
my $digest = `python3 -c '$python_code'`;
my $hash = sprintf ("%s:%s", $digest, $salt);

View File

@ -28,7 +28,7 @@ print (binascii.hexlify (digest[::-1]).decode (), end = "")
END_CODE
my $digest = `python -c '$python_code'`;
my $digest = `python3 -c '$python_code'`;
my $hash = sprintf ("%s:%s", $digest, $salt);

View File

@ -48,7 +48,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -91,7 +91,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -136,7 +136,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -179,7 +179,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -224,7 +224,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -267,7 +267,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;

View File

@ -48,7 +48,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -91,7 +91,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -136,7 +136,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -179,7 +179,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -224,7 +224,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -267,7 +267,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;

View File

@ -48,7 +48,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -91,7 +91,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -136,7 +136,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -179,7 +179,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -224,7 +224,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;
@ -267,7 +267,7 @@ END_CODE
$python_code =~ s/key_tweak/"$key_tweak"/;
$python_code =~ s/data/"$data_base64"/;
my $output_buf = `python -c '$python_code'`;
my $output_buf = `python3 -c '$python_code'`;
$output_buf =~ s/[\r\n]//g;