403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.217.33
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/security/opencryptoki/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/security/opencryptoki/files/patch-usr-sbin-pkcsconf-pkcsconf.c
--- usr/sbin/pkcsconf/pkcsconf.c.orig	2022-04-25 11:04:51 UTC
+++ usr/sbin/pkcsconf/pkcsconf.c
@@ -548,7 +548,7 @@ CK_RV check_user_and_group(void)
      * when forked). So we need to get the group information.
      * Really need to take the uid and map it to a name.
      */
-    grp = getgrnam("pkcs11");
+    grp = getgrnam(PKCS11GROUP);
     if (grp == NULL) {
         return CKR_FUNCTION_FAILED;
     }
@@ -589,6 +589,8 @@ CK_RV display_pkcs11_info(void)
     printf("\tLibrary Description: %.32s \n", CryptokiInfo.libraryDescription);
     printf("\tLibrary Version: %d.%d \n", CryptokiInfo.libraryVersion.major,
            CryptokiInfo.libraryVersion.minor);
+
+    cleanup();
 
     return rc;
 }

Youez - 2016 - github.com/yon3zu
LinuXploit