Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ===============================================================================
- Copy Everything Under The Barrier in a text doc and change it from .txt to .bat
- This is a Christmas pinger.
- ===============================================================================
- @echo off
- color a
- title Pinger
- set /p var=Enter IP~
- :x
- PING -n 1 %var% | FIND "TTL="
- color c
- IF ERRORLEVEL 1 (SET in=c & echo %var% Was Smoked)
- PING -n 1 %IP% | FIND "TTL="
- color a
- IF ERRORLEVEL 1 (SET in=c & echo %var% Was Smoked)
- color %in%
- ping -t 2 0 10 127.0.0.1 >nul
- GoTo x
- input("Press enter to close")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement