Commit Graph

396 Commits

Author SHA1 Message Date
Alex Chambers_Jones d2174725a9 Fixed reflected XSS described in issue 1265 2021-10-29 17:59:02 +01:00
MikeCAT a7cdb095d2 Added input validation to fromBase64() 2021-10-04 22:39:16 +09:00
n1474335 c423de545f Switch XOR input and output differential logic. Fixes #1155 2021-09-03 14:58:48 +01:00
n1474335 f831ec6b7e Fixed issues in Protobuf parsing 2021-08-26 16:51:42 +01:00
n1474335 dd18e52993 Protobuf operations improved to enable full and partial schema support 2021-08-18 17:22:09 +01:00
swesven 6155634d3b Add the SM4 block cipher, also a no-padding option for block ciphers.
This adds an implementation of the SM4 block cipher, and operations
to encrypt and decrypt using it with CBC,ECB,CFB,OFB,CTR modes.

Also, a "no padding" option is added for AES,DES,3DES and SM4
decryption in ECB/CBC modes. This variant does not attempt to
validate the last block as being PKCS#7 padded.

This is useful, both since other padding schemes exist, and also
for decrypting data where the final block is missing.
2021-03-24 00:58:54 +01:00
n1474335 1e0e7f16a7 Added numeric validation for arguments in Binary and Hex operattions. Fixes #1178 2021-02-22 19:13:38 +00:00
n1474335 8ad18bc7db Added 'Fuzzy Match' operation 2021-02-12 13:51:51 +00:00
n1474335 9b6be140fa Merge branch 'base64Alphabets' of https://github.com/n1073645/CyberChef into n1073645-base64Alphabets 2021-02-12 12:08:56 +00:00
n1474335 4d9b48b4d8 Tidied whitespace 2021-02-11 16:14:23 +00:00
n1474335 979652387d Merge branch 'keychainExtractor' of https://github.com/n1073645/CyberChef into n1073645-keychainExtractor 2021-02-11 16:12:57 +00:00
n1474335 1abc46058c Added a CodeQL workflow to check for bugs through code analysis. Fixed numerous bugs and implemented safeguards as already reported. 2021-02-10 13:13:19 +00:00
n1474335 892a3716ed Added Crypt lib for common resources 2021-02-09 15:00:35 +00:00
n1474335 9fdd55c5c6 Tidied up JWT ops 2021-02-09 14:14:59 +00:00
n1474335 5bc523aeff Merge branch '1073-jwt-verify' of https://github.com/mt3571/CyberChef into mt3571-1073-jwt-verify 2021-02-09 14:02:21 +00:00
n1474335 ba66fd6546 Fixed recursive matching arguments 2021-02-05 19:04:27 +00:00
n1474335 47bbefd81f Fixed recursive scoring results in fuzzy match lib 2021-02-05 18:24:15 +00:00
n1474335 21236f1938 Added fuzzy search for operations 2021-02-05 17:54:57 +00:00
n1474335 74ae77f17a Tidied up and added tests for RSA operations 2021-02-01 19:15:32 +00:00
n1474335 99eb1cced5 Merge branch 'rsa' of https://github.com/mattnotmitt/CyberChef into mattnotmitt-rsa 2021-02-01 17:30:02 +00:00
n1474335 ec37a676a8 Updated dependencies 2020-12-14 17:51:12 +00:00
n1474335 7c40204e4f Updated dependencies 2020-12-11 17:58:23 +00:00
mt3571 887ea0cf06 Changed an incorrect name 2020-12-01 13:49:34 +00:00
mt3571 3e0525ee9e Added in a new file to store the list of JWT algorithms that can be used, as this error was occurring due to a mismatch between what you could sign and what you could verify 2020-12-01 13:38:01 +00:00
hettysymes 88947b9d42 Added operation description note and modified comment formatting 2020-06-08 12:27:40 +01:00
hettysymes 3c68ad1302 Modified control rotor stepping so the next control rotor steps once the previous rotor reaches "O" and added tests 2020-06-07 17:45:17 +01:00
hettysymes 938385c18b Fixed grunt lint errors 2020-06-06 19:46:42 +01:00
hettysymes 5d01b06877 Added copyright and clarified description 2020-06-06 19:46:42 +01:00
hettysymes f007c093eb Emulation of the WW2 SIGABA machine
I have created an emulation of the SIGABA machine and have tested it against some test data from a Master's thesis by Miao Ai: https://scholarworks.sjsu.edu/cgi/viewcontent.cgi?article=1237&context=etd_projects
2020-06-06 19:46:42 +01:00
Benedikt Werner 0182cdda69
Base85: Fix alphabetName 2020-05-16 00:42:02 +02:00
Matt e0f000b913
Fixed RSA generation and added digest option to verify 2020-04-06 13:35:14 +01:00
n1073645 d2ea1273da Merge remote-tracking branch 'upstream/master' into base64Alphabets 2020-03-27 13:09:03 +00:00
n1474335 45011de494 Tidied up TARGE extractor 2020-03-27 12:05:23 +00:00
n1474335 5e51ed0a5f Merge branch 'TargaExtractor' of https://github.com/n1073645/CyberChef into n1073645-TargaExtractor 2020-03-27 12:01:46 +00:00
n1474335 ad0a2e6f58 Merge branch 'MP3Extractor' of https://github.com/n1073645/CyberChef into n1073645-MP3Extractor 2020-03-26 12:01:30 +00:00
n1474335 b765534b8b Tidied up the Magic operation 2020-03-24 11:06:37 +00:00
n1073645 7c672c5ee9 MP3 Extractor added 2020-03-23 10:11:24 +00:00
n1073645 090bf3f8ec MP3 Extractor added 2020-03-23 10:10:47 +00:00
n1474335 26fa66ef64 Merge branch 'newMagic' of https://github.com/n1073645/CyberChef into n1073645-newMagic 2020-03-20 14:51:40 +00:00
n1073645 b69e4567c0 MP3extractor 2020-03-19 16:10:22 +00:00
n1073645 ff585584f6 MP3 Extractor 2020-03-18 12:51:47 +00:00
n1073645 2e0af64ac3 PGP secring signatures and Mac OS X keyring extractor added 2020-03-17 14:53:05 +00:00
n1073645 4251089687 Targa Image Extractor 2020-03-17 08:24:35 +00:00
n1073645 dbcd670ca8 Targa file extractor 2020-03-16 16:56:01 +00:00
n1073645 5b6a53be3e Docstrings added for Magic functions 2020-03-12 14:55:19 +00:00
n1073645 5b5105c864 Caching added for Magic regexes 2020-03-12 14:45:40 +00:00
n1474335 27b81c4e11 Tidied up JAR and DEB extractors 2020-03-06 15:59:42 +00:00
n1474335 8826c80e07 Merge branch 'debExtractor' of https://github.com/n1073645/CyberChef into n1073645-debExtractor 2020-03-06 15:57:16 +00:00
n1073645 02e3ce7fc1 Linting 2020-03-06 14:50:25 +00:00
n1073645 673e6aede5 Moved alternative JAR signature 2020-03-06 14:26:05 +00:00
n1474335 154b9386f7 Merge commit 'refs/pull/932/head' of github.com:gchq/CyberChef into n1073645-moreExtractors 2020-03-06 13:34:35 +00:00
n1073645 62dd7c3dbc Removed debugging try/catch 2020-03-06 13:29:11 +00:00
n1474335 82d098fc1a Merge branch 'moreExtractors' of https://github.com/n1073645/CyberChef into n1073645-moreExtractors 2020-03-06 13:21:13 +00:00
n1474335 24fd35e6af Tidied up Colossus operation 2020-03-06 13:05:08 +00:00
n1474335 c4493d15b6 Merge branch 'master' of https://github.com/VirtualColossus/CyberChef into VirtualColossus-master 2020-03-06 10:43:52 +00:00
n1474335 196a611c9b Merge branch 'extractWavFix' of https://github.com/n1073645/CyberChef into n1073645-extractWavFix 2020-03-05 17:09:54 +00:00
n1474335 64b979e25e CipherSaber2 ops now accept a variety of key types 2020-03-05 16:39:52 +00:00
n1474335 5e7b004925 Merge branch 'NewCiphers' of https://github.com/n1073645/CyberChef into n1073645-NewCiphers 2020-03-05 15:25:10 +00:00
n1073645 14190fc533 DEB extractor 2020-03-05 15:01:07 +00:00
n1073645 728f8e65d6 Magic rebuild 2020-02-25 11:27:03 +00:00
n1474335 846ad1796a Merge branch 'MoreSignatures' of https://github.com/n1073645/CyberChef into n1073645-MoreSignatures 2020-02-19 12:04:30 +00:00
n1073645 355a6d6b76 Modifications made to CipherSaber2 2020-02-14 14:21:32 +00:00
n1073645 0a3bd6456c Modifications made to signatures 2020-02-14 08:27:48 +00:00
n1474335 c2212f9ab3 Tidied up To Hex mods 2020-02-13 14:17:43 +00:00
n1073645 6fd929160d Comments and linting. 2020-01-28 10:35:01 +00:00
n1073645 5cdd062ed9 Linting done 2020-01-28 09:40:03 +00:00
n1073645 0259ed8314 LS47 implemented, needs linting 2020-01-27 16:07:54 +00:00
n1073645 115b064081 Extra Signatures added 2020-01-23 12:56:51 +00:00
n1073645 3a2580fbc2 Extra Base64 Alphabets 2020-01-22 10:35:11 +00:00
Andy Wang 41c8a5aff0 fromHex can now extract 0x format 2020-01-15 22:20:47 +00:00
Andy Wang 597fba2fd0 Add line size formatting and comma separation 2020-01-15 00:14:43 +00:00
n1073645 0f0674daf6 More extractors added. 2020-01-09 09:57:12 +00:00
n1073645 d9b7fe2bb9 ExtractWAV fixed 2020-01-06 12:32:14 +00:00
n1474335 23a228bbd9 Tidied up Normalise Unicode operation 2019-12-20 16:05:24 +00:00
n1474335 598813ff88 Merge branch 'normalise-unicode' of https://github.com/matthieuxyz/CyberChef into matthieuxyz-normalise-unicode 2019-12-20 15:56:59 +00:00
n1474335 93c0c7cc10 Merge branch 'master' of https://github.com/bartblaze/CyberChef into bartblaze-master 2019-12-20 15:45:31 +00:00
n1073645 78d1114869 Merge remote-tracking branch 'upstream/master' into dish-fix 2019-12-20 15:22:31 +00:00
n1474335 b8afbf7458 Tidied up ICO extractor 2019-12-20 15:04:27 +00:00
n1474335 be59efbd6b Merge branch 'ICOextractor' of https://github.com/n1073645/CyberChef into n1073645-ICOextractor 2019-12-20 15:03:05 +00:00
n1474335 9112bd4936 Tidied up OLE2 extractor 2019-12-20 15:00:10 +00:00
n1474335 3e513efd59 Merge branch 'OLE2' of https://github.com/n1073645/CyberChef into n1073645-OLE2 2019-12-20 14:47:50 +00:00
n1073645 86db43e6dd Fixed the magic bug where it wouldnt recommended operations that resulted in lists of files 2019-12-13 16:09:02 +00:00
Bart c06502cd76
Improve RTF detection
Certain RTF files may attempt to thwart detection by having a malformed RTF header, such as **{\rt000**. Removing 0x66 will result in detecting these malformed yet valid RTFs as well.

Additional reading:
https://www.decalage.info/rtf_tricks#Trick_1:_Incomplete_RTF_Header
2019-12-11 22:58:33 +01:00
VirtualColossus ccdd2af8be Added tests, removed debug 2019-12-04 22:43:22 +00:00
VirtualColossus a387db6109 Merge branch 'master' of https://github.com/VirtualColossus/CyberChef 2019-12-04 14:29:41 +00:00
VirtualColossus b88a35cd14 Added P5 limitation 2019-12-04 14:28:53 +00:00
VirtualColossus bcafaebf77 Merge remote-tracking branch 'upstream/master' 2019-12-04 14:28:05 +00:00
VirtualColossus c32fec6b53 Various fixes for conditional calcs 2019-11-30 10:25:24 +00:00
VirtualColossus 4c0d944992 Merge remote-tracking branch 'upstream/master' 2019-11-29 20:36:06 +00:00
VirtualColossus 57ee3f305d Fixed issue in counter 2019-11-28 13:56:02 +00:00
VirtualColossus 61ab9a904f Added argument validation 2019-11-28 13:22:51 +00:00
VirtualColossus 820bd2f867 Added Total Motor, fixed bug in printout 2019-11-27 13:38:28 +00:00
n1474335 2750284eea Improved comment in Tar extractor 2019-11-27 12:56:10 +00:00
n1474335 5366f1a2eb Merge branch 'master' of https://github.com/n1073645/CyberChef into n1073645-master 2019-11-27 12:52:25 +00:00
VirtualColossus dfc8f517f2 Added Colossus operation 2019-11-27 12:48:09 +00:00
Matthieu a6fa0628f2 Add operation to normalise unicode 2019-11-25 22:59:14 +01:00
n1073645 09e93b4639 Added ICO extractor 2019-11-25 11:26:31 +00:00
fjh1997 d16bbe1e7e
Fixed typo in IPV6 alphabet
According to python3 base64.b85decode module https://github.com/python/cpython/blob/3.8/Lib/base64.py
2019-11-24 22:03:37 +08:00
n1073645 725b0d42f8 Comments to OLE2 extractor 2019-11-21 11:34:11 +00:00
n1073645 071c1bdea6 Comments for OLE2 extractor. 2019-11-21 11:29:45 +00:00