Cov txheej txheem:
Video: Generic Hloov Hijacker: 3 Cov Kauj Ruam
2024 Tus sau: John Day | [email protected]. Kawg hloov kho: 2024-01-30 09:30
Kab lus no piav qhia yuav tsim lub xeev cov khoom siv microcontroller zoo li cas uas tswj lub cev hloov pauv. Nws yog qhov pheej yig heev kom ua (4 $ lossis yog li), piv txwv tias koj muaj tus tswj hwm microcontroller programmer. Lub Circuit Court nws tus kheej yog qhov tsis tseem ceeb.
Txoj haujlwm no yooj yim heev, thiab tsis muaj cov txuj ci tshiab zoo nkauj. Nws yuav ua haujlwm zoo thawj qhov microcontroller project. Lub rooj sib tham qhov chaws yuav muab rau koj hauv kab lus no. Kuv muaj tus thawj coj txias heev ntawm haujlwm. Qee lub sij hawm, peb nyiam ua qhov tso dag tso dag ntawm ib leeg. Hmoov tsis zoo rau nws, Kuv yog tus kws tshawb fawb. Kuv lub hom phiaj ntawm no yog ua kom ntau yam khoom siv hauv chaw ua haujlwm tig mus rau qhov tsis paub meej rau lub sijhawm luv. Cov xov tooj cua, lub tshuab luam ntawv nrov nrov, txawm tias cov ntawv ua suab paj nruag hnub yug tsis zoo nyob hauv qee yam khoom siv ib txwm muaj. Tshaj thiab siab dua qhov ntawd, txoj haujlwm yog piv txwv ntawm qhov koj tswj hwm cov khoom hnyav nrog AVR ntau npaum li cas cov pins tuaj yeem cuam tshuam nrog lawv tus kheej. Qhov no yog ntau yam ntawm ntau yam, txij li cov pins tso tawm tsuas yog muab rau koj me me voltage, thiab txwv tam sim no. Lub voj voog no tuaj yeem nthuav dav nrog kev xa rov qab los tswj qee qhov hnyav heev.
Kauj Ruam 1: Tsim thiab Circuit
Rau txoj haujlwm no, koj tuaj yeem siv yuav luag txhua lub microcontroller, 5v tus tswj hluav taws xob, thiab NPN transistor. Kuv siv:
1x ATtiny26L-8PU (~ 2 $) 1x TL780 5v tus tswj hluav taws xob (~ 0.7 $) 1x N2222 transistor (~ 0.07 $) 1x roj teeb 1x9v, lossis 12v chaw taws teeb tswj roj teeb kom txuag chaw … thiab tau kawg kuv ntseeg STK500, tam sim no nrog ZIF nyob qhov twg ntxiv! Kev tsim qauv yooj yim yog qhov no: Lub microcontroller mus dhau ob lub sijhawm ua haujlwm. Lub voj ntev rau kev txiav txim siab thaum twg yuav tsum qhib lub cuab yeej, thiab lub voj luv luv los txiav txim siab tias yuav ua kom lub cuab yeej ntev li cas. Thaum nws txog sijhawm los ua teeb meem, lub microcontroller xa lub logic siab tawm tus pin 14 (Tsawg Qhov Tseem Ceeb Me Me ntawm PORTA). Qhov no tua hluav taws xob. Yog tias koj tau txuas cov clamps rau cov coj ntawm qhov hloov pauv, nws ua rau qhov kev tiv thaiv hla qhov hloov pauv kom poob qis los ntawm qhov siab heev kom tsawg dua 1 ohm, uas yog txaus rau feem ntau cov cuab yeej los txiav txim siab hloov. Nco ntsoov tias transistors tseem yog diodes, yog li nws tsis ua haujlwm … qhov tsis sib xws ntawm cov clamps tej zaum tsis yog lawm, hloov lawv! Tsis tas li, cov cuab yeej no xav tau lub roj teeb 9v ncaj ncees, hais nrog ntau dua 8v muaj peev xwm sab laug … lwm yam tshaj li nws tsis siv lub zog ntau. Muaj ntau qhov tsis siv tus pin, yog li koj tuaj yeem siv lawv los tswj ntau qhov hloov pauv rau ntau qhov kev kub ntxhov, tab sis qhov no txaus rau kuv lub hom phiaj. Cov kauj ruam tom ntej yog qhov chaws uas kuv tau sau kom ua qhov no mus. Lub sijhawm ntev rau lub xeev "on" thiab "off" yog kwv yees li 10 vib nas this thiab 13 feeb feem. Muaj cov lus hais hauv txoj cai yuav hloov pauv qhov txiaj ntsig no li cas. Thaum kawg, thov zam txim qhov kev siv dav ntawm "nop" ua haujlwm (nws siv CPU lub voj voog ua haujlwm tsis muaj dab tsi) txhawm rau kho lub sijhawm. Nws tsis raug cai txij li nws tuaj yeem ua txhaum rjmp ua haujlwm yog tias koj tsis ceev faj txog pes tsawg tus koj siv!
Kauj ruam 2: Source Code
Pib:
. INCLUDE "tn26def.inc"; Cov ntaub ntawv txhais. Google rau nws yog tias koj xav tau daim ntawv theej. clr r30 clr r29 clr r28 clr r27 ldi r28, 0b00000000 ldi r27, 0b11111111 ldi r26, 0b00000000 clr r25 tawm DDRA, r27 tawm PORTA, r28 TIMER: inc r30 nop nop nop nop nop nop nop nop nop nop nop nop nop cpi r30, 0b11111111 breq TIMER2 rjmp TIMER TIMER2: nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop inc r29 cpi r29, 0b111111 TER nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop inc r25 cpi r25, 0b11111111; Txo tus lej no kom txo "tawm" lub sij hawm breq, 0x00 breq FUNC2 dec r28 clr r30 clr r29 clr r25 out PORTA, r28 rjmp TIMER FUNC2: nop nop inc r28 out PORTA, r28 clr r25 clr r30 clr r29 rjmp TIMER4 TIMER4: inc r30 nop nop nop nop nop nop nop nop nop nop nop nop nop cop r30, 0b11111111 breq TIMER5 rjmp TIMER4 TIMER5: nop nop nop nop nop nop nop nop nop nop nop nop nop nop nop inc r29 cpi r29, 0b11111 111 breq TIMER6 rjmp TIMER4 TIMER6: inc r25 cpi r25, 0b00000011; Ua kom tus lej no nce ntxiv "ntawm" sijhawm breun FUNC rjmp TIMER4
Kauj Ruam 3: Lus Cim Kawg
Muaj kev lom zem, tab sis nco ntsoov tias lub transistor muaj kev txwv raws li lub zog koj tuaj yeem tso los ntawm nws. Qhov ntawd txhais tau tias tsis muaj qhov hluav taws xob loj! Dhau li qhov tseeb tias nws yuav hla lub transistor nrawm heev, cov cuab yeej no yuav tsis tswj cov teeb liab hloov pauv tau zoo … tshwj tsis yog koj siv qhov kev hloov kho tau piav qhia hauv qab no * thiab * ntxiv qhov txuas: Yog txhawj xeeb txog clamp polarity cuam tshuam rau koj, tsuas yog xaim hauv ob lub transistor thib ob nrog lub hauv paus phaj txuas nrog tib qhov chaw zoo li thawj lub transistor, tab sis nrog tus sau thiab emitter hauv qhov kev teeb tsa rov qab. Txoj kev ntawd, tsis muaj teeb meem li cas koj txuas cov clamps, lub logic siab tawm los ntawm lub microcontroller yuav ib txwm "qhib" qhov hloov pauv. Nco ntsoov tias qhov dej xau tam sim no hauv cov kab ke no yuav txaus los qhib qee qhov hloov pauv tau yooj yim xws li cov keyboard matrices, koj yuav xav tau ntxiv cov tshuaj tiv thaiv hauv koob rau daim ntawv thov no. Nco ntsoov tias koj tuaj yeem leech zog los ntawm lub hom phiaj ntaus ntawv tsis siv lub roj teeb. Thaum kawg … Kuv tau teeb tsa lub cuab yeej sab hauv lub tshuab xam lej qub, hom uas muaj cov haujlwm luam tawm. Kuv thim rov qab-tsim kho cov lej sib txuas siv daim ntawv kaw kom txiav txim siab tus IC pins thaum txuas nrog yuav ua rau ntawv pub mis, thiab txuas cov pins kom raug ua ke nrog lub cuab yeej. Tom qab ntawd, kuv xiam qhov kev hloov pauv uas tso cai rau koj tua cov ntawv luam tawm. Kuv xav txog lub tshuab kom raug. Nws tig rau ntawm cov ntawv nrov nrov noj txhua 10 feeb, rau 10 vib nas this, thaum twg lub cuab yeej siv rau.
Pom zoo:
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Ua Si Cov Khoom Ua Si Ua Tau Zoo!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Cov Khoom Siv Hluav Taws Xob Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev -- Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: 4 Cov Kauj Ruam
Tuchless Hloov rau Cov Khoom Siv Hauv Tsev || Tswj Koj Cov Khoom Siv Hauv Tsev Tsis Muaj Tuch Ib qho Hloov: Nov Yog Qhov Tuchless Hloov Rau Cov Khoom Siv Hauv Tsev. Koj Siv Tau Qhov No Mus Rau Txhua Qhov Chaw Hauv Pej Xeem Kom Pab Tau Tawm Tsam Ib Yam Kab Mob. Lub Circuit Court Raws Li Tsaus Sensor Circuit Ua Los Ntawm Op-Amp Thiab LDR. Qhov Tseem Ceeb Thib Ob Ntawm Qhov Circuit Court SR Flip-Flop Nrog Sequencell
Hloov-Hloov Cov Khoom Ua Si: Qes Chaw Taws Teeb Tswj Cov Nab Ua Tau!: 7 Cov Kauj Ruam (nrog Duab)
Hloov-Hloov Cov Khoom Ua Si: Qes Chaw Taws Teeb Tswj Cov Nab Ua Tau Zoo!: Qho khoom ua si hloov pauv qhib txoj hauv kev tshiab thiab kev daws teeb meem kom tso cai rau menyuam yaus uas muaj lub cev muaj peev xwm txwv lossis kev xiam oos qhab kev loj hlob los cuam tshuam nrog cov khoom ua si ntawm nws tus kheej. Hauv ntau qhov xwm txheej, cov menyuam yaus uas xav tau cov khoom ua si hloov pauv tsis tuaj yeem nkag mus
Txhim Kho Cov Hloov Pauv Hloov Rau Hauv Ntse Kov Hloov Nrog Temp Monitoring: 4 Cov Kauj Ruam
Txhim Kho Qhov Hloov Pauv Hloov Mus Rau Ntse Kov Hloov Nrog Lub Sijhawm Saib Xyuas: Kuv paub txhua tus ntawm koj ntsib qhov teeb meem no tsawg kawg ib qho hauv koj lub neej lub rooj hloov pauv tau tawg los ntawm kev siv tas mus li. ntau lub sijhawm yog lub caij nplooj ntoo hlav sab hauv hloov pauv los yog m
Cov Xim Ntau Yam Xim Stencils Nrog Cov Hloov Pauv Hloov: 12 Cov Kauj Ruam (nrog Duab)
Comprehensive Multi Color Stencils With Variable Output: Multilayer xim tiag tiag stenciling tsis yog txhua qhov sai thiab yooj yim. Tseeb, koj tuaj yeem crank ib zaug hauv ib teev, tab sis nws siv sijhawm thiab xyaum ua kom muaj peev xwm rov ua cov txheej txheem thiab paub yuav ua li cas txhawm rau nws rau txhua qhov sib txawv stencil. Hauv cov lus qhia no, Kuv yuav