ZakOpath
Jan 14 2004, 05:15 PM
Hello, i have used some hours on looking for a telnet client, who can use a "scan.txt" file and connect to one ip at the time from the txt file. is there such a telnet client out there ?
Is a must that i disite which port, the client shall connect to.
-/Zak
Yemoke
Jan 14 2004, 06:02 PM
Why you dont make a batch file, that's read scan.txt and check it?
blackP0ster
Jan 14 2004, 06:19 PM
| CODE |
@echo off @echo enter txt-file of scan: set /p txt= for /f "eol=; tokens=1*" %%i in (%txt%) do telnet %%i -p 23 |
hope it works

black
ZakOpath
Jan 15 2004, 04:03 PM
i tryed this in a *.bat file
| CODE |
@echo off @echo scan.txt: set /p txt= for /f "eol=; tokens=1*" %%i in (%txt%) do telnet %%i -p 1337
|
and i'v tryed in raw format in CMD but it wont work it just freeze or whrte this
C:\>tell.bat
scan.txt:
and then nothing ...
Damn im sure im doing somthin wrong but what... damn ill just keep up fighting whit it to it works ...
if it gonna work i let ya know
or if there is one who has a idea how to help me out plz reply
BlaStA
Jan 15 2004, 04:15 PM
set /p txt=
means, that you have to enter something, in this case the name of the text-file (scan.txt)
randalizm
Jan 16 2004, 02:20 PM
is this batch meant to work in 95/98/me too or only 2000 up????
i always recieve a syntax error:
and at what point do you enter the file name??? do you insert it at the end of the third line or does the /p mean Prompt or sumthin???
im only runnin ME so i dont know where im screwing up!
ZakOpath
Jan 17 2004, 02:53 PM
Damn im still stuck..
i maneged to get it work typing this
for /f "eol=; tokens=1*" %%i in (%scan.txt%) do telnet %%i -p 1337
But every time i got a ip whitout a usefull box( no shell ) it just freez because it dont jump forward to next ip
matze
Feb 23 2004, 03:43 AM
I tried your versions but nothing worked....
Then I wrote this and itīs working
| QUOTE |
echo off echo Please enter the filename of the scan..... example scan.txt set /p txt= for /f %%i in (scan.txt) do (telnet %%i 1337) |
dmg
Feb 23 2004, 08:19 AM
| QUOTE (matze @ Feb 23 2004, 03:43 AM) |
I tried your versions but nothing worked.... Then I wrote this and itīs working
| QUOTE | echo off echo Please enter the filename of the scan..... example scan.txt set /p txt= for /f %%i in (scan.txt) do (telnet %%i 1337) |
|
LOL.... First you ask which txt file to use and then (regardless of the answer) you use scan.txt.
| CODE |
@echo off :input set /p txt="Enter the name of your scan.txt file [scan.txt]: " if "%txt%"=="" set txt=scan.txt if not exist %txt% echo %txt% not found & goto input for /f %%i in (%txt%) do telnet %%i 1337
|
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.