Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to create a telnet script that is hidden?

Status
Not open for further replies.

chicken_feet

Member level 4
Joined
Mar 3, 2005
Messages
69
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,286
Activity points
2,138
Dear all,

I am trying to create a script that will telnet from a PC to an embedded board. Once the telnet connection is established, we will run login with password and follow by some commands.

My question -
1. What is the best way to create such script in Windows 7?
2. Can we make it impossible for anyone to read the script and hence obtain the login name and password?

I understand we can create macro in TeraTerm, but these are not hidden as well. The same goes to creating batch files. Can we convert batch files to EXE which will run the settings at background?

Appreciate some direction on this. Thanks.

kakiayam
 

Obviously there's no way to protect a password sent as plain text over an unencrypted channel. Whatever the telnet client might do to hide it, you can simply tap the communication channel and read it.

There are some (more or less unusual telnet) extension providing encrypted authentication, these days SSH is the way to go. So if your embedded device supports SSH, there might be a way hide to the authentication information, at least from unexperienced users.
 

if you are implementing the embedded code for the microcontroller write you own PC host code to communicate with it (In C++, C#, VB.NET, Java, etc)
you can then use SSH or encrypt the communication and also chose you own TCP ports
 

Depending on exactly what you are trying to achieve (it isn't fully clear in the post) you might
also want to consider a "live" password.
i.e. something regenerated for each connect that is different and hard to guess.
for example you could run a function on the PC and board that calculates the time
in nanoseconds from a specific date. If not secure enough there are variations
on that you could use. (A bit of imagination helps here)
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top