mirror of
https://github.com/gchq/CyberChef
synced 2025-12-15 07:43:22 +00:00
Improved continueUntil, added consumeWhile and made the EVTX extractor more complete
This commit is contained in:
@@ -189,7 +189,7 @@ export default class Stream {
|
|||||||
found = true;
|
found = true;
|
||||||
|
|
||||||
// Loop through the elements comparing them to val.
|
// Loop through the elements comparing them to val.
|
||||||
for (let x = length-1; x != -1; x--) {
|
for (let x = length-1; x !== -1; x--) {
|
||||||
if (this.bytes[(this.position-length) + x] !== val[x]) {
|
if (this.bytes[(this.position-length) + x] !== val[x]) {
|
||||||
found = false;
|
found = false;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user