Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
bladestech authored Dec 13, 2023
0 parents commit 448fdff
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions NETstats.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
@echo off
echo Press Ctrl+C to exit.
:loop
cls
echo Loopback Connections:
netstat -an | find "ESTABLISHED" | findstr /C:"127."
echo.
echo Local Network Connections:
netstat -an | find "ESTABLISHED" | findstr /C:"192.168." /C:"10." /C:"172."
echo.
echo Internet Connections:
netstat -an | find "ESTABLISHED" | findstr /V /C:"192.168." /C:"10." /C:"172." /C:"127."
timeout /nobreak /t 5 >nul
goto loop

0 comments on commit 448fdff

Please sign in to comment.