Example #1
0
File: c2UAC.php Project: 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);
 }
Example #2
0
File: rpc.php Project: hornos/C2
<?php

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