hello
i am new to Ruby.
i want to make a small program that when you scan the computer with NMAP
it will look like a real program.
some kind of small honeypot.
i am trying to do it with pop3,ssh,smtp,http,ftp,telnet and RDP.
every protocol is a different port of course so i am changing the port
and the header.
i've succeeded only with smtp and ftp.
please help with the other.
More specifically, "\r\n" denotes a carriage return line feed pair, sometimes referred to as CRLF. You should find quite a bit in a Google search for those terms.
Also, a correction. Unix uses just the line feed character (LF or "\n"), not the carriage return character (CR or "\r"). Other systems may use other combinations.
···
"D. Deryl Downey" <me@daviddwdowney.com> wrote:
means return + newline. Windows's way of dictating the end of a line in
a file. Unix uses just '\r'
Ophir O. wrote:
thank you very much !
can you please explain what is "\r\n" ?
--
D. Deryl Downey
"The bug which you would fright me with I seek" - William Shakespeare -
The Winter's Tale, Act III, Scene II - A court of Justice.
-Jeremy
--
Sent from my mobile device. Please excuse my brevity.
Thank you for correcting my mistake. That is correct. My apologies.
Jeremy Bopp wrote:
···
More specifically, "\r\n" denotes a carriage return line feed pair,
sometimes referred to as CRLF. You should find quite a bit in a Google
search for those terms.
Also, a correction. Unix uses just the line feed character (LF or "\n"),
not the carriage return character (CR or "\r"). Other systems may use
other combinations.
"D. Deryl Downey" <me@daviddwdowney.com> wrote:
means return + newline. Windows's way of dictating the end of a line in
a file. Unix uses just '\r'
Ophir O. wrote:
thank you very much !
can you please explain what is "\r\n" ?
-Jeremy
--
Sent from my mobile device. Please excuse my brevity.
--
D. Deryl Downey
"The bug which you would fright me with I seek" - William Shakespeare - The Winter's Tale, Act III, Scene II - A court of Justice.
Of particular importance to OP, HTTP protocol dictates that the header
lines be separated with CRLF ("\r\n"). Other protocols do as well.
That said, many servers are forgiving and will accept CR, LF, and
CRLF. Postel set the tone in TCP with "send only what is correct, be
forgiving in what you accept".
···
On Sat, Jan 12, 2013 at 11:00 AM, Jeremy Bopp <jeremy@bopp.net> wrote:
More specifically, "\r\n" denotes a carriage return line feed pair,
sometimes referred to as CRLF. You should find quite a bit in a Google
search for those terms.
Also, a correction. Unix uses just the line feed character (LF or "\n"), not
the carriage return character (CR or "\r"). Other systems may use other
combinations.