I added a feature similar to “here files” to translate.py. It’s something I already did in xor-kpa.py.
In stead of using an input filename, the content can also be passed in the argument. To achieve this, precede the text with character #.
If the text to pass via the argument contains control characters or non-printable characters, hexadecimal (#h#) or base64 (#b#) can be used.
Example:
translate.py #h#89B5B4AEFDB4AEFDBCFDAEB8BEAFB8A9FC “byte ^0xDD”
Output:
This is a secret!
translate_v2_4_0.zip (https)
MD5: B33830C68D8A8A7534AF178243658E70
SHA256: A01AB10FCE42664869C4E31DB1AB2E1E0237172D0AE9685549A09BF866D7F885
[…] Update: translate.py Version 2.4.0 […]
Pingback by Overview of Content Published In February | Didier Stevens — Saturday 4 March 2017 @ 0:00
[…] He updated his translate Python script to version 2.4.0 allowing content to be passed in the argument. Update: translate.py Version 2.4.0 […]
Pingback by Week 9 – 2017 – This Week In 4n6 — Sunday 5 March 2017 @ 8:03