Gargolito Knows
Commentary on life, issues, movies and anything else that comes to mind.
Wednesday, June 13, 2007
Keep alive with random PING and RANDOM wait
@echo off
set target= IP.ADD.RESS OR HOSTNAME
call:keepalive
goto:eof
:keepalive
ping -n %random:~0,1% %target% | find /i "TTL">nul
if errorlevel 0 exit
sleep %random:~0,1%
goto:keepalive
:eof
Newer Post
Older Post
Home