예제 #1
0
파일: c2UAC.php 프로젝트: hornos/C2
 public function rpc($m = NULL, $a = NULL, $s = true)
 {
     // TODO: auth ( s - secure )
     try {
         $d = parent::rpc($m, $a);
     } catch (Exception $e) {
         return c2Req::jex($e);
     }
     return c2Req::jre($d);
 }
예제 #2
0
파일: rpc.php 프로젝트: hornos/C2
<?php

require_once "../php/h.php";
$uac = new c2UAC();
$uac->rpc(c2Req::get('c'));