3

Using Putty, how can someone send a null character, ie \0

I have seen control+@ but that doesnt seem to work.

I'm trying to do manual SMTP AUTH:

EHLO
AUTH PLAIN username\0\0password
Sathyajith Bhat
  • 61,504
  • 38
  • 179
  • 264
enorl76
  • 274
  • 1
  • 4
  • 14

1 Answers1

3

The following worked for me when using PuTTY on windows with a local serial port.

  1. Under Window->Translation choose "ISO-8859-1:1998 (Latin-1, West Europe)"
  2. Send your null using alt+0256

On Mac I used the 'screen' program.

  1. Open the OS X terminal program, and run screen /dev/tty.SLAB_USBtoUART 115200 Use the path of your own serial device, something in /dev/tty.* 115200 was the baud for my specific device.
  2. Send null with ^@ (Ctrl+Shift+2). See This SU Post

References:

  1. Serial Console on OSX
  2. SU Post
benathon
  • 205
  • 2
  • 10
  • When using alt+025 it works, thanks for the trick. But if I paste "^@" into PuTTY it doesn't, the receiver SMS shows "Üi".? Another thing the manual to my Siemens TC65 modem says the escape sequence is "\\00". It worked a few days ago but suddenly it doesn't. I can't get wise on thoses escape-sequences :-( – MrCalvin Feb 11 '18 at 09:50