Fix for unintended backdoor/autolink interaction

Added check for backdoorFlag when calling scan-analyze-link
This commit is contained in:
schroederIT 2021-08-09 20:22:46 -05:00 committed by GitHub
parent 547324a813
commit 5a75581b38
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -1993,7 +1993,7 @@ let Terminal = {
(function() { (function() {
var hostname = links[i].innerHTML.toString(); var hostname = links[i].innerHTML.toString();
links[i].onclick = function() { links[i].onclick = function() {
if (Terminal.analyzeFlag || Terminal.hackFlag) {return;} if (Terminal.analyzeFlag || Terminal.hackFlag || Terminal.backdoorFlag) {return;}
Terminal.connectToServer(hostname); Terminal.connectToServer(hostname);
} }
}());// Immediate invocation }());// Immediate invocation