Commit Graph

24 Commits

Author SHA1 Message Date
alvarosaavedrau
a6bc186e95 improve script speed with -n option to iptables command 2025-01-11 19:29:15 +01:00
Israel Abebe
52bbc23605
Merge pull request #19 from Un1q32/patch-1
Various improvements
2025-01-10 23:20:36 +03:00
Israel Abebe
9feedffd14
Update vps-audit.sh 2025-01-10 23:19:54 +03:00
Amirali Sabouri
da09fcea46
fix check status of ufw
there is "active" in "inactive" word so we should check the whole word with -w switch in grep
2025-01-06 21:19:04 +03:30
Un1q32
6fe37f6b30
remove useless uses of cat and wc 2025-01-06 17:34:23 +00:00
Un1q32
4237982908
Use proper shebang and use $HOSTNAME environment variable 2025-01-06 17:28:34 +00:00
Israel Abebe
9b7bef6e51
Merge branch 'main' into main 2024-12-22 00:37:29 +03:00
isra el
8119126a9a improve suspicious suid files detection logic 2024-12-17 10:18:38 +03:00
isra el
8263622f09 remove duplicate function 2024-12-17 10:15:41 +03:00
Israel Abebe
f7deefe524
Merge pull request #10 from latetedemelon/patch-2
Support for non-UFW firewalls
2024-12-17 10:11:15 +03:00
Israel Abebe
c6ec8de870
Update vps-audit.sh 2024-12-15 13:00:42 +03:00
Rob
ca71a26a75
Merge branch 'vernu:main' into patch-2 2024-12-15 00:09:02 -08:00
Rob
85a63103aa
Update vps-audit.sh 2024-12-14 23:57:17 -08:00
Israel Abebe
ffe08718da
Merge pull request #9 from latetedemelon/patch-1
Added support for ss when netstat is not present
2024-12-15 06:12:30 +03:00
Israel Abebe
d215330cdd
improve open ports formatting 2024-12-15 06:03:12 +03:00
Rob
0173a4f599
Update vps-audit.sh
Feature: Added support for firewalld, iptables, and nftables in addition to UFW.
2024-12-14 13:10:12 -08:00
Rob
04f6bd9429
Update vps-audit.sh
Feature: Added support for ss when netstat is not present
2024-12-14 12:59:44 -08:00
Israel Abebe
e52459b719
handle cases where sshd_config.d override is missing 2024-12-14 23:00:34 +03:00
Dave Fatkin
1a7cfaf42f
Check SSH config overrides
Checks the base sshd_config file for the `Include` directive. Then checks each setting against the overrides first, then the base sshd_config. Will stop at the first instance of the setting found.
2024-12-14 15:55:38 +00:00
Jonas Voigt
1d1cd173b5 small change in system updates to prevent error if UPDATES variabel is empty, add CrowdSec as IPS check, add FAIL for unsecure ssh ports above unprivileged ports threshhold 2024-12-14 13:56:31 +01:00
isra el
3d6e951eb7 display system info at the top 2024-12-14 15:37:12 +03:00
isra el
348cbcfae5 show list of publicly exposed ports 2024-12-14 15:15:05 +03:00
isra el
a618d086c3 add more checks and improve messaging 2024-12-13 22:08:14 +03:00
isra el
637b15d56b init 2024-12-13 13:39:23 +03:00