![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| using shell script to telnet | ricky katix | SUN Solaris | 6 | 01-16-2008 02:27 PM |
| difference between AIX shell scripting and Unix shell scripting. | haroonec | Shell Programming and Scripting | 2 | 04-12-2006 09:12 AM |
| telnet & su in shell script | vastare | Shell Programming and Scripting | 1 | 01-19-2006 11:47 AM |
| Telnet FTP scripting | w33man | UNIX for Dummies Questions & Answers | 2 | 09-18-2003 01:45 PM |
| scripting Telnet | TRUEST | UNIX for Dummies Questions & Answers | 2 | 07-01-2003 01:35 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Hi, im brasilian, sorry for bad english ok? Well, im writing one honeypot, look:
#!/bin/bash echo "" echo `cat /etc/welcome.pot` echo "" echo -n "login: "; read usuario echo -n "Password: " #stty -echo read -s senha #stty echo exit Running it in localhost, thats right: kurumin@servidor:~$ honey.pot FreeBSD/i386 (servidor) (ttyp0) login: root Password: dear friend, the pass is root, and user root Good, then I: $ sudo cat "telnet stream tcp nowait root /usr/bin/honey.pot" >> /etc/inetd.conf And: kurumin@servidor:~$ telnet servidor Trying 127.0.0.1... Connected to servidor. Escape character is '^]'. FreeBSD/i386 (servidor) (ttyp0) login: root Password: root , and user rootpass is root Two things: The password is not hide and the message in the end. OK, trying the command stty -echo: login: root Password: stty: standard input: Invalid argument stty: standard input: Invalid argument What is the problem?? Some in telnet??? I dont know.. Thanks!! |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|