mirror of
https://github.com/hackerschoice/segfault.git
synced 2024-06-28 17:51:22 +00:00
destruct2
This commit is contained in:
parent
33d239f394
commit
6ff9745ec3
@ -672,6 +672,7 @@ RUN /pkg-install.sh LARGE ghdir gophish/gophish 'linux-64bit.zip$' /usr/gophish
|
||||
&& echo -e "#! /bin/bash\ncd /usr/gophish && exec ./gophish \"\$@\"" >/usr/bin/gophish \
|
||||
&& chmod 755 /usr/bin/gophish; }'
|
||||
RUN /pkg-install.sh HUGE npm install -g wscat
|
||||
RUN /pkg-install.sh HUGE bash -c 'mkdir -p /usr/share/wordlists; curl -fsSL https://crackstation.net/files/crackstation-human-only.txt.gz | gunzip >/usr/share/wordlists/crackstation-human-only.txt'
|
||||
RUN sed 's/deb-src.*//' -i /etc/apt/sources.list \
|
||||
&& apt-get autoremove -y \
|
||||
&& apt-get update
|
||||
|
@ -16,13 +16,14 @@ encrypted data will remain until next log in (with the correct SECRET).
|
||||
|
||||
This system will ${CRY}SELF-DESTRUCT${CN} in 10 seconds."
|
||||
read -r -n8 -t10 str && {
|
||||
echo -e "${CDR}Self-Destruct cancelled...${CDY}*phew*${CN}"
|
||||
[[ $str == "halt" ]] && {
|
||||
echo -e "HALT instead..."
|
||||
halt
|
||||
[[ $str != "now" ]] && {
|
||||
echo -e "${CDR}Self-Destruct cancelled...${CDY}*phew*${CN}"
|
||||
[[ $str == "halt" ]] && {
|
||||
echo -e "HALT instead..."
|
||||
halt
|
||||
}
|
||||
exit 255
|
||||
}
|
||||
[[ $str != "now" ]] && exit 255
|
||||
}
|
||||
}
|
||||
|
||||
@ -35,6 +36,10 @@ echo -e "${CDR}***DESTRUCT***${CN}"
|
||||
shopt -s dotglob
|
||||
rm -rf /onion/*
|
||||
rm -rf "/everyone/${SF_HOSTNAME,,}/"*
|
||||
rm -rf /sec/*
|
||||
# Bloody at-spi-bu re-creates a fuse-hidden file when the parent directory is deleted.
|
||||
# Force kill it.
|
||||
rm -rf /sec/* 2>/dev/null
|
||||
find /sec/root/.cache/dconf -exec fuser -k {} \; &>/dev/null
|
||||
rm -rf /sec/root/*
|
||||
echo -e "${CDG}DONE.${CN}"
|
||||
halt
|
||||
|
Loading…
Reference in New Issue
Block a user