403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31
System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64
User : studiokobylisy_cz ( 1008)
PHP Version : 7.3.31
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : OFF  |  Perl : OFF  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /usr/ports/sysutils/rsyncrypto/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/sysutils/rsyncrypto/files/patch-crypto.cpp
--- crypto.cpp.orig	2016-11-11 20:23:00 UTC
+++ crypto.cpp
@@ -155,9 +155,13 @@ std::unique_ptr<key> decrypt_header( file_t fromfd, RS
     unsigned char *buff=filemap.get_uc()+sizeof(HEADER_ENCRYPTION_VERSION);
     auto_array<unsigned char> decrypted(new unsigned char[headsize]);
 
+#if OPENSSL_VERSION_NUMBER < 0x10100000L
+    if( (prv->p==nullptr || prv->q==nullptr) ) {
+#else
     const BIGNUM *p, *q;
     RSA_get0_factors(prv, &p, &q);
     if( (p==nullptr || q==nullptr) ) {
+#endif
         // This is not a private key!
         throw rscerror("Neither AES session key nor RSA private key present - cannot decrypt using only public key");
     }

Youez - 2016 - github.com/yon3zu
LinuXploit