how can i can i pipe a telnet output into a text file in window...
i'm using regular windows telnet
Printable View
how can i can i pipe a telnet output into a text file in window...
i'm using regular windows telnet
Dude, did u try microsoft.com? I did and within 5 seconds I found this... im sure your answer is in there.. just look around a bit, do some Googling... not hard at all.
http://search.microsoft.com/search/r...n-us&qu=Telnet
that is not the point texan ... i know how to use telnet ... all i don't know how to do is for windows 2k telnet client spit the out put into the text files
I am not sure if it is possible to "telnet > text.file".
But it is possible to select, copy and paste into the notepad or some other editor.
Do you want to automate some functions based on analyse of telnet output results?
Texan had it right, chase down the third entry in the search and you will find the command line instructions. There is a logging function in telnet that will log to a local text file.
Windows telnet sucks. Use Putty.
Full doc found Here.Quote:
3.2 Creating a log file of your session
For some purposes you may find you want to log everything that
appears on your screen. You can do this using the `Logging' panel in
the configuration box.
To begin a session log, select `Change Settings' from the system
menu and go to the Logging panel. Enter a log file name, and select
a logging mode. (You can log all session output including the
terminal control sequences, or you can just log the printable text.
It depends what you want the log for.) Click `Apply' and your log
will be started. Later on, you can go back to the Logging panel and
select `Logging turned off completely' to stop logging; then PuTTY
will close the log file and you can safely read it.
See section 4.2 for more details and options.
Hope this helps. :)
Geez, ever tried this :
But since you're lazy i'll copy/paste it ...Code:C:\>telnet --help
So try the -f function ....Code:C:\>telnet --help
telnet [-a][-e escape-teken][-f logbestand][-l gebruiker][-t term]
[host [poort]]
-a Een poging tot automatisch aanmelden. Vergelijkbaar met de optie -l,
met als verschil dat de naam van de aangemelde gebruiker wordt
gebruikt.
-e Het escape-teken waarmee de prompt van de telnet-client wordt
weergegeven.
-f De bestandsnaam voor het vastleggen van logboekgegevens aan de
clientkant.
-l De gebruikersnaam waarmee wordt aangemeld bij het externe systeem.
Het externe systeem moet ondersteuning bieden voor de optie
TELNET ENVIRON.
-t Het type terminal.
De ondersteunde terminaltypen zijn vt100, vt52, ansi en vtnt.
host De hostnaam of het IP-adres van de externe computer
waarmee verbinding moet worden gemaakt.
poort Een poortnummer of servicenaam.
C:\>
*** EDIT ***
LMAO, I just notice this is a dutch dos version. Anyway the english --help function will work too.
One other option is to use the windows version of NetCat..
http://www.vulnwatch.org/netcat/
especially the -l function of netcat is usefull .... for us .... :pQuote:
One other option is to use the windows version of NetCat..