Jump to content

telnet - opening port and send characters?


 Share

Recommended Posts

  • 2 weeks later...

can it be done by AutoIT and if so, does anyone have or send me an example script, without controlsend or send functions? meaning oppening port 23 TCP and start sending char?

yes i did it... i'm sorry but i dont have the script on me but i can explain...

use a sniffer like ethereal to sniff a session of telnet so u can look at the session proccess...

open a tcpconnect to connect to the telnet server and imitate the recorded session...

on ethereal if you press on the telnet field of the ip packet you will see on the binary window the hex charecters of the massage...

use -- tcpsend ($socket ,"0xff1bee") -- for example to send a massage thet is ff1bee...

after you finish with the session initiate you can send commands & use tcprcv to collect your data...

dont forget to use proper delays... good luck...

Link to comment
Share on other sites

yes i did it... i'm sorry but i dont have the script on me but i can explain...

use a sniffer like ethereal to sniff a session of telnet so u can look at the session proccess...

open a tcpconnect to connect to the telnet server and imitate the recorded session...

on ethereal if you press on the telnet field of the ip packet you will see on the binary window the hex charecters of the massage...

use -- tcpsend ($socket ,"0xff1bee") -- for example to send a massage thet is ff1bee...

after you finish with the session initiate you can send commands & use tcprcv to collect your data...

dont forget to use proper delays... good luck...

by the way erez this is zviki... i just noticed it is you...

call me to the base i will send you my script... i allready did this... P-Phone!!!!!!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...