Cov txheej txheem:

ARDUINO UNO RFID WINDOWS 10 UNLOCK: 5 Kauj Ruam
ARDUINO UNO RFID WINDOWS 10 UNLOCK: 5 Kauj Ruam

Video: ARDUINO UNO RFID WINDOWS 10 UNLOCK: 5 Kauj Ruam

Video: ARDUINO UNO RFID WINDOWS 10 UNLOCK: 5 Kauj Ruam
Video: Kiosk mode Bruteforce Evasion with Flipper Zero 2024, Hlis ntuj nqeg
Anonim
Image
Image

Xauv lub Windows 10 hla lossis tus pin tiv thaiv nrog kev pab ntawm arduino thiab daim npav RFID.

Lub tswv yim puag ncig qhov haujlwm DIY no yooj yim. Peb xav tau HID cov cuab yeej muaj peev xwm, daim npav RFID thiab nyeem ntawv. Thaum lub arduino nyeem daim npav RFID, thiab tus lej zoo ib yam nrog qhov peb nkag mus, nws nias qhov ua ke ntawm cov yuam sij (tus password) thiab tom qab ntawd nias nkag mus.

Khoom siv

UNO R3 ATMEGA328P

RFID RC522

40PC 10CM DUPONT MALE YUAV TSUM MUAJ JUMPER

Kauj ruam 1: SOFTWARE

ARDUINO IDE

Qhib 3.4.7

RFID_MODIFY_CODE. INO

USB KEYBOARD MASTER

Kauj ruam 2: Txoj Cai

Upload cov cai

Cov lej qhab nia mus rau AKASH124

#suav nrog #suav nrog #define SS_PIN 10 #define RST_PIN 9 MFRC522 mfrc522 (SS_PIN, RST_PIN); // Tsim qhov piv txwv MFRC522.

uint8_t buf [8] = {0}; / * Cov keyboard qhia tsis tau */

int cardCount = 0; teeb tsa tsis muaj dab tsi () {Serial.begin (9600); randomSeed (analogRead (0)); ncua (200); SPI.begin (); // Pib SPI npav mfrc522. PCD_Init (); // Pib MFRC522

} void loop () {// Nrhiav daim npav tshiab yog (! mfrc522. PICC_IsNewCardPresent ()) {rov qab; } // Xaiv ib daim npav yog (! Mfrc522. PICC_ReadCardSerial ()) {rov qab; } // Qhia UID ntawm kab ntawv saib kab ntawv Cov ntsiab lus = ""; byte tsab ntawv; rau (byte i = 0; i <mfrc522.uid.size; i ++) {content.concat (String (mfrc522.uid.uidByte <0x10? "0": "")); content.concat (Txoj hlua (mfrc522.uid.uidByte , HEX)); } cov ntsiab lus.toUpperCase (); yog (content.substring (1) == "10 4B 58 7E", "30 F1 CA 80") // hloov ntawm no UID ntawm daim npav/daim npav uas koj xav muab nkag {ncua (50);

ncua (100);

buf [0] = 0; buf [2] = 0x26; // tsab ntawv 9 Serial.write (buf, 8); releaseKey ();

ncua (200);

buf [0] = 0; buf [2] = 0x28; // tsab ntawv Sau Serial.write (buf, 8); releaseKey ();

ncua (900);

cardCount ++; } lwm {xa rov qab; }

yog (cardCount = 1) {ncua (50);

buf [0] = 0; // Yeej buf [2] = 0x28; // tsab ntawv nkag mus Serial.write (buf, 8); releaseKey ();

ncua (50);

buf [0] = 0; buf [2] = 0x52; ib. // tsab ntawv Up Serial.write (buf, 8); releaseKey ();

ncua (50);

buf [0] = 0; buf [2] = 0x52; ib. // tsab ntawv Up Serial.write (buf, 8); releaseKey ();

ncua (50);

buf [0] = 0; buf [2] = 0x28; // tsab ntawv Sau Serial.write (buf, 8); releaseKey ();

ncua (50);

buf [0] = 0; buf [2] = 0x28; // tsab ntawv Sau Serial.write (buf, 8); releaseKey ();

cardCount--; }}

void releaseKey () {buf [0] = 0; buf [2] = 0; Serial.write (buf, 8); // Tso qhov tseem ceeb}

Kauj Ruam 3: (Paub meej)

Hloov ib feem ntawm cov cai rau cov yuam sij koj xav kom raug nias.

theej thiab paste cov cai ntau zaus uas koj xav tau. khij daim duab qhia chaw ntawm tus lej cosponsoring rau txhua tus yuam sij. koj tuaj yeem pom nws ntawm no.

buf [0] = 0; buf [2] = 0x26; // tsab ntawv 9 Serial.write (buf, 8); releaseKey ();

ncua (200);

Hloov tus lej rau tus lej ntawm daim npav, lub nplhaib lossis yam koj xav siv

content.toUpperCase (); yog (content.substring (1) == "10 4B 58 7E", "30 F1 CA 80") // hloov ntawm no UID ntawm daim npav/daim npav uas koj xav muab nkag mus {ncua (50);

Kauj ruam 4: Covert Serial rau Keyboard

Txuas 2 tus pin raws li pom hauv daim duab rau 1 vib nas this

Tua Hluav Taws 3.4.7File -> qhib USBKeyboard -master / firmware / Arduino -keyboard -0.3.hexDevice -> xaiv -> Atmega16u2 (lossis koj lub nti) Chaw -> kev sib txuas lus -> usbRun

Kauj ruam 5: Ua tiav

Rov pib dua thiab sim

Tshem tawm thiab ntsaws Arduino usbTest rau txt cov ntaub ntawv lossis xauv lub pc (yeej qhov tseem ceeb + l) Txaus siab rau

Koj tuaj yeem pom qhov project NTAWM NO

Pom zoo: