1
Foros Generales / Dudas Generales / ¿Que es?¿Como funciona Click'n'Load 2 Jdownloader en PHP & AES?Te Explico
en: 23 Mayo 2013, 22:48
¿Que es? Click and Load ? en español significa Haga clic y Carga
Mediante “Click and Load”, JDownloader “decodificará” el archivo para colocarlos en la lista de descarga automáticamente, sin necesidad de copiar los links uno por uno
¿ Como funciona Click'n'Load 2 Jdowloader? Click'N'Load - JDownloader.org que ha de servir de seguro , queria mostrales como es , de que se trata , como funciona , como es el procedimiento ? ya que en internet no hay mucha informacion documentacion yo te explico el funcionamiento interno que puedes implementar en tu pagina web como wordpress /Vbulletin/ Smf/ mybb .
primero se instalan Mipony ò JDownloader cual les guste mejor.
Mipony - Gestor de descargas JDownloader.org - Official Homepage de ahi los va reconocer automatico los enlaces con este truco
primero vamos a ver la parte de como funciona los cifrados
AES
jk: AES clave como javascript funktion. la función f siempre tiene que devolver la llave correcta.
cifrada: El Crypted URL del texto. Vea la sección PHP para detalles de cifrado.
Este es lo importante que hace todo el trabajo de convertidor cifrarlo encriptador links en AES , quiero aclarar que los enlaces del ejemplo estan caidos rotos son imaginarios
esto es por asi decirlo el convertidor
Ejemplo
esto es la funcion de comose realisa Internamente en php
Codigo php muy importante para que funcione.
<?php
function base16Encode($arg){ $ret=""; for($i=0;$i<strlen($arg);$i++){ $tmp=ord(substr($arg,$i,1)); $ret.=dechex($tmp); } return $ret; } $key="1234567890987654"; $transmitKey=base16Encode($key); $link="http://www.mediafire.com/?xxxx1/jDownloader.dmgrnhttp://www.mediafire.com/?xxxx2/jDownloader2.dmg"; $cp = mcrypt_module_open(MCRYPT_RIJNDAEL_128, '', 'cbc', ''); @mcrypt_generic_init($cp, $key,$key); $enc = mcrypt_generic($cp, $link); mcrypt_generic_deinit($cp); mcrypt_module_close($cp); $crypted=base64_encode($enc); echo $crypted;
?>
el truco es copiar y pegar en en esta pagina php online muy buena por cierto.
aqui
Test run php code online, right here - WriteCodeOnline.com/PHP luego clic en el boton Run Code
y magicamente ! esta cifrado en AES esto ya no lo detecta ningun navegador o gestor de descarga no lo reconoce ni el FBI ^^
..
rx5GFbIvZGJVEYNHIg9bOfRWl8FAb09sLqQggXd1Pda6FhgcBGEKu+w7eM0oz8Thl60UFxtqgoMmFA8zqINxyCAPAHGvMCsaZaXs8G8aPOP6HRktniE8Ur3y3NMZp0L1nJJz9bokFRq3gHp6VTQv4Q==
luego aqui el html
<html> <FORM ACTION="http://127.0.0.1:9666/flash/addcrypted2" target="hidden" METHOD="POST"> <INPUT TYPE="hidden" NAME="passwords" VALUE="myPassword"> <INPUT TYPE="hidden" NAME="source" VALUE="http://jdownloader.org/spielwiese"> <INPUT TYPE="hidden" NAME="jk" VALUE="function f(){ return '31323334353637383930393837363534';}"> <INPUT TYPE="hidden" NAME="crypted" VALUE="rx5GFbIvZGJVEYNHIg9bOfRWl8FAb09sLqQggXd1Pda6FhgcBGEKu+w7eM0oz8Thl60UFxtqgoMmFA8zqINxyCAPAHGvMCsaZaXs8G8aPOP6HRktniE8Ur3y3NMZp0L1nJJz9bokFRq3gHp6VTQv4Q=="> <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Add Link to JDownloader"> </FORM>
note se que puse lo cifrado en AES supuestamente estan los 2 enlaces , lo prove aqui
Probar código HTML. Herramientas webmaster :: LaWebera.es y me lanza en MiPony listo para descargar los 2 enlaces de descarga pero ojo en el codigo fuente no se ve los enlaces de descarga, solo se puede visualisar letras osea esta "camuflado "
rx5GFbIvZGJVEYNHIg9bOfRWl8FAb09sLqQggXd1Pda6FhgcBGEKu+w7eM0oz8Thl60UFxtqgoMmFA8zqINxyCAPAHGvMCsaZaXs8G8aPOP6HRktniE8Ur3y3NMZp0L1nJJz9bokFRq3gHp6VTQv4Q== y de yapa la funcion convertidor en base 64
ejemplo :
Man = TWFu
<html> <head> <script type="text/javascript"> function b64(){ var key = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789 /='.split(''); var e = document.getElementById('str'); var a = document.getElementById('res'); var str = e.value; var r = new Array(); var s = new Array(); for(i=0,x='';i<str.length;i ){ if(str.charCodeAt(i).toString(2).length!=8) x = '0'; r.push(x str.charCodeAt(i).toString(2)); } r = r.join(''); for(c=0,k=0;c<(Math.ceil(r.length/6));c ){ k = parseInt(r.substr(c*6,6),2); //alert(k); if(isNaN(k)){ s.push(key[64]); } else { s.push(key[k]); } } a.innerHTML = s.join(''); } </script> </head> <body> <p>Man = TWFu</p> <p> <input type="text" id="str" value="Man" /> <input type="button" onclick="b64()" value="convertir a b64" /> </p> <p id="res"></p> </body> </html>
base64
fuente:
JDownloader.org - Official Homepage [Solved] I need help for encrypting with click n load 2 - JD Community Espero Ayude.
Saludos.
4
Programación / PHP / Re: alguien sabe como se hace este script ?
en: 12 Mayo 2013, 19:15
Esta hecho con jquery y jqueryui (el estilo del boton css). Te das cuenta por que agrega las librerias.
<link rel = "stylesheet" type = "text/css" href = "http://foro-vip.com//css/jquery-ui.css?1341301048" / > /* Archivo CSS para JqueryUI - Le da estilo al boton y popup de errores dentro de la pagina */
<script src = "//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" ></ script > /* Libreria Jquery */
<script type = "text/javascript" src = "http://foro-vip.com//js/jquery-ui-1.8.23.custom.min.js" ></ script > /* Libreria JqueryUI */
Luego tenes..
<script type = "text/javascript" src = "http://foro-vip.com//js/aes.js" ></ script > /* Utilizado para cifrar, descifrar, generar keys, etc, creo que no es utilizado ? */
<script type = "text/javascript" src = "http://foro-vip.com//js/acciones2.js" ></ script > /* La mayoria son funciones para el foro vbulletin, pero al final encontramos lo que queremos. */
acciones2.js
var redirector_url = 'http://identi.li/u.php?u=' ;
function linkify( text) {
if ( text) {
text = text.replace ( /((https?\:\/\/)|(www\.))(\S+)(\w{2,4})(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?/gi , function ( url) {
var full_url = url;
if ( ! full_url.match ( '^https?:\/ \/ ' ) ) {
full_url = 'http://' + full_url;
}
fullurl = $.trim ( full_url) ;
url = $.trim ( url) ;
return '<a target="_blank" rel="nofollow" href="' + redirector_url + full_url + '">' + url + '</a><br/>' ;
} ) ;
}
return text;
}
var timerinterval = 0 ;
var t_spoiler = 10 ;
var frame_change = 0 ;
cdown = {
spl: { } ,
time: 5 ,
load: function ( ) {
var obj = $( '.contador' ) ;
var txt = '' ;
if ( t_spoiler <= this .time && t_spoiler > 0 ) t_spoiler = t_spoiler - 1 ;
if ( t_spoiler == this .time ) txt = 'Click en Publicidad' ;
else if ( t_spoiler == 0 ) txt = 'Click aquí para continuar' ;
else if ( t_spoiler < this .time ) txt = 'Espere ' + t_spoiler + ' seg. ' ;
obj.html ( txt) ;
if ( t_spoiler <= 0 ) {
clearInterval( timer_interval) ;
$( '#my-dialog' ) .dialog ( 'close' ) ;
_decrypt.open ( ) ;
}
} ,
frame: function ( ) {
frame_change++;
t_spoiler = this .time
cdown_start( ) ;
}
}
cdown_start = function ( ) {
if ( frame_change > 1 ) {
frame_change = 0 ;
timer_interval = setInterval( "cdown.load()" , 1000 ) ;
}
}
var _open_ads = function ( ) {
var obj = $( '#my-dialog' ) ;
var frame = '<iframe onload="cdown.frame()" id="frame_publi" width="600" height="300" src="http://wwww.identi.li/popup.php"></iframe>' ;
dialog_conf.width = 700 ;
obj.dialog ( {
title: 'Click en la publicidad » Esperar ' + cdown.time + ' seg'
} ) ;
obj.html ( frame) , obj.dialog ( dialog_conf) ;
obj.dialog ( "option" , "buttons" , [ {
text: 'Click en Publicidad' ,
"class" : 'ui-button-negative contador floatR'
} ] ) ;
obj.dialog ( "open" ) ;
$( '.ui-dialog-titlebar-close' ) .remove ( ) ;
$( 'frame_publi' ) .live ( function ( ) {
$( 'a' ) .attr ( 'target' , '_self' ) ;
} )
$( '.ui-dialog, #frame_publi,.ui-widget-overlay' ) .bind ( "contextmenu" , function ( e) {
return false ;
} ) ;
}
var _decrypt = {
hash: { } ,
objeto: { } ,
links: function ( ) {
$( 'div #decrypt' ) .click ( function ( ) {
if ( ! $( this ) .hasClass ( 'block' ) ) {
_decrypt.objeto = $( this ) ;
if ( global.pauth != 1 && $.cookie ( 'ads_accepted' ) == null ) ventanaSecundaria( ) ;
else _decrypt.open ( ) ;
}
} ) ;
} ,
open : function ( ) {
var elem = this .objeto .parent ( ) .find ( '#hide' ) ,
content = elem.html ( ) ;
this .objeto .addClass ( 'ui-button-positive' ) ;
this .objeto .unbind ( ) ;
elem.html ( content) .slideDown ( ) ;
}
}
$( document) .on ( 'ready' , function ( ) {
$( '.post_body a, .comment-content a' ) .attr ( 'target' , '_blank' ) ;
_decrypt.links ( ) ;
} ) ;
function getRandom( variablea, variableb) {
return Math[ "floor" ] ( Math[ "random" ] ( ) * ( variableb - variablea + 1 ) ) + variablea;
} ;
var pconfig = {
time: getRandom( 12 , 16 )
} ;
var t_spoiler = pconfig[ "time" ] ;
var hija = null ;
var timer = 0 ;
var publi_open = 0 ;
var publi_closed = 0 ;
function ventanaSecundaria( ) {
$( "div #decrypt" ) [ "addClass" ] ( "block" ) ;
t_spoiler = pconfig[ "time" ] ;
publi_closed = 0 ;
publi_open = 0 ;
hija = window[ "open" ] ( global[ "boardurl" ] + "/popup.php" , "ventana1" , "width=450,height=425,scrollbars=0,toolbar=no,directories=no,menubar=no,status=no,top=0,left=0" ) ;
timer = window[ "setInterval" ] ( "contador()" , 1000 ) ;
} ;
function contador( ) {
var variable14 = _decrypt[ "objeto" ] ;
if ( hija != null && publi_closed == 0 ) {
try {
var variable15 = hija[ "closed" ] ;
} catch ( err) {
var variable15 = true ;
} ;
if ( hija[ "closed" ] ) {
t_spoiler = pconfig[ "time" ] ;
mydialog[ "alert" ] ( "Haz click en un anuncio y espera con la pagina abierta" , "Atencion!" ) ;
variable14[ "val" ] ( "Ver Links De Descarga" ) ;
_decrypt[ "objeto" ] [ "bind" ] ( ) ;
variable14[ "removeClass" ] ( "ui-button-negative" ) ;
$( "div #decrypt" ) [ "removeClass" ] ( "block" ) ;
publi_closed = 1 ;
hija = null ;
clearInterval( timer) ;
return false ;
} ;
var variable16 = window[ "location" ] [ "host" ] ;
try {
var variable17 = hija[ "location" ] [ "host" ] ;
var variable18 = hija[ "frames" ] [ "length" ] ;
} catch ( err) {
var variable17 = "" ;
var variable18 = 0 ;
} ;
if ( variable16 != variable17) {
variable14[ "addClass" ] ( "ui-button-negative" ) ;
var variable19 = "" ;
if ( t_spoiler <= pconfig[ "time" ] && t_spoiler > 0 ) {
t_spoiler = t_spoiler - 1 ;
} ;
if ( t_spoiler == pconfig[ "time" ] ) {
variable19 = "Click en Publicidad" ;
} else {
if ( t_spoiler == 0 ) {
variable19 = "Ya puedes descargar!" ;
} else {
if ( t_spoiler < pconfig[ "time" ] ) {
variable19 = "No cerrar la publicidad, abriendo links en " + t_spoiler + " seg. " ;
} ;
} ;
} ;
variable14[ "val" ] ( variable19) ;
if ( t_spoiler <= 0 ) {
t_spoiler = pconfig[ "time" ] ;
publi_open = 1 ;
clearInterval( timer) ;
_decrypt[ "open" ] ( ) ;
$[ "cookie" ] ( "ads_accepted" , 1 , {
expires: 180
} ) ;
$( "div #decrypt" ) [ "removeClass" ] ( "block" ) ;
variable14[ "removeClass" ] ( "ui-button-negative" ) ;
} ;
} ;
} ;
} ;
Esto es sacado de identi
, aparte de crear el popup y de establecer un temporizador tambien genera una cookie para establecer que se a aceptado la petición.
Es un poco mas elaborado, si recien estas viendo javascript te recomiendo empezar leyendo sobre las funciones setInterval y window.open (son propias de javascript) y tratar de conbinarlas. Tambien si utilizas firefox podes descargarte Firebug es un complemento muy util para destripar un sitio web.
esto ayuda quisas
http://forobeta.com/otras-plataformas/173040-regalo-script-de-identi.html
8
Foros Generales / Foro Libre / Re: ¿Identi no puedo sacarlo de mantenimiento ayuda?
en: 2 Mayo 2013, 18:37
Asi a simple vista no se ve nada raro, el problema debe estar en algun otro lado. Intenta deshabilitar ese mod, si te funciona entonces el mod está mal hecho. Intenta comentar la linea 3 y 4 para que esas variables no existan e intentar forzar al mod a no dejar el sitio en mantenimiento. Si nada te resulta entonces anda dandole un echo 'test';exit; linea por linea, sección por sección hasta que logres ver en que parte se detiene el script con ese mensaje, porque si desde la configuración no se puede entonces lo unico que queda es depurarlo. Saludos.
mira esto es lo que intente hacer.
<?php
$maintenance = '0' ;
$mtitle = 'Mantenimiento' ;
$mmessage = 'Pagina en mantenimiento, aguarde un momento' ;
$limit_posts = '20' ; //Cantidad de posts mostrados por pagina
$mbname = 'Mi Comunidad' ;
$language = 'spanish' ;
$boardurl = 'http://127.0.0.1/foro/identi/' ;
$url = 'http://127.0.0.1/foro/identi/' ;
$chatid = '43220954' ;
$widget = 'Spirate.Net' ;
$slogan = 'Social Community Script' ;
$no_avatar = 'http://127.0.0.1/foro/identi/Themes/default/images/avatar.gif' ;
$webmaster_email = 'Agrega aqui tu correp' ;
$cookiename = 'SPCookies168' ;
$db_server = '127.0.0.1/' ;
$db_name = 'identi2' ;
$db_user = 'root' ;
$db_passwd = '' ;
$db_prefix = 'smf_' ;
$db_persist = '0' ;
$db_error_send = 1 ;
$boarddir = 'C:\EasyPHP-12.1\www\foro\identi' ;
$sourcedir = 'C:\EasyPHP-12.1\www\foro\identi/Sources' ;
$db_last_error = 1367465924 ;
$sourcedir = $boarddir . '/Sources' ;
$db_character_set = 'utf8' ;
?>
use repair_settings.php y no funciono.
http://www.simplemachines.org/community/index.php?topic=219422.0 pero no entiendo como hacer 'test';exit y depurar no comprendo puedo solucionarlo ?.
bueno solo encontre estas 2 SQL pero el vacio si subio el lleno no.
9
Programación / PHP / Re: ¿base 64 php se puede cifra enlaces de descarga?
en: 30 Abril 2013, 01:15
Y porque quieres encriparlos
Si base64 no tiene sentido para este tipo de cosas.. encriptalos en AES o RC4..así al menos los visitantes no podrán descifrarlos antes de que ocurra X cosa... si los vas a cifrar en base64 ni te molestes en hacerlo xD.
PD: Estoy trabajando (tiempo libre) en un script para estas cosas.. cuando lo tenga lo publico..
Saludos
pero en AES y RS4 es Con ida y vuelta
me refiero a que tiene un metodo covertidor para volverlo a su forma normal lo uculto
yo lo que quisiera es un generador de post como el de identi con el truco de porteger links como Click'n'Load 2 - JDownloader y algo que protega los links un spoiler con contador cuandp termine de contar se desencripte.
este script es el que usa identi
http://www.spirate.net/foro/noticias-y-actualizaciones/descargar-spirate-2-4-beta-27042/ El script va ser Como phpost y spirate es mi duda yo me apunto si es asi
Saludos
10
Programación / PHP / Re: ¿base 64 php se puede cifra enlaces de descarga?
en: 29 Abril 2013, 05:55
Mas bien, no entiendo ni un carajo de lo que has puesto... Saludos
algo como un convertidor de enlaces de descarga a base64 , pero que decodifique luego los enlaces de descarga a sus estado normal y conocido.
<html>
<head>
< script type= "text/javascript" >
function b64( ) {
var key = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=' .split ( '' ) ;
var e = document.getElementById ( 'str' ) ;
var a = document.getElementById ( 'res' ) ;
var str = e.value ; var r = new Array( ) ; var s = new Array( ) ;
for ( i= 0 , x= '' ; i< str.length ; i++ ) {
if ( str.charCodeAt ( i) .toString ( 2 ) .length != 8 ) x = '0' ;
r.push ( x+ str.charCodeAt ( i) .toString ( 2 ) ) ;
}
r = r.join ( '' ) ;
for ( c= 0 , k= 0 ; c< ( Math.ceil ( r.length / 6 ) ) ; c++ ) {
k = parseInt( r.substr ( c* 6 , 6 ) , 2 ) ;
//alert(k);
if ( isNaN( k) ) {
s.push ( key[ 64 ] ) ;
} else {
s.push ( key[ k] ) ;
}
}
a.innerHTML = s.join ( '' ) ;
}
</ script>
</head>
<body>
<p>Man = TWFu</p>
<p>
<input type="text" id="str" value="Man" />
<input type="button" onclick="b64()" value="convertir a b64" />
</p>
<p id="res"></p>
</body>
</html>
function base64_encode ( str) {
var bin, bits = '' , charset = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/' , index, r = '' , n = str.length , len = ( n + 2 - ( ( n + 2 ) % 3 ) ) / 3 * 4 ;
for ( var i = 0 , c = str.length ; i & lt; c; ++ i) {
bin = str.charCodeAt ( i) .toString ( 2 ) ;
if ( bin.length !== 8 ) {
bin = 0 + bin;
}
bits += bin;
}
for ( var i = 0 , c = Math.ceil ( bits.length / 6 ) ; i & lt; c; ++ i) {
index = parseInt( bits.substr ( i * 6 , 6 ) , 2 ) ;
r += charset[ index] ;
}
while ( r.length & lt; len) {
r += '=' ;
}
return r;
}
11
Programación / PHP / ¿base 64 php se puede cifra enlaces de descarga?
en: 29 Abril 2013, 05:07
¿base 64 php se puede cifra enlaces de descarga?
si ya se que estais artos del popup spoiler
existe alguna otra forma de proteger aparte popup spoiler
solo encontre esta informacion
<?php
$str = 'Me van a Emcriptar D:' ;
?>
http://php.net/manual/es/function.base64-encode.php http://writecodeonline.com/php/ Click'n'Load 2
<FORM ACTION="http://127.0.0.1:9666/flash/add" target="hidden" METHOD="POST"> <INPUT TYPE="hidden" NAME="passwords" VALUE="myPassword"> <INPUT TYPE="hidden" NAME="source" VALUE="http://jdownloader.org/spielwiese"> <INPUT TYPE="hidden" NAME="urls" VALUE="{AQUI PONER EL LINK DE DESCARGA}"> <INPUT TYPE="SUBMIT" NAME="submit" VALUE="Clic aqui para Agregar Links a Jdownloader"> </FORM>
www.jdownloader.org/knowledge/ tambien tengo un problema
No puedo sacar de Mantenimiento el script en el localhost con XAMPP :S pero quisas :$ alguien quiera verla y rescatar sus mods
Settings.php
<?php
$verify_menciones = 0 ; //Aqui lo cambie a 0 estaba en 1 y no puedo sacarlo de mateniemiento plop XD
$maintenance = 0 ; // Aqui tambien me dijeron que cambiara a = ''; pero no resulto
$mtitle = 'Actualización del Sitio' ;
$mmessage = 'Identi estará nuevamente operativo dentro de unas horas.' ;
$mbname = 'Identi' ;
$language = 'spanish' ;
$limit_posts = '20' ;
$boardurl = 'http://localhost' ;
$url = 'http://localhost/' ;
$chatid = '43220954' ; // ID de tu chat de xat.com
$widget = 'Novedades en Identi' ; // Lo que saldrá en el título del widget
$slogan = 'Tus descargas en mediafire' ; // lo que saldrá en el título de tu web, no pongas el nombre
$no_avatar = '/images/def/avatar.png' ;
$webmaster_email = 'seruji0@hotmail.com' ;
$cookiename = 'SMFCookie11' ;
$db_server = 'localhost' ;
$db_name = '' ;
$db_user = 'root' ;
$db_passwd = '' ;
$db_prefix = 'smf_' ;
$db_persist = 0 ;
$db_error_send = 1 ;
$boarddir = 'C:\\xampp\htdocs' ;
$sourcedir = 'C:\\xampp\htdocs/Sources' ;
$db_last_error = 1335835390 ;
$sourcedir = $boarddir . '/Sources' ;
$db_character_set = 'UTF-8' ;
$test = true ;
?>
index.php
<?php
if ( ! isset ( $_COOKIE [ 'desa12' ] ) ) {
if ( isset ( $_POST [ 'pass' ] ) && $_POST [ 'pass' ] == 'bender' ) { echo '<form method="post">Pass: <input type="text" name="pass">
<input type="submit" value="Entrar"></form>' ;
}
$forum_version = 'Identi v.2' ;
// Make sure some things simply do not exist.
foreach ( array ( 'db_character_set' ) as $variable ) if ( isset ( $GLOBALS [ $variable ] ) ) unset ( $GLOBALS [ $variable ] ) ;
// Load the settings...
require_once ( dirname ( __FILE__ ) . '/Settings.php' ) ; require_once ( $sourcedir . '/QueryString.php' ) ;
require_once ( $sourcedir . '/Subs.php' ) ;
require_once ( $sourcedir . '/Errors.php' ) ;
require_once ( $sourcedir . '/Load.php' ) ;
require_once ( $sourcedir . '/Security.php' ) ;
require_once ( $sourcedir . '/Subs-Compat.php' ) ;
if ( ! empty ( $maintenance ) && $maintenance == 2 ) db_fatal_error( ) ;
$db_connection = @ mysql_connect ( $db_server , $db_user , $db_passwd ) ; else
db_fatal_error( ) ;
reloadSettings( ) ;
// Unserialize the array of pretty board URLs
'action_array' => unserialize ( $modSettings [ 'pretty_action_array' ] ) , 'board_urls' => unserialize ( $modSettings [ 'pretty_board_urls' ] ) , 'db_count' => 0 ,
) ) ;
// Clean the request variables, add slashes, etc.
cleanRequest( ) ;
// Seed the random generator?
if ( empty ( $modSettings [ 'rand_seed' ] ) || mt_rand ( 1 , 250 ) == 69 ) smf_seed_generator( ) ;
// Determine if this is using WAP, WAP2, or imode. Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if ( isset ( $_SERVER [ 'HTTP_ACCEPT' ] ) && strpos ( $_SERVER [ 'HTTP_ACCEPT' ] , 'application/vnd.wap.xhtml+xml' ) !== false ) $_REQUEST [ 'wap2' ] = 1 ;
elseif ( isset ( $_SERVER [ 'HTTP_ACCEPT' ] ) && strpos ( $_SERVER [ 'HTTP_ACCEPT' ] , 'text/vnd.wap.wml' ) !== false ) {
if ( strpos ( $_SERVER [ 'HTTP_USER_AGENT' ] , 'DoCoMo/' ) !== false || strpos ( $_SERVER [ 'HTTP_USER_AGENT' ] , 'portalmmm/' ) !== false ) $_REQUEST [ 'imode' ] = 1 ;
else
$_REQUEST [ 'wap' ] = 1 ;
}
if ( WIRELESS)
{
define ( 'WIRELESS_PROTOCOL' , isset ( $_REQUEST [ 'wap' ] ) ?
'wap' : ( isset ( $_REQUEST [ 'wap2' ] ) ?
'wap2' : ( isset ( $_REQUEST [ 'imode' ] ) ?
'imode' : '' ) ) ) ; $modSettings [ 'enableCompressedOutput' ] = '0' ;
$modSettings [ 'defaultMaxMessages' ] = 5 ;
$modSettings [ 'defaultMaxTopics' ] = 9 ;
if ( WIRELESS_PROTOCOL == 'wap' )
header ( 'Content-Type: text/vnd.wap.wml' ) ; }
{
$modSettings [ 'enableCompressedOutput' ] = '0' ;
else
}
if ( empty ( $modSettings [ 'enableCompressedOutput' ] ) )
loadSession( ) ;
obExit( null , null , true ) ;
function smf_main( )
{
global $modSettings , $settings , $user_info , $board , $topic , $maintenance , $sourcedir ;
if ( isset ( $_GET [ 'action' ] ) && $_GET [ 'action' ] == 'keepalive' ) loadUserSettings( ) ;
loadBoard( ) ;
loadTheme( ) ;
is_not_banned( ) ;
loadPermissions( ) ;
// Referrals Mod - Check For Referrals
if ( isset ( $_GET [ 'referredby' ] ) || isset ( $_COOKIE [ 'smf_referrals' ] ) ) loadReferral( ) ;
if ( empty ( $_REQUEST [ 'action' ] ) || ! in_array ( $_REQUEST [ 'action' ] , array ( 'dlattach' , 'jsoption' , '.xml' ) ) ) {
writeLog( ) ;
if ( ! empty ( $modSettings [ 'hitStats' ] ) ) trackStats
( array ( 'hits' => '+' ) ) ; }
// twitter mod -->
if ( include_once ( $sourcedir . '/twitter.php' ) )
twitter_cron( ) ;
// <-- twitter mod
if ( ! empty ( $maintenance ) && ! allowedTo
( 'admin_forum' ) ) {
if ( isset ( $_REQUEST [ 'action' ] ) && ( $_REQUEST [ 'action' ] == 'login2' || $_REQUEST [ 'action' ] == 'logout' ) ) {
require_once ( $sourcedir . '/LogInOut.php' ) ;
return $_REQUEST [ 'action' ] == 'login2' ? 'Login2' : 'Logout' ;
}
else
{
require_once ( $sourcedir . '/Subs-Auth.php' ) ;
return 'InMaintenance' ;
}
}
elseif ( empty ( $modSettings [ 'allow_guestAccess' ] ) && $user_info [ 'is_guest' ] && ( ! isset ( $_REQUEST [ 'action' ] ) || ! in_array ( $_REQUEST [ 'action' ] , array ( 'coppa' , 'login' , 'login2' , 'register' , 'register2' , 'reminder' , 'activate' , 'smstats' , 'help' , 'verificationcode' ) ) ) ) {
require_once ( $sourcedir . '/Subs-Auth.php' ) ;
return 'KickGuest' ;
}
elseif ( empty ( $_REQUEST [ 'action' ] ) ) {
{
require_once ( $sourcedir . '/Recent.php' ) ;
return 'RecentPosts' ;
}
{
require_once ( $sourcedir . '/MessageIndex.php' ) ;
return 'MessageIndex' ;
}
else
{
require_once ( $sourcedir . '/Display.php' ) ;
return 'Display' ;
}
}
'url' => array ( 'url.php' , 'url_main' ) ,
'activate' => array ( 'Register.php' , 'Activate' ) , 'admin' => array ( 'Admin.php' , 'Admin' ) ,
'ban' => array ( 'ManageBans.php' , 'Ban' ) , 'boardrecount' => array ( 'Admin.php' , 'AdminBoardRecount' ) , 'favoritos' => array ( 'Favoritos.php' , 'Favoritos' ) , 'cleanperms' => array ( 'Admin.php' , 'CleanupPermissions' ) , 'convertentities' => array ( 'Admin.php' , 'ConvertEntities' ) , 'convertutf8' => array ( 'Admin.php' , 'ConvertUtf8' ) , 'coppa' => array ( 'Register.php' , 'CoppaForm' ) , 'contactenos' => array ( 'Contactenos.php' , 'ShowHelp' ) , 'deletemsg' => array ( 'RemoveTopic.php' , 'DeleteMessage' ) , 'detailedversion' => array ( 'Admin.php' , 'VersionDetail' ) , 'display' => array ( 'Display.php' , 'Display' ) , 'dumpdb' => array ( 'DumpDatabase.php' , 'DumpDatabase2' ) ,
'featuresettings' => array ( 'ModSettings.php' , 'ModifyFeatureSettings' ) , 'featuresettings2' => array ( 'ModSettings.php' , 'ModifyFeatureSettings2' ) , 'findmember' => array ( 'Subs-Auth.php' , 'JSMembers' ) ,
'terminos-y-condiciones' => array ( 'terminos-y-condiciones.php' , 'ShowHelp' ) ,
'protocolo' => array ( 'Protocolo.php' , 'ShowHelp' ) , 'comunidades' => array ( 'comunidades2.php' , 'comunidades_main' ) , 'im' => array ( 'PersonalMessage.php' , 'MessageMain' ) ,
'lock' => array ( 'LockTopic.php' , 'LockTopic' ) , 'login' => array ( 'LogInOut.php' , 'Login' ) , 'login2' => array ( 'LogInOut.php' , 'Login2' ) , 'logout' => array ( 'LogInOut.php' , 'Logout' ) , 'maintain' => array ( 'Admin.php' , 'Maintenance' ) , 'manageattachments' => array ( 'ManageAttachments.php' , 'ManageAttachments' ) , 'manageboards' => array ( 'ManageBoards.php' , 'ManageBoards' ) , 'managecalendar' => array ( 'ManageCalendar.php' , 'ManageCalendar' ) , 'managesearch' => array ( 'ManageSearch.php' , 'ManageSearch' ) , 'markasread' => array ( 'Subs-Boards.php' , 'MarkRead' ) , 'membergroups' => array ( 'ManageMembergroups.php' , 'ModifyMembergroups' ) , 'mergetopics' => array ( 'SplitTopics.php' , 'MergeTopics' ) , 'mlist' => array ( 'Memberlist.php' , 'Memberlist' ) , 'modifycat' => array ( 'ManageBoards.php' , 'ModifyCat' ) , 'modifykarma' => array ( 'Karma.php' , 'ModifyKarma' ) , 'hist-mod' => array ( 'Modlog.php' , 'ViewModlog' ) , 'movetopic' => array ( 'MoveTopic.php' , 'MoveTopic' ) , 'movetopic2' => array ( 'MoveTopic.php' , 'MoveTopic2' ) , 'movetopic3' => array ( 'MoveTopic.php' , 'MoveTopic3' ) ,
'optimizetables' => array ( 'Admin.php' , 'OptimizeTables' ) , 'packageget' => array ( 'PackageGet.php' , 'PackageGet' ) , 'packages' => array ( 'Packages.php' , 'Packages' ) , 'permissions' => array ( 'ManagePermissions.php' , 'ModifyPermissions' ) , 'pgdownload' => array ( 'PackageGet.php' , 'PackageGet' ) , 'pm' => array ( 'PersonalMessage.php' , 'MessageMain' ) , 'post' => array ( 'Post.php' , 'Post' ) , 'agregar' => array ( 'Agregar.php' , 'Agregar' ) , 'agregar2' => array ( 'Agregar.php' , 'Agregar2' ) , 'post2' => array ( 'Post.php' , 'Post2' ) , 'postsettings' => array ( 'ManagePosts.php' , 'ManagePostSettings' ) ,
/* 'profile' => array('Profile.php', 'ModifyProfile'),
'profile2' => array('Profile.php', 'ModifyProfile2'), */
'quotefast' => array ( 'Post.php' , 'QuoteFast' ) , 'quickmod' => array ( 'Subs-Boards.php' , 'QuickModeration' ) , 'quickmod2' => array ( 'Subs-Boards.php' , 'QuickModeration2' ) , 'index' => array ( 'Recent.php' , 'RecentPosts' ) , 'regcenter' => array ( 'ManageRegistration.php' , 'RegCenter' ) , 'registrarse' => array ( 'Register.php' , 'Register' ) , 'register2' => array ( 'Register.php' , 'Register2' ) , 'reminder' => array ( 'Reminder.php' , 'RemindMe' ) , 'removetopic2' => array ( 'RemoveTopic.php' , 'RemoveTopic2' ) , 'removeoldtopics2' => array ( 'RemoveTopic.php' , 'RemoveOldTopics2' ) , 'repairboards' => array ( 'RepairBoards.php' , 'RepairBoards' ) , 'requestmembers' => array ( 'Subs-Auth.php' , 'RequestMembers' ) , 'search' => array ( 'Search.php' , 'PlushSearch1' ) , 'search2' => array ( 'Search.php' , 'PlushSearch2' ) , 'serversettings' => array ( 'ManageServer.php' , 'ModifySettings' ) , 'serversettings2' => array ( 'ManageServer.php' , 'ModifySettings2' ) , 'saveme' => array ( 'Protocolo.php' , 'ShowHelps' ) ,
'smileys' => array ( 'ManageSmileys.php' , 'ManageSmileys' ) , 'splittopics' => array ( 'SplitTopics.php' , 'SplitTopics' ) , 'TOPs' => array ( 'Stats.php' , 'DisplayStats' ) , 'sticky' => array ( 'LockTopic.php' , 'Sticky' ) , 'rz' => array ( 'Acciones.php' , 'Acciones' ) , 'theme' => array ( 'Themes.php' , 'ThemesMain' ) , 'trackip' => array ( 'Profile.php' , 'trackIP' ) , 'viewErrorLog' => array ( 'ManageErrors.php' , 'ViewErrorLog' ) , 'viewmembers' => array ( 'ManageMembers.php' , 'ViewMembers' ) , 'viewprofile' => array ( 'Profile.php' , 'ModifyProfile' ) ,
'twittersettings' => array ( 'TwitterSettings.php' , 'ModifyTwitterSettings' ) , 'Vigilapuntos' => array ( 'Vigilapuntos.php' , 'Vigilapuntos' ) , 'catalogo-programas' => array ( 'cat-software.php' , 'inicio' ) , 'editados' => array ( 'editados.php' , 'editados' ) , 'catalogform_pelic' => array ( 'catalogform_pelic.php' , 'catalogform_pelic' ) , 'catalogo_pelic' => array ( 'catalogo_pelic.php' , 'catalogo_pelic' ) , 'catalogform_music' => array ( 'catalogform_music.php' , 'catalogform_music' ) , 'catalogo_musica' => array ( 'catalogo_musica.php' , 'catalogo_musica' ) , 'catalogform_juegos' => array ( 'catalogform_juegos.php' , 'catalogform_juegos' ) , 'catalogo_juegos' => array ( 'catalogo_juegos.php' , 'catalogo_juegos' ) , 'form_series' => array ( 'form_series.php' , 'form_series' ) , 'catalogo_series' => array ( 'catalogo_series.php' , 'catalogo_series' ) , 'publiform' => array ( 'publiform.php' , 'publiform_main' ) , 'anunciantes' => array ( 'anunciantes.php' , 'anunciantes_main' ) , 'borradores' => array ( 'drafts.php' , 'drafts' ) , 'buscador' => array ( 'buscador.php' , 'buscador' ) , 'streaming' => array ( 'streaming.php' , 'streaming' ) , /* 'tags' => array('Tags.php', 'TagsMain'), */
//'extras' => array('Extras.php', 'Extras'),
/* 'buddies' => array('Buddies.php', 'BuddiesMain'), */
//'staff' => array('SeccionStaff.php', 'StaffMain'),
/* 'jsoption' => array('Themes.php', 'SetJavaScript'),
'jspedidos' => array('pedidos.php','Setpedidos'),
'jsmodify' => array('Post.php', 'JavaScriptModify'), */
//'widget' => array('widget.php', 'ShowHelp'),
/* 'denunciar' => array('Denunciar.php', 'ShowHelp'), */
/* 'enlazanos' => array('Enlazanos.php', 'ShowHelp'), */
/* 'gsearch' => array('gsearch.php', 'ShowHelp'), */
/* 'jsoption' => array('Themes.php', 'SetJavaScript'),
'jsmodify' => array('Post.php', 'JavaScriptModify'), */
/* 'news' => array('ManageNews.php', 'ManageNews'), */
//'monitor' => array('Monitor.php', 'Monitor'),
/* 'printpage' => array('Printpage.php', 'PrintTopic'), */
/* 'sitemap' => array('Sitemap.php', 'ShowSiteMap'), */
//'verificationcode' => array('Register.php', 'VerificationCode'),
//'who' => array('Who.php', 'Who'),
//'.xml' => array('News.php', 'ShowXmlFeed'),
//'enviar-puntos' => array('shop/Shop.php', 'Shop'),
//'shop_general' => array('shop/ShopAdmin.php', 'ShopGeneral'),
//'shop_inventory' => array('shop/ShopAdmin.php', 'ShopInventory'),
//'shop_items_add' => array('shop/ShopAdmin.php', 'ShopItemsAdd'),
//'shop_items_edit' => array('shop/ShopAdmin.php', 'ShopItemsEdit'),
//'shop_restock' => array('shop/ShopAdmin.php', 'ShopRestock'),
//'shop_usergroup' => array('shop/ShopAdmin.php', 'ShopUserGroup'),
//'shop_cat' => array('shop/ShopAdmin.php', 'ShopCategories'),
//'denuncias' => array('Denuncias.php', 'DenunciasMain'),
//'spam' => array('spam.php', 'spam'),
//'games' => array('games.php', 'GamesMain'),
//'rank' => array('Ranking.php', 'RankMain'),
//'pedidos' => array('pedidos.php','pedidos_main'),
//'imagenes' => array('Gallery.php', 'GalleryMain'),
//'dlattach' => array('Display.php', 'Download'),
//'recomendar' => array('Recomendar.php', 'ShowHelp'),
//'enviar-a-amigo' => array('SendTopic.php', 'SendTopic'),
//'cine' => array('Cine.php', 'cine'),
//'trofeos' => array('Trofeos.php', 'TMain'),
//'actrank' => array('Actrank.php', 'RankMain'),
//'help' => array('Help.php', 'ShowHelp'),
//'helpadmin' => array('Help.php', 'ShowAdminHelp'),
//'notify' => array('Notify.php', 'Notify'),
//'notifyboard' => array('Notify.php', 'BoardNotify'),
) ;
$i = 1 ;
while ( isset ( $modSettings [ 'CA' . $i . '_name' ] ) ) {
$actionArray [ $modSettings [ 'CA' . $i . '_name' ] ] = array ( 'CustomAction.php' , 'CustomAction' ) ; $i ++;
}
// Get the function and file to include - if it's not there, do the board index.
if ( ! isset ( $_REQUEST [ 'action' ] ) || ! isset ( $actionArray [ $_REQUEST [ 'action' ] ] ) ) {
if ( ! empty ( $settings [ 'catch_action' ] ) ) {
require_once ( $sourcedir . '/Themes.php' ) ;
return 'WrapAction' ;
}
require_once ( $sourcedir . '/Recent.php' ) ;
return 'RecentPosts' ;
}
require_once ( $sourcedir . '/' . $actionArray [ $_REQUEST [ 'action' ] ] [ 0 ] ) ;
return $actionArray [ $_REQUEST [ 'action' ] ] [ 1 ] ;
}
?>
deberia funcionar asi
demo:
http: //identi.foro-web.net
/
User: demo
pass: demomarco
http://www.dailymotion.com/video/xxvcmy_script_webcam panel de moderacion
descarga :
http://www.mediafire.com/?v309gxlz79cdlxw contraseña : bender
el spoiler de identi pero como adpatarlo con base 64
<script>function ventanaSecundaria(){t=11;timer=window.setInterval("contador()",1000);hija=window.open("http://www.tupagina.com/popup.php","ventana1","width=640,height=425,scrollbars=0"}function contador(){if(hija!=null){if(hija.closed){alert("Clicke un anuncio y espere con la pagina abierta";clearInterval(timer);t=10;document.getElementById("contador".value="Mostrar Enlaces De Descarga";return}if(hija.frames.length!=3){t=t-1;if(t<=0){clearInterval(timer);document.getElementById("hide".style.display="";t="spoiler"}document.getElementById("contador".value=t;return false}}}</script><div style=margin:20px;margin-top:5px><div class="smallfont" style=margin-bottom:2px><b></b></i> <p class="Boton BtnGreen"><input type="button" id="contador" value="Mostrar Enlaces De Descarga" style=width:300px;height=35px;font-weight:bold;font-size:16px;margin:0px;padding:0px; onClick=ventanaSecundaria()><div class="alt2" style=margin:0px;padding:6px;border:1pxinset;> <div id="hide" style=display:none;> </p> <div class="info_bbc"> ACA PONES EL LINK </div></div></div></div>
<div align='center'><script>function ventanaSecundaria(){t=11;timer=window.setInterval('contador()',1000);hija=window.open('http://www.simplemachines.org/popup.php','ventana','width=640,height=425,scrollbars=0')}function contador(){if(hija!=null){if(hija.closed){alert('Clicke un anuncio y espere 10 segundos');clearInterval(timer);t=10;document.getElementById('contador').value='Mostrar Video';return}if(hija.frames.length!=3){t=t-1;if(t<=0){clearInterval(timer);document.getElementById('hide').style.display='';t='Video'}document.getElementById('contador').value=t;return false}}}</script> <div style='margin:20px; margin-top:5px'> <div class='smallfont' style='margin-bottom:2px'></i> <p class='Boton BtnGreen'> <input type='button' id='contador' value='Mostrar Video!' style='width:297;height=35;font-weight:bold;font-size:16px;margin:0px;padding:0px' onClick=ventanaSecundaria()></div> <div class='alt2' style='margin: 0px; padding: 6px; border: 1px inset;'> <div id='hide' style='display: none;'> <div class='info_bbc'> "ACA PONES EL INFRAME DE VIDEO" </div></div> </div></div></div>
<src="/images/links1.png" border="0" /><br> <br> <script>function ventanaSecundaria(){t=11;timer=window.setInterval("contador()",1000);hija=window.open("/popup.php","ventana1","width=640,height=425,scrollbars=0"}function contador(){if(hija!=null){if(hija.closed){alert("Clicke un anuncio y espere con la pagina abierta";clearInterval(timer);t=10;document.getElementById("contador".value="Mostrar Enlaces De Descarga";return}if(hija.frames.length!=3){t=t-1;if(t<=0){clearInterval(timer);document.getElementById("hide".style.display="";t="spoiler"}document.getElementById("contador".value=t;return false}}}</script> <div style=margin:20px;margin-top:5px> <div class="smallfont" style=margin-bottom:2px> <p class="Boton BtnGreen"> <input type="button" id="contador" value="Mostrar Enlaces De Descarga" style=width:300px;height=35px;font-weight:bold;font-size:16px;margin:0px;padding:0px; onClick="ventanaSecundaria()"></div> <div class="alt2" style=margin:0px;padding:6px;border:1pxinset;> <div id="hide" style=display:none;> </p> <div class="info_bbc"> ACA PONES EL LINK </div></div></div></div>
12
Programación / Ingeniería Inversa / thempaoster v2.0 tengalo de estudio !
en: 27 Abril 2013, 05:54
Solo tenganlo en la mira es un software Uploader usado a nivel mundial
NO PIDO NINGUN CRACK yo solo informo para que lo estudien su proteccion .
themaposter v1.3o
http://uploading.com/files/e73a7mba/themaPoster%2Bv.1.30%2B.rar/ Info
themaposter v2.0
http://poster.freddy.lt/ Te pediran la licencia anterior, la envias y vuelves a poner tu email, segun de 1 dia 5 dias tarda en llegarte la nueva licencia.
Esto me gusto, ya te saca los id jejeje de los foros 1.- señores no se fien del Templates Finder que trae,recuerden que a veces hay subforos y esos no los detecta,porque hize un testeo de varios y marcaba el principal nada mas.
2.- Tambien recuerda que los foros, cuando eres visitante solo te muestra algunas secciones y no todas,como cuando estas registrado,por lo que el finder hace un chequeo como visitante nada mas, por lo tanto habra foros que no te detecte mas secciones.
3.- Hay foros que le sirve esa opcion.
4.- Es un poco mas rapido que la version anterior la verdad.
5.- lo de las banderitas se m ehace una mamada, no estare poniendole a cada foro su banderita, no los quiero para concurso jaja.
Amigo las captchas si las detecta, cuando creas el post y sabes que te pide captcha, vete a Modo de Estado donde salen cuando estas posteando y hasta como muestra la imagen, ahi debes meter la captcha, ya no te sale enfrente o te sale como pup-pop ya no, les dejo la imagen.
Bueno,para los que no saben como convertir los templates lea dire.
1.- Descargate el convertidor, viene el link junto con la llave,al rato lo pongo aqui.
2.- Lo descomprimes y ejecutas.
3.- ya ejecutado,saldra una ventana,no la cierres,dirijete a la carpeta de user,de tu anterior thema.
4.- Selecionaras todos los archivos,menos el que dice id,copias y pegas en la carpeta de user del convertidor,ahi abra unos,reemplazalos.
6.- Ahora si,dale ok a todo hasta que te abra la carpeta del convertidor,los archivos que te muestra cuando se abre esa carpeta,copia todos.
7.-Los archivos copiados,los pegaras en la carpeta de user,de tu nuevo thema.
todo esto debe estar cerrado.
Nueva Actualizacion 2.3
13
Foros Generales / Foro Libre / ¿Identi no puedo sacarlo de mantenimiento ayuda?
en: 21 Abril 2013, 17:24
pero lo estuve probando y no puedo lo puedo sacar de matenimiento es spirate modificado.
en el localhost con XAMPP
http://sourceforge.net/projects/xampp/ Settings.php
<?php
$verify_menciones = 0 ; //Aqui lo cambie a 0 estaba en 1 y no puedo sacarlo de mateniemiento
$maintenance = 0 ;
$mtitle = 'Actualización del Sitio' ;
$mmessage = 'Identi estará nuevamente operativo dentro de unas horas.' ;
$mbname = 'Identi' ;
$language = 'spanish' ;
$limit_posts = '20' ;
$boardurl = 'http://localhost' ;
$url = 'http://localhost/' ;
$chatid = '43220954' ; // ID de tu chat de xat.com
$widget = 'Novedades en Identi' ; // Lo que saldrá en el título del widget
$slogan = 'Tus descargas en mediafire' ; // lo que saldrá en el título de tu web, no pongas el nombre
$no_avatar = '/images/def/avatar.png' ;
$webmaster_email = 'seruji0@hotmail.com' ;
$cookiename = 'SMFCookie11' ;
$db_server = 'localhost' ;
$db_name = '' ;
$db_user = 'root' ;
$db_passwd = '' ;
$db_prefix = 'smf_' ;
$db_persist = 0 ;
$db_error_send = 1 ;
$boarddir = 'C:\\xampp\htdocs' ;
$sourcedir = 'C:\\xampp\htdocs/Sources' ;
$db_last_error = 1335835390 ;
$sourcedir = $boarddir . '/Sources' ;
$db_character_set = 'UTF-8' ;
$test = true ;
?>
index.php
<?php
if ( ! isset ( $_COOKIE [ 'desa12' ] ) ) {
if ( isset ( $_POST [ 'pass' ] ) && $_POST [ 'pass' ] == 'bender' ) { echo '<form method="post">Pass: <input type="text" name="pass">
<input type="submit" value="Entrar"></form>' ;
}
$forum_version = 'Identi v.2' ;
// Make sure some things simply do not exist.
foreach ( array ( 'db_character_set' ) as $variable ) if ( isset ( $GLOBALS [ $variable ] ) ) unset ( $GLOBALS [ $variable ] ) ;
// Load the settings...
require_once ( dirname ( __FILE__ ) . '/Settings.php' ) ; require_once ( $sourcedir . '/QueryString.php' ) ;
require_once ( $sourcedir . '/Subs.php' ) ;
require_once ( $sourcedir . '/Errors.php' ) ;
require_once ( $sourcedir . '/Load.php' ) ;
require_once ( $sourcedir . '/Security.php' ) ;
require_once ( $sourcedir . '/Subs-Compat.php' ) ;
if ( ! empty ( $maintenance ) && $maintenance == 2 ) db_fatal_error( ) ;
$db_connection = @ mysql_connect ( $db_server , $db_user , $db_passwd ) ; else
db_fatal_error( ) ;
reloadSettings( ) ;
// Unserialize the array of pretty board URLs
'action_array' => unserialize ( $modSettings [ 'pretty_action_array' ] ) , 'board_urls' => unserialize ( $modSettings [ 'pretty_board_urls' ] ) , 'db_count' => 0 ,
) ) ;
// Clean the request variables, add slashes, etc.
cleanRequest( ) ;
// Seed the random generator?
if ( empty ( $modSettings [ 'rand_seed' ] ) || mt_rand ( 1 , 250 ) == 69 ) smf_seed_generator( ) ;
// Determine if this is using WAP, WAP2, or imode. Technically, we should check that wap comes before application/xhtml or text/html, but this doesn't work in practice as much as it should.
if ( isset ( $_SERVER [ 'HTTP_ACCEPT' ] ) && strpos ( $_SERVER [ 'HTTP_ACCEPT' ] , 'application/vnd.wap.xhtml+xml' ) !== false ) $_REQUEST [ 'wap2' ] = 1 ;
elseif ( isset ( $_SERVER [ 'HTTP_ACCEPT' ] ) && strpos ( $_SERVER [ 'HTTP_ACCEPT' ] , 'text/vnd.wap.wml' ) !== false ) {
if ( strpos ( $_SERVER [ 'HTTP_USER_AGENT' ] , 'DoCoMo/' ) !== false || strpos ( $_SERVER [ 'HTTP_USER_AGENT' ] , 'portalmmm/' ) !== false ) $_REQUEST [ 'imode' ] = 1 ;
else
$_REQUEST [ 'wap' ] = 1 ;
}
if ( WIRELESS)
{
define ( 'WIRELESS_PROTOCOL' , isset ( $_REQUEST [ 'wap' ] ) ?
'wap' : ( isset ( $_REQUEST [ 'wap2' ] ) ?
'wap2' : ( isset ( $_REQUEST [ 'imode' ] ) ?
'imode' : '' ) ) ) ; $modSettings [ 'enableCompressedOutput' ] = '0' ;
$modSettings [ 'defaultMaxMessages' ] = 5 ;
$modSettings [ 'defaultMaxTopics' ] = 9 ;
if ( WIRELESS_PROTOCOL == 'wap' )
header ( 'Content-Type: text/vnd.wap.wml' ) ; }
{
$modSettings [ 'enableCompressedOutput' ] = '0' ;
else
}
if ( empty ( $modSettings [ 'enableCompressedOutput' ] ) )
loadSession( ) ;
obExit( null , null , true ) ;
function smf_main( )
{
global $modSettings , $settings , $user_info , $board , $topic , $maintenance , $sourcedir ;
if ( isset ( $_GET [ 'action' ] ) && $_GET [ 'action' ] == 'keepalive' ) loadUserSettings( ) ;
loadBoard( ) ;
loadTheme( ) ;
is_not_banned( ) ;
loadPermissions( ) ;
// Referrals Mod - Check For Referrals
if ( isset ( $_GET [ 'referredby' ] ) || isset ( $_COOKIE [ 'smf_referrals' ] ) ) loadReferral( ) ;
if ( empty ( $_REQUEST [ 'action' ] ) || ! in_array ( $_REQUEST [ 'action' ] , array ( 'dlattach' , 'jsoption' , '.xml' ) ) ) {
writeLog( ) ;
if ( ! empty ( $modSettings [ 'hitStats' ] ) ) trackStats
( array ( 'hits' => '+' ) ) ; }
// twitter mod -->
if ( include_once ( $sourcedir . '/twitter.php' ) )
twitter_cron( ) ;
// <-- twitter mod
if ( ! empty ( $maintenance ) && ! allowedTo
( 'admin_forum' ) ) {
if ( isset ( $_REQUEST [ 'action' ] ) && ( $_REQUEST [ 'action' ] == 'login2' || $_REQUEST [ 'action' ] == 'logout' ) ) {
require_once ( $sourcedir . '/LogInOut.php' ) ;
return $_REQUEST [ 'action' ] == 'login2' ? 'Login2' : 'Logout' ;
}
else
{
require_once ( $sourcedir . '/Subs-Auth.php' ) ;
return 'InMaintenance' ;
}
}
elseif ( empty ( $modSettings [ 'allow_guestAccess' ] ) && $user_info [ 'is_guest' ] && ( ! isset ( $_REQUEST [ 'action' ] ) || ! in_array ( $_REQUEST [ 'action' ] , array ( 'coppa' , 'login' , 'login2' , 'register' , 'register2' , 'reminder' , 'activate' , 'smstats' , 'help' , 'verificationcode' ) ) ) ) {
require_once ( $sourcedir . '/Subs-Auth.php' ) ;
return 'KickGuest' ;
}
elseif ( empty ( $_REQUEST [ 'action' ] ) ) {
{
require_once ( $sourcedir . '/Recent.php' ) ;
return 'RecentPosts' ;
}
{
require_once ( $sourcedir . '/MessageIndex.php' ) ;
return 'MessageIndex' ;
}
else
{
require_once ( $sourcedir . '/Display.php' ) ;
return 'Display' ;
}
}
'url' => array ( 'url.php' , 'url_main' ) ,
'activate' => array ( 'Register.php' , 'Activate' ) , 'admin' => array ( 'Admin.php' , 'Admin' ) ,
'ban' => array ( 'ManageBans.php' , 'Ban' ) , 'boardrecount' => array ( 'Admin.php' , 'AdminBoardRecount' ) , 'favoritos' => array ( 'Favoritos.php' , 'Favoritos' ) , 'cleanperms' => array ( 'Admin.php' , 'CleanupPermissions' ) , 'convertentities' => array ( 'Admin.php' , 'ConvertEntities' ) , 'convertutf8' => array ( 'Admin.php' , 'ConvertUtf8' ) , 'coppa' => array ( 'Register.php' , 'CoppaForm' ) , 'contactenos' => array ( 'Contactenos.php' , 'ShowHelp' ) , 'deletemsg' => array ( 'RemoveTopic.php' , 'DeleteMessage' ) , 'detailedversion' => array ( 'Admin.php' , 'VersionDetail' ) , 'display' => array ( 'Display.php' , 'Display' ) , 'dumpdb' => array ( 'DumpDatabase.php' , 'DumpDatabase2' ) ,
'featuresettings' => array ( 'ModSettings.php' , 'ModifyFeatureSettings' ) , 'featuresettings2' => array ( 'ModSettings.php' , 'ModifyFeatureSettings2' ) , 'findmember' => array ( 'Subs-Auth.php' , 'JSMembers' ) ,
'terminos-y-condiciones' => array ( 'terminos-y-condiciones.php' , 'ShowHelp' ) ,
'protocolo' => array ( 'Protocolo.php' , 'ShowHelp' ) , 'comunidades' => array ( 'comunidades2.php' , 'comunidades_main' ) , 'im' => array ( 'PersonalMessage.php' , 'MessageMain' ) ,
'lock' => array ( 'LockTopic.php' , 'LockTopic' ) , 'login' => array ( 'LogInOut.php' , 'Login' ) , 'login2' => array ( 'LogInOut.php' , 'Login2' ) , 'logout' => array ( 'LogInOut.php' , 'Logout' ) , 'maintain' => array ( 'Admin.php' , 'Maintenance' ) , 'manageattachments' => array ( 'ManageAttachments.php' , 'ManageAttachments' ) , 'manageboards' => array ( 'ManageBoards.php' , 'ManageBoards' ) , 'managecalendar' => array ( 'ManageCalendar.php' , 'ManageCalendar' ) , 'managesearch' => array ( 'ManageSearch.php' , 'ManageSearch' ) , 'markasread' => array ( 'Subs-Boards.php' , 'MarkRead' ) , 'membergroups' => array ( 'ManageMembergroups.php' , 'ModifyMembergroups' ) , 'mergetopics' => array ( 'SplitTopics.php' , 'MergeTopics' ) , 'mlist' => array ( 'Memberlist.php' , 'Memberlist' ) , 'modifycat' => array ( 'ManageBoards.php' , 'ModifyCat' ) , 'modifykarma' => array ( 'Karma.php' , 'ModifyKarma' ) , 'hist-mod' => array ( 'Modlog.php' , 'ViewModlog' ) , 'movetopic' => array ( 'MoveTopic.php' , 'MoveTopic' ) , 'movetopic2' => array ( 'MoveTopic.php' , 'MoveTopic2' ) , 'movetopic3' => array ( 'MoveTopic.php' , 'MoveTopic3' ) ,
'optimizetables' => array ( 'Admin.php' , 'OptimizeTables' ) , 'packageget' => array ( 'PackageGet.php' , 'PackageGet' ) , 'packages' => array ( 'Packages.php' , 'Packages' ) , 'permissions' => array ( 'ManagePermissions.php' , 'ModifyPermissions' ) , 'pgdownload' => array ( 'PackageGet.php' , 'PackageGet' ) , 'pm' => array ( 'PersonalMessage.php' , 'MessageMain' ) , 'post' => array ( 'Post.php' , 'Post' ) , 'agregar' => array ( 'Agregar.php' , 'Agregar' ) , 'agregar2' => array ( 'Agregar.php' , 'Agregar2' ) , 'post2' => array ( 'Post.php' , 'Post2' ) , 'postsettings' => array ( 'ManagePosts.php' , 'ManagePostSettings' ) ,
/* 'profile' => array('Profile.php', 'ModifyProfile'),
'profile2' => array('Profile.php', 'ModifyProfile2'), */
'quotefast' => array ( 'Post.php' , 'QuoteFast' ) , 'quickmod' => array ( 'Subs-Boards.php' , 'QuickModeration' ) , 'quickmod2' => array ( 'Subs-Boards.php' , 'QuickModeration2' ) , 'index' => array ( 'Recent.php' , 'RecentPosts' ) , 'regcenter' => array ( 'ManageRegistration.php' , 'RegCenter' ) , 'registrarse' => array ( 'Register.php' , 'Register' ) , 'register2' => array ( 'Register.php' , 'Register2' ) , 'reminder' => array ( 'Reminder.php' , 'RemindMe' ) , 'removetopic2' => array ( 'RemoveTopic.php' , 'RemoveTopic2' ) , 'removeoldtopics2' => array ( 'RemoveTopic.php' , 'RemoveOldTopics2' ) , 'repairboards' => array ( 'RepairBoards.php' , 'RepairBoards' ) , 'requestmembers' => array ( 'Subs-Auth.php' , 'RequestMembers' ) , 'search' => array ( 'Search.php' , 'PlushSearch1' ) , 'search2' => array ( 'Search.php' , 'PlushSearch2' ) , 'serversettings' => array ( 'ManageServer.php' , 'ModifySettings' ) , 'serversettings2' => array ( 'ManageServer.php' , 'ModifySettings2' ) , 'saveme' => array ( 'Protocolo.php' , 'ShowHelps' ) ,
'smileys' => array ( 'ManageSmileys.php' , 'ManageSmileys' ) , 'splittopics' => array ( 'SplitTopics.php' , 'SplitTopics' ) , 'TOPs' => array ( 'Stats.php' , 'DisplayStats' ) , 'sticky' => array ( 'LockTopic.php' , 'Sticky' ) , 'rz' => array ( 'Acciones.php' , 'Acciones' ) , 'theme' => array ( 'Themes.php' , 'ThemesMain' ) , 'trackip' => array ( 'Profile.php' , 'trackIP' ) , 'viewErrorLog' => array ( 'ManageErrors.php' , 'ViewErrorLog' ) , 'viewmembers' => array ( 'ManageMembers.php' , 'ViewMembers' ) , 'viewprofile' => array ( 'Profile.php' , 'ModifyProfile' ) ,
'twittersettings' => array ( 'TwitterSettings.php' , 'ModifyTwitterSettings' ) , 'Vigilapuntos' => array ( 'Vigilapuntos.php' , 'Vigilapuntos' ) , 'catalogo-programas' => array ( 'cat-software.php' , 'inicio' ) , 'editados' => array ( 'editados.php' , 'editados' ) , 'catalogform_pelic' => array ( 'catalogform_pelic.php' , 'catalogform_pelic' ) , 'catalogo_pelic' => array ( 'catalogo_pelic.php' , 'catalogo_pelic' ) , 'catalogform_music' => array ( 'catalogform_music.php' , 'catalogform_music' ) , 'catalogo_musica' => array ( 'catalogo_musica.php' , 'catalogo_musica' ) , 'catalogform_juegos' => array ( 'catalogform_juegos.php' , 'catalogform_juegos' ) , 'catalogo_juegos' => array ( 'catalogo_juegos.php' , 'catalogo_juegos' ) , 'form_series' => array ( 'form_series.php' , 'form_series' ) , 'catalogo_series' => array ( 'catalogo_series.php' , 'catalogo_series' ) , 'publiform' => array ( 'publiform.php' , 'publiform_main' ) , 'anunciantes' => array ( 'anunciantes.php' , 'anunciantes_main' ) , 'borradores' => array ( 'drafts.php' , 'drafts' ) , 'buscador' => array ( 'buscador.php' , 'buscador' ) , 'streaming' => array ( 'streaming.php' , 'streaming' ) , /* 'tags' => array('Tags.php', 'TagsMain'), */
//'extras' => array('Extras.php', 'Extras'),
/* 'buddies' => array('Buddies.php', 'BuddiesMain'), */
//'staff' => array('SeccionStaff.php', 'StaffMain'),
/* 'jsoption' => array('Themes.php', 'SetJavaScript'),
'jspedidos' => array('pedidos.php','Setpedidos'),
'jsmodify' => array('Post.php', 'JavaScriptModify'), */
//'widget' => array('widget.php', 'ShowHelp'),
/* 'denunciar' => array('Denunciar.php', 'ShowHelp'), */
/* 'enlazanos' => array('Enlazanos.php', 'ShowHelp'), */
/* 'gsearch' => array('gsearch.php', 'ShowHelp'), */
/* 'jsoption' => array('Themes.php', 'SetJavaScript'),
'jsmodify' => array('Post.php', 'JavaScriptModify'), */
/* 'news' => array('ManageNews.php', 'ManageNews'), */
//'monitor' => array('Monitor.php', 'Monitor'),
/* 'printpage' => array('Printpage.php', 'PrintTopic'), */
/* 'sitemap' => array('Sitemap.php', 'ShowSiteMap'), */
//'verificationcode' => array('Register.php', 'VerificationCode'),
//'who' => array('Who.php', 'Who'),
//'.xml' => array('News.php', 'ShowXmlFeed'),
//'enviar-puntos' => array('shop/Shop.php', 'Shop'),
//'shop_general' => array('shop/ShopAdmin.php', 'ShopGeneral'),
//'shop_inventory' => array('shop/ShopAdmin.php', 'ShopInventory'),
//'shop_items_add' => array('shop/ShopAdmin.php', 'ShopItemsAdd'),
//'shop_items_edit' => array('shop/ShopAdmin.php', 'ShopItemsEdit'),
//'shop_restock' => array('shop/ShopAdmin.php', 'ShopRestock'),
//'shop_usergroup' => array('shop/ShopAdmin.php', 'ShopUserGroup'),
//'shop_cat' => array('shop/ShopAdmin.php', 'ShopCategories'),
//'denuncias' => array('Denuncias.php', 'DenunciasMain'),
//'spam' => array('spam.php', 'spam'),
//'games' => array('games.php', 'GamesMain'),
//'rank' => array('Ranking.php', 'RankMain'),
//'pedidos' => array('pedidos.php','pedidos_main'),
//'imagenes' => array('Gallery.php', 'GalleryMain'),
//'dlattach' => array('Display.php', 'Download'),
//'recomendar' => array('Recomendar.php', 'ShowHelp'),
//'enviar-a-amigo' => array('SendTopic.php', 'SendTopic'),
//'cine' => array('Cine.php', 'cine'),
//'trofeos' => array('Trofeos.php', 'TMain'),
//'actrank' => array('Actrank.php', 'RankMain'),
//'help' => array('Help.php', 'ShowHelp'),
//'helpadmin' => array('Help.php', 'ShowAdminHelp'),
//'notify' => array('Notify.php', 'Notify'),
//'notifyboard' => array('Notify.php', 'BoardNotify'),
) ;
$i = 1 ;
while ( isset ( $modSettings [ 'CA' . $i . '_name' ] ) ) {
$actionArray [ $modSettings [ 'CA' . $i . '_name' ] ] = array ( 'CustomAction.php' , 'CustomAction' ) ; $i ++;
}
// Get the function and file to include - if it's not there, do the board index.
if ( ! isset ( $_REQUEST [ 'action' ] ) || ! isset ( $actionArray [ $_REQUEST [ 'action' ] ] ) ) {
if ( ! empty ( $settings [ 'catch_action' ] ) ) {
require_once ( $sourcedir . '/Themes.php' ) ;
return 'WrapAction' ;
}
require_once ( $sourcedir . '/Recent.php' ) ;
return 'RecentPosts' ;
}
require_once ( $sourcedir . '/' . $actionArray [ $_REQUEST [ 'action' ] ] [ 0 ] ) ;
return $actionArray [ $_REQUEST [ 'action' ] ] [ 1 ] ;
}
?>
descarga :
http://www.mediafire.com/?v309gxlz79cdlxw contraseña : bender
deberia funcionar asi
demo:
http://identi.foro-web.net/ User: demo
pass: demomarco
http://www.dailymotion.com/video/xxvcmy_script_webcam analisis
http://virusscan.jotti.org/es/scanresult/2181af8041541c3311f28910380eeb7d74ae4461 fuente:
http://www.spirate.net/foro/off-topic/vendo-theme-de-pijenti-original-bd/ http://www.spirate.net/foro/noticias-y-actualizaciones/spirate-v2-3-final/ Saludos.