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 stop dhcpcd.service
|
||||||
sudo systemctl enable NetworkManager.service
|
sudo systemctl enable NetworkManager.service
|
||||||
sudo systemctl enable bluetooth
|
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
|
sudo pacman -S "$PKG" --noconfirm --needed
|
||||||
done
|
done
|
||||||
|
|
||||||
cd ~/git
|
|
||||||
echo -e "\nInstalling git repositories\n"
|
echo -e "\nInstalling git repositories\n"
|
||||||
|
mkdir $HOME/git
|
||||||
|
cd $HOME/git
|
||||||
git clone https://github.com/six2dez/reconftw.git
|
git clone https://github.com/six2dez/reconftw.git
|
||||||
cd reconftw/
|
cd reconftw/
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
cd ~/git
|
cd $HOME/git
|
||||||
git clone https://github.com/codingo/Reconnoitre.git
|
git clone https://github.com/codingo/Reconnoitre.git
|
||||||
python3 setup.py install
|
python3 setup.py install
|
||||||
|
|
||||||
cd ~/git
|
cd $HOME/git
|
||||||
git clone https://github.com/AlisamTechnology/ATSCAN
|
git clone https://github.com/AlisamTechnology/ATSCAN
|
||||||
chmod +x ./install.sh
|
chmod +x ./install.sh
|
||||||
./install.sh
|
./install.sh
|
||||||
|
|
||||||
cd ~/git
|
cd $HOME/git
|
||||||
git clone https://github.com/evyatarmeged/Raccoon.git
|
git clone https://github.com/evyatarmeged/Raccoon.git
|
||||||
cd Raccoon
|
cd Raccoon
|
||||||
python setup.py install # Subsequent changes to the source code will not be reflected in calls to raccoon when this is used
|
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 "
|
echo "
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue