I noticed that if you use the hex 05 in a file and cat or more the file you can get bash to say 1;2c.
Code:
oxagast@likon ~/code $ cat fmore
^[[?1;2coxagast@likon ~/code $ 1;2c
bash: 1: command not found
bash: 2c: command not found
oxagast@likon ~/code $ hexdump fmore
0000000 0005
0000001
oxagast@likon ~/code $
I was just interested in why it does this and if it's a security bug, considering most people, when using more, will press the return key until the files over, so you could craft a file that looks normal and wait until they get to the end and if an executable file 1 or 2c is in the path (or if you could possibly change what those values are) it would execute them once it drops back to bash. The fmore file does not have to be set to executable or anything.
Thanks,
oxagast