Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- # Title: [Softonic downloader bypass]
- # Date: [23/03/2014]
- # Author: [SnakingMax]
- # Website: http://snakingmax.blogspot.com/
- # Software Link: [http://www.softonic.com/]
- # Vendor: Softonic
- # Category: [Bypass]
- #
- # Notas: Hago público este código por si a alguien le interesa continuar el proyecto,
- # mejorarlo, etc.
- # El código está corriendo aquí: http://www.softonichack.esy.es/
- #
- error_reporting(0);
- header('Content-Type: text/html; charset=UTF-8');
- # De la url ingresada por el usuario obtengo el dominio y el host.
- $domain = parse_url($_POST["url"]);
- $domain = $domain['host'];
- $domain = preg_replace('/softonic.com/', 'sd.softonic.com', $_POST["url"]);
- $domain = preg_replace('#^https?://#', '', $domain);
- $pos = strpos($domain, '/');
- $host = substr($domain, 0, $pos);
- $salida="";
- $conexion = fsockopen($host, 80, $errno, $errstr, 30);
- if($conexion){
- # En $salida el código del universaldownloader de Softonic que contiene los enlaces de descarga.
- $peticion = "GET /universaldownloader HTTP/1.1\r\n";
- $peticion .= "Host: ".$host."\r\n";
- $peticion .= "Connection: Close\r\n\r\n";
- fwrite($conexion, $peticion);
- while (!feof($conexion)) {
- $salida.= fgets($conexion, 128);
- }
- fclose($conexion);
- # Muestro el enlace externo del programa que se desea descargar
- $inicio="{\"program\":{\"urls\":[{\"url\":\"";
- $fin="\",\"label\":\"";
- $posInicio = strpos($salida, $inicio) + strlen($inicio);
- $posFin = strpos($salida, $fin) - $posInicio;
- $result = substr($salida, $posInicio, $posFin);
- $result = str_replace('\\', '', $result);
- #echo "Download from external link: <a href=\"http://adf.ly/6569440/".$result."\" target=\"_blank\">Click here</a><br/><br/>"; #Descomentar para monetizar.
- echo "Download from external link: <a href=\"".$result."\" target=\"_blank\">Click here</a><br/><br/>";
- # Muestro el enlace de descarga del servidor de softonic
- $inicio="http:\\/\\/dplus.softonic.com";
- $fin="\",\"label\":\"dplus\"";
- $posInicio = strpos($salida, $inicio);
- $posFin = strpos($salida, $fin) - $posInicio;
- $result = substr($salida, $posInicio, $posFin);
- $result = str_replace('\\', '', $result);
- #echo "Download from secure Softonic server link: <a href=\"http://adf.ly/6569440/".$result."\" target=\"_blank\">Click here</a>"; #Descomentar para monetizar.
- echo "Download from secure Softonic server link: <a href=\"".$result."\" target=\"_blank\">Click here</a>";
- echo "<br/><br/><center><a href=\"index.html\" target=\"_blank\">GO BACK!</a></center>";
- }
- ?>
Add Comment
Please, Sign In to add comment