Guida Come Cryptare un client

« Older   Newer »
 
  Share  
.
  1.     Like  
     
    .
    Avatar

    Il creatore di debbo

    Group
    Boss
    Posts
    2,482
    Vota
    0
    Location
    Sardegna

    Status
    Offline
    Salve a tutti ragazzi, in questa guida voglio spiegarvi come " cryptare " un client !

    Come si è notato ci sono MOLTE guide sul crypt del client, infatti questa non sarà solo una semplice guida sul crypt !
    Vi darò anche un'informazioncina che vi sarà molto utile (almeno per i retroserver emergenti).
    Prima di tutto partiamo col cryptare.

    Nascondere IP e porta emulatore :

    Prima di tutto dovrete prendere questa parte di client ( apri lo spoiler ).


    CODICE
    <script type="text/javascript" src="http://dnt.webnet32.com/DCR/flashclient/habboflashclient_new.js"></script>
    <script type="text/javascript">



    if (top == self) {
    FlashHabboClient.cacheCheck();
    }
    var flashvars = {
    "client.allow.cross.domain" : "1",
    "client.notify.cross.domain" : "0",
    "connection.info.host" : "IP o sito (se hai cloudflare per forza ip)",
    "connection.info.port" : "porta del tuo emulatore",



    Dopo di che copiarla qui




    Una volta cryptato ti darà un codice !
    ovvero nella parte sotto dell'encoder.
    Vi faccio un esempio con il "pezzetto" di client sopra

    A me è uscito questo :


    CODICE
    <script type="text/javascript">document.write('\u003C\u0073\u0063\u0072\u0069\u0070\u0074\u0020\u0074\u0079\&#8203;u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\u006A\u0061\u0076\u0061\u0&#8203;073\u0063\u0072\u0069\u0070\u0074\u0022\u0020\u0073\u0072\u0063\u003D\u0022\u006&#8203;8\u0074\u0074\u0070\u003A\u002F\u002F\u0064\u006E\u0074\u002E\u0077\u0065\u0062\&#8203;u006E\u0065\u0074\u0033\u0032\u002E\u0063\u006F\u006D\u002F\u0044\u0043\u0052\u0&#8203;02F\u0066\u006C\u0061\u0073\u0068\u0063\u006C\u0069\u0065\u006E\u0074\u002F\u006&#8203;8\u0061\u0062\u0062\u006F\u0066\u006C\u0061\u0073\u0068\u0063\u006C\u0069\u0065\&#8203;u006E\u0074\u005F\u006E\u0065\u0077\u002E\u006A\u0073\u0022\u003E\u003C\u002F\u0&#8203;073\u0063\u0072\u0069\u0070\u0074\u003E\u000D\u003C\u0073\u0063\u0072\u0069\u007&#8203;0\u0074\u0020\u0074\u0079\u0070\u0065\u003D\u0022\u0074\u0065\u0078\u0074\u002F\&#8203;u006A\u0061\u0076\u0061\u0073\u0063\u0072\u0069\u0070\u0074\u0022\u003E\u000D\u0&#8203;00D\u000D\u0020\u0020\u0020\u0020\u000D\u0020\u0020\u0020\u0020\u0069\u0066\u002&#8203;0\u0028\u0074\u006F\u0070\u0020\u003D\u003D\u0020\u0073\u0065\u006C\u0066\u0029\&#8203;u0020\u007B\u000D\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0046\u006C\u0&#8203;061\u0073\u0068\u0048\u0061\u0062\u0062\u006F\u0043\u006C\u0069\u0065\u006E\u007&#8203;4\u002E\u0063\u0061\u0063\u0068\u0065\u0043\u0068\u0065\u0063\u006B\u0028\u0029\&#8203;u003B\u000D\u0020\u0020\u0020\u0020\u007D\u000D\u0020\u0020\u0020\u0020\u0076\u0&#8203;061\u0072\u0020\u0066\u006C\u0061\u0073\u0068\u0076\u0061\u0072\u0073\u0020\u003&#8203;D\u0020\u007B\u000D\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\&#8203;u0020\u0020\u0022\u0063\u006C\u0069\u0065\u006E\u0074\u002E\u0061\u006C\u006C\u0&#8203;06F\u0077\u002E\u0063\u0072\u006F\u0073\u0073\u002E\u0064\u006F\u006D\u0061\u006&#8203;9\u006E\u0022\u0020\u003A\u0020\u0022\u0031\u0022\u002C\u0020\u000D\u0020\u0020\&#8203;u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0022\u0063\u006C\u0&#8203;069\u0065\u006E\u0074\u002E\u006E\u006F\u0074\u0069\u0066\u0079\u002E\u0063\u007&#8203;2\u006F\u0073\u0073\u002E\u0064\u006F\u006D\u0061\u0069\u006E\u0022\u0020\u003A\&#8203;u0020\u0022\u0030\u0022\u002C\u0020\u000D\u0020\u0020\u0020\u0020\u0020\u0020\u0&#8203;020\u0020\u0020\u0020\u0020\u0020\u0022\u0063\u006F\u006E\u006E\u0065\u0063\u007&#8203;4\u0069\u006F\u006E\u002E\u0069\u006E\u0066\u006F\u002E\u0068\u006F\u0073\u0074\&#8203;u0022\u0020\u003A\u0020\u0022\u0049\u0050\u0020\u006F\u0020\u0073\u0069\u0074\u0&#8203;06F\u0020\u0028\u0073\u0065\u0020\u0068\u0061\u0069\u0020\u0063\u006C\u006F\u007&#8203;5\u0064\u0066\u006C\u0061\u0072\u0065\u0020\u0070\u0065\u0072\u0020\u0066\u006F\&#8203;u0072\u007A\u0061\u0020\u0069\u0070\u0029\u0022\u002C\u0020\u000D\u0020\u0020\u0&#8203;020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0020\u0022\u0063\u006F\u006&#8203;E\u006E\u0065\u0063\u0074\u0069\u006F\u006E\u002E\u0069\u006E\u0066\u006F\u002E\&#8203;u0070\u006F\u0072\u0074\u0022\u0020\u003A\u0020\u0022\u0070\u006F\u0072\u0074\u0&#8203;061\u0020\u0064\u0065\u006C\u0020\u0074\u0075\u006F\u0020\u0065\u006D\u0075\u006&#8203;C\u0061\u0074\u006F\u0072\u0065\u0022\u002C');</script>







    Dove inserire il crypt nel client ?
    Molto bene, vedi questo spoiler per capire dove inserire il crypt (codice che ti darà l'encoder)!


    CODICE
    <?php


    include('core.php');
    include('includes/session.php');


    $ssocheck = mysql_query("select * from users where username = '".$rawname."' and password = '".$rawpass."' limit 1") or die(mysql_error());
    $ssocheck2 = mysql_fetch_assoc($ssocheck);
    if($ssocheck2['auth_ticket'] == "") {
    if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
    if(isset($_get['wide'])) {
    header("location:reauthenticate.php?forwardid=".$_get['forwardid']."&roomid=".$_get['roomid']."&wide=".$_get['wide']."&flash=habbu");
    } else {
    header("location:reauthenticate.php?forwardid=".$_get['forwardid']."&roomid=".$_get['roomid']."&flash=habbu");
    }
    } elseif(isset($_get['wide'])) {
    header("location:reauthenticate.php?wide=".$_get['wide']."&flash=habbu");
    } else {
    header("location:reauthenticate.php?flash=habbu");
    }
    }

    if($logged_in){
    require_once('includes/session.php');
    } else {
    header("location: clientutils.php?key=loginplease");
    exit;
    }

    if($online !== "online" && $enable_status_image == "1"){
    echo "<font color='white'><center><b>".$sitename." is offline</b></center></font>";
    exit();
    }


    if(isset($_get['roomid']) && $_get['forwardid'] == "2"){
    $roomid = $_get['roomid'];
    $checksql = mysql_query("select id from rooms where id = '".$roomid."' limit 1");
    $roomexists = mysql_num_rows($checksql);
    if($roomexists > 0){
    $forward = "1";
    echo "<!-- forwarding to room ".$roomid." -->";
    } else {
    $forward = "0";
    echo "<!-- room doesn't exist; not forwarding -->";
    }
    } else {
    echo "<!-- no room forward requested, normal loader -->";
    $forward = "0";
    }
    ?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml">
    <head>
    <meta http-equiv="X-UA-Compatible" content="IE=7" />

    <title>Hotel - Client</title>

    <script type="text/javascript">
    var andSoItBegins = (new Date()).getTime();
    </script>
    <link rel="shortcut icon" href="favicon.ico" type="image/vnd.microsoft.icon" />
    <link rel="alternate" type="application/rss+xml" title="Habbo: RSS" href="http://www.habbo.it/articles/rss.xml" />
    <script src="flashclient/libs2.js" type="text/javascript"></script>

    <script src="flashclient/visual.js" type="text/javascript"></script>
    <script src="flashclient/libs.js" type="text/javascript"></script>
    <script src="flashclient/common.js" type="text/javascript"></script>
    <link rel="stylesheet" href="flashclient/style.css" type="text/css" />
    <link rel="stylesheet" href="flashclient/bottons.css" type="text/css" />
    <link rel="stylesheet" href="flashclient/boxes.css" type="text/css" />
    <link rel="stylesheet" href="flashclient/tooltips.css" type="text/css" />
    <link rel="stylesheet" href="flashclient/changepassword.css" type="text/css" />


    <script type="text/javascript">

    </script>
    <script type="text/javascript">
    var habboReqPath = "";
    var habboStaticFilePath = "http://images.habbo.com/habboweb/63_1dc60c6d6ea6e089c6893ab4e0541ee0/252/web-gallery";
    var habboImagerUrl = "http://www.habbo.com/habbo-imaging/";
    var habboDefaultClientPopupUrl = "http://gibboitalia.eu/client.php";



    </script>





    <link rel="stylesheet" href="flashclient/habboclient.css" type="text/css" />
    <link rel="stylesheet" href="flashclient/habboflashclient.css" type="text/css" />


    ----------------------- " Qua dovrai inserire lo il codice che ti darà ovvero il crypt ! ( ti ricordo che dovrai eliminare i codici precedentemente crypt ! ) -------------------------------


    "site.url" : "inserisci il link del tuo sito",
    "url.prefix" : "inserisci il link del tuo sito",
    "client.reload.url" : "http://gibboitalia.eu/404.php",
    "client.fatal.error.url" : "http://gibboitalia.eu/404.php",
    "client.connection.failed.url" : "http://gibboitalia.eu/404.php",
    "external.variables.txt":"INSERISCI I TUOI DCR"",
    "external.texts.txt" : "INSERISCI I TUOI DCR"",
    "productdata.load.url" : "INSERISCI I TUOI DCR"",
    "furnidata.load.url" : "INSERISCI I TUOI DCR"",
    "use.sso.ticket" : "1",
    "sso.ticket" : "<?php echo $myticket; ?>",
    "processlog.enabled" : "0",
    "account_id" : "0",
    "client.starting" : "Attendi per favore!",
    "flash.client.url" : "INSERISCI I TUOI DCR",
    "user.hash" : "",
    "has.identity" : "0",
    "flash.client.origin" : "popup"
    };
    var params = {
    "base" : "INSERISCI I TUOI DCR"",
    "allowScriptAccess" : "always",
    "menu" : "false"
    };

    if (!(HabbletLoader.needsFlashKbWorkaround())) {
    params["wmode"] = "opaque";
    }

    FlashExternalInterface.signoutUrl = "http://gibboitalia.eu/logout.php";

    var clientUrl = "INSERISCI I TUOI DCR"";
    swfobject.embedSWF(clientUrl, "flash-container", "100%", "100%", "10.0.0", "flashclient/expressInstall.swf", flashvars, params);

    window.onbeforeunload = unloading;
    function unloading() {
    var clientObject;
    if (navigator.appName.indexOf("Microsoft") != -1) {
    clientObject = window["flash-container"];
    } else {
    clientObject = document["flash-container"];
    }
    try {
    clientObject.unloading();
    } catch (e) {}
    }
    </script>

    <meta name="description" content="Client Hotel: amici, divertimento, celebrità!" />
    <meta name="keywords" content=" hotel, virtuale, mondo, social network, gratis, community, avatar, personaggio, chat, online, giovane, ragazzi, gioco di ruolo, giochi di ruolo, iscriviti, social, gruppi, forum, sicurezza, giocare, giochi, online, amici, giovani, rari, furni rari, collezione, creare, collezionare, connettersi, furni, mobili, cuccioli, animali, creazione stanze, condivisione, espressione, distintivi, badge, uscire, musica, VIP, celebrità, visite VIP, famosi, mmo, mmorpg, multiplayer" />




    <!--[if IE 8]>
    <link rel="stylesheet" href="flashclient/ie8.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 8]>
    <link rel="stylesheet" href="flashclient/ie.css" type="text/css" />
    <![endif]-->
    <!--[if lt IE 7]>
    <link rel="stylesheet" href="flashclient/ie6.css" type="text/css" />
    <script src="flashclient/pngfix.js" type="text/javascript"></script>
    <script type="text/javascript">
    try { document.execCommand('BackgroundImageCache', false, true); } catch(e) {}
    </script>

    <style type="text/css">
    body { behavior: url(/js/csshover.htc); }
    </style>
    <![endif]-->
    <meta name="build" content="63-BUILD259 - 23.02.2011 23:10 - it" />
    </head>

    <body id="client" class="flashclient">
    <div id="overlay"></div>
    <img src="flashclient/page_loader.gif" style="position:absolute; margin: -1500px;" />

    <div id="overlay"></div>
    <div id="client-ui" >
    <div id="flash-wrapper">

    <div id="flash-container">
    <div id="content" style="width: 400px; margin: 20px auto 0 auto; display: none">
    <div class="cbb clearfix">
    <h2 class="title">Aggiorna Flash Player all'ultima versione disponibile</h2>
    <div class="box-content">
    <p>Puoi scaricare e istallare Adobe Flash Player <a href="http://get.adobe.com/flashplayer/">da questa URL</a>. Puoi trovare le istruzioni di istallazione <a href="http://www.adobe.com/products/flashplayer/productinfo/instructions/">cliccando qui</a>.</p>

    <p><a href="http://www.adobe.com/go/getflashplayer"><img src="flashclient/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
    </div>
    </div>
    </div>
    <script type="text/javascript">
    $('content').show();
    </script>
    <noscript>
    <div style="width: 400px; margin: 20px auto 0 auto; text-align: center">
    <p>If you are not automatically redirected, please <a href="/client/nojs">click here</a></p>
    </div>
    </noscript>
    </div>
    </div>

    <div id="content" class="client-content"></div>
    </div>
    <div style="display: none">
    <div id="habboCountUpdateTarget">
    4,017 Habbo in Hotel
    </div>
    <script language="JavaScript" type="text/javascript">
    setTimeout(function() {
    HabboCounter.init(600);
    }, 20000);
    </script>
    </div>
    <script type="text/javascript">
    RightClick.init("flash-wrapper", "flash-container");
    if (window.opener && window.opener != window && window.opener.location.href == "/") {
    window.opener.location.replace("/me");
    }
    $(document.body).addClassName("js");
    HabboClient.startPingListener();
    </script>




    <script src="http://www.google-analytics.com/ga.js" type="text/javascript"></script>
    <script type="text/javascript">
    var pageTracker = _gat._getTracker("UA-448325-20");
    pageTracker._trackPageview();
    </script>

    <script type="text/javascript">
    HabboView.run();
    </script>
    <script type="text/javascript">

    function disableCtrlKeyCombination(e) {

    //list all CTRL + key combinations you want to disable

    var forbiddenkeys = new Array('a', 'b', 'd', 'e', 'f', 'g', 'u' , 's' , 'n', 'c', 'x', 'v', 'j', 'p');

    var key;

    var isCtrl;

    if (window.event) {

    key = window.event.keyCode; //IE

    if (window.event.ctrlKey)

    isCtrl = true;

    else

    isCtrl = false;

    }

    else {

    key = e.which; //firefox

    if (e.ctrlKey)

    isCtrl = true;

    else

    isCtrl = false;

    }



    //if ctrl is pressed check if other key is in forbidenKeys array

    if (isCtrl) {

    for (i = 0; i < forbiddenkeys.length; i++) {

    //case-insensitive comparation

    if (forbiddenkeys.toLowerCase() == String.fromCharCode(key).toLowerCase()) {

    alert("Non si ruba.. Tasto usato: CRTL + "

    + String.fromCharCode(key)

    + " Ringraziamenti a Turanx!");

    return false;

    }

    }

    }

    return true;

    }

    var oEventUtil = new Object();

    oEventUtil.AddEventHandler = function (oTarget, sEventType, fnHandler) {

    if (oTarget.addEventListener) {

    oTarget.addEventListener(sEventType, fnHandler, false);

    } else if (oTarget.attachEvent) {

    oTarget.attachEvent('on' + sEventType, fnHandler);

    } else {

    oTarget['on' + sEventType] = fnHandler;

    }

    }





    </script>

    </head>

    <body onkeypress="return disableCtrlKeyCombination(event);"

    onkeydown="return disableCtrlKeyCombination(event);"> </head></head><head><script language=JavaScript>

    <!--



    var message="Turanx, Tutti I Diritti Riservati!";



    ///////////////////////////////////

    function clickIE4(){

    if (event.button==2){

    alert(message);

    return false;

    }

    }



    function clickNS4(e){

    if (document.layers||document.getElementById&&!document.all){

    if (e.which==2||e.which==3){

    alert(message);

    return false;

    }

    }

    }



    if (document.layers){

    document.captureEvents(Event.MOUSEDOWN);

    document.onmousedown=clickNS4;

    }

    else if (document.all&&!document.getElementById){

    document.onmousedown=clickIE4;

    }



    document.oncontextmenu=new Function("alert(message);return false")



    </body>
    </html>



    Sito dove puoi trovare l'encoder : Clicca Qui


    INFORMAZIONE :
    Il client che vi ho postato ha un'altra buona funzionalità ovvero ho disattivato il ctlr+u per non far aprire le source nel client !
    So' che non sarà molto utile però per i retro emergenti potrà essere usato per un buon inizio ! :-D
     
    .
0 replies since 4/8/2013, 16:49   11 views
  Share  
.