Commit Graph

1017 Commits

Author SHA1 Message Date
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
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
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
n1474335 69837837b0 Tidied up co-ordinate operation 2019-01-18 17:14:25 +00:00
n1474335 03d8bf2836 Merge branch 'coordinates' of https://github.com/j433866/CyberChef into j433866-coordinates 2019-01-18 16:05:44 +00:00
n1474335 ba04cac7ac Tidied up YARA operation 2019-01-18 15:34:56 +00:00
n1474335 4cabb849f3 Merge branch 'features/yara' of https://github.com/artemisbot/CyberChef into artemisbot-features/yara 2019-01-18 14:56:26 +00:00
j433866 4bd923dc06 Improved handling of negative numbers and weirder inputs.
Negative numbers shouldn't make it go weird any more.
Automatic detection of input formats should be more reliable.
2019-01-17 13:53:42 +00:00
j433866 69797e58cb Add better error handling.
Also now doesn't do anything if there's no input
2019-01-16 16:57:58 +00:00
Matt 2e9b1e079c Merge remote-tracking branch 'upstream/master' into features/yara 2019-01-15 23:46:49 +00:00
Matt 0602f457ce Added initial tests & counts support 2019-01-15 16:24:29 +00:00
j433866 d00b0f4c0e Basically rewrote the whole thing using the new geodesy module 2019-01-15 15:55:49 +00:00
j433866 5e68959c03 Catch when OS grid references aren't calculated 2019-01-15 10:25:49 +00:00
j433866 ad4451a757 Rewrite MGRS to use new Geodesy module.
Added Ordnance Survey grid reference support
2019-01-15 10:13:11 +00:00
Callum Fraser 4d8127a7d9 Modified description of ToBase64 operation
Addresses #472
2019-01-14 22:25:49 +00:00
n1474335 cd2c8078c8 Added ELF extractor. You can now specific which categories to search for in file type operations. 2019-01-14 18:55:10 +00:00
s2224834 ffc4b0a0a8 Bombe: lol 2019-01-14 17:15:54 +00:00
j433866 04b0b8c723 Tidy up code 2019-01-14 14:58:41 +00:00
j433866 b3ac8d0835 Removed some debug logging 2019-01-14 13:49:49 +00:00
j433866 1a88a0164c Fix delimiter breaking Geohash detection 2019-01-14 13:00:14 +00:00
j433866 8b77ad7748 Stop delimiters breaking MGRS conversion 2019-01-14 12:49:28 +00:00
j433866 8d1f668fc5 Remove old Geohash modules 2019-01-14 11:56:27 +00:00
j433866 68fbbb64db Add new Convert co-ordinate format module.
Also added autodetect of co-ordinate format / delimiter
2019-01-14 11:49:57 +00:00
s2224834 eee92aa1aa Bombe: fix some outdated docs 2019-01-12 12:56:21 +00:00
s2224834 74eb4cca86 Bombe: tweaks
Twiddle the default rotor sets a bit.
Add a time remaining estimate for the multibombe.
2019-01-12 01:35:24 +00:00
s2224834 49f5c94a75 Bombe: further optimisation 2019-01-12 01:10:47 +00:00
Matt 8bba4b2973 More speedrun stats (literally 10x faster) 2019-01-12 00:20:25 +00:00
s2224834 d94e8c8187 Bombe: wording/docs tweaks 2019-01-11 18:24:16 +00:00
n1474335 2307325af8 Added Zlib extraction 2019-01-11 17:58:25 +00:00
n1474335 4e57b4be88 Completed GZIP extraction 2019-01-11 17:44:13 +00:00
s2224834 21335e7d05 Bombe: Add checking machine 2019-01-11 13:18:25 +00:00
j433866 abdd70c6fa Add ConvertCoordinates to lib folder 2019-01-11 11:59:13 +00:00
s2224834 78768e00d4 Bombe: Firefox optimisation
Switch a couple of for of loops in the critical path for classic fors.
This loses about 10% performance in Chrome, but it brings Firefox
performance in line with Chrome's, rather than 2.5 times slower.
2019-01-10 18:49:06 +00:00
s2224834 3eb44708e5 Add MultiBombe
Runs the Bombe multiple times with different rotor specs.
Edits the core BombeMachine a little to add the ability to switch rotors
without rewiring everything
2019-01-10 18:04:02 +00:00
n1474335 c077b22410 Stream.readBits() method implemented. Unfinished. 2019-01-10 17:30:52 +00:00
n1474335 c2068b343b Tidied up and added global matching to Subsection operation 2019-01-10 15:42:48 +00:00
n1474335 6424839731 Merge branch 'subsection' of https://github.com/j433866/CyberChef into j433866-subsection 2019-01-10 15:11:34 +00:00
n1474335 995fcab071 Tidied up Case Insensitive Regex ops 2019-01-10 15:01:01 +00:00
n1474335 c5270d75a1 Merge branch 'insense' of https://github.com/masq/CyberChef into masq-insense 2019-01-10 14:53:21 +00:00
s2224834 8c757d1e03 Bombe: optimise
This cuts about 85% off the execution time.
2019-01-09 21:07:05 +00:00
n1474335 c49a770c59 Tidied up Lorem Ipsum op 2019-01-09 16:36:34 +00:00
Matt dd9ba4d250
Fixed problems flagged by n's review 2019-01-09 15:28:50 +00:00
n1474335 0e601d5b5f Merge branch 'feature/lorem-ipsum-generator' of https://github.com/klaxon1/CyberChef into klaxon1-feature/lorem-ipsum-generator 2019-01-09 14:50:48 +00:00
Matt ebb632e888
Added metadata, string identifiers and operation args 2019-01-09 14:29:14 +00:00
Matt 4db2335107
Speedrunning strats (increased speed on big files) 2019-01-09 11:45:11 +00:00
Matt 4c1521a98e No data matches & warnings support 2019-01-08 23:26:14 +00:00
Matt df8abb099c
Added code argtype 2019-01-08 22:23:14 +00:00
s2224834 e74c86842b Bombe: add trial decryption preview 2019-01-08 19:37:34 +00:00
s2224834 ad6e30f3d4 Bombe: review, tests, validation 2019-01-08 18:25:42 +00:00
n1474335 766de7e6fa Fixed bug in 'Regular expression' operation when highlighting lookaheads 2019-01-08 17:51:43 +00:00
Matt 13439e100e Merge remote-tracking branch 'upstream/master' into features/yara 2019-01-08 16:28:14 +00:00
Matt 5ac469b174 Added yara rule support 2019-01-08 16:19:58 +00:00
j433866 8ac5b48493 Update operation description 2019-01-08 11:51:33 +00:00
j433866 1a827ef44f Add Subsection to Flow Control category 2019-01-08 11:17:06 +00:00
j433866 0f0e346a02 Add new Subsection operation 2019-01-08 11:12:02 +00:00
s2224834 b6eb4e84e4 Add Bombe operation
Still needs some work, but functional
2019-01-07 19:48:44 +00:00
n1474335 2a6db47aeb Began implementing GZIP/DEFLATE extraction. Unfinished. 2019-01-04 18:12:49 +00:00
n1474335 19b7957523 Added RTF extractor 2019-01-04 14:57:31 +00:00
s2224834 1b1a3c261d Typex: random rotors 2019-01-04 13:21:15 +00:00
n1474335 0d2cb02f97 Fixed FLV previous tag size error 2019-01-04 11:49:12 +00:00
d98762625 a4de937eb6 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2019-01-04 09:27:32 +00:00
n1474335 7d8d80ca2c Added extractor for MS Office 2007+ files 2019-01-03 19:01:12 +00:00
s2224834 b4e130234c Enigma: make sure op class is called Enigma 2019-01-03 18:51:39 +00:00
s2224834 53cc413eae Typex: move machine implementation to lib/ 2019-01-03 18:49:01 +00:00
n1474335 0449c46b38 Added FLV extractor. 2019-01-03 18:40:22 +00:00
s2224834 f8450183c1 Enigma: fix 4th rotor ringstellung 2019-01-03 17:51:20 +00:00
s2224834 eb1f8b4bc6 Add Typex operation
WIP
2019-01-03 16:40:29 +00:00
s2224834 088864fd9c Add Enigma operation 2019-01-03 16:36:56 +00:00
n1474335 cd0c86e0d6 File scan now uses bytesMatch() instead of signatureMatches(), reducing call stack size 2019-01-03 13:03:41 +00:00
n1474335 a56f92cdee Significantly improved performance when scanning for embedded files by implementing a fastcheck algorithm. 2019-01-02 17:50:47 +00:00
n1474335 76f1e5e8f3 Merge branch 'patch-2' of https://github.com/edwardwall/CyberChef into edwardwall-patch-2 2019-01-01 19:20:07 +00:00
n1474335 d469fb9c58 Updated dependencies 2019-01-01 19:19:07 +00:00
n1474335 4c285bce57 Refactored scanning for file types to be more than twice as fast. 2019-01-01 15:12:01 +00:00
Edward Wall 050ab03448
Simplify to improve readability 2018-12-30 17:06:48 +00:00
Edward Wall 40acf751a8
Update to understand Generalized / UTC Time
Future proofing for when certificates with dates after 2049 begin being issued.
These certificates' dates will be in Generalized Time not UTC Time as per RFC 5280
2018-12-30 16:46:18 +00:00
Spencer Walden 1d04b649e0 Adds 'To/From Case Insensitive Regex' operations under 'Utils' 2018-12-30 03:26:44 -08:00
Spencer Walden 3c16b839b6 Adds 'From Case Insensitive Regex' operation 2018-12-30 03:26:44 -08:00
Spencer Walden 32aea6b86c Adds 'To Case Insensitive Regex' operation 2018-12-30 03:26:44 -08:00
Edward Wall 688c2d0df5
Update ParseX509Certificate.mjs 2018-12-30 03:15:07 +00:00