Commit graph

1095 commits

Author SHA1 Message Date
j433866
59cdd259ac Add new parse ssh host key operation 2019-05-23 11:11:37 +01:00
j433866
a750b0f08a Use transferable objects to send arraybuffers back to the workerwaiter 2019-05-16 10:42:27 +01:00
j433866
0e850b2a85 Fix stepping not working.
Use transferable object for sending arraybuffers to workers
2019-05-16 10:42:07 +01:00
j433866
2ddb9b8f7c Remove unecessary progress item 2019-05-16 09:33:28 +01:00
h345983745
219469f24f Intial Commit
Consolidated IP Regex's

Fixed Logic Error

Added Tests

Removed Changes Outside Of Operation

Added to category
2019-05-12 21:19:54 +01:00
j433866
802879ced2
Merge pull request #2 from gchq/master
Bring branch up to date with gchq/master
2019-05-10 09:09:58 +01:00
j433866
cbcc2aa731 Fix regex to handle multiple escaped backslashes 2019-05-09 10:04:06 +01:00
j433866
cbf1d2feb0 Add specific handling for DOMExceptions 2019-05-08 16:42:06 +01:00
j433866
f72749304d Improve handling of errors in operations.
Remove unused dependencies.
2019-05-08 11:57:22 +01:00
j433866
07021b8dd5 Add new worker for zipping outputs.
Use bakeId to track which outputs are stale.
2019-05-07 09:26:55 +01:00
d98762625
aa9bf08157 amend comments, remove return type from Dish translate 2019-05-03 14:38:29 +01:00
d98762625
0a3d87dfe3 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-05-03 13:41:05 +01:00
d98762625
65a3897f87 add dish translation tests for node 2019-05-03 13:36:08 +01:00
j433866
ff9c68db56 Update handling of bake errors.
Add preview thumbnail for image input.
2019-05-01 17:08:36 +01:00
j433866
1cedc94652 Fix status messages for baking 2019-05-01 15:19:01 +01:00
mshwed
8fa8e34027 Added support for parsing JSON with number type values. Added support for non-array JSON objects. Added extra tests for JSON to CSV operation. 2019-04-28 16:29:15 -04:00
mshwed
5225874498 Fixed handling of large files and fixed issue with line histogram colour fill 2019-04-28 14:38:03 -04:00
j433866
f638bd4ded If sending arraybuffer back, use a transferable object 2019-04-26 14:01:49 +01:00
mshwed
802493fec4 Merge branch 'master' of https://github.com/gchq/CyberChef into feature/advanced-entropy 2019-04-24 19:48:03 -04:00
j433866
6d8daac5ca Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-04-23 09:02:04 +01:00
n1474335
01f0625d6a Fixed XSS in 'Text Encoding Brute Force. Closes #539 2019-04-14 22:00:17 +01:00
n1474335
8f450501cc Downloadble version is now a .zip file instead of a single .htm file 2019-04-12 18:54:31 +01:00
n1474335
08c5dbce09 Merge branch 'init-dish' of https://github.com/d98762625/CyberChef into d98762625-init-dish 2019-04-12 16:24:23 +01:00
d98762625
de8c99eceb merge init-dish & update tests 2019-04-08 18:06:01 +01:00
d98762625
cdc15c0f20 change empty Dish initialisation to use ArrayBuffer 2019-04-08 17:58:46 +01:00
Matt
18408901be
removed old bzip2 dependency 2019-04-07 19:11:46 +01:00
Matt
982c915931
Change author 2019-04-07 19:02:27 +01:00
Matt
a339eacd45
Bzip2 compression support changed to use wasm backend
x4 speed.
2019-04-07 18:59:03 +01:00
mshwed
8fc0e012e3 Fixed formatting issues 2019-04-06 23:09:46 -04:00
mshwed
b7fb9635e5 Added operation for entropy visualization as an image 2019-04-06 19:40:07 -04:00
mshwed
f988a958bb Added support for generating an entropy curve based on the input data 2019-04-06 15:59:36 -04:00
mshwed
c80cb57b07 Added histogram line, refactored axes generation 2019-04-05 14:30:24 -04:00
d98762625
a210f951da more linting 2019-04-05 17:40:52 +01:00
d98762625
367532cf8d linting and comment for readFileSync 2019-04-05 17:35:20 +01:00
d98762625
af504891e4 incorporate ArrayBuffer base Dish type. Add global file shim to node index. Fix Buffer -> ArrayBuffer transformation 2019-04-05 16:51:14 +01:00
mshwed
dec28e16d4 Added histogram visualization for text entropy 2019-04-05 11:12:44 -04:00
d98762625
e4ee0fc397 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-04-04 15:21:52 +01:00
n1474335
525cb0689f Added 'Protobuf Decode', 'VarInt Decode' and 'VarInt Encode' operations 2019-04-02 17:27:14 +01:00
Matt
7796c473ae
Fix lint issue 2019-04-02 17:01:47 +01:00
j433866
2cb33bfec4 Bring up to date with master 2019-04-02 16:54:34 +01:00
j433866
6430129b2a Remove some inputNum stuff for now 2019-04-02 16:52:43 +01:00
Matt
8445165491
Use all the arraybuffers
cuts a solid 1/3 off the compression time
2019-04-02 16:47:38 +01:00
Matt
c5698fcd65
Merge remote-tracking branch 'upstream/master' into features/bz2-comp 2019-04-02 16:26:29 +01:00
n1474335
7d03be3a77 Dish._translate now uses ArrayBuffer as its intermediate type instead of byteArray. This should speed up operations on large files. 2019-04-02 15:34:30 +01:00
mshwed
4496d7762b Converted js files to mjs. Added test cases for hashing 2019-04-02 09:41:49 -04:00
Matt
8b12caad78
Merge gchq/master into bz2-comp 2019-04-02 12:08:30 +01:00
Matt
e1492c3bb1
Added (non-garbage) description and fixed wikipedia link. 2019-04-02 12:05:17 +01:00
Matt
3cc66e9db9
Added Bzip2 compression support 2019-04-02 11:55:59 +01:00
mshwed
37389a62c1 Added support for hashing version 1994 and 2012. Added S-Box selection for 1994 version. Added length selection 2019-04-01 23:14:40 -04:00
mshwed
aef65620da Merge remote-tracking branch 'origin/master' into feature/streebog-hash 2019-04-01 21:57:33 -04:00
j433866
99bef09e0e Fix invalid file type error 2019-04-01 14:13:30 +01:00
j433866
c97e77c765 Merge with qr-improvements.
Change QR code ops to use ArrayBuffer.
Add new function to Utils to convert a string to arraybuffer.
2019-04-01 14:11:37 +01:00
j433866
e44a22e143 Change ops to use ArrayBuffer instead of byteArray 2019-04-01 10:54:46 +01:00
j433866
c2496fe63e Change to use Promise.all 2019-04-01 09:00:41 +01:00
n1474335
3dc5b5c31a Changed input type for BLAKE hashing ops to ArrayBuffer and tidied 2019-03-31 22:40:54 +01:00
n1474335
342e11f83e Merge branch 'blake2' of https://github.com/h345983745/CyberChef into h345983745-blake2 2019-03-31 22:25:40 +01:00
n1474335
1640859542 Tidied up charts operations 2019-03-31 21:40:54 +01:00
n1474335
f0b48acaf9 Merge branch 'master' into artemisbot-module-charts 2019-03-31 21:21:08 +01:00
h345983745
bb8c305fc8 Updated description 2019-03-31 18:02:04 +00:00
h345983745
3950dba2c5 Added Key Option 2019-03-31 18:02:04 +00:00
h345983745
903ea45228 Update Generate All Hashes 2019-03-31 18:02:03 +00:00
h345983745
b116b8ba1e Added Output Encoding Option 2019-03-31 18:02:03 +00:00
h345983745
908043fb7f Added to Categories and updated info URL's 2019-03-31 18:02:03 +00:00
h345983745
2d7e3f180e Added to "Generate All Hashes" operation 2019-03-31 18:02:03 +00:00
h345983745
c813d17595 Fixed Author Tags 2019-03-31 18:02:03 +00:00
h345983745
7d16265c4e Initial Commit – Working hash functionality 2019-03-31 18:02:02 +00:00
n1474335
2385f1cbf8 Updated dependencies 2019-03-30 14:56:43 +00:00
mshwed
db491cbb09 Added initial hashing for Streebog GOST R 34.11-94 2019-03-28 11:46:04 -04:00
n1474335
3d80d66925 Merge branch 'module-charts' of https://github.com/artemisbot/CyberChef into artemisbot-module-charts 2019-03-27 23:17:30 +00:00
n1474335
5ac84491c1 Merge branch 'feature/hex-support-percent-delimiter' of https://github.com/MShwed/CyberChef into MShwed-feature/hex-support-percent-delimiter 2019-03-27 23:09:25 +00:00
n1474335
59ae9c6437 Improved 'Extract Files' description 2019-03-27 23:07:43 +00:00
j433866
37428fbe3b Bake all inputs, not just the active tab.
Limits number of workers to number of cpu threads (4 if not supported)
Creates output tabs (switching doesn't work yet)
Disabled some highlighting for now.
2019-03-27 09:05:10 +00:00
h345983745
e909eea82a Added description 2019-03-23 16:14:40 +00:00
d98762625
638093d40e correct translation from node Buffer to byte array 2019-03-22 09:42:25 +00:00
mshwed
8707287349 Added percent delimiter for "To Hex" operation 2019-03-21 20:10:45 -04:00
d98762625
8eed2232ee add immutable presentAs method to Dish for node REPL display. add test for exact match help 2019-03-20 11:57:47 +00:00
j433866
6a01e40394 Fix bug where GIF input would error on output.
Also minor corrections to jsdocs in ImageManipulation
2019-03-20 11:20:34 +00:00
j433866
b312e17904 Change title to title case 2019-03-19 13:54:39 +00:00
j433866
2cd3e9cacd Add new implementation of gaussian blur.
Changed SharpenImage to use the new algorithm.
2019-03-19 13:54:26 +00:00
j433866
ce72acdd61 Add 'add text to image' operation.
Included variants of the Roboto fonts as bitmap fonts for jimp.
Changed webpack config to import the font files.
2019-03-19 13:53:09 +00:00
j433866
8e74acbf3e Add opaque background option 2019-03-18 09:43:37 +00:00
d98762625
76cc7f1169 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-03-14 17:57:53 +00:00
d98762625
2019ae43d7 File shim now translates correctly 2019-03-14 16:33:09 +00:00
Matt
3ad5f889a0 Wrote some tests, fixed imports for node 2019-03-14 13:37:11 +00:00
n1474335
cf32372a57 Added Enigma wiki article link to Enigma, Typex, Bombe and Multi-Bombe operation descriptions. 2019-03-14 12:08:35 +00:00
n1474335
b98cf9538d Long HTML output is now replaced with an overlay in the same way as long string output. 2019-03-14 11:43:23 +00:00
d98762625
d080c5dd14 debugging File shim 2019-03-14 08:27:06 +00:00
j433866
4fafa39e54 Fix magic library to better handle operation error 2019-03-13 13:09:02 +00:00
j433866
bb7487c476 Change to use new FileType library 2019-03-13 09:20:13 +00:00
j433866
308195279c Bring up to date with master 2019-03-13 09:17:43 +00:00
s2224834
1a707eab86 Merge branch 'feature/bombe' into feature/typex 2019-03-12 18:21:34 +00:00
s2224834
fa6d5e60ce Merge branch 'master' into feature/bombe 2019-03-12 18:07:39 +00:00
j433866
e95b7075b9 Add convert image format operation 2019-03-12 16:29:20 +00:00
j433866
dfbc1beccd Add sharpen image operation 2019-03-12 16:24:43 +00:00
Matt
6f45d33c8a Fix disassembler issue
Fix disassembler issue properly
2019-03-11 13:06:17 +00:00
Matt
cd22985f11
Fix categories JSON issue 2019-03-11 12:09:29 +00:00
Matt
66c0425080
Merge branch 'master' into module-charts 2019-03-11 11:57:19 +00:00
n1474335
8e3425ed6d Merge branch 'bugs/xpath-namespace-prefix-fix' of https://github.com/MShwed/CyberChef into MShwed-bugs/xpath-namespace-prefix-fix 2019-03-11 11:53:06 +00:00
n1474335
978bf75765 Merge branch 'bugs/disassembler' of https://github.com/artemisbot/CyberChef into artemisbot-bugs/disassembler 2019-03-11 11:44:11 +00:00
d98762625
14d591caa1 more debugging 2019-03-11 09:47:58 +00:00
Matt
432d5b43a1 Fix some misspellings 2019-03-10 17:51:30 +00:00
mshwed
3412372d1e Added support for non-prefixed default namespace selectors 2019-03-10 13:02:13 -04:00
Matt
c2e130f369 Update disassembler 2019-03-10 13:19:04 +00:00
Matt
6501454424 Cleanup 2019-03-10 13:08:47 +00:00
Matt
0019a4e1db Found a different dom implementation that removes 6MB 2019-03-10 12:03:53 +00:00
Matt
f8874fc586 Actually made operations work (and made the module 8MB)
Unfortunately they need jsdom
2019-03-10 11:44:02 +00:00
Matt
4ae875601a Ported final two chart operations 2019-03-10 10:33:47 +00:00
n1474335
e10d4bf45c Tidied up image manipulation ops 2019-03-09 07:23:11 +00:00
n1474335
369b640408 Merge branch 'master' into j433866-image-operations 2019-03-09 06:29:19 +00:00
n1474335
dcb59edb79 Merge branch 'feature-extract-files' 2019-03-09 06:26:36 +00:00
n1474335
84d31c1d59 Added 'Move to input' button to output file list. Improved zlib extraction efficiency. 2019-03-09 06:25:27 +00:00
j433866
3e428c044a Add min values to operation args 2019-03-08 13:38:59 +00:00
j433866
d923c99975 Fix same bug in subsection 2019-03-07 16:33:38 +00:00
j433866
2b538061e9 Fix fork operation not setting ingredient values correctly. 2019-03-07 16:26:42 +00:00
j433866
11451ac6b9 Add image format pattern.
("borrowed" from RenderImage)
2019-03-07 13:35:37 +00:00
j433866
21a8d03201 Move parsing and generation of QR codes to lib folder.
Also rewrote QR code parsing to be more readable and actually error out properly.
2019-03-07 13:21:26 +00:00
j433866
0c9db5afe9 Fix typo 2019-03-07 11:36:29 +00:00
j433866
1031429550 Add error handling 2019-03-07 11:19:04 +00:00
j433866
4a7ea469d4 Add status messages for image operations 2019-03-07 10:03:09 +00:00
j433866
833c1cd98f Add Contain Image, Cover Image and Image Hue / Saturation / Lightness ops 2019-03-07 10:02:37 +00:00
j433866
662922be6f Add resizing status message 2019-03-06 10:32:58 +00:00
j433866
370ae323f6 Fix linting 2019-03-05 11:49:25 +00:00
j433866
514eef50de Add image filter operation 2019-03-04 14:48:17 +00:00
j433866
ec1fd7b923 Add image opacity operation 2019-03-04 14:38:25 +00:00
j433866
737ce99398 Add image brightness / contrast operation 2019-03-04 14:24:57 +00:00
j433866
4f1a897e18 Add Crop Image operation 2019-03-04 13:48:48 +00:00
j433866
588a8b2a3a Fix code syntax 2019-03-04 13:48:29 +00:00
j433866
f281a32a4e Add Wikipedia URLs 2019-03-04 13:48:13 +00:00
j433866
d09e6089ca Add min width and height values 2019-03-04 11:52:54 +00:00
j433866
7b6062a4a2 Set min blur amount to 1, add status message for gaussian blur. 2019-03-04 11:47:50 +00:00
j433866
7975fadfe9 Add options for min, max and step values for number inputs. 2019-03-04 11:46:27 +00:00
Karsten Silkenbäumer
ad571e6019 Change author URL 2019-03-03 17:20:54 +01:00
Karsten Silkenbäumer
282f02f4d5 Fix error when decoding a text with 2+ whitespaces in AMNZ mode 2019-03-02 22:17:44 +01:00
Karsten Silkenbäumer
d36cede0c7 Use better names for the alphabet selection 2019-03-02 17:55:03 +01:00
Karsten Silkenbäumer
a262d70b88 Add Bacon cipher encoding 2019-03-02 17:33:17 +01:00
n1474335
9fa7edffbf Improved file extraction error handling 2019-03-02 16:12:21 +00:00
n1474335
24a47445f6 Merge branch 'master' into feature-extract-files 2019-03-02 15:40:32 +00:00
Karsten Silkenbäumer
77b098c5fe Add Bacon cipher decoding 2019-03-02 15:00:42 +01:00
d98762625
b48c16b4db Refactor Dish _translate to handle sync and async depending on environment. 2019-03-01 16:38:54 +00:00
d98762625
0a1ca18de5 refactor Dish get to handle sync and async 2019-03-01 08:59:18 +00:00
s2224834
9a0b784153 Typex: improve operation description 2019-02-28 18:56:59 +00:00
s2224834
a446ec31c7 Improve Enigma/Bombe descriptions a little. 2019-02-28 18:48:36 +00:00
s2224834
9323737d1d Bombe: fix rotor listing order for multibombe 2019-02-28 18:37:48 +00:00
s2224834
1f9fd92b01 Typex: rotors in same order as Enigma 2019-02-28 17:21:47 +00:00
s2224834
2be642e4c9 Merge branch 'feature/bombe' into feature/typex 2019-02-28 17:00:33 +00:00
s2224834
934356dea8 Tweaks for new rotor order 2019-02-28 16:56:28 +00:00
s2224834
a037bf6f9d Merge branch 'master' into feature/bombe 2019-02-28 16:29:21 +00:00
n1474335
c005c86c27 Added argSelector ingredient type and reversed rotors in Enigma and Bombe operations. 2019-02-28 16:05:23 +00:00
Matt
da2d5674a5 Ported heatmap and hex density chart ops 2019-02-23 00:41:19 +00:00
Matt
5bb8eb22ec Merge branch 'master' into module-charts 2019-02-22 23:36:14 +00:00
j433866
0d86a7e427 Add resize algorithm option 2019-02-20 15:35:53 +00:00
j433866
9f4aa0a123 Remove trailing space 2019-02-20 13:17:57 +00:00
j433866
da838e266e Add flip image operation 2019-02-20 13:04:15 +00:00
j433866
fd160e87e8 Add image operations to Categories 2019-02-20 11:54:59 +00:00
j433866
0dd4304902 Add new Blur Image operation.
Performs both fast blur and gaussian blur
2019-02-20 11:48:24 +00:00
j433866
a0b94bba4e Change run() functions to be async 2019-02-20 11:26:39 +00:00
j433866
74c2a2b5cb Add Invert Image operation 2019-02-20 11:12:15 +00:00
j433866
b691c30677 Add dither image operation 2019-02-20 09:20:38 +00:00
j433866
01acefe4cf Remove scale image operation.
(Same functionality is implemented in Resize Image)
2019-02-19 16:20:36 +00:00
j433866
1a2c5a95c7 Add resize image operation 2019-02-19 16:19:34 +00:00
j433866
eb8725a0db Fix degrees error 2019-02-19 16:10:53 +00:00
j433866
57e1061063 Add Scale Image operation 2019-02-19 15:37:59 +00:00
j433866
91f4681a3c Add rotate image operation 2019-02-19 15:37:49 +00:00
d98762625
ff2521aa9f WIP Dish now working on dev with dynamically loaded _translate and get functions 2019-02-15 16:26:22 +00:00
d98762625
9094e8bde9 WIP tidy up. WHy is dish being passed back with chef.bake now? 2019-02-15 16:11:13 +00:00
d98762625
573a292e16 WIP dynamically define async functions in Dish, only if needed 2019-02-15 15:40:29 +00:00
d98762625
04b7f2fa8c WIP HAD to move NodeDish out - NONE of it is async! 2019-02-15 15:20:05 +00:00
d98762625
03e3ab5599 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-02-12 15:32:59 +00:00
n1474335
49e2b05a11 Dynamic module loading is now cached and Webpack includes the import in the main chunk. 2019-02-11 18:44:41 +00:00
d98762625
39c68ff26e Merge branch 'dynamic-import' into node-lib-dynamic 2019-02-11 16:56:50 +00:00
d98762625
481f2a4717 Merge branch 'master' of github.com:gchq/CyberChef into dynamic-import 2019-02-11 16:54:31 +00:00
d98762625
2391e08ac1 tidy up 2019-02-11 15:47:28 +00:00
s2224834
dd9cbbac77 Bombe: add note about rotor step in crib 2019-02-09 23:01:52 +00:00
s2224834
069d4956aa Bombe: Handle boxing stop correctly 2019-02-09 22:57:57 +00:00
s2224834
61fee3122a Bombe: add Rebuild Project to authors 2019-02-08 21:16:42 +00:00
s2224834
5a2a8b4c8e Typex: input wiring is reversed 2019-02-08 18:53:08 +00:00
n1474335
1079080f5c Bombe results are now presented in a table 2019-02-08 18:41:20 +00:00
n1474335
53226c1050 Added populateMultiOption ingredient type 2019-02-08 18:36:59 +00:00
n1474335
ab43635583 Tidied up 'DNS over HTTPS' operation and fixed manualBake flag. 2019-02-08 18:02:13 +00:00
n1474335
b8ecd83bfd Merge branch 'dnsoverhttps' of https://github.com/h345983745/CyberChef into h345983745-dnsoverhttps 2019-02-08 17:34:33 +00:00
n1474335
3d20833d42 Fixed populateOption HTML escape bug. Closes #490 2019-02-08 17:28:10 +00:00
n1474335
821bc9405c Merge branch 'xss_fixes' of https://github.com/j433866/CyberChef into j433866-xss_fixes 2019-02-08 17:05:51 +00:00
n1474335
d2b4c40357 Fixed BigNumber/XRegExp incompatibility. CLoses #481 2019-02-08 16:54:04 +00:00
d98762625
7679705369 Merge branch 'dynamic-import' into node-lib-dynamic 2019-02-08 14:42:07 +00:00
d98762625
58a8af20a6 Highligting for Recipe now working. Discovered bug when highlighting on a test case 2019-02-08 14:28:53 +00:00
h345983745
75a58f465c Removed jpath import 2019-02-07 21:05:07 +00:00
s2224834
220053c044 Typex: add ring setting 2019-02-07 18:10:16 +00:00
h345983745
613cbaa556 Fixing Formating Issues 2019-02-07 08:28:23 +00:00
h345983745
0d0a634255 Added More Request Types 2019-02-06 23:27:27 +00:00
h345983745
105090db60 Spelling Check 2019-02-06 22:50:46 +00:00
h345983745
3e9c75f735 Added to Categories 2019-02-06 22:34:43 +00:00
h345983745
d42075072b Small Updates 2019-02-06 20:54:06 +00:00
h345983745
6a099f0813 Inital Commit 2019-02-06 20:20:20 +00:00
d98762625
9af5e40071 update linting to allow dybnamic import. Recipe highlight still broken 2019-02-01 14:05:48 +00:00
d98762625
4bf2a29070 WIP: bundle all css into main.css with mini-css-extract. Cannot split into vendor and styles without breaking at the moment. 2019-02-01 13:45:47 +00:00
d98762625
c8cb2692dd WIP: Recipe refactored to use dynamic import 2019-02-01 10:52:21 +00:00
j433866
8b44927cb6 Fix XSS for To Table operation and Magic button 2019-01-31 15:18:37 +00:00
d98762625
7522e5de33 remove unnecessary operationConfig manipulation 2019-01-23 09:55:29 +00:00
j433866
3209c94622 Fix conversion breaking when compass directions are used as delimiters 2019-01-21 12:50:30 +00:00
d98762625
dd4a7f9fac Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-01-21 10:46:54 +00:00