資源簡介
Arduino-malduino-password-grabber.zip,Arduino Sketch為Malduino Bad USB(Lite)編程,下載密碼抓取器并通過電子郵件發送結果Malduino Password Grabber,Arduino是一家開源軟硬件公司和制造商社區。Arduino始于21世紀初,深受電子制造商的歡迎,Arduino通過開源系統提供了很多靈活性。

代碼片段和文件信息
#define?ADD_ALTGR
/*
??Keyboard.cpp
??Copyright?(c)?2015?Arduino?LLC
??Original?code?(pre-library):?Copyright?(c)?2011?Peter?Barrett
??This?library?is?free?software;?you?can?redistribute?it?and/or
??modify?it?under?the?terms?of?the?GNU?Lesser?General?Public
??License?as?published?by?the?Free?Software?Foundation;?either
??version?2.1?of?the?License?or?(at?your?option)?any?later?version.
??This?library?is?distributed?in?the?hope?that?it?will?be?useful
??but?WITHOUT?ANY?WARRANTY;?without?even?the?implied?warranty?of
??MERCHANTABILITY?or?FITNESS?FOR?A?PARTICULAR?PURPOSE.??See?the?GNU
??Lesser?General?Public?License?for?more?details.
??You?should?have?received?a?copy?of?the?GNU?Lesser?General?Public
??License?along?with?this?library;?if?not?write?to?the?Free?Software
??Foundation?Inc.?51?Franklin?St?Fifth?Floor?Boston?MA??02110-1301??USA
*/
#include?“Keyboard.h“
#if?defined(_USING_HID)
//================================================================================
//================================================================================
// Keyboard
static?const?uint8_t?_hidReportDescriptor[]?PROGMEM?=?{
??//??Keyboard
????0x05?0x01????????????????????//?USAGE_PAGE?(Generic?Desktop)??//?47
????0x09?0x06????????????????????//?USAGE?(Keyboard)
????0xa1?0x01????????????????????//?COLLECTION?(Application)
????0x85?0x02????????????????????//???REPORT_ID?(2)
????0x05?0x07????????????????????//???USAGE_PAGE?(Keyboard)
???
??0x19?0xe0????????????????????//???USAGE_MINIMUM?(Keyboard?LeftControl)
????0x29?0xe7????????????????????//???USAGE_MAXIMUM?(Keyboard?Right?GUI)
????0x15?0x00????????????????????//???LOGICAL_MINIMUM?(0)
????0x25?0x01????????????????????//???LOGICAL_MAXIMUM?(1)
????0x75?0x01????????????????????//???REPORT_SIZE?(1)
????
??0x95?0x08????????????????????//???REPORT_COUNT?(8)
????0x81?0x02????????????????????//???INPUT?(DataVarAbs)
????0x95?0x01????????????????????//???REPORT_COUNT?(1)
????0x75?0x08????????????????????//???REPORT_SIZE?(8)
????0x81?0x03????????????????????//???INPUT?(CnstVarAbs)
????
??0x95?0x06????????????????????//???REPORT_COUNT?(6)
????0x75?0x08????????????????????//???REPORT_SIZE?(8)
????0x15?0x00????????????????????//???LOGICAL_MINIMUM?(0)
????0x25?0x65????????????????????//???LOGICAL_MAXIMUM?(101)
????0x05?0x07????????????????????//???USAGE_PAGE?(Keyboard)
????
??0x19?0x00????????????????????//???USAGE_MINIMUM?(Reserved?(no?event?indicated))
????0x29?0x65????????????????????//???USAGE_MAXIMUM?(Keyboard?Application)
????0x81?0x00????????????????????//???INPUT?(DataAryAbs)
????0xc0??????????????????????????//?END_COLLECTION
};
Keyboard_::Keyboard_(void)?
{
static?HIDSubDescriptor?node(_hidReportDescriptor?sizeof(_hidReportDescriptor));
HID().AppendDescriptor(&node);
}
void?Keyboard_::begin(void)
{
}
void?Keyboard_::end(void)
{
}
void?Keyboard_::sendReport(KeyReport*?keys)
{
HID().SendReport(2keyssizeof(KeyReport));
}
extern
const?u
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-07-14?01:24??malduino-password-grabber-master\
?????文件?????????430??2017-07-14?01:24??malduino-password-grabber-master\.gitignore
?????文件???????11357??2017-07-14?01:24??malduino-password-grabber-master\LICENSE
?????文件????????1882??2017-07-14?01:24??malduino-password-grabber-master\README.md
?????目錄???????????0??2017-07-14?01:24??malduino-password-grabber-master\lite\
?????文件????????9800??2017-07-14?01:24??malduino-password-grabber-master\lite\Keyboard.cpp
?????文件????????2638??2017-07-14?01:24??malduino-password-grabber-master\lite\Keyboard.h
?????文件????????2120??2017-07-14?01:24??malduino-password-grabber-master\lite\Params.h
?????文件????????5422??2017-07-14?01:24??malduino-password-grabber-master\lite\lite.ino
?????文件????????1795??2017-07-14?01:24??malduino-password-grabber-master\rubber_ducky_sc
評論
共有 條評論