-
Notifications
You must be signed in to change notification settings - Fork 0
/
local.sh
20 lines (17 loc) · 1.07 KB
/
local.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/bin/bash
printf "Ver puertos abiertos en local: - "&& printf "\e[1;34mwww.hackingyseguridad.com\e[0m"
# Ejecutar en remoto desde Github:
# wget -O - https://raw.githubusercontent.com/hackingyseguridad/scan/master/local.sh | bash
# wget -O - https://raw.githubusercontent.com/hackingyseguridad/scan/master/local.sh | zsh
# curl -sL https://raw.githubusercontent.com/hackingyseguridad/scan/master/local.sh |bash
# curl -sL https://raw.githubusercontent.com/hackingyseguridad/scan/master/local.sh |zsh
echo
echo "###############################################################################################"
ss -tulnp
echo "###############################################################################################"
netstat -pnltu
echo "###############################################################################################"
lsof -i
echo "###############################################################################################"
nmap -Pn -sTU --open localhost
echo "###############################################################################################"