gchq/CyberChef
在 GitHub 查看bug(From BCD): Uncaught TypeError can'nt access property indexOf, n is undefined
Open
#2,489 创建于 2026年6月4日
bughelp wanted
仓库指标
- Star
- (34,843 star)
- PR 合并指标
- (平均合并 53天 1小时) (30 天内合并 68 个 PR)
描述
To reproduce that use a direct url https://gchq.github.io/CyberChef/#recipe=From_BCD('',true,false,'Nibbles')&input=MTAwMA&oeol=VT, then as you can see
From BCD - TypeError in blob:https://gchq.github.io/7f68ce91-b78c-4bad-92a1-2f639f10c891 on line 2.<br><br>Message: can't access property "indexOf", n is undefined
the issue is simple issue the first parameter not checked is empty or not, that persists, because after that a code try to use indexOf in n, and simply n is undefined, will throw an error