File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed
Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change 109109
110110
111111 try {
112+ //* Allow connections to self signed SSL certs
113+ $ context = stream_context_create (
114+ array (
115+ 'ssl ' => array (
116+ 'verify_peer ' => false ,
117+ 'verify_peer_name ' => false ,
118+ 'allow_self_signed ' => true
119+ )
120+ )
121+ );
122+
112123 $ client = new SoapClient (null , array ('location ' => $ _POST ['remote_server ' ],
113124 'uri ' => $ _POST ['remote_server ' ].'/index.php ' ,
114125 'trace ' => 1 ,
115- 'exceptions ' => 1 ));
126+ 'exceptions ' => 1 ,
127+ 'stream_context ' => $ context ));
116128
117129 if (!isset ($ remote_session_id )) $ remote_session_id = $ _POST ['remote_session_id ' ];
118130
Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ admin:/capp.php:SESSION.s.module.nav.1.items.0.title
4141admin:/sites/web_vhost_subdomain_edit.php:POST.php_open_basedir
4242admin:/sites/web_domain_edit.php:POST.php_open_basedir
4343admin:/sites/web_domain_edit.php:POST.apache_directives
44+ admin:/sites/web_vhost_domain_edit.php:POST.nginx_directives
4445user:/sites/shell_user_edit.php:POST.ssh_rsa
4546user:/sites/cron_edit.php:POST.command
4647admin:/admin/server_config_edit.php:POST.jailkit_chroot_app_programs
You can’t perform that action at this time.
0 commit comments