O
orvtech
Guest
Friends,
I am building a simple version of what Vince did with his arduino on http://www.alfersoft.com.ar/blog/2011/11/14/brute-force-attack-a-bios-with-arduino/ but using the Teensy 3.
I decided to start small and limited to a only 4 digit numeric password with a wait over 5 seconds between attempts. Here is the code I am using:
As you can see from this video it works great over a text editor:
The problem is that when I try against my bios password It seems to just send one or tow characters and never sends the enter which I though it would be sent with the 'println'.
Any suggestion?
I am building a simple version of what Vince did with his arduino on http://www.alfersoft.com.ar/blog/2011/11/14/brute-force-attack-a-bios-with-arduino/ but using the Teensy 3.
I decided to start small and limited to a only 4 digit numeric password with a wait over 5 seconds between attempts. Here is the code I am using:
Code:
const int ledPin = 13; // choose the pin for the LED
int counter = 0;
int fakecounter = counter;
char pin[]="xxxx";
void setup() {
pinMode(ledPin, OUTPUT); // declare LED as output
delay(10000);
// Serial.begin(9600);
}
void loop(){
if (counter <= 9999){
digitalWrite(ledPin, LOW);
delay(5500);
digitalWrite(ledPin, HIGH);
delay( 500);
sprintf(pin, "%04d", fakecounter);
//Serial.print(pin);
Keyboard.print(pin[0]);
delay(300);
Keyboard.print(pin[1]);
delay(300);
Keyboard.print(pin[2]);
delay(300);
Keyboard.println(pin[3]);
}
//reached 4 digit PIN max value
if (counter > 9999){
for (int blinkies = 0; blinkies < 8; blinkies++) {
digitalWrite(ledPin, HIGH);
delay(20);
digitalWrite(ledPin, LOW);
delay(200);
}
delay(6000);
}
++counter;
fakecounter = counter;
}
As you can see from this video it works great over a text editor:
The problem is that when I try against my bios password It seems to just send one or tow characters and never sends the enter which I though it would be sent with the 'println'.
Any suggestion?