first commit
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
https://qabilah.com/profile/ahmedtarekkhedr007/professional-profile
|
||||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,21 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo "============================"
|
||||||
|
echo "Security Audit Script"
|
||||||
|
echo "============================"
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "[1] Checking Open Ports..."
|
||||||
|
ss -tuln
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "[2] Checking SSL Certificate..."
|
||||||
|
openssl s_client -connect localhost:443 </dev/null 2>/dev/null | openssl x509 -noout -dates
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "[3] Checking Sensitive File Permissions..."
|
||||||
|
ls -l /etc/passwd
|
||||||
|
ls -l /etc/shadow
|
||||||
|
|
||||||
|
echo
|
||||||
|
echo "Audit Completed."
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user