-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathuts.sh
More file actions
32 lines (30 loc) · 721 Bytes
/
uts.sh
File metadata and controls
32 lines (30 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
#!/bin/bash
# To make executable, modify permissions of the script with: chmod u+x uts.sh
# Shell script containing misc. tools
sleep 0.5
echo ""
echo "Device/Network Utility Menu"
sleep 0.5
echo "(c) Devon M. 2025"
sleep 0.5
echo ""
echo "(1.) Ping"
echo "(2.) Port Scan"
echo "(5.) Main Menu"
echo "(10.) Exit"
echo ""
read -p "Select:" menu_input
if [ $menu_input = "1" ] ; then
read -p "Target:" ping_tar
exec ping -c 5 $ping_tar
elif [ $menu_input = "2" ] ; then
read -p "Target:" nmap_tar
exec nmap $nmap_tar
elif [ $menu_input = "5" ] ; then
exec "/home/devon/Bash/hud.sh"
else [ $menu_input = "10" ]
echo "Terminating script..."
sleep 0.5
exit 1
exec "/home/devon/Bash/uts.sh"
fi