Mar 20, 2017 01:06 PM
(This post was last modified: Mar 20, 2017 01:07 PM by Skidy.)
So my digispark automatiaclly types this out:
But it seems to all of a sudden remove the '/' and clear it at the \E ? Then just makes it TCHOSTS? I feel like the '/' sybmol is messing it up.
The code:
Code
DigiKeyboard.print("ECHO 127.0.0.1 TEST.COM >> 'C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS");But it seems to all of a sudden remove the '/' and clear it at the \E ? Then just makes it TCHOSTS? I feel like the '/' sybmol is messing it up.
The code:
Code
DigiKeyboard.sendKeyStroke(0);
DigiKeyboard.sendKeyStroke(0, MOD_GUI_LEFT);
DigiKeyboard.delay(1000);
DigiKeyboard.print("cmd");
DigiKeyboard.delay(1000);
DigiKeyboard.sendKeyStroke(KEY_ENTER, MOD_CONTROL_LEFT | MOD_SHIFT_LEFT);
DigiKeyboard.delay(1000);
DigiKeyboard.sendKeyStroke(KEY_ARROW_LEFT);
DigiKeyboard.sendKeyStroke(KEY_ENTER);
DigiKeyboard.delay(1000);
DigiKeyboard.print("ECHO 127.0.0.1 TEST.COM >> 'C:\WINDOWS\SYSTEM32\DRIVERS\ETC\HOSTS");
DigiKeyboard.sendKeyStroke(KEY_ENTER);
