SilkyFalcon

Generation

translateMon, 12 Dec 2022

Check if tor is running windows

function checkTorWindows() { var torProcess = new ActiveXObject("Wscript.Shell"); torProcess.Run("tasklist /fi \"IMAGENAME eq tor.exe\"", 0, true); if (torProcess.StdOut.ReadAll().includes("tor.exe")) { return true; } return false; }

Javascript
Generate More

Questions about programming?Chat with your personal AI assistant