Remove Windows Hosts
This commit is contained in:
parent
615a216a19
commit
7908ab9ead
@ -1,10 +1,6 @@
|
|||||||
[proxmox]
|
[proxmox]
|
||||||
10.0.1.0
|
10.0.1.0
|
||||||
|
|
||||||
[windows]
|
|
||||||
10.0.1.10
|
|
||||||
10.0.1.11
|
|
||||||
|
|
||||||
[linux]
|
[linux]
|
||||||
10.0.1.2
|
10.0.1.2
|
||||||
10.0.1.12
|
10.0.1.12
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
if [ "$#" -eq 0 ]; then
|
if [ "$#" -eq 0 ]; then
|
||||||
echo "Usage: $0 (--install-deps) (--docker) <file-with-hosts>"
|
echo "Usage: $0 (--install-deps) <file-with-hosts>"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -25,18 +25,6 @@ else
|
|||||||
filename="$1"
|
filename="$1"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "$1" = "--docker" ]; then
|
|
||||||
echo "[-] Pulling Image"
|
|
||||||
sudo docker pull positronsecurity/ssh-audit
|
|
||||||
|
|
||||||
echo "[-] Running Image"
|
|
||||||
docker run -it -p 2222:2222 positronsecurity/ssh-audit
|
|
||||||
|
|
||||||
echo "[+] SSH Audit Server Accessible at Port 2222"
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
fi
|
|
||||||
|
|
||||||
if [ ! -f "$filename" ]; then
|
if [ ! -f "$filename" ]; then
|
||||||
echo "Error: File '$filename' not found."
|
echo "Error: File '$filename' not found."
|
||||||
exit 1
|
exit 1
|
||||||
|
Loading…
Reference in New Issue
Block a user