Commit Graph

227 Commits

Author SHA1 Message Date
Klaxon
e638fb69b5 fix comment 2018-10-11 20:52:12 +10:00
Klaxon
718a94b5e0 add tests for internationalized email addresses 2018-10-11 20:42:16 +10:00
n1474335
e6b89d571e Tidied up TLV operation and tests 2018-10-10 13:56:20 +00:00
d98762625
25e0585742 Improve use of files as input. Add dish to repl 2018-10-05 18:06:15 +01:00
Klaxon
ab4c9ef0d6
fix comment 2018-10-02 15:12:51 +10:00
Klaxon
a69063de9b add tests 2018-10-02 13:51:55 +10:00
d98762625
749a587eb2 fix tests after merge; remove detectFileType as it behaves erratically 2018-09-04 09:55:41 +01:00
d98762625
5047619e54 Merge branch 'master' of github.com:gchq/CyberChef into node-lib 2018-09-04 09:42:05 +01:00
d98762625
63a23e4dcc make chef.help emulate search function in UI. Didnt extract search logic from web as it is fairly entwined. 2018-09-04 09:34:55 +01:00
n1474335
a15af602e0 Merge branch 'tlv' of https://github.com/GCHQ77703/CyberChef into GCHQ77703-tlv 2018-08-31 15:12:54 +00:00
d98762625
b36e3adf7c add assertions for chef.bake leniancy on op names 2018-08-31 15:03:53 +01:00
n1474335
be14d56eae Tidied up JWT operations 2018-08-31 13:58:06 +00:00
d98762625
96d5930f05 Throw ExcludedOperationError when excluded operation is called from API 2018-08-31 14:43:14 +01:00
d98762625
7c9ebafd00 toggleString args now additionally accept just input value, taking first option as default. 2018-08-31 13:45:12 +01:00
n1474335
100b097ace Merge branch 'jwt' of https://github.com/GCHQ77703/CyberChef into GCHQ77703-jwt 2018-08-31 12:20:37 +00:00
GCHQ 77703
3833c5f9fe Rename operation, add working tests, add info URL 2018-08-31 13:20:28 +01:00
d98762625
f6c4b5073c Expose Dish (SyncDish) in API and make it composable. 2018-08-31 13:09:22 +01:00
d98762625
55f7cac526 Remove Buffer from Dish. Convert into ByteArray in api and then pass in as ArrayBuffer. Add some PNG files to tests 2018-08-31 13:08:55 +01:00
GCHQ 77703
a95f43aa4d Implement tests, fix options argument 2018-08-29 22:43:10 +01:00
n1474335
0d63b3cbae JSON output is now indented by default. Closes #350. 2018-08-29 19:05:58 +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
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
GCHQ 77703
3abe99078e Fix linting 2018-08-27 16:03:15 +01:00
GCHQ 77703
edbd540c68 Add Dysfunctional Test 2018-08-27 15:42:07 +01:00
GCHQ 77703
001f3f30cd Remove multi-line operations 2018-08-26 18:06:02 +01:00
GCHQ 77703
69a0122fea Fix "From Geohash" test 2018-08-26 17:20:50 +01:00
GCHQ 77703
3d505b4248 Add ToGeohash and FromGeohash operations 2018-08-26 14:27:15 +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
Matt C
36e16d9925 Fixed linting issues 2018-08-20 19:14:19 +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
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
d98762625
1f771a9e01 fix scan embedded files, bson. Only RemoveExif remains 2018-08-17 17:36:15 +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
f1c31ea966 Added some tests for the Translate DateTime Format operation 2018-08-16 03:28:11 +01:00
d98762625
8675d1a666 add more tests 2018-08-15 17:54:26 +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
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
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
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
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
d98762625
e04f66f599 export help function on chef object 2018-06-19 17:10:04 +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
d98762625
ffb65d8ea1 add more wrapper tests for node api 2018-06-18 10:52:45 +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
d98762625
33f2c89716 update tests to reflect new API behaviour 2018-06-06 17:29:30 +01:00
d98762625
9d5e533e32 Merge branch 'esm' of github.com:gchq/CyberChef into top-export 2018-05-30 08:52:27 +01:00
n1474335
6a4bc3c9df ESM: Fixed PGP ops and added tests 2018-05-29 16:00:24 +00:00
d98762625
b45fc630ae Merge branch 'esm' of github.com:gchq/CyberChef into top-export 2018-05-29 08:58:20 +01:00
n1474335
3f3a3e0016 ESM: Tidied up recently added operations 2018-05-28 15:42:43 -07: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
d98762625
0977e82170 Merge branch 'esm' into node-lib 2018-05-24 16:12:26 +01: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
d98762625
bfb405c4a6 Add Jump 2018-05-18 12:50:23 +01:00
d98762625
bca73b496f add Merge (without Fork). Add flowcontrol setter to Operation 2018-05-18 12:38:37 +01:00
n1474335
1dddcb4345 ESM: Ported various tests for completed operations 2018-05-17 15:34:00 +00:00
n1474335
3fd1f4e6d9 ESM: Ported all Hash and Checksum operations 2018-05-17 15:11:34 +00:00
Matt C
4008dbf38a Merge remote-tracking branch 'upstream/esm' into esmconversion
Also removed substitute operation from legacy module
2018-05-14 18:09:21 +01:00
n1474335
a98d37e61c Merged master into esm branch 2018-05-14 11:58:01 +00:00
d98762625
0a0316a000 Make optional args in operation call use named properties rather than array 2018-05-11 19:25:14 +01:00
Matt C
2d6a56343b Converted substitute operation, added tests & moved to OperationError 2018-05-11 16:32:19 +01:00
d98762625
615cb561e4 add some chef.translateTo tests 2018-05-11 11:58:09 +01:00
d98762625
c96a1df8e1 add namespaces to docas 2018-05-11 11:09:04 +01:00
Matt C
6bec68021c Converted Vignere, added more tests and cleaned stuff up 2018-05-09 21:13:09 +01:00
Matt C
789ec94eff Converted Bifid & moved over tests 2018-05-09 20:28:28 +01:00
Matt C
f87666f659 Converted Affine/Atbash operations to mjs & added tests 2018-05-09 20:18:33 +01:00
d98762625
5efc3f15f2 linting 2018-05-03 13:58:15 +01:00
d98762625
5fb50a1759 OperationErrors now bubble up to the top of the API.
Added test functionality for node api
refactor TestRegister into class
2018-05-03 13:53:40 +01:00
n1474335
f81012ef6e CRC Checksum operations now send their input as ArrayBuffers. Tests added. Fixes #293 2018-04-29 21:44:54 +01:00
n1474335
e99331f305 ESM: Tidied up Set operations 2018-04-11 17:29:02 +00:00
d98762625
76f27dbcdb pull from upstream 2018-04-09 11:23:18 +01:00
d98762625
adc4f78e99 Add other set operations 2018-04-09 11:13:23 +01:00
d98762625
852c95a994 add Set Difference operation 2018-04-09 10:23:05 +01:00
d98762625
03ecaa81f7 move Set Intersection into its own operation class 2018-04-06 16:52:59 +01:00
d98762625
5f93c667a2 Pull SetUnion into its own operation 2018-04-06 16:27:24 +01:00
n1474335
fad4713a90 ESM: Tidied up Rotate operations 2018-04-06 12:40:39 +00:00
d98762625
7ce1bf1048 merge esm 2018-04-04 16:00:37 +01:00
Matt C
af51090ebb Added rotate ESM tests 2018-04-03 23:29:47 +01:00
n1474335
9b4fc3d3aa Converted the core to ES modules 2018-03-26 23:14:23 +01:00
n1474335
715ca1c292 Added Bcrypt, Scrypt, BSON and string operations along with many new tests. 2018-03-26 22:25:36 +01:00