Commit graph

3509 commits

Author SHA1 Message Date
toby
6b8ab2bf16 Add file count to displayFilesAsHTML 2017-02-09 11:59:47 -05:00
toby
c67957da81 Code styling changes to pass grunt prod 2017-02-09 11:38:20 -05:00
toby
e751825a49 Merge branch 'master' of github.com:tlwr/CyberChef 2017-02-09 11:37:49 -05:00
toby
a4283554cf Merge remote-tracking branch 'upstream/master' 2017-02-09 11:35:14 -05:00
toby
d26cf4ca9d Merge remote-tracking branch 'upstream/master' 2017-02-09 11:31:15 -05:00
toby
616cebff5a Fix "A lone zero block at ##" bug
Before, the tar operation would write the incorrect number of bytes to
indicate the end of the tar file. It should have been 2 blocks of 512
ascii zeros, but it would write 529 zeros instead.

The new implementation of `writeEndBlocks` is nicer and we can reuse
code with the `addEmptyBlock` function.
2017-02-09 11:25:09 -05:00
n1474335
e803d208e8 Updated eslint whitespace rules 2017-02-09 15:09:33 +00:00
n1474335
ebf2258715 Merge branch 'artemisbot-feature-affine' 2017-02-09 14:18:04 +00:00
n1474335
b2b60f0454 Fixed conflicts. 2017-02-09 14:17:44 +00:00
misterRaven
1cc7835a8d FromMorse operation extended to treat dashes & hyphens as long signals 2017-02-09 17:29:12 +07:00
misterRaven
991bb887ae Punctuation symbols for Morse code 2017-02-09 17:20:06 +07:00
toby
d5796706e4 Change Tar block padding to 2 blocks 2017-02-08 23:52:59 -05:00
toby
1653cbf817 Fix JSDoc return type for displayFilesAsHTML 2017-02-08 23:36:09 -05:00
toby
442dd560c0 Implement the Tar operation 2017-02-08 23:35:54 -05:00
toby
281a83bbc3 Add author to runTar, runUntar, displayFilesAsHTML 2017-02-08 12:51:54 -05:00
toby
6f077a9c50 Rename to runTar, runUntar, displayFilesAsHTML 2017-02-08 12:51:18 -05:00
Matt C
a153246191 Tidied operations to match conventions 2017-02-08 17:29:50 +00:00
Matt C
2750be36da Adds Affine/Atbash Cipher encryption/decryption
- 3 new operations - Affine Encode, Decode and Atbash Cipher
- Added 3 new utils - mod, GCD and modInv
2017-02-08 11:51:37 +00:00
toby
e809deb914 Initial functionality of untar
+ Added skeleton "Tar" operation with no functionality
+ Added intial functionality of "Untar"
+ Added a function in `Utils` `HTMLFormat` to generalize HTML generation
of files and folders (could later be used in Unzip).

I had a brief search for a small library for tar and untar operations,
however they were mostly for node (if anyone finds one we can drop in
that would be appreciated) or unmaintained. Luckily the tar spec is
relatively easy to understand just from Wikipedia.
2017-02-08 00:05:52 -05:00
n1474335
b8b51e04bb Updated ISSUE_TEMPLATE.md 2017-02-07 20:30:44 +00:00
n1474335
4f0d153e73 Added 'Report a bug' tab to the 'About/Support' pane. 2017-02-07 20:31:15 +00:00
n1474335
6eacd213a3 Added ISSUE_TEMPLATE.md 2017-02-07 18:05:05 +00:00
n1474335
db0fb1cd25 Added CONTRIBUTING.md 2017-02-07 16:48:31 +00:00
n1474335
35d74980a1 BUGFIX #70: Updated 'CSS selector' operation to use vanilla JS instead of jQuery, also fixing root element selection issues. 2017-02-07 15:04:10 +00:00
n1474335
553d9945ce Added forward and backward slashes to the delimiter options for the Morse Code operations. Closes #66. 2017-02-07 14:37:26 +00:00
n1474335
3b1c378e15 Merge branch 'tlwr-master' 2017-02-07 14:20:53 +00:00
n1474335
8f69ee441e Tidied Morse Code operations to match the project conventions. 2017-02-07 14:20:34 +00:00
Toby Lorne
718e1dc153 Merge pull request #1 from artemisbot/morse-fixes
Morse fixes
2017-02-03 22:00:55 -05:00
Matt C
a30babc682 Fixes required changes
gchq/CyberChef#67
2017-02-04 00:17:04 +00:00
Matt C
ae8eea543c Merged branch master into morse-fixes 2017-02-04 00:13:03 +00:00
Matt C
02fce74a65 Merge remote-tracking branch 'refs/remotes/upstream/master' 2017-02-04 00:01:44 +00:00
toby
b9f1cf968f Make translateTo faster and aware of line breaks
Speed improvement is due to using a function regex instead of multiple
find/replace calls.
2017-02-03 18:34:46 -05:00
toby
9bf0d66b88 Fix casing for Morse code operations + description 2017-02-03 18:00:27 -05:00
toby
230ba5ff67 Add initial functionality
Added "To Morse Code" and "From More Code" functions under the category
"Encryption / Encoding".

"To Morse Code" accepts 3 arguments:
1. Format options: e.g. ./- or Dot/Dash
2. Letter delimiter e.g. <space> or <newline>
3. Word delimiter e.g. <newline>

"From Morse Code" accepts 2 arguments:
1. Letter delimiter
2. Word delimiter
2017-02-03 16:43:30 -05:00
n1474335
e3c977934b Variable names changed from underscore to CamelCase. Eslint rules updated. #64 2017-01-31 18:24:56 +00:00
n1474335
f8193797fa Small CSS tweak to correct the cursor when hovering over FAQ links. Fixes #59. 2017-01-31 16:10:42 +00:00
n1474335
6642471164 Added 'Fork me on GitHub' ribbon to About/Support pane. Closes #57. 2017-01-31 14:05:19 +00:00
Dale Myers
fadd7158ed Add string escape/unescape operations
These operations are useful for taking the contents of a string, and making it
suitable for use as a stand alone string. For example, in an IDE you might see
a string which is represented as: "Say \"Hello\"". The escaped double quotes
are shown to make it clear that they do not end the string, despite the fact
that they are not truly part of the string. In order to get the raw string, you
would need to copy this, then manually remove the backslashes. The new
String_.run_unescape operation does this automatically.

The String_.run_escape is the inverse. It allows you to take a string like the
one above, and paste it between two quotes without having to manually escape
it.
2017-01-23 21:39:08 +00:00
n1474335
3c3f5d9dcd Added Fletcher-8, -32 and -64 checksum operations. Closes #51. 2017-01-17 15:52:24 +00:00
n1474335
cddd349090 Removed unused jquery.splitter.css 2017-01-17 12:52:15 +00:00
n1474335
ba8524ca79 Added 'MD2', 'MD4' and 'SHA0' operations. Closes #52. 2017-01-16 16:40:43 +00:00
n1474335
2257754b94 Jump operations now return the final state when the maximum jump count is reached instead of throwing an error. 2017-01-16 16:00:44 +00:00
n1474335
baa433ab80 'Fork' operation now has an option to ignore errors occuring on each branch 2017-01-16 15:58:38 +00:00
n1474335
488ca7167e BUGFIX: Saved recipes can now be deleted again. 2017-01-16 15:03:16 +00:00
n1474335
4d131c921a BUGFIX #47: Replaced 'const' declarations with 'var' to fix iOS incompatibilities. 2016-12-31 17:12:39 +00:00
n1474335
216d8f1f7a Tweaks to 'Filter' operation. 2016-12-23 14:36:16 +00:00
n1474335
ca87d54aa2 Merge pull request #46 from Mikescher/feature_filter
Added operation 'Filter' to split input by regex
2016-12-23 14:24:39 +00:00
Mike Schwörer
f44171c005
Merge remote-tracking branch 'upstream/master' into feature_filter 2016-12-21 20:17:53 +01:00
n1474335
ef464ab57c Added 'Substitute' operation. 2016-12-21 14:09:46 +00:00
n1474335
e1ef228575 Output buttons now adjust when there is limited screen space. 2016-12-21 12:13:03 +00:00