mirror of
https://github.com/Matir/skel.git
synced 2026-05-26 13:35:42 -07:00
22 lines
481 B
Bash
Executable File
22 lines
481 B
Bash
Executable File
#!/bin/bash
|
|
|
|
CHROME_BINS="google-chrome-beta google-chrome"
|
|
for bin in ${CHROME_BINS} ; do
|
|
if command -v ${bin} >/dev/null 2>&1 ; then
|
|
CHROME=$(command -v ${bin})
|
|
break
|
|
fi
|
|
done
|
|
|
|
if test -z "${CHROME}" ; then
|
|
echo "Chrome not found!" >/dev/stderr
|
|
exit 1
|
|
fi
|
|
|
|
# Set alternate HOME to use alternate NSS DB
|
|
export HOME=${HOME}/.chrome-pentest
|
|
mkdir -p ${HOME}
|
|
|
|
# Launch chrome for burp
|
|
exec ${CHROME} --user-data-dir=${HOME}/chrome-pentest --proxy-server=127.0.0.1:8080
|