Proper directory + cleaning
This commit is contained in:
parent
911d80374c
commit
c4523cd987
|
|
@ -43,15 +43,3 @@ sudo systemctl disable dhcpcd.service
|
|||
sudo systemctl stop dhcpcd.service
|
||||
sudo systemctl enable NetworkManager.service
|
||||
sudo systemctl enable bluetooth
|
||||
echo "
|
||||
###############################################################################
|
||||
# Cleaning
|
||||
###############################################################################
|
||||
"
|
||||
# Remove no password sudo rights
|
||||
sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
|
||||
# Add sudo rights
|
||||
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
|
||||
|
||||
# Replace in the same state
|
||||
cd $pwd
|
||||
|
|
|
|||
|
|
@ -29,28 +29,41 @@ for PKG in "${PKGS[@]}"; do
|
|||
sudo pacman -S "$PKG" --noconfirm --needed
|
||||
done
|
||||
|
||||
cd ~/git
|
||||
|
||||
echo -e "\nInstalling git repositories\n"
|
||||
mkdir $HOME/git
|
||||
cd $HOME/git
|
||||
git clone https://github.com/six2dez/reconftw.git
|
||||
cd reconftw/
|
||||
./install.sh
|
||||
|
||||
cd ~/git
|
||||
cd $HOME/git
|
||||
git clone https://github.com/codingo/Reconnoitre.git
|
||||
python3 setup.py install
|
||||
|
||||
cd ~/git
|
||||
cd $HOME/git
|
||||
git clone https://github.com/AlisamTechnology/ATSCAN
|
||||
chmod +x ./install.sh
|
||||
./install.sh
|
||||
|
||||
cd ~/git
|
||||
cd $HOME/git
|
||||
git clone https://github.com/evyatarmeged/Raccoon.git
|
||||
cd Raccoon
|
||||
python setup.py install # Subsequent changes to the source code will not be reflected in calls to raccoon when this is used
|
||||
|
||||
|
||||
echo "
|
||||
###############################################################################
|
||||
# Cleaning
|
||||
###############################################################################
|
||||
"
|
||||
# Remove no password sudo rights
|
||||
sed -i 's/^%wheel ALL=(ALL) NOPASSWD: ALL/# %wheel ALL=(ALL) NOPASSWD: ALL/' /etc/sudoers
|
||||
# Add sudo rights
|
||||
sed -i 's/^# %wheel ALL=(ALL) ALL/%wheel ALL=(ALL) ALL/' /etc/sudoers
|
||||
|
||||
# Replace in the same state
|
||||
cd $pwd
|
||||
|
||||
echo "
|
||||
###############################################################################
|
||||
|
|
|
|||
Loading…
Reference in New Issue