From 3cf2d41dfe702bdddf9784eec19eb648e8baa108 Mon Sep 17 00:00:00 2001 From: WickedYoda <68271168+wickedyoda@users.noreply.github.com> Date: Tue, 8 Aug 2023 16:03:29 -0500 Subject: [PATCH] Added files Added some files --- CronUpdates.txt | 26 ++++++++++++++++++++++++++ Kalitoolsinstall.sh | 30 ++++++++++++++++++++++++++++++ Reset_perms.sh | 5 +++++ cockpit_install.sh | 1 + dockercompose_install.sh | 10 ++++++++++ 5 files changed, 72 insertions(+) create mode 100644 CronUpdates.txt create mode 100644 Kalitoolsinstall.sh create mode 100644 Reset_perms.sh create mode 100644 cockpit_install.sh create mode 100644 dockercompose_install.sh diff --git a/CronUpdates.txt b/CronUpdates.txt new file mode 100644 index 0000000..665e912 --- /dev/null +++ b/CronUpdates.txt @@ -0,0 +1,26 @@ +MAILTO="alerts@tyates.one" +0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y + +#* */4 * * * /home/pi/Desktop/sync.sh +# sudo apt-get update +# sudo apt-get upgrade -y + + +#https://crontab-generator.org/ +#apt-get install cron-apt -y +#https://www.techrepublic.com/article/automatically-update-your-ubuntu-system-with-cron-apt/ +#https://www.linuxfordevices.com/tutorials/linux/automatic-updates-cronjob + + +#[minute] [hour] [day_of_month] [month] [day_of_week] [user] [command_to_run] + +#0 0 * * 0 root (apt-get update && apt-get -y -d upgrade) + +#sudo apt install cron cron-apt -y +#sudo systemctl enable cron +#sudo nano /etc/crontab + +#MAILTO="alerts@tyates.one" +#0 */6 * * * root apt-get update && apt-get -y -d full-upgrade && apt-get autoremove -y + +#sudo apt-get update && sudo apt-get full-upgrade -y && sudo apt autoremove -y \ No newline at end of file diff --git a/Kalitoolsinstall.sh b/Kalitoolsinstall.sh new file mode 100644 index 0000000..0903b26 --- /dev/null +++ b/Kalitoolsinstall.sh @@ -0,0 +1,30 @@ +apt-get install git +git clone https://github.com/LionSec/katoolin.git && cp katoolin/katoolin.py /usr/bin/katoolin +chmod +x /usr/bin/katoolin +# sudo katoolin + +sudo apt install -y nmap \ + wordlist \ + ettercap-common \ + ettercap-graphical \ + arp-scan \ + wfuzz \ + wireshark \ + airgeddon \ + aircrack-ng \ + airgraph-ng \ + traceroute \ + wifite wpscan \ + whois \ + wifiphisher \ + kismet \ + netdiscover \ + bettercap \ + burpsuite \ + tcpdump \ + fern-wifi-cracker \ + bettercap-ui \ + wifi-honey \ + gparted \ + gvm \ + openvas \ No newline at end of file diff --git a/Reset_perms.sh b/Reset_perms.sh new file mode 100644 index 0000000..d729494 --- /dev/null +++ b/Reset_perms.sh @@ -0,0 +1,5 @@ +sudo mount /dev/sda1 /mnt/drive1 +sudo mount /dev/sdb1 /mnt/drive2 + +sudo chmod 777 -R /mnt/drive1 +sudo chmod 777 -R /mnt/drive2 \ No newline at end of file diff --git a/cockpit_install.sh b/cockpit_install.sh new file mode 100644 index 0000000..428334e --- /dev/null +++ b/cockpit_install.sh @@ -0,0 +1 @@ +sudo apt -y install cockpit diff --git a/dockercompose_install.sh b/dockercompose_install.sh new file mode 100644 index 0000000..6f308ef --- /dev/null +++ b/dockercompose_install.sh @@ -0,0 +1,10 @@ +sudo apt-get install libffi-dev libssl-dev -y +sudo apt install python3-dev -y +sudo apt-get install -y python3 python3-pip -y + +sudo pip3 install docker-compose + + + +sudo curl -L --fail https://github.com/docker/compose/releases/download/1.29.2/run.sh -o /usr/local/bin/docker-compose + sudo chmod +x /usr/local/bin/docker-compose \ No newline at end of file