Update Tue Sep 21 07:18:59 PM CDT 2021

This commit is contained in:
Dewalt 2021-09-21 19:18:59 -05:00
parent 5a412143a3
commit bb53f027ad
3 changed files with 59 additions and 57 deletions

View File

@ -37,62 +37,7 @@
- Thank you Alek for bringing this to my attention!
- added apt update at the end of pimpmykali-mirrors to update with the new mirror
- added loop for any other key pressed other than Y or N
# Revision 1.3.4 - amassf
- amass added precompiled binary
- Menu options N, 0 or 1 will install amass
# Revision 1.3.3 - pyftpdlib
- pyftpdlib added for python
- Menu options N, 0 or 1 will install pyftpdlib
# Revision 1.3.2 - Pimpmykali-Mirrors and updates
- Speedtest for kali linux repo mirrors (http only at this time)
- This function will only be executed via menu option =
- menu option = Pimpmykali-Mirrors (Yes it is literally the = (equals character)
- obtain kali mirror list and process
- round-trip-time ping test to all mirrors, select top 10 with shortest rtt
- small download >1MB from the top 10 mirrors, select top 5 fastest transfers
- large download 10MB test the final 5 mirrors, select fastest transfer
- generate new /etc/apt/sources.list with the new selected mirror
- prompt Y or N to write new changes to /etc/apt/sources.list
- Y writes changes /etc/apt/sources.list
- create backup of original sources.list in /etc/apt/sources.list_date_time
- write new deb and deb-src lines with new mirror to /etc/apt/sources.list
- N exits and makes no change to /etc/apt/sources.list
- added --mirrors for command line use sudo./pimpmykali.sh --mirrors
- new menu option T - reconfigure timezone (new function)
- calls sudo dpkg-reconfigure tzdata
- new menu option K - reconfigure keyboard, language, layout (new function)
- calls sudo dpkg-reconfigure keyboard-configuration
- menu option 6 - enable root login
- password prompt now checks exit code if failure, restart password function
- copy of files from /home/kali/* to /root now uses the actual username not just 'kali'
- menu option L - Sublime text editor
- installs sublime text editor
- functions updated: fix_smbconf fix_grub and fix_sources
- function updated to use sed -i instead of prior method
- Menu clean up, added bold color to "New VM Setup" Menu option N
- Added Sublime text editor installer - Menu Option L
- install_atom function
- removed quiet switches to avoid confusion
- python2 deprecation warnings - disabled
- Alphabetically sorted Main Menu - Stand Alone Functions
- Revision History for 1.3.1 and 1.3.0 moved to changelog.txt
- Yes, this really was just 1 update to pimpmykali
- Minor code cleanup
- revision history for 1.3.2, 1.3.3 and 1.3.4 moved to changelog.txt
# Menu Breakdown of Pimpmykali

View File

@ -1,3 +1,59 @@
# Revision 1.3.4 - amassf
- amass added precompiled binary
- Menu options N, 0 or 1 will install amass
# Revision 1.3.3 - pyftpdlib
- pyftpdlib added for python
- Menu options N, 0 or 1 will install pyftpdlib
# Revision 1.3.2 - Pimpmykali-Mirrors and updates
- Speedtest for kali linux repo mirrors (http only at this time)
- This function will only be executed via menu option =
- menu option = Pimpmykali-Mirrors (Yes it is literally the = (equals character)
- obtain kali mirror list and process
- round-trip-time ping test to all mirrors, select top 10 with shortest rtt
- small download >1MB from the top 10 mirrors, select top 5 fastest transfers
- large download 10MB test the final 5 mirrors, select fastest transfer
- generate new /etc/apt/sources.list with the new selected mirror
- prompt Y or N to write new changes to /etc/apt/sources.list
- Y writes changes /etc/apt/sources.list
- create backup of original sources.list in /etc/apt/sources.list_date_time
- write new deb and deb-src lines with new mirror to /etc/apt/sources.list
- N exits and makes no change to /etc/apt/sources.list
- added --mirrors for command line use sudo./pimpmykali.sh --mirrors
- new menu option T - reconfigure timezone (new function)
- calls sudo dpkg-reconfigure tzdata
- new menu option K - reconfigure keyboard, language, layout (new function)
- calls sudo dpkg-reconfigure keyboard-configuration
- menu option 6 - enable root login
- password prompt now checks exit code if failure, restart password function
- copy of files from /home/kali/* to /root now uses the actual username not just 'kali'
- menu option L - Sublime text editor
- installs sublime text editor
- functions updated: fix_smbconf fix_grub and fix_sources
- function updated to use sed -i instead of prior method
- Menu clean up, added bold color to "New VM Setup" Menu option N
- Added Sublime text editor installer - Menu Option L
- install_atom function
- removed quiet switches to avoid confusion
- python2 deprecation warnings - disabled
- Alphabetically sorted Main Menu - Stand Alone Functions
- Revision History for 1.3.1 and 1.3.0 moved to changelog.txt
- Yes, this really was just 1 update to pimpmykali
- Minor code cleanup
# Revision 1.3.1 - Minor code cleanup
- Minor code cleanup

View File

@ -1235,7 +1235,8 @@ gen_new_sources() {
case $userinput in
y|Y) echo -e "\n\n $greenplus Saving changes to /etc/apt/sources.list"; cp $sourcefile ${sourcefile}_$(date +%F-%T); \
sed s:"deb http\:\/\/.* kali\-rolling main contrib non\-free":"deb http\:\/\/"$final_mirror" kali\-rolling main contrib non\-free":g -i $sourcefile; \
sed s:"deb-src http\:\/\/.* kali\-rolling main contrib non\-free":"deb\-src http\:\/\/"$final_mirror" kali\-rolling main contrib non\-free":g -i $sourcefile;echo -e "\n $greenplus Running apt update with mirror $final_mirror selected \n"; apt update;;
sed s:"deb-src http\:\/\/.* kali\-rolling main contrib non\-free":"deb\-src http\:\/\/"$final_mirror" kali\-rolling main contrib non\-free":g -i $sourcefile; \
echo -e "\n $greenplus Running apt update with mirror $final_mirror selected \n"; apt update;;
n|N) echo -e "\n\n $redexclaim Not saving changes";;
*) echo -e "\n\n $redexclaim Invalid key try again, Y or N keys only $redexclaim"; gen_new_sources;;
esac