From 32507a14ccbe9fcc20f2126cc77e69dec2097749 Mon Sep 17 00:00:00 2001 From: bmixed Date: Tue, 14 Apr 2026 21:55:19 +0000 Subject: [PATCH] Upload files to "/" --- 0sec | 28 ++++++++++++++++++++++++++++ 0spn | 17 +++++++++++++++++ 0ssh | 12 ++++++++++++ 3 files changed, 57 insertions(+) create mode 100644 0sec create mode 100644 0spn create mode 100644 0ssh diff --git a/0sec b/0sec new file mode 100644 index 0000000..9c03293 --- /dev/null +++ b/0sec @@ -0,0 +1,28 @@ +#!/bin/bash + +sudo clear +echo 'Updating...' +sudo apt install -y --ignore-missing ufw gufw clamav clamtk bleachbit chkrootkit rkhunter fail2ban portsentry libapache2-mod-security2 +sudo apt install -y --ignore-missing snort +sudo apt install -y --ignore-missing suricata +sudo suricata-update +wget https://servzero.net/arc/tools/f2b/jail.local; sudo mv jail.local /etc/fail2ban/ +wget https://servzero.net/arc/tools/f2b/ufw.f2b; sudo mv ufw.f2b ufw.f2b.conf; sudo mv ufw.f2b.conf /etc/fail2ban/filter.d/ +sudo cp /etc/modsecurity/modsecurity.conf-recommended /etc/modsecurity/modsecurity.conf; sudo sh -c 'echo "SecRuleEngine DetectionOnly" >> /etc/modsecurity/modsecurity.conf' +sudo ufw allow ssh +sudo ufw reload +sudo ufw enable +sudo systemctl stop clamav-freshclam.service +sudo freshclam +sudo systemctl start clamav-freshclam.service +echo 'Scanning...' +clamscan --bell -raoiz --bytecode --scan-mail --phishing-sigs --cross-fs --log=cav.log --heuristic-alerts --phishing-scan-urls #--detect-pua #--detect-structured #-v +sudo chkrootkit +sudo rkhunter -c -x --sk +echo 'Done.' +echo 'Cleaning...' +bleachbit --clean system.tmp system.cache system.trash deepscan.tmp deepscan.thumbs_db deepscan.ds_store +echo 'Done.' +echo 'Checking Firewall...' +sudo ufw status +sudo tail -f /var/log/fail2ban.log diff --git a/0spn b/0spn new file mode 100644 index 0000000..c1e1ee7 --- /dev/null +++ b/0spn @@ -0,0 +1,17 @@ +#!/bin/bash + +clear +echo Server: +read s +echo Port: +read p +echo User: +read u +clear +echo SOCKS5 proxy: +echo localhost:4444 +echo 127.0.0.1:4444 +echo 0.0.0.0:4444 +ssh $u@$s -p $p -ND 4444 +echo 'Disconnected.' +read -n1 diff --git a/0ssh b/0ssh new file mode 100644 index 0000000..e6387eb --- /dev/null +++ b/0ssh @@ -0,0 +1,12 @@ +#!/bin/bash + +clear +echo Server: +read s +echo Port: +read p +echo User: +read u +ssh $u@$s -p $p +echo 'Disconnected.' +read -n1