CedArctic / DigiSpark-Scripts

USB Rubber Ducky type scripts written for the DigiSpark.
MIT License
1.9k stars 604 forks source link

DNS_Poisoner.ino Does not Work. #83

Open Keyvantajfar opened 10 months ago

Keyvantajfar commented 10 months ago

DNS_Poisoner.ino Does not Work on my windows 10 machine. it opens the administrator privilege asking menu and since that nothing happens and my hosts file doesnt get changed. i'll be glad to let me fix it after you confirm this issue exists.

Keyvantajfar commented 9 months ago

cause it`s trying to send keystroke to open "cmd" as an admin , and to be able to changes the host file , you should have an administrator privilege , DigiKeyboard.sendKeyStroke(0); //This opens an administrator command prompt <<<<<<<<<<<<<<< DigiKeyboard.sendKeyStroke(KEY_X, MOD_GUI_LEFT);

therefore you could try any privilege escalation vulnerabilities , or use a hardware keylogger , to get admin password , to be able to break into admin user on the pc , or use the linux boot , or even try another way , for example in verci-spy-system , use disable UAC , to disable UAC Open "CMD" as Administrator then type the command below

"C:\Windows\System32\cmd.exe /k %windir%\System32\reg.exe ADD HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System /v EnableLUA /t REG_DWORD /d 0 /f"

Thanks for your response. You did not get what i said at all.