1
0
mirror of synced 2024-12-22 11:25:56 +01:00
Commit Graph

985 Commits

Author SHA1 Message Date
n1474335
87d6459074 Updated production build 2017-03-21 23:10:18 +00:00
n1474335
69f6769d52 Removed jQuery and reference to window object from Utils code. 2017-03-21 23:06:51 +00:00
n1474335
885fbe13ac Set up Grunt tasks to build web and Node versions of CyberChef using webpack 2017-03-21 22:41:44 +00:00
Matt C
b8ce10ae96 Adds Octal functions
- To Octal
- From Octal
2017-03-14 21:26:10 +00:00
toby
78abacdadc Add download button for displayFilesAsHTML files
+ Added bytes attribute for "file objects" in untar and unzip
+ Added download button on files displayed by displayFilesAsHTML
2017-03-12 14:03:40 -04:00
n1474335
94ea086e05 BUGFIX: "Strip HTTP header" operation now functions correctly. 2017-03-09 17:16:47 +00:00
n1474335
b93c183772 Added EUI-64 detection to 'Parse IPv6 address' 2017-03-07 13:36:26 +00:00
n1474335
99f306dc18 Removed unused standalone libraries and fixed a few outstanding imports. 2017-03-07 11:27:36 +00:00
n1474335
a21e0e546b Converted the majority of the core and operations to use CommonJS module syntax. 2017-03-06 12:45:51 +00:00
n1474335
14e9ea699a Jump operations now jump backwards in a more logical way. 2017-03-04 10:57:14 +00:00
n1474335
a459f542af Merge pull request #85 from Manishearth/crypt
Add UNIX crypt base64 format
2017-03-02 14:09:59 +00:00
n1474335
fc9c2d1f6e BUGFIX: HTML output which is then converted to a regular string (for a standard operation) still contained escaped HTML chars. 2017-03-01 21:33:28 +00:00
n1474335
70603be5ab BUGFIX: Jump operations skipping an operation once maxJumps reached. 2017-03-01 21:20:42 +00:00
Manish Goregaokar
83791e2ea7
Add crypt base64 format 2017-03-01 09:44:35 -08:00
n1474335
d7e396c04f Tweaks and restructuring of test runner. 2017-02-28 17:08:36 +00:00
n1474335
6e5ea5d75f Merge branch 'tests' of https://github.com/tlwr/CyberChef into tlwr-tests 2017-02-28 13:05:03 +00:00
toby
3a90244af0 Convert test runner to headless 2017-02-24 18:50:17 -05:00
toby
04df7a51d2 Handle case when expected error and receives none 2017-02-23 14:30:19 -05:00
toby
3d89881373 Fix typo in TestRegister.js 2017-02-23 14:04:50 -05:00
toby
d680b4a06f Merge remote-tracking branch 'upstream/master' into tests 2017-02-23 14:04:30 -05:00
toby
500522bdeb Initial work on in-browser test runner
Run `grunt test` and open up the `build/test/index.html` to run the
tests.
2017-02-23 13:59:58 -05:00
n1474335
d6cebe55ab Merge branch 'master' into feature-ipv4header 2017-02-21 19:52:36 +00:00
n1474335
be07fe81ed Completed 'Parse IPv4 header' operation candidate. 2017-02-21 19:40:19 +00:00
n1474335
6505c4e6d8 Built new production version to incorporate Morse Code improvements. 2017-02-18 16:15:42 +00:00
n1474335
fa20939dd4 Added initial functionality for 'Parse IPv4 header' operation. 2017-02-18 16:13:19 +00:00
n1474335
6bb6363b0f Merge pull request #74 from misterRaven/master
Morse code improvements
2017-02-18 16:10:58 +00:00
n1474335
92bd2c921e Built production version with Base58 and NetBIOS operations. Closes #48. 2017-02-13 18:12:55 +00:00
n1474335
701ea5890d Merge pull request #78 from tlwr/master
Base58 operations
2017-02-13 17:50:38 +00:00
n1474335
f8744df907 Merge pull request #75 from gchq/feature-netbios
'Encode NetBIOS Name' and 'Decode NetBIOS Name' operations
2017-02-13 17:49:32 +00:00
n1474335
edb418a3fc BUGFIX: CanvasComponents naming conventions updated to match main project settings. Fixes 'Entropy' and 'Frequency distribution' operations. 2017-02-13 17:48:24 +00:00
toby
11e972ff26 Change description in Base58.js 2017-02-10 13:45:20 -05:00
toby
9125d74fa2 Merge branch 'base58' 2017-02-10 13:34:21 -05:00
toby
e26e6a4961 Add "To Base58" and "From Base58" operations 2017-02-10 13:31:59 -05:00
n1474335
f76316eae3 Fixed double encoding of HTML entities by improving Utils.escapeHTML. Fixes #76. 2017-02-10 16:39:32 +00:00
n1474335
0e2ce2bee2 Rebuilt production version to include tar and untar ops. 2017-02-10 12:21:51 +00:00
n1474335
ee5aea5443 Added 'Encode NetBIOS Name' and 'Decode NetBIOS Name' operations 2017-02-10 11:57:23 +00:00
toby
0fd2550190 Improve and fix examples for padBytesRight 2017-02-09 13:37:30 -05:00
toby
0eef1d972a Add padBytesRight author & displayFilesAsHTML desc 2017-02-09 13:22:27 -05:00
toby
6cc5806486 Remove obsolete line from displayFilesAsHTML 2017-02-09 13:20:44 -05:00
toby
bbc93af2ae Remove padLeft & move zeroFillBytes to Utils
+ `padLeft was changed to use `Utils.padLeft`
+ Moved `zeroFillBytes` to `Utils.padBytesRight`
2017-02-09 13:07:46 -05:00
toby
037540c9a8 Fix description for Tar operation
Changed "unpack" to "pack"
2017-02-09 13:04:46 -05:00
toby
3bd585cabf Update Unzip to use displayFilesAsHTML 2017-02-09 12:00:36 -05:00
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
a4283554cf Merge remote-tracking branch 'upstream/master' 2017-02-09 11:35:14 -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
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
4f0d153e73 Added 'Report a bug' tab to the 'About/Support' pane. 2017-02-07 20:31:15 +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
8f69ee441e Tidied Morse Code operations to match the project conventions. 2017-02-07 14:20:34 +00: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
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
n1474335
9c1fb7ddf4 Added button to maximise the output window 2016-12-20 20:18:16 +00:00
n1474335
39d50093ae Tweaks to 'XPath expression' and 'CSS selector' operations. Closes #13. 2016-12-20 18:49:25 +00:00
Mike Schwörer
4b5210585a
Added operation 'filter' 2016-12-17 01:53:06 +01:00
Mike Schwörer
8db1b2fc79
switched from jquery.cpath.js to xpath.js 2016-12-17 01:14:33 +01:00
Mike Schwörer
dea16f63f5
Small stuff to make eslint happy 2016-12-16 22:32:19 +01:00
Mike Schwörer
4c36123fd7
Merge remote-tracking branch 'upstream/master' into feature_xpath
# Conflicts:
#	Gruntfile.js
#	src/js/.jshintrc
2016-12-16 22:15:53 +01:00
Matt C
c24cdf3bae Merge remote-tracking branch 'refs/remotes/upstream/master' 2016-12-14 23:31:04 +00:00
n1474335
af4644c9eb Replaced jsHint with eslint. Fixes #4. 2016-12-14 16:39:17 +00:00
n1474335
e2e68dd876 BUGFIX: Fixed seasonal event handling. 2016-12-14 13:12:04 +00:00
n1474335
351eef7fd9 BUGFIX: Flow control ops are now correctly highlighted when a breakpoint is triggered on them. 2016-12-14 12:43:57 +00:00
Matt C
ed5f00d402 Merge remote-tracking branch 'refs/remotes/upstream/master'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-08 09:18:14 +00:00
n1474335
55c1626d41 Cleaned up the Vigenere cipher operations so that they conform with the coding conventions. 2016-12-08 00:34:41 +00:00
n1474335
e5854b6f86 Resolving conflicts 2016-12-08 00:09:31 +00:00
n1474335
ed7cab36d2 BUGFIX: Operations can now be dragged out of the recipe on touchscreen devices. 2016-12-07 23:57:15 +00:00
Matt C
e64dfcdf0f Build
Final ROT-47 + probably final vig
2016-12-06 20:28:20 +00:00
Matt C
ac3a0b35f5 Merge branch 'feature_vigenere'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-06 20:27:14 +00:00
Matt C
22c00e8d3c Merge remote-tracking branch 'refs/remotes/upstream/master'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-06 20:23:20 +00:00
Matt C
b36459064e Changes for merge
- Removed conflicting build files
- Moved @author tags
2016-12-06 20:20:27 +00:00
n1474335
6fa6a92719 Moved author tag and improved description for ROT47 2016-12-06 18:43:55 +00:00
n1474335
2db810289d Merge conflicts 2016-12-06 18:32:39 +00:00
n1474335
86fb03fe10 BUGFIX #37: Description popovers for search results now get removed when the list is modified. 2016-12-06 18:10:35 +00:00
Matt C
326e15d05c Built production version.
- Includes both ROT-47 and Vigenere
2016-12-06 17:10:42 +00:00
Matt C
f2b22605ab Merge branch 'feature_vigenere'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-06 17:08:45 +00:00
Matt C
44919b8c17 Merge remote-tracking branch 'refs/remotes/upstream/master'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-06 17:02:17 +00:00
Matt C
605a577d92 Merge remote-tracking branch 'refs/remotes/upstream/master'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-06 17:01:35 +00:00
Mike Schwörer
5c92e49d5d
Merge remote-tracking branch 'upstream/master' into feature_xpath 2016-12-05 20:16:39 +01:00
Mike Schwörer
662805d11e
fixed a few jshint warnings and uglify:prod problems 2016-12-05 20:03:33 +01:00
Mike Schwörer
da7a832ceb
Merge remote-tracking branch 'upstream/master' into feature_xpath 2016-12-05 19:30:46 +01:00
n1474335
e4d30861d5 BIGFIX: 'Show Base64 Offsets' operation now escapes input before adding to tooltips. 2016-12-05 14:07:19 +00:00
Matt C
b631feea74 Misc Fixes
- Built prod version
- added missing semicolons
2016-12-03 21:33:19 +00:00
Matt C
560712cee3 Feature: Add Vigenere Cipher Encode & Decode
- Added Vigenere Encode & Decode
- Added metadata for /config/ relating to this additon
2016-12-03 20:54:28 +00:00
Matt C
67ee8544e9 Added name to Rotate namespace 2016-12-03 13:47:38 +00:00
Matt C
1cc48fd481 Update for merge
- Added to Categories
- Removed comment
- Rebuilt pages
2016-12-03 10:19:26 +00:00
Matt C
4101152c73 Merge remote-tracking branch 'refs/remotes/upstream/master'
Conflicts:
	build/prod/cyberchef.htm
	build/prod/index.html
	build/prod/scripts.js
	src/static/stats.txt
2016-12-03 10:15:00 +00:00
n1474335
20d9903572 XOR operation now supports both input and output differentials. Fixes #17 2016-12-03 01:42:23 +00:00
n1474335
fc9d0a63c2 JSON Beautify and Minify operations no longer throw an error on empty input. Fixes #29 2016-12-03 00:51:17 +00:00
n1474335
19b0a972d8 Inlined version now correctly displays compile time in place of the download link. Fixes #14. 2016-12-03 00:40:51 +00:00
n1474335
43fa4370a3 Added Grunt task to deploy build/prod to the gh-pages branch. Partial solution to #19. 2016-12-03 00:37:38 +00:00
Schwörer Mike
2db6f8f63c added css_query operation 2016-12-02 12:49:49 +01:00
Matt C
09a9fbe206 Built production version 2016-12-01 23:09:18 +00:00
Matt C
ca8fef1c90 Merge Upstream. 2016-12-01 22:55:09 +00:00
n1474335
8b0112229e BUGFIX #24: Invalid favourites loaded from localStorage are now escaped when reported to the user. 2016-11-30 23:11:06 +00:00
n1474335
8882805830 Favicon changed to a data URL to prevent re-requests in some circumstances. #21 2016-11-30 19:50:21 +00:00
n1474335
2f0bc54046 BUGFIX #24: toggle_string arguments are now escaped before being inserted into the DOM. 2016-11-30 19:33:20 +00:00
Schwörer Mike
d5f84abb3b declare function as const and added Node.DOCUMENT_NODE 2016-11-30 12:23:19 +01:00
Schwörer Mike
befb89ba76 reverted .gitignore and no for-loop in run_xpath 2016-11-30 09:56:02 +01:00
Mike Schwörer
51b627ab29
Added operation: "XPath expression" 2016-11-29 19:59:51 +01:00
Matt C
9ab5fb5469 Built webpage for previous commit. 2016-11-29 18:03:13 +00:00
Matt C
20d4e5d263 FEATURE: Added ROT47 support.
Added support for ROT 47 Variation of Caesar Cipher.
2016-11-29 17:53:31 +00:00
WrathZA
75fd16a600 Added download attribute to <a> tag
Added download attribute to <a> tag
2016-11-29 11:21:53 +02:00
n1474335
94c631a928 Example links updated and stats recalculated. 2016-11-28 11:36:58 +00:00
n1474335
b1d73a725d Initial commit 2016-11-28 10:42:58 +00:00