以360平台为例。游戏链接目录为fireweb,平台上面是从webgame的login360.php进入的,包括了用户,md5的加密。再转到game.php
../configuration/config.inc360.php 杂乱的配置
GameConfigwan.xml 这是进游戏的配置
再转到
s1.php
最终进入的游戏
date_default_timezone_set('PRC');
$username=$_GET['uid'];
$spid=$_GET['platform'];
$gkey=$_GET['gkey'];
$LoginVerify=isset($_GET['password']) ? $_GET['password'] : '123456';
$ServerId=addslashes(trim(urldecode($_GET['skey'])));
$Adut=addslashes(trim(urldecode($_GET['is_adult'])));
$pFlag=addslashes(trim(urldecode($_GET['sign'])));
$client=addslashes(trim(urlencode($_GET['type'])));
//$exts=base64_decode(json_decode ($_GET['exts']));
$exts= isset($_GET['exts']) ? $_GET['exts'] : '';
$time=$_GET['time'];
$pTime=time();
if (!$username || !$ServerId || ($Adut == NULL) || !$pTime || !$pFlag) {
die('param error');
}
include('../configuration/config.inc360.php');
$lkey='ARfPNq99nV07sqlGmRZ1FFd9wDIecexC';
$flag_plant=md5($username.$spid.$gkey.$ServerId.$time.$Adut.$exts.'#'.$lkey);
if($pFlag !=$flag_plant){
header("Location:
http://open.wan.360.cn/yzrcaynfxlo");
die;
}
MD5的加密,平台和自己的一致才让进来