funny how so many perl people and online shellcode tutorials are ok with that contrived syntax
i recommend perl -e 'print pack "i", 0x8800612a' it'll adjust to endianess as needed if you are truly interested in sending hex *strings* then it's not of much help On Sun, Apr 8, 2012 at 4:25 PM, Ted Unangst <[email protected]> wrote: > On Sun, Apr 08, 2012, edasky wrote: >> rs232 -d /dev/ttyUSB1-s'\h 2A 61 00 06 88 01 20 87 3E \r" -r8 -hex >> >> Now I need to achieve the same result under OpenBSD (5.0) > >> Anybody got an idea how to send such a hex string in /dev/ttyU1 ? > > Maybe something like perl -e 'print "\x2a\x61\x00\x88"' > /dev/ttyU1 > > You may need to use stty to set the speed and such first.

