stockpile icon indicating copy to clipboard operation
stockpile copied to clipboard

fix caesar cipher issues, briefly tested locally on ubuntu and window…

Open neptunia opened this issue 2 years ago • 0 comments

…s 10

Description

Previous caesar cipher obfuscator did not work for unix systems running sh (rather than bash) within sandcat (which seems to be the default), and for both sh and psh executors would only print out the command at the end (rather than actually execute it). It also had some issues with special characters that could cause the command to crash. I have made changes so that the caesar cipher only rotates letters within the original command, as well as escaping out special characters for each executor, so that these issues do not arise.

Type of change

Please delete options that are not relevant.

  • [x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes.

I ran a couple operations in CALDERA using my changes to the caesar cipher obfuscator and they worked.

Checklist:

  • [x] My code follows the style guidelines of this project
  • [ ] I have performed a self-review of my own code

neptunia avatar Sep 30 '22 17:09 neptunia