hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

kenshin_efx
Hello, it wanted to request a little to them aid to do bat that does ping to me to a list of ips, I am not very good in this of the programming by the same I request aid to them, thanks in advanced.
T-BoNe
for /f "tokens=1 delims=" %%a, in (scan.txt) do ping -n 1 -l 32 %%a >> pingcheck.txt

something like this ?
Nightdemon
QUOTE (T-BoNe @ Dec 28 2003, 04:57 PM)
for /f "tokens=1 delims=" %%a, in (scan.txt) do ping -n 1 -l 32 %%a >> pingcheck.txt

something like this ?

should work... wink.gif
vnet576
A bat that pings well I have just what u're looking for...

..a bat that pings.. laugh.gif

user posted image


mrBob
lol vnet576 laugh.gif
true true
biggrin.gif
scooby
lol biggrin.gif biggrin.gif
liquidSilver
Nightdemon: Please stop posting such reply's - we know you are only doing it for a higher post count.. wacko.gif

- Wacko!

Regards,
LiquidSilver
randalizm
what about one that uses net view to grab host names in your domain, pings each one to check its latency?possible?
BlaStA
@echo off
del netview.txt /F /Q
del netping.txt /F /Q
net view | findstr "\\">netview.txt
FOR /F "delims=\\" %%a IN (netview.txt) DO ping %%a>>netping.txt

Should work ...
Feanor
QUOTE (kenshin_efx @ Dec 28 2003, 04:31 PM)
Hello, it wanted to request a little to them aid to do bat that does ping to me to a list of ips, I am not very good in this of the programming by the same I request aid to them, thanks in advanced.

WOOOOOOTTTT?

Just create a text file that each line is " ping *.*.*.*" where *.*.*.* is one of the IPs you wanna ping, rename this file into a *.bat and execute.

Not so hard, aint it?

Or you wanted something else?
BlaStA
He has a text file with ips from a scanner or whatever.

It's much work to paste ping in front of every line, isn't it?
T-BoNe
Ultraedit is the answer then smile.gif
northernsky
QUOTE (BlaStA @ Dec 30 2003, 04:54 PM)
He has a text file with ips from a scanner or whatever.

It's much work to paste ping in front of every line, isn't it?

That's what we have Ctrl + H for......
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.