Exploit databaseDownload repository ZIP
GH-557a35ec88cecc5153df8ffeda95d1c2
bob11vrdp/cve-2022-39425
Sources for CVE-2022-39425
1 sourcePreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars.
Repository files40
bob11vrdp/cve-2022-39425Revision 1d03f54cf1ec
- ↑..Parent directory
- asm/
- Makefile.kmk
- README.pod
- bn_add.c
- bn_asm.c
- bn_blind.c
- bn_const.c
- bn_ctx.c
- bn_depr.c
- bn_dh.c
- bn_div.c
- bn_err.c
- bn_exp.c
- bn_exp2.c
- bn_gcd.c
- bn_gf2m.c
- bn_intern.c
- bn_kron.c
- bn_lib.c
- bn_local.h
- bn_mod.c
- bn_mont.c
- bn_mpi.c
- bn_mul.c
- bn_nist.c
- bn_prime.c
- bn_prime.h
- bn_prime.pl
- bn_print.c
- bn_rand.c
- bn_recp.c
- bn_shift.c
- bn_sqr.c
- bn_sqrt.c
- bn_srp.c
- bn_word.c
- bn_x931p.c
- build.info
- rsaz_exp.c
- rsaz_exp.h
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
VirtualBox-6.1.38/src/libs/openssl-1.1.1q/crypto/bn/bn_prime.pl
Perl · 1,412 bytes#! /usr/bin/env perl
# Copyright 1998-2019 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License"). You may not use
# this file except in compliance with the License. You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
# Output year depends on the year of the script.
my $YEAR = [localtime([stat($0)]->[9])]->[5] + 1900;
print <<"EOF";
/*
* WARNING: do not edit!
* Generated by crypto/bn/bn_prime.pl
*
* Copyright 1998-$YEAR The OpenSSL Project Authors. All Rights Reserved.
*
* Licensed under the OpenSSL license (the "License"). You may not use
* this file except in compliance with the License. You can obtain a copy
* in the file LICENSE in the source distribution or at
* https://www.openssl.org/source/license.html
*/
EOF
my $num = shift || 2048;
my @primes = ( 2 );
my $p = 1;
loop: while ($#primes < $num-1) {
$p += 2;
my $s = int(sqrt($p));
for (my $i = 0; defined($primes[$i]) && $primes[$i] <= $s; $i++) {
next loop if ($p % $primes[$i]) == 0;
}
push(@primes, $p);
}
print "typedef unsigned short prime_t;\n";
printf "# define NUMPRIMES %d\n\n", $num;
printf "static const prime_t primes[%d] = {", $num;
for (my $i = 0; $i <= $#primes; $i++) {
printf "\n " if ($i % 8) == 0;
printf " %5d,", $primes[$i];
}
print "\n};\n";