telnet

How to send commands to telnet and leave session open

I have to connect to a remote server via telnet and want to send file input there. This is a processor emulator (MCF68k), so I can't just scp the file to the server and run from there. I can send input like this: telnet host.name < input.file Which will successfully transmit the data to the server and run the commands stored that I w...

How to stress test a telnet server application?

We have a Unix application that is essentially a glorified telnet server. We have no access to the Unix server, yet we need to do load/stress testing. We really need to be able to simulate a few hundred user sessions logging in and performing certain actions. I thought I could perhaps use a terminal emulator that performs these action...

How do i provide password for su command while using net/telnet in ruby

Hi all , I am using Net/TELNET to connect to remote host trying to run su command in order to get root privilage. This is how I am doing it require 'net/telnet' localhost = Net::Telnet::new("Host" => "192.147.217.27", "Timeout" => 50, "Prompt" => /[$%#>] \z/n) localhost.login("...

Running Beanstalkd on Ubuntu - Telnet from windows problem

I'm currently trying to test out beanstalkd I have installed ubuntu (on vmware workstation) Running ifconfig, I can see the ip address is 192.168.0.190 I start beanstalkd on port 11300 From my host machine (windows) I try to telnet to the ipaddress / port, however it tells me I can't connect... What's going wrong? (ps- im a linux n...

How do I use TIdTelnet to send commands?

I am trying to simulate the "new identity" button in Vidalia (the Tor GUI) from my program. I asked about that, based on Rob Kennedy's answer, I tried this in my application: IdTelnet1.Host:='127.0.0.1'; IdTelnet1.Port:=9051; IdTelnet1.Connect(-1); IdTelnet1.SendCmd('SIGNAL NEWNYM'); But it has not worked for me. Even after I send the...

Python telnetlib: surprising problem

I am using the Python module telnetlib to create a telnet session (with a chess server), and I'm having an issue I really can't wrap my brain around. The following code works perfectly: >>> f = login("my_server") #code for login(host) below. >>> f.read_very_eager() This spits out everything the server usually prints upon login. Howeve...

perl Net::Telnet wait_for a middle character, while the "print" action still buffering data

I'm using perl with the Net::Telnet module. My problem is while sending a command that has an output of 1000 rows, the "wait_for" looks for a string in the middle. The wait_for stops but the buffer is still keeps storing the command's output. the problem is with the next command that I send - I'm getting the rest of the first command'...

writing a Telnet server and Telnet client in C

Hi, I have selected an project for writing a Telnet server and Telnet client code in C. i am learning C programming. Has anyone attempted this.Please tell me how to proceed and materials to be refer. sorry for asking source code.I am not getting how to start.So please refer me the material,so i can try the platform i am using is ubu...

How do I log on to my school network from my internet network at my house?

I basically just want to access the UNC drives from my house but they are local network paths e.g. \servername\resource Is there a way I can do this- is there a way to trace the UNC back to the server IP and then telnet into it? ...

How does telnet port forwarding work?

With that command what does really happen? telnet somehost 25 Does it mean that I create a connection between my host and somehost on port 23 with telnet and that telnet of somehost forward it after to the port 25? thank your for your help! cheers Daniel ...

Garbage bytes in http output ?

When I use telnet to view my web, I get these weird numbers/letters in the output. This does not happen in a browser and they are definitely not in my source code. I have checked other sites and they do not have them. Any ideas why ? Are they garbage ? How can I get rid of them ? telnet www.mysite.com 80 GET / HTTP/1.1 Host www...