Update Sat Jan 2 08:30:42 AM CST 2021
This commit is contained in:
parent
0b1667ea6b
commit
d596cb0f06
|
|
@ -374,6 +374,7 @@ enable_rootlogin () {
|
|||
}
|
||||
|
||||
# 01.02.2021 rev 1.1.2 - new screens for copying from /home/kali to /root, no detection, all based on used input
|
||||
# add detection for /root/Desktop or something generic in /root if detected throw error and no preform copy function
|
||||
ask_homekali_to_root () {
|
||||
echo -e "\n\n KALI-ROOT-LOGIN INSTALLATION: - PAGE 2 "$red"*** READ CAREFULLY! ***"$white" \n"
|
||||
echo -e " This section of the script is only executed if Y was selected at the enable root login prompt\n"
|
||||
|
|
@ -394,6 +395,10 @@ ask_homekali_to_root () {
|
|||
esac
|
||||
}
|
||||
|
||||
# Add middle man function here for "Are you sure you want to do this? Y/N"
|
||||
# if yes - execute copy function
|
||||
# if no - do not preform copy function
|
||||
|
||||
preform_copy_to_root () {
|
||||
echo -e "\n\n $greenplus Copying everything from /home/kali to /root... Please wait..."
|
||||
eval cp -Rvf /home/kali/.* /home/kali/* /root >/dev/null 2>&1
|
||||
|
|
|
|||
Loading…
Reference in New Issue