Commit graph

961 commits

Author SHA1 Message Date
GCHQ 77703
a95f43aa4d Implement tests, fix options argument 2018-08-29 22:43:10 +01:00
n1474335
806b43dfec Merge branch 'patch-1' of https://github.com/Sam-Dowling/CyberChef into Sam-Dowling-patch-1 2018-08-29 19:09:19 +00:00
n1474335
0d63b3cbae JSON output is now indented by default. Closes #350. 2018-08-29 19:05:58 +00:00
n1474335
2d9e7fcc6d Added full stop to operation description 2018-08-29 18:56:50 +00:00
n1474335
56946a66aa Merge branch 'feature/improve-parse-ip-range' of https://github.com/klaxon1/CyberChef into klaxon1-feature/improve-parse-ip-range 2018-08-29 18:48:29 +00:00
n1474335
415beaa0b0 Tidied up Geohash operations 2018-08-29 17:59:48 +00:00
n1474335
e9fe227ed7 Merge branch 'master' of https://github.com/GCHQ77703/CyberChef into GCHQ77703-master 2018-08-29 17:48:23 +00:00
n1474335
7396117d89 Merge branch 'cascadexor-new' of https://github.com/PenguinGeorge/CyberChef into PenguinGeorge-cascadexor-new 2018-08-29 17:31:59 +00:00
Sam Dowling
fd96bf345b
Fixed typo
Fixed typo in operation description.
Wirlpool -> Whirlpool
2018-08-29 17:15:52 +01:00
Klaxon
2820660264 fix regex issues and ESlint errors and warnings
fix comment

fix ESlint errors and warnings

fix regex

add author
2018-08-28 23:07:53 +10:00
Klaxon
86145dbf67 add tests 2018-08-28 23:07:48 +10:00
Klaxon
135b17186e update description 2018-08-28 23:07:40 +10:00
Klaxon
ce494339ef add parse IPv6 list 2018-08-28 23:07:32 +10:00
Klaxon
dd5af7eb10 add parse IPv4 list 2018-08-28 23:07:04 +10:00
GCHQ 77703
06d9302d96 Implement TLV / KLV 2018-08-27 14:57:24 +01:00
GCHQ 77703
032b4bed7f Add Length Value Decoder Operatoin 2018-08-27 01:17:06 +01:00
GCHQ 77703
8559f5c8ea Add JWT Verify, Decode and Sign 2018-08-26 23:16:13 +01:00
GCHQ 77703
91133172d5 Remove subdomain from Wikipedia 2018-08-26 18:51:52 +01:00
GCHQ 77703
001f3f30cd Remove multi-line operations 2018-08-26 18:06:02 +01:00
GCHQ 77703
3d505b4248 Add ToGeohash and FromGeohash operations 2018-08-26 14:27:15 +01:00
George J
70d4e3394c Updated XOR to include Cascade scheme 2018-08-24 22:33:24 +01:00
n1474335
2a49af1ec3 'To Braille' and 'From Braille' operations added. Closes #255 2018-08-24 01:07:51 +01:00
n1474335
61f2f2d2e3 'Show Base64 offsets' operation show supports base64 input. Closes #276 2018-08-24 00:32:52 +01:00
n1474335
383fe50fc9 Support for negative values in 'Drop bytes' and 'Take bytes'. Closes #266 2018-08-23 23:23:00 +01:00
n1474335
032f8808ef Fixed typo in Z85 alphabet 2018-08-23 22:56:18 +01:00
n1474335
8e9fece77d Tidied up Base85 ops 2018-08-23 22:05:31 +01:00
n1474335
c818370123 Merge branch 'ascii85-new' of https://github.com/PenguinGeorge/CyberChef into PenguinGeorge-ascii85-new 2018-08-23 21:46:41 +01:00
n1474335
1ad079fbd4 'Find/Replace', 'Filter' and 'Register' now used XRegExp 2018-08-23 21:41:57 +01:00
George J
2d9e8773f5 Updated Base85 operations for latest CyberChef version 2018-08-22 20:24:32 +01:00
n1474335
d3d230a76d Tweaked MessagePack operations 2018-08-21 19:29:19 +01:00
n1474335
e7c6a05e9f Merge branch 'features/messagepack' of https://github.com/artemisbot/CyberChef into artemisbot-features/messagepack 2018-08-21 19:22:10 +01:00
n1474335
e81c81351d Added more infoLinks and updated newOperation script to include prompt for them. 2018-08-21 19:07:13 +01:00
Matt C
84eaaf4819 Tests now work
Also they'll work in the node API too now
2018-08-20 19:08:01 +01:00
n1474335
757096d97a Added image licencing info 2018-08-20 01:20:02 +01:00
n1474335
2393eac218 Removed src/test.mjs 2018-08-20 00:50:59 +01:00
n1474335
cb34518a89 Recipes with a single backslash argument are now parsed correctly. Fixes #319 2018-08-20 00:26:44 +01:00
Matt C
821dd9c48c Added messagepack tests but they don't work
and i'm too burnt out to figure out why
2018-08-20 00:20:04 +01:00
n1474335
740f3924df Pressing return on a highlighted search result now correctly adds it to the recipe in Firefox. 2018-08-20 00:10:57 +01:00
n1474335
f052ed9b00 Compile message no longer overflows on small screens 2018-08-20 00:04:49 +01:00
n1474335
481a4266b0 Reset progress on statechange events. Fixes #329. 2018-08-19 23:07:53 +01:00
n1474335
5bcdd99870 'Change IP format' operation now uses the correct arguments. Fixes #332 2018-08-19 22:58:31 +01:00
n1474335
affe057cab Added 'Decimal' option for toggleStrings. Closes #337. 2018-08-19 22:50:49 +01:00
d98762625
20bb104006 use utils.inspect.custom Rready for node v12 2018-08-19 22:34:50 +01:00
n1474335
ad2424cfdd Tidied up 'Dechunk HTTP Response' operation 2018-08-19 17:36:40 +01:00
n1474335
8dab0eac58 Removed excess newline 2018-08-19 17:14:07 +01:00
d98762625
223e2e0b73 add Buffer translation to Dish. Cannot work in SyncDish as typeEnums are static. Seeing as they will never be hit in the broswer, shouldnt be an issue 2018-08-17 17:16:24 +01:00
d98762625
fbcb626fd0 add test timer. Remove operations related to esprima 2018-08-16 18:14:02 +01:00
d98762625
8f85e57fc5 fix translatreDateTimeFormat args assignment error 2018-08-16 17:19:23 +01:00
d98762625
7557f43f77 Wrap async ops in an async wrapper 2018-08-16 17:14:28 +01:00
d98762625
a6c0db47ab Finished first run through of tests 2018-08-16 09:58:27 +01:00
Cynser
8b78383732 Newline at end of files 2018-08-16 03:31:09 +01:00
Cynser
1a1fad7433 Fixed DateTime format arguments 2018-08-16 03:01:19 +01:00
d98762625
1f634ed341 add more tests 2018-08-14 17:46:15 +01:00
d98762625
50c916216c adding more tests 2018-08-14 12:03:10 +01:00
d98762625
f100356078 started on full op test suite 2018-08-13 17:57:53 +01:00
d98762625
a2f4e34866 need to inclide src/node/index for module use 2018-08-11 22:22:07 +01:00
d98762625
7c1ac4392e merge 8.0.1 release -> node-lib 2018-08-11 22:15:09 +01:00
n1474335
9b7f4e824a Improvements and basic tests for Magic op and addition of deep cloning for dishes 2018-08-09 19:17:24 +01:00
Matt C
0c06e64051 Added MessagePack operations 2018-08-09 11:09:28 +01:00
n1474335
3e5b3900bc CSS tweak to dropdown toggle height 2018-08-06 07:53:30 +01:00
n1474335
4dc6dac885 Added CHANGELOG.md 2018-08-06 07:35:30 +01:00
n1474335
ff59a9d130 Moved Haversine Distance operation in categories 2018-08-03 21:18:53 +01:00
n1474335
63e0e4eaeb Merge branch 'operation-haversine' of https://github.com/Dachande663/CyberChef into Dachande663-operation-haversine 2018-08-03 21:12:54 +01:00
n1474335
1b2d09c1e5 Merge branch 'esm' into feature-bootstrap4 2018-08-03 20:21:59 +01:00
n1474335
a947e06140 Added option to turn off background auto magic 2018-08-03 20:18:19 +01:00
n1474335
53b92ae8ef Further CSS tweaks 2018-08-03 19:58:44 +01:00
Luke Lanchester
87b77215e4 Added Haversine distance operation
This operation calculates the great circle distance between two GPS co-ordinates, returning the value
2018-08-03 18:20:38 +01:00
n1474335
2a55f1317a Fixed themes for MD 2018-08-02 13:21:02 +01:00
n1474335
c3a353837f Linted 2018-07-27 15:54:49 +00:00
n1474335
035b6dfa95 Added font and icon 2018-07-27 15:52:32 +00:00
n1474335
33b2fd8d69 Improved magic and staleness indicator animations 2018-07-27 15:18:08 +00:00
n1474335
541e4ff8cd Added functionality to Magic button and improved the icon 2018-07-27 13:37:38 +00:00
n1474335
ba5c503c48 Added Magic button and tweaked margins for Windows 2018-07-26 17:47:14 +00:00
d98762625
91eb692d99 Merge branch 'bake' into node-lib 2018-07-20 14:02:21 +01:00
d98762625
9abaadf1b6 Build chef.bake. 2018-07-20 13:55:11 +01:00
n1474335
651ca6cf5d Fixed all HTML operations 2018-07-15 13:25:44 +01:00
n1474335
ab44100312 Changed table-condensed to table-sm 2018-07-13 13:03:13 +00:00
n1474335
a39e2c165d Fixed input and output cards 2018-07-13 12:10:24 +00:00
n1474335
d182261ff3 Switched to unbordered args 2018-07-13 10:30:24 +00:00
n1474335
052c32e2ce Arguments are now bordered white boxes again 2018-07-13 00:03:04 +01:00
d98762625
2480dca473 Make help function use OperationConfig.json file
Tidy up Gruntfile execs
2018-07-06 11:42:56 +01:00
n1474335
f101eefc56 'From Hexdump' now supports an alternative style of Wireshark hexdumps. Test added. 2018-07-06 11:42:56 +01:00
d98762625
fa8736b1a4 Make help function use OperationConfig.json file
Tidy up Gruntfile execs
2018-07-06 11:34:06 +01:00
d98762625
db7b52d84c Merge branch 'node-lib' into help 2018-07-06 09:27:40 +01:00
d98762625
2027b643b1 Merge branch 'esm' of github.com:gchq/CyberChef into node-lib 2018-07-06 09:27:27 +01:00
d98762625
a4d7065e42 add operation input case to chef.search 2018-06-25 17:58:57 +01:00
d98762625
2ff7b5902c fix args transformation for ops with editableOptions 2018-06-25 11:38:05 +01:00
n1474335
dcf3152dee Operation cursor now indicates that it can be dragged 2018-06-20 00:27:40 +01:00
n1474335
4338e2626b Replaced Bootstrap alert with Material Design snackbar 2018-06-20 00:18:59 +01:00
d98762625
e04f66f599 export help function on chef object 2018-06-19 17:10:04 +01:00
d98762625
27ee7f8592 exclude File operations until File API can be mimicked 2018-06-19 09:12:55 +01:00
d98762625
f95f01b895 Add ability to exclude operations from Node API. Exclude flow control ops 2018-06-19 09:08:45 +01:00
n1474335
67dffbec32 Actually fixed flow control operation argument text colour 2018-06-19 01:06:10 +01:00
n1474335
7504f89666 Fixed flow control operation argument text colour 2018-06-19 01:03:55 +01:00
n1474335
ba79144036 Operation arguments are now arranged using CSS Grid 2018-06-19 00:55:08 +01:00
d98762625
471009bc17 remove example and remove cap issues for SyncDish 2018-06-18 13:15:29 +01:00
d98762625
c90f30a7a1 update editableOptions wrapper 2018-06-18 11:17:17 +01:00
n1474335
974ab29e36 Switched toggle string dropdown sides and removed form-control padding 2018-06-17 23:52:00 +01:00
n1474335
fa523e0d4a Changed banner icons to Material Design 2018-06-17 14:09:52 +01:00
n1474335
ab9bc7e390 Fixed boolean arg checkboxes 2018-06-17 13:49:32 +01:00
n1474335
4147ec719b Converted modals to Bootstrap 4 Material Design 2018-06-17 12:44:12 +01:00
d98762625
a5d58071cd WIP: start testing ops with various arg types. AESENCRYPT result encoding error 2018-06-15 11:33:13 +01:00
n1474335
4ca14ed0ce 'From Hexdump' now supports an alternative style of Wireshark hexdumps. Test added. 2018-06-13 13:00:49 +00:00
n1474335
7d410fcdc9 Converted op-icons to material design and improved controls. 2018-06-10 14:55:15 +01:00
n1474335
2bacd6424d Converted operation arguments to material design 2018-06-10 12:03:55 +01:00
n1474335
27b0505ede Merged ESM into feature-bootstrap4 2018-06-09 10:48:35 +01:00
n1474335
1ce6e32086 Merged ESM into feature-bootstrap4. Started work on text inputs. 2018-06-09 10:43:36 +01:00
d98762625
ec00413a4b add example usage file 2018-06-06 17:57:16 +01:00
d98762625
45d2fbc5fc create SyncDish and wrap results in it. 2018-06-06 16:37:12 +01:00
d98762625
58a7f7b739 Merge branch 'esm' of github.com:gchq/CyberChef into node-lib 2018-06-06 08:28:08 +01:00
n1474335
40a1da10e3 Merge branch 'esm' of github.com:gchq/CyberChef into esm 2018-06-03 17:33:39 +01:00
n1474335
1ef4f71d8b ESM: Added BackgroundWorkerWaiter for running Magic on output in the background 2018-06-03 17:33:13 +01:00
n1474335
a0f034b843 ESM: Fixed magic errors 2018-06-01 12:43:36 +00:00
d98762625
dcf6564d0a linting for generated node/index.mjs 2018-05-30 11:35:36 +01:00
d98762625
6db9521419 re-add translateTo call to chef export 2018-05-30 11:29:38 +01:00
d98762625
336810cbf4 amend generateNodeIndex script 2018-05-30 11:12:57 +01:00
d98762625
9d5e533e32 Merge branch 'esm' of github.com:gchq/CyberChef into top-export 2018-05-30 08:52:27 +01:00
n1474335
37c8d1b7ea ESM: Fixed OpModules import to make inline version function correctly 2018-05-29 16:22:04 +00:00
n1474335
6a4bc3c9df ESM: Fixed PGP ops and added tests 2018-05-29 16:00:24 +00:00
n1474335
78c1c4d680 ESM: Added builder script to generate new operations. npm run newop 2018-05-29 14:18:39 +00:00
d98762625
b45fc630ae Merge branch 'esm' of github.com:gchq/CyberChef into top-export 2018-05-29 08:58:20 +01:00
n1474335
60340fc8ae ESM: Removed legacy files 2018-05-29 01:20:44 +01:00
n1474335
7f9a2eeb6b ESM: Tidied up IP operations 2018-05-29 00:48:30 +01:00
n1474335
3f3a3e0016 ESM: Tidied up recently added operations 2018-05-28 15:42:43 -07:00
Matt C
6a561185df ESM: Ported RegEx operations 2018-05-28 00:39:03 +01:00
Matt C
049656ec6b ESM: Ported PublicKey operations 2018-05-27 23:53:43 +01:00
Matt C
709630f39b Ported Image operations + some cleanup 2018-05-27 23:27:11 +01:00
Matt C
eb3a2502f5 Ported rest of Code ops & enabled/fixed some tests 2018-05-27 22:07:09 +01:00
n1474335
6768038a2f ESM: Tidied up recently ported ops 2018-05-27 16:13:18 +01:00
Matt C
905bc6699e ESM: Ported case converters, generic beautifier and syntax highlighting 2018-05-26 18:04:53 +01:00
d98762625
9a471d2a26 remove extra preamble for grunt task. improve index script 2018-05-25 12:20:56 +01:00
d98762625
0a0240e520 WIP: generate top level node exports - manually mock lib files 2018-05-25 11:26:28 +01:00
d98762625
0977e82170 Merge branch 'esm' into node-lib 2018-05-24 16:12:26 +01:00
sevzero
ed84614389 Fixed issues raised by Travis 2018-05-24 13:39:14 +00:00
sevzero
67bd2605c0 Updated variable scope in legacy HTTP.js file 2018-05-24 13:21:50 +00:00
sevzero
83c145c2ac Reduced variable scopes 2018-05-24 13:17:46 +00:00
sevzero
53bf52c989 Added decoder for chunked HTTP encoding
This decoder will join up a HTTP response sent using chunked transfer encoding, raised in issue #168.

This is useful when attempting to extract files or gzipped responses sent using chunked transfer encoding, particularly when combined with the gunzip operation.
2018-05-24 13:09:04 +00:00
Matt C
176e83a79f Converted JS operations
Deleted legacy files, neatened args in other ported ops
2018-05-23 20:36:29 +01:00
Matt C
95f81ad740 Ported Bitwise operations
also enabled bitshift tests
2018-05-23 18:59:57 +01:00
Matt C
9ffab374db Converted PBKDF2 and RC2, enabled tests, deleted legacy Cipher file
Also made DESDecrypt test pass
2018-05-23 18:31:26 +01:00
Matt C
46b8b2fa7e Converted DES and TripleDES ops 2018-05-23 18:23:03 +01:00
Matt C
189e077247 Ported blowfish operations and library to ESM modules 2018-05-23 16:54:12 +01:00
n1474335
c29ea53405 ESM: Ported Punycode, HTTP and PRNG operations 2018-05-21 19:08:24 +00:00
n1474335
0d1e5311dc ESM: Changed thrown errors to OperationErrors 2018-05-21 18:34:52 +00:00
n1474335
cefe3fc542 ESM: Ported Bzip2, Diff and Tar operations 2018-05-21 18:23:05 +00:00
n1474335
749b0510e7 ESM: Ported BSON, ToTable, Filetime and XKCD operations 2018-05-21 17:37:32 +00:00
n1474335
eed28f67d5 ESM: Ported UUID, OTP, Numberwang and PHP operations 2018-05-21 12:35:11 +00:00
n1474335
28b24b725f ESM: Tidied up FlowControl ops 2018-05-21 11:39:10 +00:00
d98762625
10556f528f update comments 2018-05-21 11:12:58 +01:00
d98762625
8ff6596657 add other flowcontrol ops. Update tests 2018-05-21 10:58:35 +01:00