Commit Graph

757 Commits

Author SHA1 Message Date
d98762625
8ff6596657 add other flowcontrol ops. Update tests 2018-05-21 10:58:35 +01:00
d98762625
046e1ebad9 Merge branch 'esm' into port-flowcontrol 2018-05-21 09:02:58 +01:00
n1474335
ee519c7352 Merged esm branch into feature-magic. Ported FileType ops. 2018-05-20 16:49:42 +01:00
d98762625
ec0ecf5151 add comments 2018-05-18 12:52:16 +01:00
d98762625
bfb405c4a6 Add Jump 2018-05-18 12:50:23 +01:00
d98762625
bca73b496f add Merge (without Fork). Add flowcontrol setter to Operation 2018-05-18 12:38:37 +01:00
d98762625
72d943aca2 Add register 2018-05-18 12:24:31 +01:00
d98762625
0f6ee68731 edit setter in Register 2018-05-18 12:23:58 +01:00
n1474335
3fd1f4e6d9 ESM: Ported all Hash and Checksum operations 2018-05-17 15:11:34 +00:00
Callum Fraser
3ba12ae9ac Made variables non-private, and followed convention for the references to the IP lib. 2018-05-16 22:32:46 +01:00
Callum Fraser
ea36687205 Merge branch 'esm' of https://github.com/gchq/CyberChef into ip-convert 2018-05-16 21:52:40 +01:00
Callum Fraser
c17e897674 Ported the ParseIPv4Header operation. 2018-05-16 21:51:51 +01:00
Callum Fraser
b7bdd4eed6 Ported the GroupIPAddresses operation. 2018-05-16 21:51:24 +01:00
Callum Fraser
792218df9c Ported the ChangeIPFormat operation. 2018-05-16 21:51:04 +01:00
Callum Fraser
161f89c038 Ported the TCPIPChecksum operation.
Main content has been moved to the IP lib file, as it is used in multiple files.
Changed the name, due to it originally containing a backslash, which caused issues with the script.
2018-05-16 21:50:48 +01:00
Callum Fraser
1920e9c7fb Added more content to the Ip.mjs file, required for other functions. 2018-05-16 21:37:48 +01:00
n1474335
5362508a99 ESM: Ported HTML, Unicode, Quoted Printable and Endian operations 2018-05-16 17:10:50 +00:00
n1474335
f26d175cad ESM: Ported Base58, Base and BCD operations 2018-05-16 16:25:05 +00:00
n1474335
84df055888 ESM: Ported MS and Entropy operations 2018-05-16 11:39:30 +01:00
n1474335
b760c2f1a0 ESM: Fixed OperationError detection and tidied up ops. 2018-05-16 10:17:49 +01:00
n1474335
acb8a342a7 Merge branch 'esmconversion' of https://github.com/artemisbot/CyberChef into esm 2018-05-16 09:28:24 +01:00
Callum Fraser
654596ea79 Ported "Parse IPv6 Address" 2018-05-15 23:48:33 +01:00
Callum Fraser
8d2adfaae7 Updated the Ip core file with more required functions/variables 2018-05-15 23:48:18 +01:00
Callum Fraser
5b6d57fd47 Ported "Parse IP Range". 2018-05-15 23:31:03 +01:00
Callum Fraser
39ba83eefb Created a Ip for now which contains all the helper functions, they may be moved into their corrosponding files in the future 2018-05-15 23:30:35 +01:00
Matt C
03f435915b Imported OperationError to TranslateDateTimeFormat 2018-05-15 18:50:04 +01:00
n1474335
07715bd167 ESM: Rewritten src/web/ in ESM format. 2018-05-15 17:36:45 +00:00
Matt C
2e4f5b7070 Changed all error returns to OperationErrors 2018-05-15 18:01:04 +01:00
Matt C
b3ee251ee3 ESM: Port Extract.js module 2018-05-15 16:30:17 +01:00
n1474335
c90acd24f5 ESM: Added author tag to Sum op 2018-05-15 15:21:50 +00:00
n1474335
e41eb3d8a2 Merge branch 'port-arithmetic' of https://github.com/d98762625/CyberChef into esm 2018-05-15 15:16:56 +00:00
Matt C
3c214ce17c Deleted PGP file 2018-05-15 16:07:51 +01:00
Matt C
285e512483 Actually made these ops work 2018-05-15 16:04:57 +01:00
n1474335
b8d3b33963 ESM: Ported CharEnc operations 2018-05-15 15:03:41 +00:00
d98762625
3bbfc130d4 create arithmetic specific delimiter options 2018-05-15 14:59:28 +01:00
d98762625
6ddc1b1c9c export Arithmetic funcs individually. Use existing Delim 2018-05-15 14:32:39 +01:00
d98762625
f79dd29ed3 port standard deviation ops 2018-05-15 10:47:06 +01:00
d98762625
1198094d3b port median operation 2018-05-15 10:42:51 +01:00
d98762625
2716be397c port mean operation 2018-05-15 10:40:26 +01:00
d98762625
9de93022d6 port divide operation 2018-05-15 10:33:58 +01:00
d98762625
bf28410812 port multiply operation 2018-05-15 10:24:35 +01:00
d98762625
30288c6237 add Subtract op 2018-05-15 10:19:06 +01:00
Matt C
2b0c327001 Ported x86 Disassembler & PGP ops 2018-05-15 10:15:31 +01:00
d98762625
4fe34a4839 port Sum operation 2018-05-15 10:12:59 +01:00
Matt C
b8d39f49b2 Convert URL operations
Delete legacy URL module
2018-05-14 22:15:28 +01:00
n1474335
a7d763287e ESM: Ported AES operations 2018-05-14 18:23:16 +00:00
n1474335
61832a9e2a ESM: whitespace tidying 2018-05-14 18:07:17 +00:00
n1474335
cbb5e7c611 Merge branch 'esmconversion' of https://github.com/artemisbot/CyberChef into esm 2018-05-14 17:49:57 +00:00
n1474335
bad45f19d6 ESM: Ported DateTime operations 2018-05-14 17:48:57 +00:00
Matt C
24e4e268dc Converted RC4, RC4Drop and Derive EVP 2018-05-14 18:30:52 +01:00
n1474335
10005ce104 ESM: Ported OS operations 2018-05-14 17:16:42 +00:00
Matt C
4008dbf38a Merge remote-tracking branch 'upstream/esm' into esmconversion
Also removed substitute operation from legacy module
2018-05-14 18:09:21 +01:00
n1474335
cefe5bbaa8 ESM: Ported Convert operations 2018-05-14 17:03:23 +00:00
n1474335
d327dd47b2 ESM: Ported SeqUtils operations 2018-05-14 16:46:54 +00:00
n1474335
66c768fe31 ESM: Ported Tidy operations. Updated portOperation script to attempt to find the run function and list related constants. 2018-05-14 15:55:17 +00:00
n1474335
037e2f3771 ESM: Ported StrUtils and NetBIOS operations. 2018-05-14 14:31:04 +00:00
n1474335
a98d37e61c Merged master into esm branch 2018-05-14 11:58:01 +00:00
d98762625
0a0316a000 Make optional args in operation call use named properties rather than array 2018-05-11 19:25:14 +01:00
d98762625
7e8f78acaa dont decapitalise all-caps operation names 2018-05-11 17:33:14 +01:00
Matt C
2d6a56343b Converted substitute operation, added tests & moved to OperationError 2018-05-11 16:32:19 +01:00
d98762625
615cb561e4 add some chef.translateTo tests 2018-05-11 11:58:09 +01:00
d98762625
c96a1df8e1 add namespaces to docas 2018-05-11 11:09:04 +01:00
Matt C
350d10d98b Added toggleString support 2018-05-11 10:03:06 +01:00
n1474335
df7c1721f5 PGP ops no longer require a key to be in date 2018-05-10 15:34:10 +00:00
Matt C
6bec68021c Converted Vignere, added more tests and cleaned stuff up 2018-05-09 21:13:09 +01:00
Matt C
789ec94eff Converted Bifid & moved over tests 2018-05-09 20:28:28 +01:00
Matt C
f87666f659 Converted Affine/Atbash operations to mjs & added tests 2018-05-09 20:18:33 +01:00
n1474335
6987e6b1b9 ESM: Ported Bit shift, MAC address and Morse Code operations. 2018-05-07 12:12:58 +01:00
n1474335
0ca0e7427d Merge branch 'esm' of github.com:gchq/CyberChef into esm 2018-05-07 11:35:35 +01:00
n1474335
be61419b80 ESM: Added remaining ByteRepr operations. 2018-05-06 13:18:41 +01:00
n1474335
1f877817f4 ESM: Added portOperation.mjs script. Added To and From Hexdump operations. 2018-05-06 12:24:01 +01:00
n1474335
8556bdcdeb Tidied up 'To Table' operation, adding better CSV parsing support. 2018-05-04 16:10:22 +00:00
d98762625
5efc3f15f2 linting 2018-05-03 13:58:15 +01:00
d98762625
5fb50a1759 OperationErrors now bubble up to the top of the API.
Added test functionality for node api
refactor TestRegister into class
2018-05-03 13:53:40 +01:00
d98762625
e50758f0a6 Merge branch 'esm' of github.com:gchq/CyberChef into node-lib 2018-05-03 13:52:50 +01:00
n1474335
8fc5f59647 Merge branch 'totable-operation' of https://github.com/JustAnotherMark/CyberChef into JustAnotherMark-totable-operation 2018-05-01 15:41:51 +00:00
n1474335
e2376c7c71 'BSON serialise' errors are now thrown correctly 2018-04-30 17:55:21 +00:00
n1474335
0dbc7d4fd1 Tidied up OperationError code. 2018-04-30 17:25:13 +00:00
n1474335
72f7f0b70c Utils.fromHex function now defaults to automatically strip all delimiters. Fixes #295 2018-04-30 16:51:04 +00:00
n1474335
f81012ef6e CRC Checksum operations now send their input as ArrayBuffers. Tests added. Fixes #293 2018-04-29 21:44:54 +01:00
d98762625
3d672802a3 remove find Type - not used any more 2018-04-27 16:47:52 +01:00
d98762625
c238862efe in/out typing working. Added translateTo function 2018-04-27 16:45:02 +01:00
d98762625
7e7e5e7466 Merge branch 'op-errors' into node-lib 2018-04-27 11:33:27 +01:00
d98762625
cc20ad9567 Add OperationError error type and use for errors to be printed to the output panel 2018-04-27 10:59:53 +01:00
n1474335
b0a8ca56bc Added File and JSON Dish types and updated types for compression ops. 2018-04-27 10:44:40 +01:00
n1474335
fbec0a1c7d The raw, unpresented dish is now returned to the app after baking, where it can be retrieved as various different data types. 2018-04-27 10:44:40 +01:00
Mark Jones
411bba53a8 Fix code style issues raised by linting. 2018-04-26 13:00:35 +01:00
Mark Jones
e2af3c78e7 Added ToTable operation to output data as ASCII or HTML tables. 2018-04-26 00:33:19 +01:00
n1474335
a8aa1bc5e8 Added File and JSON Dish types and updated types for compression ops. 2018-04-21 13:41:42 +01:00
n1474335
76a066ab74 The raw, unpresented dish is now returned to the app after baking, where it can be retrieved as various different data types. 2018-04-21 12:25:48 +01:00
d98762625
b8b98358d0 function tidy, add comments 2018-04-20 12:23:20 +01:00
d98762625
fca4ed7013 simplified API 2018-04-20 10:55:17 +01:00
d98762625
59877b5138 Exporing options with API. 2018-04-13 12:14:40 +01:00
n1474335
4e38b09e18 ESM: Config scripts now run synchronously before webpack builds start 2018-04-11 17:58:40 +00:00
n1474335
dc5ce31087 ESM: .gitignore now ignores generated files 2018-04-11 17:30:15 +00:00
n1474335
e99331f305 ESM: Tidied up Set operations 2018-04-11 17:29:02 +00:00
d98762625
955a082614 add lint command to package.json. Remove old conflict remnants 2018-04-09 15:38:44 +01:00
d98762625
bbc580e71b Quick fix for empty recipe error. Changed deflate back to compression module 2018-04-09 15:21:09 +01:00
d98762625
76f27dbcdb pull from upstream 2018-04-09 11:23:18 +01:00
d98762625
543dce5721 remove setOps operation 2018-04-09 11:19:05 +01:00