Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
-1 votes
1 answer
1k views

Is it possible to make Netcat behave exactly like Telnet?

Is it possible to make Netcat behave exactly like Telnet? The "-t" option doesn't seem to quite do it.
Fattie's user avatar
  • 219
0 votes
1 answer
2k views

difference between nc and telnet using smtp service as an example

I can use both nc and telnet to connect to port 25. $ nc 192.168.1.120 25 220 localhost ESMTP Exim 4.68 Tue, 29 Dec 2020 06:07:27 +0000 $ telnet 192.168.1.120 25 Trying 192.168.1.120... Connected to ...
user1424739's user avatar
0 votes
1 answer
2k views

Bypass Linux password login with netcat or ssh or telnet

How can you bypass a password login with nc or ssh? I type 'nc IP-address 13880' and it gives me the login form I need to bypass. Can anyone give me any tips?
Ollie's user avatar
  • 143
41 votes
1 answer
48k views

What is the difference between telnet and netcat?

I am looking for an explanation where I can find the difference between telnet and netcat. In which cases should I use telnet and netcat? What a telnet can do that netcat can not do and vice versa? I ...
rbashish's user avatar
  • 536
0 votes
1 answer
680 views

Why does piping commands into telnet result in intermittent connection failures?

As a cheap hack workaround on a number of servers that don't have the mail command, a script was written that echoes SMTP commands into a telnet session. The relevant part of the script looks like ...
Karu's user avatar
  • 4,862
1 vote
1 answer
3k views

how to make a batch file close automatically

I have a .bat file which its content is like this: @echo off nc x.x.x.x 23 < commands.txt exit in which nc is a .exe file in the same directory nc.exe known as NetCat. The commands.txt file has ...
TechLife's user avatar
  • 910
90 votes
5 answers
104k views

Can the telnet or netcat clients communicate over SSL?

I would like to test client connections with IMAP over SSL, HTTPS, and other secure text-based Internet protocols over SSL/TLS, the same way I would using telnet or netcat if they were not tunneled ...
user553702's user avatar
  • 1,391