Commit graph

1920 commits

Author SHA1 Message Date
mshwed
8dde732514 Fixed linting issues 2019-09-05 09:20:59 -04:00
mshwed
f1659af5e4 Added basic OCR text extraction 2019-09-04 14:37:02 -04:00
n1474335
b31f32a7e7 Tidied up Bacon Cipher operations 2019-09-04 17:13:05 +01:00
n1474335
f0b3bd0ede Merge branch 'bacon' of https://github.com/kassi/CyberChef 2019-09-04 16:30:05 +01:00
n1474335
d7b6f29c81 Updated CHANGELOG 2019-09-04 14:00:25 +01:00
n1474335
eb769c7fb4 Tidied up Steganography operations. FileType and toBase64 functions now accept ArrayBuffers. 2019-09-04 13:54:59 +01:00
n1474335
5bc5c0df90 Merge branch 'steganography' of https://github.com/Ge0rg3/CyberChef into Ge0rg3-steganography 2019-09-04 11:31:58 +01:00
n1474335
0590020130 Merge branch 'patch-1' of https://github.com/wesinator/CyberChef into wesinator-patch-1 2019-09-04 11:16:57 +01:00
n1474335
2a91af152d Fixed sitemap generation 2019-09-04 11:14:45 +01:00
Ԝеѕ
d8120d4e13
Add Quoted-printable example 2019-09-03 11:21:58 -04:00
n1474335
32c0d6f253 Updated dependencies 2019-08-30 18:49:05 +01:00
n1474335
f8d1cf2f60 Tidied up 'Render Markdown' operation 2019-08-30 15:46:24 +01:00
n1474335
e129425d8d Merge branch 'render-markdown' of https://github.com/j433866/CyberChef into j433866-render-markdown 2019-08-30 15:33:47 +01:00
n1474335
9dd5234962 Tidied up 'Show on map' operation 2019-08-30 11:56:48 +01:00
n1474335
018532016b Merge branch 'show-on-map' of https://github.com/j433866/CyberChef into j433866-show-on-map 2019-08-30 11:44:12 +01:00
Ge0rg3
d23a584b9e Randomize Colour Palette Operation 2019-08-29 16:17:07 +01:00
n1474335
572f035877 Background magic is now debounced to prevent it firing too often. 2019-08-29 14:08:56 +01:00
j433866
b94eb6adb0 Add syntax highlighting
Explicitly disable HTML rendering.
Updated description.
2019-08-29 14:08:07 +01:00
j433866
45fccb94e1 Merge remote-tracking branch 'upstream/master' into render-markdown 2019-08-29 13:23:37 +01:00
j433866
2628f17fae Change maps source to use Wikimedia maps.
Add link to Wikimedia maps ToS.
If there's no data, show the map anyway.
2019-08-29 11:43:45 +01:00
j433866
69fb6e77fc Merge remote-tracking branch 'upstream/master' into show-on-map 2019-08-29 10:42:40 +01:00
j433866
59917cca45 Add overflow CSS rule to fix scrolling. Fixes #626 2019-08-29 10:18:52 +01:00
n1474335
c9deaae744 Updated supported browser versions. 2019-08-28 17:14:12 +01:00
Ge0rg3
950a12360e Tests + Bug Fixes
* Test cases for LSB extraction, RGBA extraction and bit plane browsing
* Bug fix for alpha planes in bit plane browser
2019-08-28 17:07:43 +01:00
n1474335
4c28627459 Added pulse to Background Magic button to draw attention. 2019-08-28 16:14:13 +01:00
Ge0rg3
48831225ac Extract RGBA Values Operation 2019-08-28 09:58:00 +01:00
Ge0rg3
4e8a79d8f1 Bit Plane Browser and LSB Extraction
Bit Plane Browser and LSB Extraction

Bit Plane Browser and LSB Extraction
2019-08-28 01:06:59 +01:00
n1474335
094d352e5f Added eslint space-before-blocks rule 2019-08-27 18:13:33 +01:00
n1474335
44b90be7d6 Added 'fully qualified' to the description for the 'Extract Domains' operation to reduce ambiguity. #618 2019-08-27 17:59:45 +01:00
n1474335
c541eebe3e Merge branch 'ip-format-octal' of https://github.com/csmith/CyberChef into csmith-ip-format-octal 2019-08-27 13:00:54 +01:00
Chris Smith
6c9ce15b26
Add octal support to Change IP Format.
Also add test cases covering interchanging between all four
formats.
2019-08-24 01:14:44 +01:00
Chris Hepner
8e1bd36b4c
Fix typo in ScanForEmbeddedFiles
Change "suffiently" to "sufficiently"
2019-08-23 14:52:16 -07:00
n1474335
0031345383 Tidied up 'Parse UDP' operation 2019-08-23 10:56:13 +01:00
n1474335
46fa7475cf Merge branch 'udp-header-parser' of https://github.com/h345983745/CyberChef into h345983745-udp-header-parser 2019-08-23 10:40:24 +01:00
n1474335
db3faf16b0 Merge branch 'master' of github.com:gchq/CyberChef 2019-08-22 16:34:00 +01:00
n1474335
9774a4bd26 Tidied up CR preservation code 2019-08-22 16:31:21 +01:00
j433866
737ea19c9e Fix AES decryption in GCM mode not using IVs.
Updated tests to match new results.
Included a Python script to generate AES-GCM tests
2019-08-22 14:54:58 +01:00
j433866
82b5e97a2b Merge branch 'master' into render-markdown 2019-08-22 12:31:52 +01:00
j433866
c43f829854 Slightly change wording of alerts 2019-08-22 11:56:14 +01:00
j433866
f43a868607 Add carriage return detection for pasted and switched inputs.
Fix switching the output to input not working properly.
Add nicer confirmation boxes for zipping outputs.
2019-08-22 11:53:41 +01:00
j433866
9f2d1453ed Make the wordWrap change event only fire when the
word wrap checkbox is changed
2019-08-22 11:26:43 +01:00
j433866
082d939f7d Add customisations for confirm box.
Can change the text of the accept and reject buttons.
Now returns undefined if the user clicks off it
2019-08-22 11:26:04 +01:00
j433866
19553dcfed Fix parse colour code operation.
The interactive part broke due to changes for multiple inputs.
Now fires the inputChange event with a fake keyup event to autobake
2019-08-22 11:00:04 +01:00
n1474335
863551ee1d AES Decrypt now handles blank IVs correctly. Fixes #613 2019-08-21 14:27:56 +01:00
n1474335
82abdb50b1 Fixed bug in Protobuf library causing issues with long keys 2019-08-20 15:20:43 +01:00
h345983745
b8dbb11136 Spelling 2019-08-19 21:05:38 +01:00
h345983745
b14cb99587 Removed console.log 2019-08-19 20:55:04 +01:00
h345983745
1d32a5939c Core UDP parsing functionality
Added to categorie

Description

Added Tests

Added tests
2019-08-19 20:48:05 +01:00
j433866
ae1cd8ba3e Add fade animation to modals 2019-08-15 15:03:13 +01:00
n1474335
43472394c7 Tidied up 'Defang IP Addresses' operation 2019-08-13 14:23:41 +01:00
n1474335
a4e9025b8e Merge branch 'defang-ip' of https://github.com/h345983745/CyberChef into h345983745-defang-ip 2019-08-13 14:19:34 +01:00
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
j433866
919c3fd999 Fix display file slice displaying raw instead of presented data.
Fix errored filter when searching for tabs.
2019-05-28 15:01:49 +01:00
j433866
6c711ec211 Add and remove chefworkers when adding or removing inputs.
This increases the responsiveness of baking as it means we don't have to...
spin up workers when bake is clicked
2019-05-28 14:11:05 +01:00
j433866
7528065d4d Fix stepping again.
Add new getInput function to inputWorker
2019-05-28 11:59:57 +01:00
d98762625
1a9c9a5ddf Actually need to return the translation 2019-05-24 16:46:07 +01:00
j433866
0bced35931 Fix stepping again 2019-05-23 15:31:18 +01:00
j433866
4dcd60adc0 Improve handling of displaying large outputs.
Bring getDishStr and getDishBuffer back.
2019-05-23 15:29:58 +01:00
d98762625
d51e8ec378 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-05-23 15:07:28 +01:00
j433866
59cdd259ac Add new parse ssh host key operation 2019-05-23 11:11:37 +01:00
j433866
e95f92cdeb Bake inputs after clearing IO 2019-05-21 11:24:44 +01:00
j433866
cb86cb1882 Change baking to not send all inputs at once.
Add input debouncer.
Remove old HTML comments and unnecessary CSS
(Step is currently a bit broken!)
2019-05-20 16:53:56 +01:00
j433866
c50f5769db Add key bindings for tabs 2019-05-16 15:02:32 +01:00
j433866
6df9b649a1 Terminate zipworker when clearing all io 2019-05-16 13:04:04 +01:00
j433866
6f5018d45e Don't change option value if new value is blank 2019-05-16 11:59:25 +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
d326cad611 Remove unused parameter 2019-05-16 09:38:34 +01:00
j433866
2ddb9b8f7c Remove unecessary progress item 2019-05-16 09:33:28 +01:00
j433866
6237db9ba6 Use detectFileType to autodetect file extensions in zip 2019-05-16 09:27:46 +01:00
j433866
0cff7bdd04 Improve handling of OperationErrors.
Make output filter refresh when changing stale or errored checkboxes
2019-05-15 16:24:49 +01:00
j433866
413e80ed3e Add clicking on output search result 2019-05-15 16:03:18 +01:00
j433866
5d52f4a760 Add searching for output tabs.
Remove all existing chefworkers before starting a bake.
Clear breakpoint when starting a bake
2019-05-15 09:37:07 +01:00
j433866
0855dc617f Add comments to inputWorker.
Slightly improve logic for getNearbyNums
2019-05-14 16:13:36 +01:00
j433866
04587a8a47 Merge branch 'multiple-input-files' of github.com:j433866/CyberChef into multiple-input-files 2019-05-14 11:45:22 +01:00
j433866
392b96dc34 Commenting 2019-05-14 11:45:13 +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
84cc3d16ed Fix close tab buttons not working in old firefox. 2019-05-10 16:54:28 +01:00
j433866
e34d521dcc Improve UI for searching for input tabs 2019-05-10 13:48:03 +01:00
j433866
2c02900edf Improve handling of errors.
Add parameter to some update functions for whether or not to set the output
2019-05-10 13:47:48 +01:00
j433866
f5442c307a Only set the input of the active input if the progress has changed.
Autobake when the input loads instead of when all load.
2019-05-10 13:45:27 +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
aff0416405 Remove some comments 2019-05-09 09:07:28 +01:00
j433866
6d9a14feed Display when an input errors on load.
Autobake when all inputs have loaded.
Improve load experience.
2019-05-08 16:44:11 +01:00
j433866
3c2e5c143a Set bake button to "Loading..." when an autobake is started 2019-05-08 16:42:19 +01:00
j433866
cbf1d2feb0 Add specific handling for DOMExceptions 2019-05-08 16:42:06 +01:00
j433866
65bb7f32e9 Fix refreshTabs not always hiding the tab bar 2019-05-08 14:58:09 +01:00
j433866
3b8c365f7e Remove unused zip dependency 2019-05-08 14:48:37 +01:00
j433866
43747accd5 Change to add input tabs as inputs are added, instead of at the end.
Change outputWaiter to use outputExists instead of getOutput
2019-05-08 14:47:05 +01:00
j433866
50f9bbeac3 Make set() asynchronous 2019-05-08 13:46:29 +01:00
j433866
3cffd9334f Fix file slice not always being displayed 2019-05-08 12:54:55 +01:00
j433866
f72749304d Improve handling of errors in operations.
Remove unused dependencies.
2019-05-08 11:57:22 +01:00
j433866
689d08416b Don't create more ChefWorkers than we need. 2019-05-08 10:53:04 +01:00
j433866
28182713bf Fix showing slice of output not working.
Fix output status message not being reset.
Hide magic button when baking.
2019-05-08 10:10:14 +01:00
j433866
8190c7aac7 Add maximise output button 2019-05-07 15:36:42 +01:00
j433866
6268f091b8 Bring back moving the output into the input.
Change wording for download as zip button
2019-05-07 15:34:36 +01:00
j433866
cbfde7ddb1 Don't highlight if the input and output tab numbers are different 2019-05-07 14:33:38 +01:00
j433866
35d6c7d79e Bring highlighting back.
Fix backgroundMagic using output result instead of dish value
2019-05-07 14:20:18 +01:00
j433866
f1a2cf7efc Add cancellation of zipping 2019-05-07 12:00:53 +01:00
j433866
ec4eb22a72 Don't include loading inputs in complete percentage 2019-05-07 12:00:37 +01:00
j433866
97c218cb4c Fix where zipworker was using output presented result.
Now uses the raw dish value
2019-05-07 12:00:14 +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
6084759907 Merge branch 'use-node-lts' into node-lib 2019-05-03 13:42:45 +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
df20196201 Fix magic not always working 2019-05-03 11:49:14 +01:00
j433866
e9d60f73f4 Fix some more autobake weirdness.
Input passed in the URL is now set on load.
Added a new progress bar.
2019-05-02 15:44:31 +01:00
j433866
8e9717906f Improve autobake further to behave more like it did before.
Improve generation of state URI.
2019-05-02 13:54:15 +01:00
j433866
82183bf204 Improve queueing of inputs to avoid baking the same input twice.
Fix generation of input URL.
Fix worker log levels not being set correctly.
2019-05-02 11:29:54 +01:00
j433866
b2406b0465 Run set() when a bake is cancelled.
This will make sure the output shows the most recently baked data,
and also shows the stale indicator if needed
2019-05-02 09:20:28 +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
j433866
02bda3250b Fix magic button.
Fix download all files not working
2019-05-01 14:46:05 +01:00
j433866
f6f60e8203 Update LoaderWorker to not use messagechannels 2019-05-01 14:13:40 +01:00
j433866
55beb433f3 Go back to sending messages via the main thread.
A MessageChannel is faster on Chrome, but causes issues in Firefox.
Bake button now says "Loading..." when the inputWorker is gathering inputs for baking
2019-05-01 14:12:36 +01:00
j433866
2fff18cb61 Don't create a new loaderWorker until we need one.
This was causing issues on single core systems after I got rid of the active status as we had already reached the max number of workers.
Instead, we just create a loaderWorker when needed as loaderWorkers are small enough!
2019-04-30 15:23:41 +01:00
j433866
6d8bf3a08a Enable filter buttons in manager 2019-04-30 14:45:34 +01:00
j433866
13ee79a06b Add searching for inputs 2019-04-30 14:15:05 +01:00
j433866
b4208ede3b Add clear io button.
Fix some weirdness with removing tabs
2019-04-30 13:34:00 +01:00
j433866
a96cb3f99f Add clear all io button. 2019-04-30 13:18:22 +01:00
j433866
1f39a922d1 Reset bake button background when state changed 2019-04-30 12:58:29 +01:00
j433866
145fba5949 Input pasting now works 2019-04-30 11:48: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
8cb86c364d Increase file limit 2019-04-26 15:19:17 +01:00
j433866
6d98014ad2 New max limit for files 2019-04-26 15:16:15 +01:00
j433866
1cf83c2485 Change baking to send all inputs individually.
Re-enable go to tab button.
Active tab is now autobaked on load completion.
Handle (ish) loaderWorker errors.
Improve load performance.
2019-04-26 15:15:44 +01:00
j433866
f638bd4ded If sending arraybuffer back, use a transferable object 2019-04-26 14:01:49 +01:00
j433866
7b169fb798 Add css for search box 2019-04-25 16:33:02 +01:00
j433866
406cbb0f41 Move input logic into a new worker (InputWorker)
Change OutputWaiter to use dict of outputs instead of list
LoaderWorker communicates with InputWorker using a messagechannel
2019-04-25 16:32:48 +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
j433866
82186c8592 Add search box for input tabs 2019-04-23 09:02:00 +01:00
j433866
f099a352b3 Change get input function calls 2019-04-23 09:01:25 +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
d3e6200385 remove babel-polyfill and update plugins to work with uplifted version 2019-04-05 17:15:21 +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
j433866
bd3777f9de Change maximum file size in readme 2019-04-05 10:51:39 +01:00
d98762625
e4ee0fc397 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-04-04 15:21:52 +01:00
j433866
9690ccd8a0 Fix being unable to go to tab 1 2019-04-04 14:42:21 +01:00
j433866
0804647441 Load in the right order 2019-04-04 13:14:45 +01:00
j433866
76da287cca Bake in the right order 2019-04-04 13:13:38 +01:00
j433866
8739dd97d6 Change srcElement to target
(srcElement is non-standard)
2019-04-04 13:13:21 +01:00
d98762625
a7874cc351 improve naming in API 2019-04-04 11:28:46 +01:00
j433866
de21f14fd8 Move the tab buttons onto the tab bar 2019-04-04 10:57:01 +01:00
j433866
b90cca77a9 Fix more tab weirdness.
Move tab buttons onto tab bar.
Calculate size of maxTabs automatically on page load.
Display total execution time when a bake finishes.
2019-04-04 10:15:13 +01:00
j433866
1eadc08098 Fix some weirdness with tabs.
Adjust worker logic to avoid closing and reopening a worker as often
2019-04-03 16:05:10 +01:00
j433866
9df26b8c84 Output tabs now (mostly) work.
Add downloading files as an archive (needs work)
Add option for keeping the tabs in sync
2019-04-03 12:00:47 +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
e0c9aba25e Improve WorkerWaiter and OutputWaiter.
- Will run and display outputs in the output area as they're baked
- Creates output tabs
- Can change output tabs (only the first 4 at the moment)
2019-04-02 16:58:36 +01:00
j433866
2cb33bfec4 Bring up to date with master 2019-04-02 16:54:34 +01:00
j433866
2aad7647ef Add tab buttons (don't work yet).
Change some of the HTML around the tab bar
2019-04-02 16:53:15 +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
cd094d1475 Change "input-tabs" id to be for the actual ul element.
Automatically disable auto-bake if more than 20 files are input.
2019-04-01 16:15:09 +01: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
Martin Gillow
8ece8ebec2 Updated description 2019-04-01 13:40:53 +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
j433866
7bf8467637 Add maximum limit to the thumbnail image size 2019-04-01 08:53:52 +01:00
n1474335
27677adbe8 Fixed option default 2019-04-01 00:29:10 +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
martin gillow
4d39c3bbd2 Fixed code spacing and formatting 2019-03-30 13:42:29 +00:00