mirror of
https://github.com/gchq/CyberChef
synced 2026-01-04 09:33:21 +00:00
Expose Dish (SyncDish) in API and make it composable.
This commit is contained in:
@@ -791,7 +791,7 @@ jmPGsv1elXxVzqs58UZLD2c3vBhGkU2BV6kRKh+lj/EcVrzsFhGCz/7DKxPoDHLS
|
||||
|
||||
it("Scan for embedded files", () => {
|
||||
const result = chef.scanForEmbeddedFiles(fs.readFileSync("src/web/static/images/cook_male-32x32.png"));
|
||||
const expected = "Scanning data for \'magic bytes\' which may indicate embedded files.";
|
||||
const expected = "Scanning data for 'magic bytes' which may indicate embedded files.";
|
||||
assert.ok(result.toString().indexOf(expected) === 0);
|
||||
}),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user