Sujet : Re: The lost key
De : 333200007110-0201 (at) *nospam* ybtra.de (Marcel Logen)
Groupes : sci.cryptDate : 30. Mar 2025, 19:39:14
Autres entêtes
Organisation : Bureau Logen
Message-ID : <20250330su183914@o15.ybtra.de>
References : 1 2 3 4 5 6 7 8
User-Agent : geLogen/28 (ZmxuZXdzLzEuMy4wcHJlMjggKGZvciBHTlUvTGludXgp)
Rich in sci.crypt:
Marcel Logen <333200007110-0201@ybtra.de> wrote:
Rich in sci.crypt:
Chris M. Thomasson <chris.m.thomasson.1@gmail.com> wrote:
[...]
No, you have now /discovered/ that "the command shell" interprets some
characters itself, and not passing them through to the command.
Perhaps he uses the "here documents" feature of the shell.
>
That is possible, but even so, there's two versions of here docs, one
that interpretes shell metacharacters and one that does not. Using the
'interpreting' variant would produce the same results.
^ not (?)
|
user15@o15:/tmp$ ./scos2-ok e 55 77 <<"EOF"
| > Hello World, this is a test. And I will see what happens.
| > EOF
| !(8sf <|#5h[ R@&9 jd > \86r(
7@4 T rNA[ *mW Y?"^ mPO\$5u+
|
|
user15@o15:/tmp$ ./scos2-ok d 55 77 <<qqqq
| > !(8sf <|#5h[ R@&9 jd > \86r(
7@4 T rNA[ *mW Y?"^ mPO\$5u+
| > qqqq
| Hello World, this is a test. And I will see what hapOXc_
|
|
user15@o15:/tmp$ ./scos2-ok d 55 77 <<"qqqq"
| > !(8sf <|#5h[ R@&9 jd > \86r(
7@4 T rNA[ *mW Y?"^ mPO\$5u+
| > qqqq
| Hello World, this is a test. And I will see what happens.
man bash, chapter "Here Documents":
| If any part of word is quoted, the delimiter is the
| result of quote removal on word, and the lines in the
| here-document are not expanded. If word is
| unquoted, all lines of the here-document are
| subjected to parameter expansion, command substitution,
| and arithmetic expansion, the character sequence
| \<newline> is ignored, and \ must be used to quote
| the characters \, $, and `.
"word" is here "EOF" or "qqqq".
The \ quotes the $ sign before the 5 in the qqqq
version.
Marcel (Lines: 57)
-- │ ╭─────╮ ╭──╮ ..32..╭────────────╮ ╭───────────╮ ╭─╰────╮ ╰─╮ ╰─╮ ╭────╯ ╰─────╮ ╭─╯ ╭─────────╯ ╭─╯ ..62..╰──╯ │ ╭─╯ ╭──╯ ╰────╮ ╭─────╯ │ ╭─╯ ╭─────╯ ..67.. ╰──╯ ╰──────────╯ ╰───────╯ ╰────────╯ ..67..