From 7abc466b1617bc58e924a56183f38884a4c0ae69 Mon Sep 17 00:00:00 2001
From: Himadri Bhattacharjee <107522312+lavafroth@users.noreply.github.com>
Date: Thu, 26 Jan 2023 19:10:16 +0530
Subject: [PATCH] Initial commit
---
CODE_OF_CONDUCT.md | 134 ++++
LICENSE | 674 +++++++++++++++++++++
README.md | 11 +
boot.py | 7 +
code.py | 70 +++
ducky.py | 177 ++++++
lib/adafruit_hid/__init__.mpy | Bin 0 -> 423 bytes
lib/adafruit_hid/consumer_control.mpy | Bin 0 -> 659 bytes
lib/adafruit_hid/consumer_control_code.mpy | Bin 0 -> 354 bytes
lib/adafruit_hid/keyboard.mpy | Bin 0 -> 1215 bytes
lib/adafruit_hid/keyboard_layout_base.mpy | Bin 0 -> 1223 bytes
lib/adafruit_hid/keyboard_layout_us.mpy | Bin 0 -> 330 bytes
lib/adafruit_hid/keycode.mpy | Bin 0 -> 1729 bytes
lib/adafruit_hid/mouse.mpy | Bin 0 -> 843 bytes
lib/adafruit_httpserver/__init__.mpy | Bin 0 -> 150 bytes
lib/adafruit_httpserver/headers.mpy | Bin 0 -> 891 bytes
lib/adafruit_httpserver/methods.mpy | Bin 0 -> 190 bytes
lib/adafruit_httpserver/mime_type.mpy | Bin 0 -> 2639 bytes
lib/adafruit_httpserver/request.mpy | Bin 0 -> 1038 bytes
lib/adafruit_httpserver/response.mpy | Bin 0 -> 1896 bytes
lib/adafruit_httpserver/route.mpy | Bin 0 -> 338 bytes
lib/adafruit_httpserver/server.mpy | Bin 0 -> 2199 bytes
lib/adafruit_httpserver/status.mpy | Bin 0 -> 486 bytes
lib/adafruit_ticks.mpy | Bin 0 -> 625 bytes
lib/asyncio/__init__.mpy | Bin 0 -> 440 bytes
lib/asyncio/core.mpy | Bin 0 -> 3447 bytes
lib/asyncio/event.mpy | Bin 0 -> 665 bytes
lib/asyncio/funcs.mpy | Bin 0 -> 703 bytes
lib/asyncio/lock.mpy | Bin 0 -> 603 bytes
lib/asyncio/manifest.mpy | Bin 0 -> 197 bytes
lib/asyncio/stream.mpy | Bin 0 -> 2026 bytes
lib/asyncio/task.mpy | Bin 0 -> 1412 bytes
payloads/boot.py | 1 +
settings.toml | 2 +
static/index.html | 31 +
static/main.css | 125 ++++
static/script.js | 91 +++
37 files changed, 1323 insertions(+)
create mode 100644 CODE_OF_CONDUCT.md
create mode 100644 LICENSE
create mode 100644 README.md
create mode 100644 boot.py
create mode 100644 code.py
create mode 100644 ducky.py
create mode 100644 lib/adafruit_hid/__init__.mpy
create mode 100644 lib/adafruit_hid/consumer_control.mpy
create mode 100644 lib/adafruit_hid/consumer_control_code.mpy
create mode 100644 lib/adafruit_hid/keyboard.mpy
create mode 100644 lib/adafruit_hid/keyboard_layout_base.mpy
create mode 100644 lib/adafruit_hid/keyboard_layout_us.mpy
create mode 100644 lib/adafruit_hid/keycode.mpy
create mode 100644 lib/adafruit_hid/mouse.mpy
create mode 100644 lib/adafruit_httpserver/__init__.mpy
create mode 100644 lib/adafruit_httpserver/headers.mpy
create mode 100644 lib/adafruit_httpserver/methods.mpy
create mode 100644 lib/adafruit_httpserver/mime_type.mpy
create mode 100644 lib/adafruit_httpserver/request.mpy
create mode 100644 lib/adafruit_httpserver/response.mpy
create mode 100644 lib/adafruit_httpserver/route.mpy
create mode 100644 lib/adafruit_httpserver/server.mpy
create mode 100644 lib/adafruit_httpserver/status.mpy
create mode 100644 lib/adafruit_ticks.mpy
create mode 100644 lib/asyncio/__init__.mpy
create mode 100644 lib/asyncio/core.mpy
create mode 100644 lib/asyncio/event.mpy
create mode 100644 lib/asyncio/funcs.mpy
create mode 100644 lib/asyncio/lock.mpy
create mode 100644 lib/asyncio/manifest.mpy
create mode 100644 lib/asyncio/stream.mpy
create mode 100644 lib/asyncio/task.mpy
create mode 100644 payloads/boot.py
create mode 100644 settings.toml
create mode 100644 static/index.html
create mode 100644 static/main.css
create mode 100644 static/script.js
diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md
new file mode 100644
index 0000000..5993f27
--- /dev/null
+++ b/CODE_OF_CONDUCT.md
@@ -0,0 +1,134 @@
+
+# Contributor Covenant Code of Conduct
+
+## Our Pledge
+
+We as members, contributors, and leaders pledge to make participation in our
+community a harassment-free experience for everyone, regardless of age, body
+size, visible or invisible disability, ethnicity, sex characteristics, gender
+identity and expression, level of experience, education, socio-economic status,
+nationality, personal appearance, race, caste, color, religion, or sexual
+identity and orientation.
+
+We pledge to act and interact in ways that contribute to an open, welcoming,
+diverse, inclusive, and healthy community.
+
+## Our Standards
+
+Examples of behavior that contributes to a positive environment for our
+community include:
+
+* Demonstrating empathy and kindness toward other people
+* Being respectful of differing opinions, viewpoints, and experiences
+* Giving and gracefully accepting constructive feedback
+* Accepting responsibility and apologizing to those affected by our mistakes,
+ and learning from the experience
+* Focusing on what is best not just for us as individuals, but for the overall
+ community
+
+Examples of unacceptable behavior include:
+
+* The use of sexualized language or imagery, and sexual attention or advances of
+ any kind
+* Trolling, insulting or derogatory comments, and personal or political attacks
+* Public or private harassment
+* Publishing others' private information, such as a physical or email address,
+ without their explicit permission
+* Other conduct which could reasonably be considered inappropriate in a
+ professional setting
+
+## Enforcement Responsibilities
+
+Community leaders are responsible for clarifying and enforcing our standards of
+acceptable behavior and will take appropriate and fair corrective action in
+response to any behavior that they deem inappropriate, threatening, offensive,
+or harmful.
+
+Community leaders have the right and responsibility to remove, edit, or reject
+comments, commits, code, wiki edits, issues, and other contributions that are
+not aligned to this Code of Conduct, and will communicate reasons for moderation
+decisions when appropriate.
+
+## Scope
+
+This Code of Conduct applies within all community spaces, and also applies when
+an individual is officially representing the community in public spaces.
+Examples of representing our community include using an official e-mail address,
+posting via an official social media account, or acting as an appointed
+representative at an online or offline event.
+
+## Enforcement
+
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
+reported to the community leaders responsible for enforcement at
+[lavafroth@protonmail.com](mailto:lavafroth@protonmail.com).
+All complaints will be reviewed and investigated promptly and fairly.
+
+All community leaders are obligated to respect the privacy and security of the
+reporter of any incident.
+
+## Enforcement Guidelines
+
+Community leaders will follow these Community Impact Guidelines in determining
+the consequences for any action they deem in violation of this Code of Conduct:
+
+### 1. Correction
+
+**Community Impact**: Use of inappropriate language or other behavior deemed
+unprofessional or unwelcome in the community.
+
+**Consequence**: A private, written warning from community leaders, providing
+clarity around the nature of the violation and an explanation of why the
+behavior was inappropriate. A public apology may be requested.
+
+### 2. Warning
+
+**Community Impact**: A violation through a single incident or series of
+actions.
+
+**Consequence**: A warning with consequences for continued behavior. No
+interaction with the people involved, including unsolicited interaction with
+those enforcing the Code of Conduct, for a specified period of time. This
+includes avoiding interactions in community spaces as well as external channels
+like social media. Violating these terms may lead to a temporary or permanent
+ban.
+
+### 3. Temporary Ban
+
+**Community Impact**: A serious violation of community standards, including
+sustained inappropriate behavior.
+
+**Consequence**: A temporary ban from any sort of interaction or public
+communication with the community for a specified period of time. No public or
+private interaction with the people involved, including unsolicited interaction
+with those enforcing the Code of Conduct, is allowed during this period.
+Violating these terms may lead to a permanent ban.
+
+### 4. Permanent Ban
+
+**Community Impact**: Demonstrating a pattern of violation of community
+standards, including sustained inappropriate behavior, harassment of an
+individual, or aggression toward or disparagement of classes of individuals.
+
+**Consequence**: A permanent ban from any sort of public interaction within the
+community.
+
+## Attribution
+
+This Code of Conduct is adapted from the [Contributor Covenant][homepage],
+version 2.1, available at
+[https://www.contributor-covenant.org/version/2/1/code_of_conduct.html][v2.1].
+
+Community Impact Guidelines were inspired by
+[Mozilla's code of conduct enforcement ladder][Mozilla CoC].
+
+For answers to common questions about this code of conduct, see the FAQ at
+[https://www.contributor-covenant.org/faq][FAQ]. Translations are available at
+[https://www.contributor-covenant.org/translations][translations].
+
+[homepage]: https://www.contributor-covenant.org
+[v2.1]: https://www.contributor-covenant.org/version/2/1/code_of_conduct.html
+[Mozilla CoC]: https://github.com/mozilla/diversity
+[FAQ]: https://www.contributor-covenant.org/faq
+[translations]: https://www.contributor-covenant.org/translations
+
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..1840fd9
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,674 @@
+ GNU GENERAL PUBLIC LICENSE
+ Version 3, 29 June 2007
+
+ Copyright (C) 2007 Free Software Foundation, Inc.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+ Preamble
+
+ The GNU General Public License is a free, copyleft license for
+software and other kinds of works.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+the GNU General Public License is intended to guarantee your freedom to
+share and change all versions of a program--to make sure it remains free
+software for all its users. We, the Free Software Foundation, use the
+GNU General Public License for most of our software; it applies also to
+any other work released this way by its authors. You can apply it to
+your programs, too.
+
+ When we speak of free software, we are referring to freedom, not
+price. Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+them if you wish), that you receive source code or can get it if you
+want it, that you can change the software or use pieces of it in new
+free programs, and that you know you can do these things.
+
+ To protect your rights, we need to prevent others from denying you
+these rights or asking you to surrender the rights. Therefore, you have
+certain responsibilities if you distribute copies of the software, or if
+you modify it: responsibilities to respect the freedom of others.
+
+ For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must pass on to the recipients the same
+freedoms that you received. You must make sure that they, too, receive
+or can get the source code. And you must show them these terms so they
+know their rights.
+
+ Developers that use the GNU GPL protect your rights with two steps:
+(1) assert copyright on the software, and (2) offer you this License
+giving you legal permission to copy, distribute and/or modify it.
+
+ For the developers' and authors' protection, the GPL clearly explains
+that there is no warranty for this free software. For both users' and
+authors' sake, the GPL requires that modified versions be marked as
+changed, so that their problems will not be attributed erroneously to
+authors of previous versions.
+
+ Some devices are designed to deny users access to install or run
+modified versions of the software inside them, although the manufacturer
+can do so. This is fundamentally incompatible with the aim of
+protecting users' freedom to change the software. The systematic
+pattern of such abuse occurs in the area of products for individuals to
+use, which is precisely where it is most unacceptable. Therefore, we
+have designed this version of the GPL to prohibit the practice for those
+products. If such problems arise substantially in other domains, we
+stand ready to extend this provision to those domains in future versions
+of the GPL, as needed to protect the freedom of users.
+
+ Finally, every program is threatened constantly by software patents.
+States should not allow patents to restrict development and use of
+software on general-purpose computers, but in those that do, we wish to
+avoid the special danger that patents applied to a free program could
+make it effectively proprietary. To prevent this, the GPL assures that
+patents cannot be used to render the program non-free.
+
+ The precise terms and conditions for copying, distribution and
+modification follow.
+
+ TERMS AND CONDITIONS
+
+ 0. Definitions.
+
+ "This License" refers to version 3 of the GNU General Public License.
+
+ "Copyright" also means copyright-like laws that apply to other kinds of
+works, such as semiconductor masks.
+
+ "The Program" refers to any copyrightable work licensed under this
+License. Each licensee is addressed as "you". "Licensees" and
+"recipients" may be individuals or organizations.
+
+ To "modify" a work means to copy from or adapt all or part of the work
+in a fashion requiring copyright permission, other than the making of an
+exact copy. The resulting work is called a "modified version" of the
+earlier work or a work "based on" the earlier work.
+
+ A "covered work" means either the unmodified Program or a work based
+on the Program.
+
+ To "propagate" a work means to do anything with it that, without
+permission, would make you directly or secondarily liable for
+infringement under applicable copyright law, except executing it on a
+computer or modifying a private copy. Propagation includes copying,
+distribution (with or without modification), making available to the
+public, and in some countries other activities as well.
+
+ To "convey" a work means any kind of propagation that enables other
+parties to make or receive copies. Mere interaction with a user through
+a computer network, with no transfer of a copy, is not conveying.
+
+ An interactive user interface displays "Appropriate Legal Notices"
+to the extent that it includes a convenient and prominently visible
+feature that (1) displays an appropriate copyright notice, and (2)
+tells the user that there is no warranty for the work (except to the
+extent that warranties are provided), that licensees may convey the
+work under this License, and how to view a copy of this License. If
+the interface presents a list of user commands or options, such as a
+menu, a prominent item in the list meets this criterion.
+
+ 1. Source Code.
+
+ The "source code" for a work means the preferred form of the work
+for making modifications to it. "Object code" means any non-source
+form of a work.
+
+ A "Standard Interface" means an interface that either is an official
+standard defined by a recognized standards body, or, in the case of
+interfaces specified for a particular programming language, one that
+is widely used among developers working in that language.
+
+ The "System Libraries" of an executable work include anything, other
+than the work as a whole, that (a) is included in the normal form of
+packaging a Major Component, but which is not part of that Major
+Component, and (b) serves only to enable use of the work with that
+Major Component, or to implement a Standard Interface for which an
+implementation is available to the public in source code form. A
+"Major Component", in this context, means a major essential component
+(kernel, window system, and so on) of the specific operating system
+(if any) on which the executable work runs, or a compiler used to
+produce the work, or an object code interpreter used to run it.
+
+ The "Corresponding Source" for a work in object code form means all
+the source code needed to generate, install, and (for an executable
+work) run the object code and to modify the work, including scripts to
+control those activities. However, it does not include the work's
+System Libraries, or general-purpose tools or generally available free
+programs which are used unmodified in performing those activities but
+which are not part of the work. For example, Corresponding Source
+includes interface definition files associated with source files for
+the work, and the source code for shared libraries and dynamically
+linked subprograms that the work is specifically designed to require,
+such as by intimate data communication or control flow between those
+subprograms and other parts of the work.
+
+ The Corresponding Source need not include anything that users
+can regenerate automatically from other parts of the Corresponding
+Source.
+
+ The Corresponding Source for a work in source code form is that
+same work.
+
+ 2. Basic Permissions.
+
+ All rights granted under this License are granted for the term of
+copyright on the Program, and are irrevocable provided the stated
+conditions are met. This License explicitly affirms your unlimited
+permission to run the unmodified Program. The output from running a
+covered work is covered by this License only if the output, given its
+content, constitutes a covered work. This License acknowledges your
+rights of fair use or other equivalent, as provided by copyright law.
+
+ You may make, run and propagate covered works that you do not
+convey, without conditions so long as your license otherwise remains
+in force. You may convey covered works to others for the sole purpose
+of having them make modifications exclusively for you, or provide you
+with facilities for running those works, provided that you comply with
+the terms of this License in conveying all material for which you do
+not control copyright. Those thus making or running the covered works
+for you must do so exclusively on your behalf, under your direction
+and control, on terms that prohibit them from making any copies of
+your copyrighted material outside their relationship with you.
+
+ Conveying under any other circumstances is permitted solely under
+the conditions stated below. Sublicensing is not allowed; section 10
+makes it unnecessary.
+
+ 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
+
+ No covered work shall be deemed part of an effective technological
+measure under any applicable law fulfilling obligations under article
+11 of the WIPO copyright treaty adopted on 20 December 1996, or
+similar laws prohibiting or restricting circumvention of such
+measures.
+
+ When you convey a covered work, you waive any legal power to forbid
+circumvention of technological measures to the extent such circumvention
+is effected by exercising rights under this License with respect to
+the covered work, and you disclaim any intention to limit operation or
+modification of the work as a means of enforcing, against the work's
+users, your or third parties' legal rights to forbid circumvention of
+technological measures.
+
+ 4. Conveying Verbatim Copies.
+
+ You may convey verbatim copies of the Program's source code as you
+receive it, in any medium, provided that you conspicuously and
+appropriately publish on each copy an appropriate copyright notice;
+keep intact all notices stating that this License and any
+non-permissive terms added in accord with section 7 apply to the code;
+keep intact all notices of the absence of any warranty; and give all
+recipients a copy of this License along with the Program.
+
+ You may charge any price or no price for each copy that you convey,
+and you may offer support or warranty protection for a fee.
+
+ 5. Conveying Modified Source Versions.
+
+ You may convey a work based on the Program, or the modifications to
+produce it from the Program, in the form of source code under the
+terms of section 4, provided that you also meet all of these conditions:
+
+ a) The work must carry prominent notices stating that you modified
+ it, and giving a relevant date.
+
+ b) The work must carry prominent notices stating that it is
+ released under this License and any conditions added under section
+ 7. This requirement modifies the requirement in section 4 to
+ "keep intact all notices".
+
+ c) You must license the entire work, as a whole, under this
+ License to anyone who comes into possession of a copy. This
+ License will therefore apply, along with any applicable section 7
+ additional terms, to the whole of the work, and all its parts,
+ regardless of how they are packaged. This License gives no
+ permission to license the work in any other way, but it does not
+ invalidate such permission if you have separately received it.
+
+ d) If the work has interactive user interfaces, each must display
+ Appropriate Legal Notices; however, if the Program has interactive
+ interfaces that do not display Appropriate Legal Notices, your
+ work need not make them do so.
+
+ A compilation of a covered work with other separate and independent
+works, which are not by their nature extensions of the covered work,
+and which are not combined with it such as to form a larger program,
+in or on a volume of a storage or distribution medium, is called an
+"aggregate" if the compilation and its resulting copyright are not
+used to limit the access or legal rights of the compilation's users
+beyond what the individual works permit. Inclusion of a covered work
+in an aggregate does not cause this License to apply to the other
+parts of the aggregate.
+
+ 6. Conveying Non-Source Forms.
+
+ You may convey a covered work in object code form under the terms
+of sections 4 and 5, provided that you also convey the
+machine-readable Corresponding Source under the terms of this License,
+in one of these ways:
+
+ a) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by the
+ Corresponding Source fixed on a durable physical medium
+ customarily used for software interchange.
+
+ b) Convey the object code in, or embodied in, a physical product
+ (including a physical distribution medium), accompanied by a
+ written offer, valid for at least three years and valid for as
+ long as you offer spare parts or customer support for that product
+ model, to give anyone who possesses the object code either (1) a
+ copy of the Corresponding Source for all the software in the
+ product that is covered by this License, on a durable physical
+ medium customarily used for software interchange, for a price no
+ more than your reasonable cost of physically performing this
+ conveying of source, or (2) access to copy the
+ Corresponding Source from a network server at no charge.
+
+ c) Convey individual copies of the object code with a copy of the
+ written offer to provide the Corresponding Source. This
+ alternative is allowed only occasionally and noncommercially, and
+ only if you received the object code with such an offer, in accord
+ with subsection 6b.
+
+ d) Convey the object code by offering access from a designated
+ place (gratis or for a charge), and offer equivalent access to the
+ Corresponding Source in the same way through the same place at no
+ further charge. You need not require recipients to copy the
+ Corresponding Source along with the object code. If the place to
+ copy the object code is a network server, the Corresponding Source
+ may be on a different server (operated by you or a third party)
+ that supports equivalent copying facilities, provided you maintain
+ clear directions next to the object code saying where to find the
+ Corresponding Source. Regardless of what server hosts the
+ Corresponding Source, you remain obligated to ensure that it is
+ available for as long as needed to satisfy these requirements.
+
+ e) Convey the object code using peer-to-peer transmission, provided
+ you inform other peers where the object code and Corresponding
+ Source of the work are being offered to the general public at no
+ charge under subsection 6d.
+
+ A separable portion of the object code, whose source code is excluded
+from the Corresponding Source as a System Library, need not be
+included in conveying the object code work.
+
+ A "User Product" is either (1) a "consumer product", which means any
+tangible personal property which is normally used for personal, family,
+or household purposes, or (2) anything designed or sold for incorporation
+into a dwelling. In determining whether a product is a consumer product,
+doubtful cases shall be resolved in favor of coverage. For a particular
+product received by a particular user, "normally used" refers to a
+typical or common use of that class of product, regardless of the status
+of the particular user or of the way in which the particular user
+actually uses, or expects or is expected to use, the product. A product
+is a consumer product regardless of whether the product has substantial
+commercial, industrial or non-consumer uses, unless such uses represent
+the only significant mode of use of the product.
+
+ "Installation Information" for a User Product means any methods,
+procedures, authorization keys, or other information required to install
+and execute modified versions of a covered work in that User Product from
+a modified version of its Corresponding Source. The information must
+suffice to ensure that the continued functioning of the modified object
+code is in no case prevented or interfered with solely because
+modification has been made.
+
+ If you convey an object code work under this section in, or with, or
+specifically for use in, a User Product, and the conveying occurs as
+part of a transaction in which the right of possession and use of the
+User Product is transferred to the recipient in perpetuity or for a
+fixed term (regardless of how the transaction is characterized), the
+Corresponding Source conveyed under this section must be accompanied
+by the Installation Information. But this requirement does not apply
+if neither you nor any third party retains the ability to install
+modified object code on the User Product (for example, the work has
+been installed in ROM).
+
+ The requirement to provide Installation Information does not include a
+requirement to continue to provide support service, warranty, or updates
+for a work that has been modified or installed by the recipient, or for
+the User Product in which it has been modified or installed. Access to a
+network may be denied when the modification itself materially and
+adversely affects the operation of the network or violates the rules and
+protocols for communication across the network.
+
+ Corresponding Source conveyed, and Installation Information provided,
+in accord with this section must be in a format that is publicly
+documented (and with an implementation available to the public in
+source code form), and must require no special password or key for
+unpacking, reading or copying.
+
+ 7. Additional Terms.
+
+ "Additional permissions" are terms that supplement the terms of this
+License by making exceptions from one or more of its conditions.
+Additional permissions that are applicable to the entire Program shall
+be treated as though they were included in this License, to the extent
+that they are valid under applicable law. If additional permissions
+apply only to part of the Program, that part may be used separately
+under those permissions, but the entire Program remains governed by
+this License without regard to the additional permissions.
+
+ When you convey a copy of a covered work, you may at your option
+remove any additional permissions from that copy, or from any part of
+it. (Additional permissions may be written to require their own
+removal in certain cases when you modify the work.) You may place
+additional permissions on material, added by you to a covered work,
+for which you have or can give appropriate copyright permission.
+
+ Notwithstanding any other provision of this License, for material you
+add to a covered work, you may (if authorized by the copyright holders of
+that material) supplement the terms of this License with terms:
+
+ a) Disclaiming warranty or limiting liability differently from the
+ terms of sections 15 and 16 of this License; or
+
+ b) Requiring preservation of specified reasonable legal notices or
+ author attributions in that material or in the Appropriate Legal
+ Notices displayed by works containing it; or
+
+ c) Prohibiting misrepresentation of the origin of that material, or
+ requiring that modified versions of such material be marked in
+ reasonable ways as different from the original version; or
+
+ d) Limiting the use for publicity purposes of names of licensors or
+ authors of the material; or
+
+ e) Declining to grant rights under trademark law for use of some
+ trade names, trademarks, or service marks; or
+
+ f) Requiring indemnification of licensors and authors of that
+ material by anyone who conveys the material (or modified versions of
+ it) with contractual assumptions of liability to the recipient, for
+ any liability that these contractual assumptions directly impose on
+ those licensors and authors.
+
+ All other non-permissive additional terms are considered "further
+restrictions" within the meaning of section 10. If the Program as you
+received it, or any part of it, contains a notice stating that it is
+governed by this License along with a term that is a further
+restriction, you may remove that term. If a license document contains
+a further restriction but permits relicensing or conveying under this
+License, you may add to a covered work material governed by the terms
+of that license document, provided that the further restriction does
+not survive such relicensing or conveying.
+
+ If you add terms to a covered work in accord with this section, you
+must place, in the relevant source files, a statement of the
+additional terms that apply to those files, or a notice indicating
+where to find the applicable terms.
+
+ Additional terms, permissive or non-permissive, may be stated in the
+form of a separately written license, or stated as exceptions;
+the above requirements apply either way.
+
+ 8. Termination.
+
+ You may not propagate or modify a covered work except as expressly
+provided under this License. Any attempt otherwise to propagate or
+modify it is void, and will automatically terminate your rights under
+this License (including any patent licenses granted under the third
+paragraph of section 11).
+
+ However, if you cease all violation of this License, then your
+license from a particular copyright holder is reinstated (a)
+provisionally, unless and until the copyright holder explicitly and
+finally terminates your license, and (b) permanently, if the copyright
+holder fails to notify you of the violation by some reasonable means
+prior to 60 days after the cessation.
+
+ Moreover, your license from a particular copyright holder is
+reinstated permanently if the copyright holder notifies you of the
+violation by some reasonable means, this is the first time you have
+received notice of violation of this License (for any work) from that
+copyright holder, and you cure the violation prior to 30 days after
+your receipt of the notice.
+
+ Termination of your rights under this section does not terminate the
+licenses of parties who have received copies or rights from you under
+this License. If your rights have been terminated and not permanently
+reinstated, you do not qualify to receive new licenses for the same
+material under section 10.
+
+ 9. Acceptance Not Required for Having Copies.
+
+ You are not required to accept this License in order to receive or
+run a copy of the Program. Ancillary propagation of a covered work
+occurring solely as a consequence of using peer-to-peer transmission
+to receive a copy likewise does not require acceptance. However,
+nothing other than this License grants you permission to propagate or
+modify any covered work. These actions infringe copyright if you do
+not accept this License. Therefore, by modifying or propagating a
+covered work, you indicate your acceptance of this License to do so.
+
+ 10. Automatic Licensing of Downstream Recipients.
+
+ Each time you convey a covered work, the recipient automatically
+receives a license from the original licensors, to run, modify and
+propagate that work, subject to this License. You are not responsible
+for enforcing compliance by third parties with this License.
+
+ An "entity transaction" is a transaction transferring control of an
+organization, or substantially all assets of one, or subdividing an
+organization, or merging organizations. If propagation of a covered
+work results from an entity transaction, each party to that
+transaction who receives a copy of the work also receives whatever
+licenses to the work the party's predecessor in interest had or could
+give under the previous paragraph, plus a right to possession of the
+Corresponding Source of the work from the predecessor in interest, if
+the predecessor has it or can get it with reasonable efforts.
+
+ You may not impose any further restrictions on the exercise of the
+rights granted or affirmed under this License. For example, you may
+not impose a license fee, royalty, or other charge for exercise of
+rights granted under this License, and you may not initiate litigation
+(including a cross-claim or counterclaim in a lawsuit) alleging that
+any patent claim is infringed by making, using, selling, offering for
+sale, or importing the Program or any portion of it.
+
+ 11. Patents.
+
+ A "contributor" is a copyright holder who authorizes use under this
+License of the Program or a work on which the Program is based. The
+work thus licensed is called the contributor's "contributor version".
+
+ A contributor's "essential patent claims" are all patent claims
+owned or controlled by the contributor, whether already acquired or
+hereafter acquired, that would be infringed by some manner, permitted
+by this License, of making, using, or selling its contributor version,
+but do not include claims that would be infringed only as a
+consequence of further modification of the contributor version. For
+purposes of this definition, "control" includes the right to grant
+patent sublicenses in a manner consistent with the requirements of
+this License.
+
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
+patent license under the contributor's essential patent claims, to
+make, use, sell, offer for sale, import and otherwise run, modify and
+propagate the contents of its contributor version.
+
+ In the following three paragraphs, a "patent license" is any express
+agreement or commitment, however denominated, not to enforce a patent
+(such as an express permission to practice a patent or covenant not to
+sue for patent infringement). To "grant" such a patent license to a
+party means to make such an agreement or commitment not to enforce a
+patent against the party.
+
+ If you convey a covered work, knowingly relying on a patent license,
+and the Corresponding Source of the work is not available for anyone
+to copy, free of charge and under the terms of this License, through a
+publicly available network server or other readily accessible means,
+then you must either (1) cause the Corresponding Source to be so
+available, or (2) arrange to deprive yourself of the benefit of the
+patent license for this particular work, or (3) arrange, in a manner
+consistent with the requirements of this License, to extend the patent
+license to downstream recipients. "Knowingly relying" means you have
+actual knowledge that, but for the patent license, your conveying the
+covered work in a country, or your recipient's use of the covered work
+in a country, would infringe one or more identifiable patents in that
+country that you have reason to believe are valid.
+
+ If, pursuant to or in connection with a single transaction or
+arrangement, you convey, or propagate by procuring conveyance of, a
+covered work, and grant a patent license to some of the parties
+receiving the covered work authorizing them to use, propagate, modify
+or convey a specific copy of the covered work, then the patent license
+you grant is automatically extended to all recipients of the covered
+work and works based on it.
+
+ A patent license is "discriminatory" if it does not include within
+the scope of its coverage, prohibits the exercise of, or is
+conditioned on the non-exercise of one or more of the rights that are
+specifically granted under this License. You may not convey a covered
+work if you are a party to an arrangement with a third party that is
+in the business of distributing software, under which you make payment
+to the third party based on the extent of your activity of conveying
+the work, and under which the third party grants, to any of the
+parties who would receive the covered work from you, a discriminatory
+patent license (a) in connection with copies of the covered work
+conveyed by you (or copies made from those copies), or (b) primarily
+for and in connection with specific products or compilations that
+contain the covered work, unless you entered into that arrangement,
+or that patent license was granted, prior to 28 March 2007.
+
+ Nothing in this License shall be construed as excluding or limiting
+any implied license or other defenses to infringement that may
+otherwise be available to you under applicable patent law.
+
+ 12. No Surrender of Others' Freedom.
+
+ If conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License. If you cannot convey a
+covered work so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you may
+not convey it at all. For example, if you agree to terms that obligate you
+to collect a royalty for further conveying from those to whom you convey
+the Program, the only way you could satisfy both those terms and this
+License would be to refrain entirely from conveying the Program.
+
+ 13. Use with the GNU Affero General Public License.
+
+ Notwithstanding any other provision of this License, you have
+permission to link or combine any covered work with a work licensed
+under version 3 of the GNU Affero General Public License into a single
+combined work, and to convey the resulting work. The terms of this
+License will continue to apply to the part which is the covered work,
+but the special requirements of the GNU Affero General Public License,
+section 13, concerning interaction through a network will apply to the
+combination as such.
+
+ 14. Revised Versions of this License.
+
+ The Free Software Foundation may publish revised and/or new versions of
+the GNU General Public License from time to time. Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+ Each version is given a distinguishing version number. If the
+Program specifies that a certain numbered version of the GNU General
+Public License "or any later version" applies to it, you have the
+option of following the terms and conditions either of that numbered
+version or of any later version published by the Free Software
+Foundation. If the Program does not specify a version number of the
+GNU General Public License, you may choose any version ever published
+by the Free Software Foundation.
+
+ If the Program specifies that a proxy can decide which future
+versions of the GNU General Public License can be used, that proxy's
+public statement of acceptance of a version permanently authorizes you
+to choose that version for the Program.
+
+ Later license versions may give you additional or different
+permissions. However, no additional obligations are imposed on any
+author or copyright holder as a result of your choosing to follow a
+later version.
+
+ 15. Disclaimer of Warranty.
+
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
+APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
+HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
+OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
+THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
+IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
+ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
+
+ 16. Limitation of Liability.
+
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
+THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
+GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
+USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
+DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
+PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
+EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
+SUCH DAMAGES.
+
+ 17. Interpretation of Sections 15 and 16.
+
+ If the disclaimer of warranty and limitation of liability provided
+above cannot be given local legal effect according to their terms,
+reviewing courts shall apply local law that most closely approximates
+an absolute waiver of all civil liability in connection with the
+Program, unless a warranty or assumption of liability accompanies a
+copy of the Program in return for a fee.
+
+ END OF TERMS AND CONDITIONS
+
+ How to Apply These Terms to Your New Programs
+
+ If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+ To do so, attach the following notices to the program. It is safest
+to attach them to the start of each source file to most effectively
+state the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+
+ Copyright (C)
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program 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 General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If the program does terminal interaction, make it output a short
+notice like this when it starts in an interactive mode:
+
+ Copyright (C)
+ This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'.
+ This is free software, and you are welcome to redistribute it
+ under certain conditions; type 'show c' for details.
+
+The hypothetical commands 'show w' and 'show c' should show the appropriate
+parts of the General Public License. Of course, your program's commands
+might be different; for a GUI interface, you would use an "about box".
+
+ You should also get your employer (if you work as a programmer) or school,
+if any, to sign a "copyright disclaimer" for the program, if necessary.
+For more information on this, and how to apply and follow the GNU GPL, see
+.
+
+ The GNU General Public License does not permit incorporating your program
+into proprietary programs. If your program is a subroutine library, you
+may consider it more useful to permit linking proprietary applications with
+the library. If this is what you want to do, use the GNU Lesser General
+Public License instead of this License. But first, please read
+.
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..f8f5af8
--- /dev/null
+++ b/README.md
@@ -0,0 +1,11 @@
+# PwnPi - A More Offensive Redteam Appliance
+
+PwnPi Amora is a wireless keystroke injection tool built on the Raspberry Pi Pico W using MicroPython.
+
+## Quick Start
+- Plug in your Raspberry Pi Pico W while pressing the `BOOTSEL` button.
+- Drag and drop the `adafruit-circuitpython-raspberry_pi_pico_w-en_US-8.0.0-beta.6.uf2` image onto the newly visible drive.
+- Copy all the files in this directory except for the `README.md`, `CODE_OF_CONDUCT.md` and `LICENSE` into the drive once it reloads with the label `CIRCUITPY`
+- Modify the WiFi SSID and password in setttings.toml
+- Save and the board must auto-reload
+- Connect to this network and go to [`192.168.4.1`](http://192.168.4.1)
diff --git a/boot.py b/boot.py
new file mode 100644
index 0000000..083aa41
--- /dev/null
+++ b/boot.py
@@ -0,0 +1,7 @@
+import storage
+
+storage.remount(
+ "/",
+ readonly=False,
+ disable_concurrent_write_protection=True, # Change this to False during production
+)
diff --git a/code.py b/code.py
new file mode 100644
index 0000000..8b520d5
--- /dev/null
+++ b/code.py
@@ -0,0 +1,70 @@
+import microcontroller
+import wifi
+import socketpool
+import asyncio
+import os
+import json
+from adafruit_httpserver.server import HTTPServer
+from adafruit_httpserver.request import HTTPRequest
+from adafruit_httpserver.response import HTTPResponse
+from adafruit_httpserver.methods import HTTPMethod
+from adafruit_httpserver.mime_type import MIMEType
+from ducky import runScript
+
+
+async def main():
+ wifi.radio.start_ap(
+ ssid=os.getenv("AMORA_SSID"), password=os.getenv("AMORA_PASSWORD")
+ )
+ pool = socketpool.SocketPool(wifi.radio)
+ server = HTTPServer(pool)
+
+ @server.route("/")
+ def base(request: HTTPRequest): # pylint: disable=unused-argument
+ with HTTPResponse(request, content_type=MIMEType.TYPE_HTML) as response:
+ response.send_file("static/index.html")
+
+ @server.route("/main.css")
+ def css(request: HTTPRequest):
+ with HTTPResponse(request, content_type=MIMEType.TYPE_HTML) as response:
+ response.send_file("static/main.css")
+
+ @server.route("/script.js")
+ def js(request: HTTPRequest):
+ with HTTPResponse(request, content_type=MIMEType.TYPE_HTML) as response:
+ response.send_file("static/script.js")
+
+ @server.route("/api", HTTPMethod.POST)
+ def api(request: HTTPRequest):
+ body = json.loads(request.body)
+ action = body["action"]
+ with HTTPResponse(request, content_type=MIMEType.TYPE_JSON) as response:
+ if action == "list":
+ response.send(json.dumps(os.listdir("payloads")))
+ elif action == "load":
+ with open("payloads/" + body["filename"]) as h:
+ response.send(json.dumps({"contents": h.read()}))
+ elif action == "store":
+ with open(f"payloads/" + body["filename"], "wb") as h:
+ h.write(body["contents"].encode())
+ elif action == "delete":
+ os.remove("payloads/" + body["filename"])
+ elif action == "create":
+ with open(f"payloads/" + body["filename"], "wb") as h:
+ h.write(b"")
+ elif action == "run":
+ runScript(f"payloads/" + body["filename"])
+
+ server.start(str(wifi.radio.ipv4_address_ap))
+ while True:
+ try:
+ server.poll()
+ except OSError as error:
+ print(error)
+
+
+if __name__ == "__main__":
+ try:
+ asyncio.run(main())
+ except NotImplementedError:
+ microcontroller.reset()
diff --git a/ducky.py b/ducky.py
new file mode 100644
index 0000000..3c1725a
--- /dev/null
+++ b/ducky.py
@@ -0,0 +1,177 @@
+# License: GPLv3.0
+# copyright (c) 2023 Dave Bailey, Himadri Bhattacharjee
+# Authors: Dave Bailey (dbisu, @daveisu); Himadri Bhattacharjee (lavafroth, @lavafroth)
+
+import usb_hid
+from adafruit_hid.keyboard import Keyboard
+
+# comment out these lines for non_US keyboards
+from adafruit_hid.keyboard_layout_us import KeyboardLayoutUS as KeyboardLayout
+from adafruit_hid.keycode import Keycode
+
+# uncomment these lines for non_US keyboards
+# replace LANG with appropriate language
+# from keyboard_layout_win_LANG import KeyboardLayout
+# from keycode_win_LANG import Keycode
+
+import time
+from board import LED
+import asyncio
+
+kbd = Keyboard(usb_hid.devices)
+layout = KeyboardLayout(kbd)
+
+defaultDelay = 0
+
+duckyCommands = {
+ "WINDOWS": Keycode.WINDOWS,
+ "GUI": Keycode.GUI,
+ "APP": Keycode.APPLICATION,
+ "MENU": Keycode.APPLICATION,
+ "SHIFT": Keycode.SHIFT,
+ "ALT": Keycode.ALT,
+ "CONTROL": Keycode.CONTROL,
+ "CTRL": Keycode.CONTROL,
+ "DOWNARROW": Keycode.DOWN_ARROW,
+ "DOWN": Keycode.DOWN_ARROW,
+ "LEFTARROW": Keycode.LEFT_ARROW,
+ "LEFT": Keycode.LEFT_ARROW,
+ "RIGHTARROW": Keycode.RIGHT_ARROW,
+ "RIGHT": Keycode.RIGHT_ARROW,
+ "UPARROW": Keycode.UP_ARROW,
+ "UP": Keycode.UP_ARROW,
+ "BREAK": Keycode.PAUSE,
+ "PAUSE": Keycode.PAUSE,
+ "CAPSLOCK": Keycode.CAPS_LOCK,
+ "DELETE": Keycode.DELETE,
+ "END": Keycode.END,
+ "ESC": Keycode.ESCAPE,
+ "ESCAPE": Keycode.ESCAPE,
+ "HOME": Keycode.HOME,
+ "INSERT": Keycode.INSERT,
+ "NUMLOCK": Keycode.KEYPAD_NUMLOCK,
+ "PAGEUP": Keycode.PAGE_UP,
+ "PAGEDOWN": Keycode.PAGE_DOWN,
+ "PRINTSCREEN": Keycode.PRINT_SCREEN,
+ "ENTER": Keycode.ENTER,
+ "SCROLLLOCK": Keycode.SCROLL_LOCK,
+ "SPACE": Keycode.SPACE,
+ "TAB": Keycode.TAB,
+ "BACKSPACE": Keycode.BACKSPACE,
+ "A": Keycode.A,
+ "B": Keycode.B,
+ "C": Keycode.C,
+ "D": Keycode.D,
+ "E": Keycode.E,
+ "F": Keycode.F,
+ "G": Keycode.G,
+ "H": Keycode.H,
+ "I": Keycode.I,
+ "J": Keycode.J,
+ "K": Keycode.K,
+ "L": Keycode.L,
+ "M": Keycode.M,
+ "N": Keycode.N,
+ "O": Keycode.O,
+ "P": Keycode.P,
+ "Q": Keycode.Q,
+ "R": Keycode.R,
+ "S": Keycode.S,
+ "T": Keycode.T,
+ "U": Keycode.U,
+ "V": Keycode.V,
+ "W": Keycode.W,
+ "X": Keycode.X,
+ "Y": Keycode.Y,
+ "Z": Keycode.Z,
+ "F1": Keycode.F1,
+ "F2": Keycode.F2,
+ "F3": Keycode.F3,
+ "F4": Keycode.F4,
+ "F5": Keycode.F5,
+ "F6": Keycode.F6,
+ "F7": Keycode.F7,
+ "F8": Keycode.F8,
+ "F9": Keycode.F9,
+ "F10": Keycode.F10,
+ "F11": Keycode.F11,
+ "F12": Keycode.F12,
+}
+
+
+def convertLine(line):
+ newline = []
+ # loop on each key - the filter removes empty values
+ for key in filter(None, line.split(" ")):
+ key = key.upper()
+ # find the keycode for the command in the list
+ command_keycode = duckyCommands.get(key, None)
+ if command_keycode is not None:
+ # if it exists in the list, use it
+ newline.append(command_keycode)
+ elif hasattr(Keycode, key):
+ # if it's in the Keycode module, use it (allows any valid keycode)
+ newline.append(getattr(Keycode, key))
+ else:
+ # if it's not a known key name, show the error for diagnosis
+ print(f"Unknown key: <{key}>")
+ # print(newline)
+ return newline
+
+
+def runScriptLine(line):
+ if (
+ parse_line_header(["REM"], line, lambda _: _)
+ or parse_line_header(["DELAY"], line, lambda x: time.sleep(float(x) / 1000))
+ or parse_line_header(["PRINT"], line, lambda x: print("[log]: " + x))
+ or parse_line_header(["IMPORT"], line, runScript)
+ or parse_line_header(["DEFAULT_DELAY", "DEFAULTDELAY"], line, set_delay)
+ or parse_line_header(["LED"], line, invert_led)
+ or parse_line_header(["STRING"], line, layout.write)
+ ):
+ return
+
+ for k in convertLine(line):
+ kbd.press(k)
+ kbd.release_all()
+
+
+def parse_line_header(headers, line, func):
+ for header in headers:
+ if line.startswith(header):
+ func(line[len(header) + 1 :])
+ return True
+ return False
+
+
+def set_delay(delay):
+ global defaultDelay
+ defaultDelay = int(delay) * 10
+
+
+def invert_led(*args):
+ led.value ^= True
+
+
+def runScript(duckyScriptPath: str):
+ global defaultDelay
+
+ try:
+ with open(duckyScriptPath, "r", encoding="utf-8") as handle:
+ contents = handle.read()
+ except OSError as e:
+ print(f"Unable to open file {duckyScriptPath}: {e}")
+ return
+
+ previous_line = None
+ for line in map(lambda x: x.rstrip(), filter(None, contents.splitlines())):
+ if line[0:6] == "REPEAT":
+ if not previous_line:
+ continue
+ for _ in range(int(line[7:])):
+ # repeat the last command
+ runScriptLine(previous_line)
+ else:
+ runScriptLine(line)
+ previous_line = line
+ time.sleep(float(defaultDelay) / 1000)
diff --git a/lib/adafruit_hid/__init__.mpy b/lib/adafruit_hid/__init__.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..8244b8c6ebf78110a28b921b6d7068ee5226d6f6
GIT binary patch
literal 423
zcmY+A%}T>S6oqH{gHpA`w#=r21JOcNl42`@E45iv-Bc_{7jjLLX)|Dxn3)I#!NDi0
z_5}o=z@=_{6{i*#ZiYK^&pq><+sGR_rMN19WcZW&JB?R2J0eGlOu;R%rRYuor
z^qd+)${=nSM$(l$3dIhtRse>nOcMsMktMj_scMaJ#qLuUdQ1yeaZU+?jjsx#yngB=*YW=JZ7klI@u_JNE;dPcCiirRh2>SWtf=
z6Yjh7y0@GXk?b`p3sS9~R2oAI#Gv?yEg42C(n|Kio6`k#_>9}Gqh+tC&txJ#{QA>X
zgbL3qpuDqAy*`+>Kdg;B06h<*@T_7kO@0Y3^Y(FcD(L
zkH$}8Gvc_Mu)yPszsn-6!k}$wT|PDGS+&Pd8$FX^3>V6)iOGmtmBL#(fuyasHW}
zVslEpP!=8l(hR8q;CFUM#`v-9RYgnWs*2iFcP)r)zC0M%0wp4sHoJ`bT>a
zTXc{&ydU51d&{FMwF7tPY@yZeC>cHE^K_;k)8u%Zy}r#~Cb>3YmS@jqCzGS;`_L_H
zq?*WS&>zF>N}#51)xf$LBkKbpHfJ6n4Y?XV50v0R&DR&>k+Eur3%4g@?-%*zFLh
zbSD%8Qh`?04Sa6mDeOy1xaRCuX(b4~#^o6_zF8z#-w$KC;BBy_3L{*e!y4-{s&E;=
zcGM$xIwG-TxV#5Dh?NOX;P%5_95C%MDp9>UU!k3POQI0shic|AGD2`g=SV}|l|+f|%XJe)ID)~S4dQC#o!C^!a@OaU2x3xTPHg7wZTgthzHe@Lgmv9<`oov^U+G
z=y9~#bN9l%@RwB-K-UQ(+z3GvIti~X<;1(?HF33&U3owzOf&n@ddad6$&_iAviAzB
ztCr`O5G$gvwq7VL35cM8fXP@}p{go4h+m;iT2rYoLdfta)|yS>3PC4=le{a|BuN|&
zK-5~ILfb7x6Rwg4IPSFe=_|0Iw04GYfNLwQHdVBa;7Vh{H>o75T20$i1vl}UR%;ie
zj~;q&Cs1ILC975S#HB=)Xsnb(!I?hC@2RzIDz@RJb7Piqls?2pIBNE@<~LkH5G@|3
z0r1+)g8UB9QabxG{l*B5q%qTPILbzN%7(?AmLxZ1ssx=z$eG3uiWUmeO<87bH9v+7
z{>=s0*c93fqSSA>aaIZ5;>Xk`rEPryR}9{1!mv;ffzY>p`!c9{?q|jp$=j3c6E>cB
z2ld4jFM4F~Z=FI?=I^c%y3P}o!tJr!8KH3i>>9(|c@L{I&;N4gU*&puj}h{`PRP&m
zArDidi4pKWA5
z24ng$%S71b#o3_z0&>!aTG+i
TVHK?0f0@RXHqQJ2%pc0XX@G(Y
literal 0
HcmV?d00001
diff --git a/lib/adafruit_hid/keyboard_layout_base.mpy b/lib/adafruit_hid/keyboard_layout_base.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..7d759cf8d8c436155a41593b8bae77d895475f57
GIT binary patch
literal 1223
zcmbtS&2Ac36uuWizy@0bL&g?P(-8y=*a8PrT3MB9V6Y)}u#K@I`lHJLV}ndQXc+9E
z$jZesQX_TMN2s#vW&poH>^?zO>B6ei7eIM~p5aHTx~*n$=KOv4`_4H@li^GLsv4`?2DaP}+kiGn;QU>QWFd
z+0=HUc6RdE$l*eVVRk0%kYT1!quld3^wN%ee+dt0;WF|%KV)4
zJE?*mTSeSr8mdw`GDo{{3mu$Mi0|22eL2G@8}Hb
zX^UP6A@mMkRe#4%tR}isEI!Q!{Gk=p7v`zPnw+x@MQS!Rb|HofJ&pZhC~y=k{`mI?
zjWs*X8oLA;z0%Yh{TQ8`BGo0>9TDsG7%GgPn4j>P73=DW(iN_lAbM}7KTzwI-*=E*
z-G7$e_4rYb?EH#uHRq##4BrjtC&5m^8T8@h`zvNcr&4!^mXmHCMlUOX3Tb+J^J_+we&^=XS`fa2ebAuoCV8-TkE
zuf5jo##-d{Wgv9D__`#k;@?+L5~UZ#=eoPz=0_UWI(zsOmERu5=_y#PDr
zw1Vzn1?;_Gr2{AW79_*uVMLyxu%JhB@C&Z-<1lD|Ou{lM1O0`;NQy;g`u~M=>TcIE
zOMj#0&}v{AjTvfe;9jsz76Xir%KEk33uZmkJ1W!B!I?Yxi0cu=ikr(J|FrkE??9&-
YyAs8p1Pkol3Ii#Fj{eczVAMAA4_5_lT>t<8
literal 0
HcmV?d00001
diff --git a/lib/adafruit_hid/keyboard_layout_us.mpy b/lib/adafruit_hid/keyboard_layout_us.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..7b3398c97002fdb745dab2ddc33b92b19814a973
GIT binary patch
literal 330
zcmZ=}Ws+BD43LmuV0TGONlYs$%`Az}$V}1CPOVJJPb^A_&q=JzFD;2LE!HcjOi*ZG
zFX)@j&?und4VCu+OFJbNr)n`uYoO~&0*cEpi!nxq7%>Papy~+?7GySI7GoA<6q7-f
z2~1{StYHvg=Ir5b5K>?eWDpl)5EEb)V~|p25L0jrcJ}m)5Al!pc8zrQcX16&W@Jce
zWPkxJZ4DR`Mr(o?I`g(HSh#43$+G23*O}>>Td2#)D<~={tEj4NHr}SUeaHNk*0%PJ
z&aUpB-oE|`6DLicGIiSY88c_io-b`DN1ZXRAfegQ!tVG&U=aS2H&
NX&Kq|8#iqA0RU^>U9SKD
literal 0
HcmV?d00001
diff --git a/lib/adafruit_hid/keycode.mpy b/lib/adafruit_hid/keycode.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..8a5c6318459ce9f7cb95c397ca4b4d3f7c6178e2
GIT binary patch
literal 1729
zcmb7_S#ujj5XV-mCqU~Z$o
zvAz4^;8OR@p#R9(t;@Zg{?^=u%j-qTXhBKKPqs$6vVhc5PfOj%XRc*Z6Ibq`sfUXH
z`>E`|;&4)F>>Vop>!}>7{5^BHm^_up8`)8I?2mPn-QVsvXD_$s?YDYeo6_zD4e}G9
z&AtRee;Gve6%fX&AZo9HkgtQNzX780CWz)05awGTPQDGI^$rN@Dv0*GAnf-*IPZgS
zKLD}xAqejp2>&Ax!N(xNPe3ex3ZnBFh?UPltX>DPb_3FmEpI|P=r~_MHfVZMehHbn
z6MA2H<0z^vb4X2tTY?V;5*3JrY*mR%$oF^A2@3V(wj;_&XYmt**`)~
z`iAbxpP*3Hjh64~hWweg(W}2eK8mWknxBpQUm@Ez?a=>?mo0_5<^K*dmaGTes>h3E
zfJb1~Q~M@~`M9p7`%NrC)^$R=h6_;eW!p3y%dxQx*`?44Brd{C!_${#S2qlPPdo})
z!)dp5JO(*edZtsu<1kxyypHbGx_(sh1Qhu7{jTL0EqoO2s?XzNY)kk!+XZ}rZ5f|r
zyNFM*J&IIeIfkUO97n3MoIo-lU7tUKR8u;SB$bws>M-MarX6&BgF9{`H2~OkENiqQ
zHTg(-=u0FMa;EJ|FF-m8nWod`Tni>$y&=1yi)2BrCN0V5q&B1_cY$muM8h?w!=)X7
zQSWrmb2>;aOh>(q!zGwj^SW{9K|XZHfe-h!2Ov(kR_G(GBoiWlkXB(jp1@opttBA?igYTO9+8UlbW%?ti}cK1
z%50d?Rfpu>u{b2eab?jL4xr6yr<;dPEOx0qCx4
znT8&ij3R9-LOYV*@N`mOL^{$L#l!;AKxrB2Ii-t8XO%Ko=ae#8=an*A&nsoNc34Zy
z)&-@^)(c9RtzD&D@1oK&4*87H_ck0mV8Zy)O~x(`H)0n2rdbc7>!=(YZbE*Mw-Pq^1A>
literal 0
HcmV?d00001
diff --git a/lib/adafruit_hid/mouse.mpy b/lib/adafruit_hid/mouse.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..9e09cc3223993797839d18171a1925197bf8f651
GIT binary patch
literal 843
zcmY*WOHUe66uy^-JSs2)<5j^ZqEQ56&6E&V4N+{-Xj=ubq-h3(t4=#S$_!Rl+(B40
zZPHDXF1qTf+rihq&ve~&6PqsF_9wJ=fG*5U&htCxJLlXbvti7CY?>VfmQb#c+pX3_
zMc5Y$H;d((jOQvxS${U0crY=aDgd(KvnpZ{Bd9WHS1c8T0zMG)I0StFjz9!62_GN~
zlf=(zxYUXFD@PTvv^Qd;Nm}l#$vb*?1Xmqkn*~#saTCd`Lhv}n1IE6tb4CmZZsY+x
zo@ExG;}wcc`ss_chFWaPhGQ-F%c+(HuwW1Y#269qstBzu-$@CJTdCCjdkr+SxpFu0
z-)$oA`bs>$w%kke00EYV$X=;pS>_GMS;Z30$(T1H)H8*gB=II>&r4$dDIp|eOx`jh
zYq5NQ`99%?OS5S8=6WRT6ffajq!Htd4?hH<-VS50H#|
zhO^5O#uYURGa6^s)AWdx9e@|k?ytxy2ytTrWPv!sK=U}r!>#tOM`?|-QFITvQ&W_3
zNmflEZrnyzvawl;wCTtnzpq1W(y*ICHvQ9p=#XoD4g=h{g=`aNP@lEknW>|?G_I!U
zdkap{a*+&A1cSkFI6OBw2^Nz?=Uodn(ic7J
zIIVen9O`^Q_duG*ObOd(S07K#uRfh#TzzhnpGzO=Cse+#pHlg*-krm6XgIPz-^W-|
z6T`^IlGpy}>CQek)HL0S(&$pBaB;3~-)^Ne<792*EpYc0#ZrLOsm>h+{z5Hch#2V6
Jtp!n5{sC&e^*R6m
literal 0
HcmV?d00001
diff --git a/lib/adafruit_httpserver/__init__.mpy b/lib/adafruit_httpserver/__init__.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..381c277a95984610246561e3a29893c28cca48f7
GIT binary patch
literal 150
zcmZ=}Ws+A&U=U(pw@XY(Oe-qQEQ!x3DJdvUEhlIWcGzh6N2yhwc
z8R{8`iN(hQrHeE3^Wx)`8N>wQFcLwmSmJB=_Tjq>cb4z
ecZAvEoLQ6%v@M{rBm-!QM@UFOFxXB#pe_K}3Nl3i
literal 0
HcmV?d00001
diff --git a/lib/adafruit_httpserver/headers.mpy b/lib/adafruit_httpserver/headers.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..1e1681e6ebca05f1de515aa192bced5a668c623b
GIT binary patch
literal 891
zcmah`T~E_c7=GGPyD{iG+8jWdFfj207tsSQUJyeRb$rA)88bvoSGSH8VOzFhAV@qj
z-jEpn0tx(q&0DYVe;Dum6`p>GAzs*%=A7hxzRq(V%i?(YlbIQTGG|xpYHQc^teWRF
z+fM7f)0(b1cExG6?=<&IrP8(WrxoN(FfF#=mOZV%u-n{rro^!UZ@=l*H%*xc{=dF7
zh*v3G|GCh|)|UjlDNtx6S17#5g>thZ5%OgSpUv335dWgF@p-r8rrop?t`gsa4=D^2
z5KSVunx7I@XF!k&4gx_jIEVztl+UZQk6??+1ZVUL!3k9e7HNziN#g`2?I%dk1c6Qm
z2n;$%Ml7q`sC%|sZ(9~s3C4J&WG8kiXh_Ly<{5fVM3%uh6?+D%ScZj^|mk3$YOf*(XWqX0CK1A8}}&+
z>_Hk`T`^D$5qXZyik&qdbQG)GJC0g$s`l=-7c!0&HWx9DLx!(@!BCXFQ4Ljv&8IPh
zl7R@YmBj_%Ok%lz02~(pKF}eYNNgp2gGcB5lfMmRg`k&&
zUr0h>&;M7$-h_rlfxYBj$slh$iZjcFcmo@gDv~lQ`bOb(*P?C)YcncLnXSVwpsUN_
zxX2%d^JJWsI5i=&4Ni?_tFQk|y$Kb%%q-r~W?(B{wp~f7FeLVt&);$9C`@fqF*Z|k_!oPbOtHnbN2W1b9Dyl
I1lr6103XaL82|tP
literal 0
HcmV?d00001
diff --git a/lib/adafruit_httpserver/mime_type.mpy b/lib/adafruit_httpserver/mime_type.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..42644490dbabe60719d4ffc688f35d3fc8b7607d
GIT binary patch
literal 2639
zcmb7G%~IP&9G9UfY0?DYI1bH6q1{5764^5jlU!qLV@xnsu)r?U8CXjzvqaKrw2N`L
zG`;uG&h!C#?x}r*zEYo{yV91
zQWQ;4RQ0isj@a7}Rl>K&@8&eCrs;aO(`{LtTc0TxUfWvX7w!5VGlkioZyqnNu82SJ
zxw^Wt+=~CpQ%tQ2K9R1*DAq~T_?dGF&6$?ApxrBLWqr1+-Peoo%)z7zprWCZy{SENB4BkFe
z$&IlqmD`<7y%@@XKG7=vG~X`I7u;20%vWttmioP>3GSu14;E8wsRbfq
z6}{I^BWB41@P)E!4^`46JfkvT&)nw&cS*pigsJiLEIyv3v0aw%R(LD#^FJPpOo0IM>?;Z7esmQFby
zf^U_8D?L$oe+PUg@nOdVYqBRV4i~iFYERb-<%e!W{3928=qP|bdTl=~(7P}UJ#0gU
zNl={{aD>lE{N#InV4=+eiK_f!m(8a8j*bFg)vIs$+
z7PFG6F}lDZz4Ja-qYHV`rYCt@pT_yNvuYv_5~5)0doGE5$f&{Fk8R`-`^-lHs|cGg
zA~vEF2V>u>C<%RZ)sasPF)K1UMK+_QtQdu7qcxGao@K{^Sxl~y$i&BXL@04t1=}Q`
zx02TvdMI#UlyA`~oIr#3`2HsN?|
zd<#$o2b4k2L(v*<9j#tfB9LMlcUHBl5=MyfhQ{kdD<5G%xdn9S2||oM{s?{11UjEp
zm>-6474h-rGLM*>
zAL7*D>wGI&6*?KmUC%9`P$2dj{wyKG^&r>2GEBx})Da)CV$R;Fi3Iynn*a~@YpX;SAC}Pyzt|GN&Ee|_Rrr%ZBR^q|NT`g+YipV=
Jo<;F0{tNu&QQ-gp
literal 0
HcmV?d00001
diff --git a/lib/adafruit_httpserver/request.mpy b/lib/adafruit_httpserver/request.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..46ebd255567707c5b6ed96f5633b474b5266cfd5
GIT binary patch
literal 1038
zcmYjQ-*4Mg6h7C9n~){LZXMVCA?lH>+d|Za5Cxb9L?vTci>ihu8$(QvW8acMVte*2
zQ=WPw`qBv@A^1a_W^3WG&C13z65?gs6aPT}0CpYq&-x*N~D
z1(EBzsc*U4Euu9EaXjpPkKJV#-`~a_S#rAddOfv}%6?sPpnLi4wE#RL-R;REFx`=A{(~dW>IO3JItF8F?=-v
zcSKlxSqjs;s|fD(1i4(TZj`ZZV%K8@=bK}5lwHli82@5SHqXhZVgUN#%jgD5{wURp
zYF$<78)}g~G{!#6t=IQvzb$suhp~s#Ai}f^vJjGCwvtAh?|}@WC^)X|V3%}rD39c5
z!#2Ajnu>dv5bWkS77K}dF2w$CkJ)HJiq_~7?1}JeE*v15qq`o~JfgcqYqu;MAUs3n
z&ycf&FuoJJ(m#=lAihc0FI~E^SiYI67eD+8`o1C=wq;?1uomz8%DmBTVT)+GX}Z|+
z2EHP@`UCAusX^sMDM}~d{S@0D`%?*8ds4m(zLa=WK-sXb#5Gk+s&7ftjbp|tg3Kl5-z?hP1BQG=O9>~ALO~mTb0Vm75-kJQN`c@
z_L9k@H~ShL)zB@=CTat#>$ZixnVL1~h~8*p^|icfYDpC4W~ixxKQ+^<8Ne26&YtIa
z+F}u&)>7PQ|I}9^6$3FS(g-JFiCAyrU73&2PBD}IoTWu1*i4}UI`XGbrN6}0j+xQl
zJ*_ZvxIaj9quO!lZhlW#oZ;z%VrA{>XX~k@D@!+Tu|CC3Y}h6iqT6Kag94Hy&uO(;eY`G>J_*wH$2I}ACCi{TPz@L?J_(S
zxQ`B>my-1G|Eyv8L{_@q8)18$UJ3+(w{{X_@Eqnj~
literal 0
HcmV?d00001
diff --git a/lib/adafruit_httpserver/response.mpy b/lib/adafruit_httpserver/response.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..29c45ec7abc08b094b42d5215b21e0d17a7f7372
GIT binary patch
literal 1896
zcmaJ?-A@}w5Z^u9U>rNF?~cO(QkxiK0vH@{T&0yNV(jpd1TdIVS4oXAOR%u-9N$5p
zX_U=JQfg&QW|zvVc`dW7X(g4G*J!!FOx2PitF*7QF+V@=_x6Ub#keb~4H7>7r5SOmN^XT}
z-MAIEVF`mooG~R+ic$cnSksqa*Jc6zxC_m>QRnNpm8Hiqy3UfVRz;OCSV~+Rxi~gK
z#KiFA#Kd%BCXwpqS{<}pmX$UeIEF8MkC3ZlR}-m?5(VRYF<+z^z(!5m_lPu_N=;4E
zo2yhcAe}7NmWNu=(9URCZB-?{VWn79fdD8v`p+leAksCEjNFo*qwYVDu
z=j7$gKscOC5@OivKi79|s@pa*h$Q4rCcC+rK`gaoR4OlK4gnB^O*to_O(N#yMY`U%
ztQ8By+ShNKw@AEsd?{a`aJC!I3|b}86y=sz<&^=Ogq#C)5^}lG(}DU3mZX~fg$<3W
z5QP0f*NaaX_91r@`;a*T@A@)Dqz4QJxtnP8BNcneI7h0;7vlx~DgDRIizAp$sYC
zFu-X53!%^5jV^c|k-r%3^ENScerVj+Iot7mC^$LZ7rxYibm4^QewT>1@A%BuV0L0xDUL`ct}hi%bGWdkKaUqubu$(#iOZ#zn0fyy_u;n-31K(JvC6J4o+S;{gcZ_+$q62<0JYJFD6NZbU2qHTEkHW0dm58D
z3~22O%HoDgJvDted3?9Bs_&3ZpTXv%u3s4r4>qx{4KTf({*NzQ3f}bf`@QV|so@x;
zs)!~Ds*B>`I#z|n!Shi!;$dotcB5gdl|Q2R(d_Pc7n)-8u6misHHb;a~11uU&`Scx$;KhBd<&Use
zQ_5<~|C6ZupL~N`j`ePkyqBub1M&0
zKXAS#7yJE8FzEMx)YH*}*z;N_yS!MWMWwv4mZ!HMw7u8}8|6_|2i~@;$v$p2iVvQT
z4;8&6tB<=+N
z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s0Yr!)X-Hc4*e|?q+R+D7=yMuIAarc*dZ?Gs1V&Sk2;s0
mbFEE2+xVqs+q9%Ift|K=vu?o!Bx&s?G3piRqS|Pa$^QU$5{o1N
literal 0
HcmV?d00001
diff --git a/lib/adafruit_httpserver/status.mpy b/lib/adafruit_httpserver/status.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..0dc04dd8b0526cbb4e7d59a8d363ea48ddb106de
GIT binary patch
literal 486
zcmYk3?@QZ27{{OF3|&-evc|KttHu;T!5<~mz1XX0O|f(&Ha&fN4b4dfZ8W)#NmocG
zdoku8Q}^Ha-*_#933uG_{XCzC`_WM3Epz&*Xh7~u7=_o#=!Vk)=l3Z~zOm#eM;a2YKp15h>3r&M%cQ&|w1u
z))0o04H$G=!cewl3>6#URZ7_drNUb3RSnRUEZ=i>;AK|)(2pbbSFD_U=Yj+LMkw0O
zLs`i-peh+aW(7rz&vIW9FnxE%-SK4Kw8j%_Zy3^8rhK5^Zx$ecpBsorC#&eSaS=M&oWFTFESP@k*3Dv8`~dBhF8
yldrVv23KxC-5~G-dR(h@`ZA;|r(t9U>|w-Gp02lsoF&8X*6c1m&~%d|PTm0Q7IvWk
literal 0
HcmV?d00001
diff --git a/lib/adafruit_ticks.mpy b/lib/adafruit_ticks.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..75c902d70199db222642ddff96f1e7f49fb1bc82
GIT binary patch
literal 625
zcmYk3QESss6vt1JWl4*;5>0vuBg@Hf5XAdo62;2`=G-j`+bXQ6uv+IYnlW{0
zt0JdiFTkA26iyLZrm&4sem$1al&QgCVdDk0@3HK~Ueu4$s2_TypXEy|b&34nbXCp-
z*Wj_VRiDmML9YuJ%{y$Ig8rEqUSN26hP#HqFb;OIW6WWc|4G~T4H1{~!VfzgV}4rg
z1xeEKxcTHsH%$l0V_kn2rrqJ&h8Okp>8|x>)1_~QvB#G09Hd>gy8Hv0y7+Sf0^9O@oGs~5b1|1
zoSa^2pD3m9hlLg=V~c*Um$pZiRxU}DS`QvF)73S4ex{8w_vLk+S6Am}jJ`3U*Yl6z
VXv%Gg9$SD4C#NP)e=tX(@E2Nu!VCZa
literal 0
HcmV?d00001
diff --git a/lib/asyncio/__init__.mpy b/lib/asyncio/__init__.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..8d44bd42ac77f0bbe15ed3dc5b5390a979dd62f1
GIT binary patch
literal 440
zcmYLF+e!m55Y4vMmb%uk$RhMXabYVeTPs!22SL1m;)C0Y`Zi|Mv>UXWB}prNYxRd(
z|3E*)Z!s%gU^tnXaAwY#lR|EF?X`oqQPC%Alu$0}06gIuAV^2!#Y_Kez2?_U_`c5{
z&;+Bxrd2IbAsNT^POuj=4qO*t$fV*T0q~HE0VGQWz;+pzyMu%(jGu{_*%dOvdC!Wl
zh3y{EF*9|U4Oyab`7C>~?_7jSPl7(;(v`so+e%AD`d;49ytxbt8O%qn4Mc0Hc8e~m
zgtTa>qgd-y9oFkTuH!)zP|>d+cSu(bxc*DvgiC4~*CQPp#Xr6SLs1LAGNG?jshJwQ1904!U!e&Gq}KFjHX`hOJ4nFm2{O-W+t_MAO?hicl%D
F`~{l#N1Nt)md(4aIsp4gY*V8-5=
zaRaK_T&H5A-DE4b5BtzoeORe4eW`66T2*S*CfV#upPH9$rPBTbRaLcrK+hfXooE5W
z{W$mBbARXS$Bf(6uRb1%7)Us!TN_3uSD45YO!AfD25nEr`$OxY+uu*CM*2rWDXl(M
zK5pOadMth1_V@ycZ+3n-yV*h1?BnFUG)ZrYh>D_}%dA@3nkCB3Q8u@{EaK)^&t}7X
zZ=askm(5bn)|}NoL1}9ayb9L`pCy{=ZM8Nmg@Zx6Me-zLJ7a8{dWPK5Gph=BsShs0
z^SZT~Dv=TqJ!}|u^@`f=EBf4^4L(bkPobr<$csGedTfw7*x}Ia`6ws$&FDsk>g+h_t
zL}}P{<7}7GcbC{2m}1yk9=4*Q63moLlg*vW{Ysxf?jMq104$|4oZsr72XoYYG}ZgM
zWt_HElh|esG-lIC96uhTPt-W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literal 0
HcmV?d00001
diff --git a/lib/asyncio/funcs.mpy b/lib/asyncio/funcs.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..6eb377ed9092b5fb0f5af2c3b26eb183d1c18f6f
GIT binary patch
literal 703
zcmYL`&rcIU6vyARv`e9-WxFn@HB`4{u@FFLnwStn+M3dO&;=A~LbmHNNJG2Z%x;66
z7$9==Z|N`8g9nu2!G8cxa56D5@o#XtXuM74y*J;_d|t-m8jBwGk4AutYSx~im(7{2
zx}jUswLR)Dm1^%EzV*RDs9!e;PN3U>B1lBVVH6&)Dj3%iXk{M6(5_at)h(0EAyNEy
zR;$*^6g&&vBiODJL&a}&T(irjVZEAniT>A`y^V>YgZp^m*BPaB@e|?#RHXjIc>Xvb
zNh_Jz>7104WL%Zx`{3pHfDlz{#H^Y&R&7(YHEXAlLZ?mTGV7xafmc<{30G5~Z0qko
zMBT14MfNH($9n`(Cs^wZvZ*%j4u|wQxqc$)N}=vj5L(S761d)Mv9JJZyeAyVXoij}
z6}>yp1y&b`?JIyI5p5QdAdaHF87l!%|y4Fi*#RE|msWhy5DLv0Je
z9;b|!yM0(R@&~@5BK6T`KFdxgMU=A@?UwGJQB@s=h>Dt*+
z2wLsu!i^qQtNo%d$*2P1J3Pb^uB+@V+RYC^Bg@eaE2dqv!{l@)`W!h2Kh|GfWIpZ}
si!CN0egOF)VWCpCY~8HZ9u3kGOhQ9_5`@pZPmr4_G$W*c?>m3_13@^?3;+NC
literal 0
HcmV?d00001
diff --git a/lib/asyncio/lock.mpy b/lib/asyncio/lock.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..4f3ca5f903b4b3e30ac26b5e1dc440187c928372
GIT binary patch
literal 603
zcmXYt&2G~`6ov03b(7E}_>ZYeQwVAUDX2xVf;Vg;>PobVP*WmM7S+T!S0qYgyS4+(
zZc>p25*yxvrCGA0h?l5TiC1B4*v;H?b-r`Yft0&nU+l;_6z)0E+;hkN)2Z)H_JcVu
z5844N5R7JPboW{A2I(tD`MJQG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C5!rCayszTa8LU34G*iUrU=
zp}=5ZcnH+cn^+sFm*2#Xp@S~R{%qCDuj5v2OySLTwN|VDjji0m^4Y+bl~x(!BZ5VA
R?tqB2+1Mt{&zno1{|m9GUi$z5
literal 0
HcmV?d00001
diff --git a/lib/asyncio/task.mpy b/lib/asyncio/task.mpy
new file mode 100644
index 0000000000000000000000000000000000000000..2464c85915fa7d6d25262ed2838f629f3d51b17e
GIT binary patch
literal 1412
zcmY*Z&rjn<6rQnh<0J$Uk1-BEx-`KFkfjh4p{kcgNw!d_QVHcyq?OXh88#6i$tI>P
zs#GSlkrs6iJ@;Dm+;IZ;1$HmJ?x8*L7xdEqpl_UAscUI8GjHDe-h1DCXj4P
ztl8MmVcDrRx{cNoTQW4*)o7Et^uU&*+5sSzPw6SmNd`W!C!(sbh)vl+%1?RQ4n|l!
zl}IJFmREOIEXyjaSgV$Wc=^60G0*Y*nLAoU*WHG5+^f_YM@O7YLY`xK<`KLtvA=GI
zr8UM$6pT*2(X2s`$~kZ_grYF
zOIt2?JQCoh0>?5ZGGK-ntOF1h@EoWgP1Lg!b^D@}U0$4Fb|RUutTc?34OG4U;){(~SZq%3PE
zk=%G>uUH9S1>kqBfUk-2%DX1m
z2L|VN0~9|15`g0kczf5TdR_Jk4bv^(RqVju<=^j6`>=
z8Y4*GphnZ4nvJpV5!Z>Qt?MCQn%ihwIvo3i`)XX953?VvO~^ETqgkLJGMmF7InU2q
zOH3gaU_T-)4W)Sh!;f6(>T)*t{22>eh6ce;2cdTyLMe;zX+CHr+}<+F#Pv7*ZM#50=#1>*ht(j?QeIRs4>5EFNdF8hz;
zI*Kdo_nrD4M92`q3895Km}Grj%aEvZ+O3FR&o(~fnoMLfI8K-kMi(ROk357$Ui)B!
z$Eyz)6?XM?K3&M{CJ(;IY#y#}u7QJ6l-QobwFrrbx33{PiF25O0L2^BP!;OaKFCSM
zf6g^@2&top<)qR)9Ah17h1^
+
+
+
+
+
+
+
+ amora
+
+
+
+