telnet

how to send text to As/400 ibm host using telnet in python

I want send text BBULK to ibm host i am doing like this tn = telnetlib.Telnet(HOST) tn.open(HOST,PORT) tn.write('BBULK') but its not working response i am geting is different i also tryed by ebcdic characters as as/400 system use that tn.write('\xc2\xc2\xe4\xd3\xd2') but still not working.. its working when i have to send numbers to ...

Using Python: How can I telnet into a server and then from that connection telnet into a second server?

I am able to establish the initial telnet session. But from this session I need to create a second. Basically I can not telnet directly to the device I need to access. Interactively this is not an issue but I am attempting to setup an automated test using python. Does anyone know who to accomplish this? ...

HTTP Browser Spoofing

Hi all, How would i go about making a web server believe that i am using let's say Windows XP instead of Windows 7 via telnet? I am thinking something along the lines of telneting to port 80 and issuing some commands but i am in doubt as to which. Any help would be appreciated! Jake ...

Looking for single file telnet server to hack into application

Hi, I've been looking for some very simple to lift and simple telnet source code to build into an application I am working on. I have looked at some traditional Linux applications of this and they are build and they are overkill, comprised of about 20 files, and have way too many dependencies. I just want simple, and (NO) I do not ca...

Perl Is it possible to re-create the Net::Telnet connection if I have its memory location ?

Hello, Is it possible to re-create the Net::Telnet connection if I have its memory location ? how can i turn Net::Telnet=GLOB(0x1b50ff0) string to a Net::Telnet object again ? Thanks. ...

disable windows pop up during telent

Hi, We do telnet from Solaris machine to windows machine and run build command on windows machine. Currently we observe that during build because of some issue, process pops up "windows error message". Since no gui is attach to the process, build gets hang up and we've to re-run manually on the system. We are using "nmake" and visual ...

Is there a Java client that supports Telnet RFC2217 (to communicate with COM ports over a network connection)?

This should be simple, very simple, but I'm having a hard time with it. Problem I'm looking for an open source project, in java, that will communicate using the RFC2217 protocol. I find no shortage of Java RFC2217 Terminal Servers but I need a client. If all these people are writing servers, someone has to have written a client! Righ...

SMTP Validation of E-Mail Address

I'm working on a project which requires me to know with extremely high probability the availability of an e-mail account on a mail server (let's use Hotmail in this example.) I know that the VRFY command is often ignored (Hotmail says "I'll take a message" or something of the like when I try it,) so I'd like to know the best way to go ab...

Parsing IBM 3270 data in java

I was wondering if anyone had experience retrieving data with the 3270 protocol. My understanding so far is: Connection I need to connect to an SNA server using telnet, issue a command and then some data will be returned. I'm not sure how this connection is made since I've read that a standard telnet connection won't work. I've also re...

Odd Behavior when Connecting to my Program

I'm using Twisted to implement a server, of sorts. When I test it, the first line it receives is always strange: Starting Server... New connection from 192.168.1.140 192.168.1.140: ÿûÿû ÿûÿû'ÿýÿûÿý\NAME Blurr 192.168.1.140: \NAME Blurr (for both inputs I sent \NAME Blurr.) This is the code that prints the input: def lineReceived(s...

Java telnet server

any one know of a simple telnet server i want to embed in my application and set my own commands something simple not complex . ...

Telnet connection on iPhone

I'm just wondering... I've downloaded this App called "Telnet Lite" for the iPhone where you can connect to your devices through Telnet. You just give up the IP address, server port, username & password. Works great. Now I'm wondering how this can be done (in code) on the iPhone. Can someone post a sample code where you establish a con...

ANT: Telnet is not working

I am trying the below ANT telnet task: <telnet userid="uid" password="pass" server="${BT_Server}"> <read>/u01/appldev/devappl/po/11.5.0/reports</read> <write>ls</write> <read string="/u01/appldev/devappl/po/11.5.0/reports"/> </telnet> It will execute for infinite time after login to the remote server. Getting below messa...

Is there a way to wait for and get a key press from a (remote) terminal session?

Hi folks, I've been playing around with some ANSI stuff (like colors etc.) in java and php (from scratch) and I'm trying to find a way to basically wait for a key press. I'd like to have something like the following pseudo code at the end of my main event loop: If (KeyPressed) Begin var event = new KeyboardEvent(); event.Ke...

HIS Server Protocol

To give a bit of context to my problem, we have a 3270 Telnet Emulator (WinVV) that connects to an HIS server that then connects to an SNA Server and eventually to an IBM mainframe. I now want to write an app that automates data retrieval and have chosen (not that there's much choice) to use the Jagacy library. Before I start coding I wa...

Android - scripting telnet session for sending GPS tracks

All, I am familiar with the ability to fake GPS information to the emulator through the use of the geo fix long lat altitude command when connected through the emulator. What I'd like to do is have a simulation running on potentially a different computer produce lat, long, altitudes that should be sent over to the Android device to fak...

using telnet to connect to a ssh based server

Is it possible to use tunneling to connect to a ssh server via telnet? I'm using an API that can only telnet to a host, but that host will only accept ssh connections. If it is possible, what do I need to do to set that up? ...

Telnet, Emulator ...and other issues

I was assigned to maintain a .NET application that use .NET emulator to connect to legacy mainframe system. The application uses library called PowerTCP emulator. But I see people use Putty to connect. I hear lots of terms that I cannot make sense off, because I have no knowledge at all about mainframe / emulator / telnet world. Like I h...

python line editing telnet server

Hi, I am creating a server in python (what it is doing is irrelevant), but I would like it to accept telnet connections and provide a command line interface with line editing capabilities (tabcompletion, emacs/vi-mode, etc) and history per session. I have successfully created the telnet session, disabled line mode and enabled server echo...

Telnet library for J2ME

Like the title says. Is there any telnet library that can be used with J2ME? EDIT: more specifically, I need this library to be used in a BlackBerry app. ...