Commit Graph

1657 Commits

Author SHA1 Message Date
n1474335 d90a23bfd5 Added 'Parse SSH Host Key' operation to the Networking category 2019-08-13 14:11:52 +01:00
j433866 1cdcaebb4d Merge remote-tracking branch 'upstream/master' into ssh-host-key
Bring up to date with master
2019-08-13 13:26:40 +01:00
n1474335 66b82598e3 Merge branch 'use-std-esm' of github.com:gchq/CyberChef 2019-08-12 15:26:15 +01:00
n1474335 0e95ad8ed6 Updated a range of operations to use ArrayBuffers instead of byteArrays to improve performance with large files. 2019-07-29 17:09:46 +01:00
n1474335 82b94fad5d Fixed BigNumber type coercion issues when passed between workers 2019-07-29 15:14:29 +01:00
j433866 42cfed5fa8 Fix file inputs being overwritten with strings.
Added force option in case we really need to overwrite
2019-07-25 15:16:07 +01:00
j433866 e4452b906e Fix functions not being awaited 2019-07-25 15:14:12 +01:00
j433866 36abaeb6fb Fix tab bar shadows appearing when they shouldn't 2019-07-24 14:22:56 +01:00
Matt b3a10d4f9e
Made some better colour choices 2019-07-23 19:17:21 +01:00
Matt d4c4e2599d
Reduced redundancy 2019-07-22 23:16:17 +01:00
Matt 67ead1c250
Fixed alternative theme tables 2019-07-22 23:12:36 +01:00
d98762625 e4d98eba6b use std/esm to make chef compatible with cjs projects. Remove webpack work for node 2019-07-19 13:14:32 +01:00
j433866 7f168d49a6 Add render markdown operation 2019-07-12 09:33:13 +01:00
j433866 a08419a4ce Remove getOutput function, use Dish object instead
Fix inputNum error in WorkerWaiter.
Replace explicit tab shadows with class lists
2019-07-10 14:58:07 +01:00
n1474335 29cb273d08 Fixed module replacement issue. 2019-07-09 13:42:42 +01:00
n1474335 566517d20f Imports now specify the file extension to support Node v12 2019-07-09 12:23:59 +01:00
j433866 ac1c93d29b Fix incorrect curve detection for ecdsa-sha2 2019-07-08 16:58:03 +01:00
j433866 944842d4eb Improve description and add to Categories 2019-07-08 16:44:36 +01:00
j433866 d56ff0825a Add extraction of actual key from public key file 2019-07-08 15:58:56 +01:00
d98762625 0de89f3145 Merge branch 'v9' of github.com:gchq/CyberChef into node-lib 2019-07-05 13:10:44 +01:00
n1474335 aa362ba18b Removed async from detectDishType 2019-07-05 12:41:47 +01:00
n1474335 b272d3b32f Linted to satisfy new rules 2019-07-05 12:36:15 +01:00
n1474335 e4e32a9c56 Merge branch 'master' into v9 2019-07-05 12:30:28 +01:00
n1474335 5eb3979504 Updated dependencies and linter 2019-07-05 12:22:52 +01:00
d98762625 e03ff22ba8 update more ENVIRONMENT_IS_* calls after merge, update some test paths, comments. Remove vulnerability 2019-07-05 11:35:59 +01:00
d98762625 368f508b17 Merge branch 'v9' of github.com:gchq/CyberChef into node-lib 2019-07-05 11:07:31 +01:00
d98762625 a1cf20bd67 gitignore fix 2019-07-05 10:24:29 +01:00
d98762625 d2ff2ec9c6 improve comments and re-add some excluded operations 2019-07-05 10:22:14 +01:00
d98762625 1c24c05647 swap ENVIRONMENT_IS_* functions for Utils named exports 2019-07-05 10:17:52 +01:00
d98762625 c70f14419a rename dishTranslationTypes 2019-07-05 09:44:01 +01:00
n1474335 80386f1c86 Merge branch 'master' into v9 2019-07-04 18:44:07 +01:00
n1474335 080886a2d1 Added support for psb, hdr, arw, raf, mrw, bct, mdi, au, auf, aif, aifc, arj, ace, hqx, alz, kgb, and torrent file detection. 2019-07-04 18:43:38 +01:00
n1474335 2007cfd3a0 Improved efficiency of Dish title generation 2019-07-04 15:43:50 +01:00
n1474335 e49974beaa Merge branch 'multiple-input-files' of https://github.com/j433866/CyberChef into j433866-multiple-input-files 2019-07-04 13:52:26 +01:00
n1474335 e4b4e8afca Added Streebog and GOST to 'Generate all hashes' op 2019-07-03 17:33:27 +01:00
n1474335 09bea6e231 Added 'GOST Hash' operation 2019-07-03 17:24:11 +01:00
n1474335 99f4091c1a Tidied up Streebog operation, splitting out GOST hash into a separate op. 2019-07-03 17:23:45 +01:00
j433866 6964bbc232 Improve layout of addInput parameters. 2019-07-03 16:15:14 +01:00
j433866 367d30e421 Use reduce for finding previous and next inputNums 2019-07-03 16:09:48 +01:00
j433866 30a66f1441 Use reduce to find smallest and largest inputNums.
Tab shadows are now displayed using css classes
2019-07-03 16:05:20 +01:00
n1474335 666c447e36 Merge branch 'feature/streebog-hash' of https://github.com/MShwed/CyberChef into MShwed-feature/streebog-hash 2019-07-03 15:21:44 +01:00
n1474335 13b0ab73d0 Tidied up CRC-8 operation and added it to 'Generate all hashes' 2019-07-03 15:07:26 +01:00
n1474335 3766982734 Merge branch 'feature/crc-8-checksum' of https://github.com/MShwed/CyberChef into MShwed-feature/crc-8-checksum 2019-07-03 14:54:41 +01:00
n1474335 5a83ef4f48 Tidied up HTML Entity operations 2019-07-03 14:49:57 +01:00
j433866 b3fa1eaae2 Fix output heights being incorrect 2019-07-03 14:24:05 +01:00
j433866 6d95cb01c8 Change tab element height using stylesheet.
Debounce bake button function changes.
2019-07-03 13:52:56 +01:00
j433866 a7eefa88fa Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-07-03 13:20:21 +01:00
n1474335 a7d4e37851 Merge branch 'bugfix/missing-html-entities' of https://github.com/MShwed/CyberChef into MShwed-bugfix/missing-html-entities 2019-07-03 12:43:58 +01:00
n1474335 0e6626bf39 Merge branch 'pgp-verify' of https://github.com/artemisbot/CyberChef into artemisbot-pgp-verify 2019-07-03 12:38:10 +01:00
n1474335 db72cad610 Merge branch 'more-image-ops' of https://github.com/j433866/CyberChef into j433866-more-image-ops 2019-07-03 12:24:03 +01:00
j433866 455b42aa85 Fix whitespace and comment typos.
Add comment to inputworker default values.
2019-07-03 11:53:38 +01:00
j433866 2d95092479 Remove no file extension error 2019-07-03 11:45:36 +01:00
j433866 0f87c70cee Add comma to CSS rule 2019-07-03 11:41:31 +01:00
j433866 4312d39624 Show or hide thumbnail when the option is changed. 2019-07-03 11:41:22 +01:00
j433866 cf500b7296 Fix getInputValue not returning inputs that are arraybuffers 2019-07-03 11:39:24 +01:00
j433866 7a0180213d Update inputWorker description 2019-07-03 10:34:15 +01:00
j433866 160e4a0479 Change ZipWorker to use Dish.get() 2019-07-03 10:34:02 +01:00
mshwed 44643c151a Fixed linting issues and added CRC-8 tests 2019-07-02 15:30:59 -04:00
mshwed bc1bd2427d Added checksum calculation and helper functions 2019-07-02 15:13:11 -04:00
n1474335 5abc5279f5 Fixed spread operator support in older browsers 2019-07-02 18:39:21 +01:00
j433866 1135ca5fb4 Remove duplicate function.
Fix reading QR codes with transparent backgrounds
2019-07-02 16:31:26 +01:00
j433866 be08a62f52 Add webpack config for font files 2019-07-02 15:31:29 +01:00
j433866 f473807459 Bring up to date with master 2019-07-02 14:23:17 +01:00
j433866 3a197379d5 Remove unused self.port variable 2019-07-02 13:44:04 +01:00
j433866 a9f8dac656 Fix stepping.
Move stepping logic into App.
Change toggleBakeButtonFunction to use a str instead of booleans.
Tidy up handleLoaderMessage in InputWaiter.
2019-07-02 12:23:46 +01:00
j433866 3dc57c4a4a Update copyright year on solarized themes 2019-07-02 10:35:06 +01:00
mshwed 4c9a61f5a7 Added bit reversal 2019-07-01 19:02:07 -04:00
j433866 ba4740a245 Correct documentation 2019-07-01 13:42:06 +01:00
j433866 86c37bab3f Clone dish instead of using the current dish.
Use Dish.STRING instead of "string" for get()
2019-07-01 13:41:48 +01:00
j433866 dd5038c15b Bring up to date with master 2019-07-01 11:51:17 +01:00
mshwed 550ab403f6 Initial operation setup 2019-06-30 21:28:00 -04:00
h345983745 bac2e8c014 Removed V4 + V6 options 2019-06-29 01:12:50 +01:00
n1474335 f22211ce8c Backslashes are now escaped correctly by 'Unescape string'. CLoses #582 2019-06-28 17:13:54 +01:00
n1474335 6f6786d79e Baking controls now scale to fit the pane correctly 2019-06-28 17:09:00 +01:00
n1474335 c1ad2386ef Improvements to Entropy operation. Converted to ArrayBuffers, improved efficiency with large files, added present method back in. 2019-06-28 15:00:19 +01:00
mshwed b0b6de116d Fixed linting issue 2019-06-27 14:11:26 -04:00
mshwed 1b161f997b Refactored advanced entropy operation into entropy operation 2019-06-27 14:09:41 -04:00
mshwed b99af58636 Merge branch 'master' of https://github.com/gchq/CyberChef into feature/advanced-entropy 2019-06-27 13:15:19 -04:00
Matt c46928aefe
Added tests 2019-06-27 17:51:37 +01:00
n1474335 1b765605ca Updated dependencies 2019-06-27 17:29:27 +01:00
Matt 4c27a46d35
Added PGP verify operation
Added some more metadata to decrypt & verify
Fixes gchq/CyberChef#581
2019-06-27 16:48:03 +01:00
n1474335 d184e40116 Added min and max for Bzip2 block size arg 2019-06-27 16:45:16 +01:00
n1474335 596db07647 Merge branch 'features/bz2-comp' of https://github.com/artemisbot/CyberChef into artemisbot-features/bz2-comp 2019-06-27 16:44:42 +01:00
n1474335 30bf95f2c1 Merge branch 'oct' of https://github.com/wh0/CyberChef into wh0-oct 2019-06-27 15:55:34 +01:00
n1474335 e11aec64cd Modified wording for IC op 2019-06-27 15:42:32 +01:00
n1474335 71575e49d7 Merge branch 'index-of-coincidence' of https://github.com/Ge0rg3/CyberChef into Ge0rg3-index-of-coincidence 2019-06-27 15:41:20 +01:00
n1474335 d7e4c28cd0 Merge branch 'bugfix/json-to-csv' of https://github.com/MShwed/CyberChef into MShwed-bugfix/json-to-csv 2019-06-27 15:36:12 +01:00
n1474335 cde3eb2c39 Merge branch 'popover-patch' of https://github.com/Ge0rg3/CyberChef into Ge0rg3-popover-patch 2019-06-27 15:31:57 +01:00
wh0 f29d8eeda8 Parse octal escape sequences 2019-06-25 18:35:25 -07:00
mshwed daee7ac761 Merge branch 'master' of https://github.com/gchq/CyberChef into feature/advanced-entropy 2019-06-20 14:11:51 -04:00
mshwed 313d1a580e Merge branch 'master' of https://github.com/gchq/CyberChef into bugfix/json-to-csv 2019-06-20 13:59:08 -04:00
mshwed 824d8e929a Fixed linting issues 2019-06-20 13:26:35 -04:00
mshwed 862d2adf1d Added missing HTML entities 2019-06-20 13:08:20 -04:00
j433866 906ece0c02 Remove loading files modal 2019-06-20 13:47:30 +01:00
j433866 0bcf57e89c Improve printing text to improve output quality.
Now resizes the text instead of the image
2019-06-20 12:58:02 +01:00
j433866 c529a406cd Fix switchClick not always being fired.
Run detectFileType on switched output
2019-06-18 15:10:51 +01:00
j433866 05d81eb734 Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-06-14 14:56:16 +01:00
j433866 e35ef8f39b Escape HTML for error messages being sent to alert 2019-06-14 14:31:38 +01:00
j433866 370cae3c8d Fix incorrect value being sent to dishworker 2019-06-13 15:39:11 +01:00
j433866 5731f5c75c Add dishworker 2019-06-13 14:48:38 +01:00
j433866 34d03973f9 Improve queueing for getDish... messages.
Force wheel event to be not passive.
Change maxworkers to be navigator.hardwareConcurrency - 1
2019-06-13 14:48:28 +01:00
j433866 84204c1d12 Add mime type detection to tab title.
Move addition of close tab button back
2019-06-13 11:13:53 +01:00
j433866 6ee76e3bf0 Add getDishTitle function 2019-06-13 09:43:58 +01:00
j433866 f497dc3170 Handle progressMessage in background waiter.
Don't update tab progress if there's no set recipe
2019-06-11 10:01:40 +01:00
j433866 749ffdd5d1 Move input tab code 2019-06-11 09:50:29 +01:00
George O e709582062 Disappearing Popover Fix 2019-06-10 19:19:50 +01:00
j433866 713f10e63a Turn input tabs into progress bars 2019-06-10 16:07:01 +01:00
j433866 9d60ef5f72 Turn output tabs into progress bars! 2019-06-10 15:39:21 +01:00
j433866 5a52e5e9b3 Remove new lines from input tab header 2019-06-10 13:08:03 +01:00
j433866 d99cf9d499 Use function in TabWaiter 2019-06-10 13:03:07 +01:00
j433866 be0e12589d Display preview of output in output tab headers.
Remove unused argument from setLogLevel()
2019-06-10 12:47:27 +01:00
George O 466d872d30 Added Index of Coincidence Operation 2019-06-09 00:57:02 +01:00
j433866 ad982746dd Display recipe progress in status message 2019-06-07 13:52:47 +01:00
j433866 8c2cc5b6d2 Improve removing tabs experience 2019-06-07 13:52:04 +01:00
j433866 97f86af6b9 Improve speed of changing input tabs.
Handle not finding an active tab
2019-06-06 16:53:58 +01:00
j433866 c2087f6d5f Move tab logic into a new TabWaiter 2019-06-06 16:33:35 +01:00
j433866 98af95a6ce Change pasting to keep cursor position.
Move output scrolling to changeTab() instead of set()
2019-06-06 10:26:16 +01:00
j433866 39101610d5 Scroll I/O areas to the top when switching tabs 2019-06-06 09:33:51 +01:00
j433866 b77239fc15 Move waiters and workers into separate folders. 2019-06-06 09:09:48 +01:00
j433866 31a3af1f84 Remove step and progress from Chef.
It's now all handled by the App!
2019-06-04 14:02:45 +01:00
j433866 0e5944e9c6 Set URL input parameter when setting input.
(e.g. when tab changed or removed)
2019-06-04 11:59:44 +01:00
j433866 99e9df0211 Holding down on tab change buttons will scroll.
Hide loading stats when there's only one input
2019-06-04 11:42:27 +01:00
j433866 c1bdca8df3 Change to use byte strings instead of byte array 2019-06-04 10:19:00 +01:00
j433866 15b5cf7c20 Correctly handle clicking cancel on go to dialog 2019-06-04 09:41:47 +01:00
j433866 f55102716e Add min / max tabs to go to tab dialog (output) 2019-06-04 09:39:47 +01:00
j433866 17b95f1609 Add min / max inputNums on go to tab dialog 2019-06-04 09:36:50 +01:00
j433866 2575a762e1 Make input and output tab areas scrollable 2019-06-03 16:10:05 +01:00
j433866 f5cf7bb1f2 Rename 'move output to input' to 'replace input with output'
Shrink close tab buttons
2019-06-03 15:37:14 +01:00
j433866 d3e8616e90 Add close all tabs button to input tab dropdown 2019-06-03 15:12:59 +01:00
j433866 87dc325932 Move debouncer to App.
Debounce drag of splitter and window resize
2019-06-03 14:59:41 +01:00
j433866 eb91dd7a7d Add documentation for getURIParams 2019-06-03 14:23:00 +01:00
j433866 89c4f54ce8 Only show bake stats when theres more than 1 input
Better handle canceling a bake when inputs are loading
Don't create chefworkers if we don't need them
Fix capitalisation of bake stats
2019-06-03 14:09:03 +01:00
j433866 b3cb800f35 Default inputNum to -1 when one isn't sent.
Improve jsdoc comments
2019-06-03 14:01:00 +01:00
j433866 4a0f62b636 Change getLargest/getSmallest to use a for loop.
Math.max() and Math.min() were exceeding call stack size
2019-06-03 13:48:49 +01:00
j433866 bcaefe39aa Improve transferable object syntax.
Fix capitalisation on loading info.
Improve error when an action isnt sent by inputworker
2019-06-03 11:20:06 +01:00
j433866 54bb17c109 Remove getAllInput() function.
Improve documentation.
2019-06-03 11:16:54 +01:00
j433866 dc74a389d8 Add documentation for inputNum.
Fix syntax for transferable objects.
2019-06-03 11:15:48 +01:00
j433866 784b3b58ca Fix to stop find tab CSS affecting operations 2019-06-03 11:15:10 +01:00
j433866 34b7c47533 Fix highlighting not working 2019-05-31 15:37:20 +01:00
j433866 d6a80b4865 Use toLocaleString for final bake stats 2019-05-31 09:59:23 +01:00
j433866 1d20fe13f3 Reset displayed load progress when clearing IO 2019-05-31 08:54:01 +01:00
j433866 7586c3ef8a Merge remote-tracking branch 'upstream/master' into multiple-input-files 2019-05-30 15:02:14 +01:00
j433866 b232069631 If a tab can't be added, show the shadow on the...
last tab to indicate there are more tabs
2019-05-30 14:32:05 +01:00
j433866 586e5a3db8 Further improvements to tab search UI 2019-05-30 14:08:02 +01:00
j433866 d94a431537 Improve searching for tabs UI.
Content / filename search is now a regex.
Use .toLocaleString() for loading / baking stats
2019-05-30 13:28:45 +01:00
j433866 9b2f44efb1 Turn extract click listener back on.
Add shadow to tabs when there are more tabs that aren't displayed
2019-05-29 16:29:34 +01:00
j433866 12e4fe4120 Fix clear all button breaking everything.
Rearrange baking a bit to hopefully fix firefox
2019-05-29 14:08:37 +01:00
j433866 476d9c8034 Remove unused parameter 2019-05-29 14:07:46 +01:00
j433866 85809efcc0 Adjust number of tabs shown when resizing window.
Improve refresh tabs logic.
Fix input not being shown when loaded from a URL
2019-05-29 13:25:12 +01:00
j433866 722edcc274 Display file size in header 2019-05-29 11:46:21 +01:00