Repository: Vinyzu/MjolnirAiO
Branch: main
Commit: a00bb491a3ee
Files: 13
Total size: 169.0 KB
Directory structure:
gitextract_k7joei7s/
├── LICENSE
├── README.md
├── changelog.md
├── contributing.md
├── frontend/
│ ├── checker.html
│ ├── combo.html
│ ├── generator.html
│ ├── liker.html
│ └── streamer.html
├── mjolnir.py
├── requirements.txt
├── static/
│ └── style.css
└── usages.md
================================================
FILE CONTENTS
================================================
================================================
FILE: LICENSE
================================================
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
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
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.
Mjolnir AiO Copyright (C) 2022 Vinyzu
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it under certain conditions.
================================================
FILE: README.md
================================================
# Mjolnir AiO
Mjolnir All in One is the most advanced Spotify Botting tool on the Market.
All of its features are open source and free to use.
## Features
- Desktop / Web / Request Generator
- Desktop / Web Streamer
- Liker
- Web / Mail Checker
### Demo Video (Showing Desktop Generator and Streamer)
https://user-images.githubusercontent.com/50874994/169865287-4c7a14e5-00f3-4fd8-b40d-1daebab524b7.mp4
## Installation
### Installing Mjolnir with Python
```bash
git clone https://github.com/Vinyzu/MjolnirAiO MjolnirAiO
cd MjolnirAiO
pip install -r requirements.txt
python mjolnir.py
```
### Further Requirements
- Windows
- Install [Spotify](https://www.spotify.com/download/windows/)
- Install [Sandboxie](https://github.com/sandboxie-plus/Sandboxie/releases/download/1.0.22/Sandboxie-Classic-x64-v5.55.22.exe)
- [Git](https://git-scm.com/downloads) (To install Mjolnir)
- [Pip](https://pip.pypa.io/en/stable/installation/) (To install Mjolnir)
## Using
[Recommended Usage](https://github.com/Vinyzu/MjolnirAiO/blob/main/usages.md)
## Logging
Note:
This Software logs your usage. However, it just sends the amount of usage to my server, you can always delete the lines of code, and most importantly, it uses proxies so your IP-address is hidden. I cant tell who is when using this software, just how often everyone together uses it. Thanks if you support me by this little if you don´t delete the lines.
## Contributing
Contributions are always welcome!
See [Contributing](https://github.com/Vinyzu/MjolnirAiO/blob/main/contributing.md) for ways to get started.
## To the Skids
Hello, skid. I know its in your nature to laboriously copy and paste this project and sell it as yours. And i can´t 100% prevent that. However, legally you aren´t allowed to share your skidded Mjolnir other than the source code. And i know that you give a fuck about Licenses and Copyright, but if you gonna use this code as yours and don´t mark me as the original author, i can assure you that you won´t have a good time selling this ;d.
## Copyright and License
© [Vinyzu](https://github.com/Vinyzu/)
[GNU GPL](https://choosealicense.com/licenses/gpl-3.0/)
(Commercial Usage is allowed, but source, license and copyright has to made available. Mjolnir does not provide and Liability or Warranty)
## Authors
- [@Vinyzu](https://github.com/Vinyzu)
`If you appreciate this Repository, I would love to see you star and share this. It took a lot of effort and time to code all of those features and i originally planned to sell this project, so I´m "wasting" money for everyone´s fun ;:D.`
[](https://discord.gg/NurPCR25uX)
[](https://discordapp.com/users/935224495126487150)
[](https://ko-fi.com/vinyzu)




================================================
FILE: changelog.md
================================================
# Changelog
Every new change will be logged
## v1.0.7
```
+ Updated Generator.html, Request-Buttons overwrote Desktop-Buttons (for example the Desktop Proxy Button didnt work)
+ Added a General-Class, for functions that are used multiple times (reduces lines of code)
+ Added new Desktop-Spotify self-killing function (to avoid closing threads if the main call has an error)
+ Fixxed the Request-Passwords, before sometimes the Password was to short
+ Fixxed the .exe Loggings (was coded for Selling as .exe, now is .py)
+ Fixxed Username-Password splitting everywhere (Now you can also leave the :name at the end)
+ Some unnecessary lines were removed and some indentations cleaned up
```
## v1.0.6
```
+ Fixxed Like Probability (Liked every time before)
+ Added Exception-Catcher on Browser-Crasher (threw an error sometimes before that you can just ignore)
+ Recoded DesktopStreamer´s combo Algorithm (used the same account over and over again before)
-> Note: Maight have to recode same Algorithm on other features!
```
## v1.0.5
```
+ Edited Sandbox Deletion (No AdminPerms required anymore and beforehand it didnt delete them sometimes)
+ Fixxed DesktopStreamer Mute Feature
+ Fixxed DesktopStreamer Preferences-Setting
+ Fixxed WebStreamer Threads
+ Some (a bit unnecessary) Sandbox renaming to avoid Sandbox-issues
```
## v1.0.4
```
+ Recoded the WebStreamer Calling Algorithm (Called one combo over and over again before)
+ Changed Usage of executable_path to service object when calling selenium
+ Added Login Button Click in the DesktopStreamer (Failed to Login before if u werent logged in yet)
```
## v1.0.3
```
+ Deleted unnecessary requirements (Packages are already inbuilt since python 3.x)
+ Added Git and Pip to Program Requirements (for mjolnir installation)
+ Changed Variable-name from "password" to "pw" in the Liker
+ Doc-stringed "proxy-select" interactions (broke web-stream-button)
```
## v1.0.2
```
+ Deleted unnecessary prints
+ Deleted "print_first_line=False, log_level=0" when calling ChromeDriverManager, not supported on new versions
+ Added "logging.getLogger('WDM').setLevel(logging.NOTSET)" to replace functionality of above update
+ Changed path adding of "[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)" (Before it was shown letter by letter in the logs)
+ Removing "If you paid for this you got scammed" when Logs show up (they overlapped)
+ Changed twocaptcha requirement to 2captcha-python (wrong package was put on initial commit)
```
## v1.0.1
```
+ Changed Download to Sandboxie (Old Dowload suggested Sandboxie-Plus, which was not supported)
+ Changed websocket requirement to websocket-client (wrong package was put on initial commit)
+ Added " replacement in Desktop-Generator´s output_path
+ Song-Count Request is now converted to an int() to compare with start-position, which is an int
```
## v1.0
```
+ First Commit
```
================================================
FILE: contributing.md
================================================
Contributing
============
If you want to contribute to a project and make it better, your help is very welcome. Contributing is also a great way to learn more about social coding on Github, new technologies and and their ecosystems and how to make constructive, helpful bug reports, feature requests and the noblest of all contributions: a good, clean pull request.
### How to make a clean pull request
Look for a project's contribution instructions. If there are any, follow them.
- Create a personal fork of the project on Github.
- Clone the fork on your local machine. Your remote repo on Github is called `origin`.
- Add the original repository as a remote called `upstream`.
- If you created your fork a while ago be sure to pull upstream changes into your local repository.
- Create a new branch to work on! Branch from `develop` if it exists, else from `master`.
- Implement/fix your feature, comment your code.
- Follow the code style of the project, including indentation.
- If the project has tests run them!
- Write or adapt tests as needed.
- Add or change the documentation as needed.
- Squash your commits into a single commit with git's [interactive rebase](https://help.github.com/articles/interactive-rebase). Create a new branch if necessary.
- Push your branch to your fork on Github, the remote `origin`.
- From your fork open a pull request in the correct branch. Target the project's `develop` branch if there is one, else go for `master`!
- …
- If the maintainer requests further changes just push them to your branch. The PR will be updated automatically.
- Once the pull request is approved and merged you can pull the changes from `upstream` to your local repo and delete
your extra branch(es).
And last but not least: Always write your commit messages in the present tense. Your commit message should describe what the commit, when applied, does to the code – not what you did to the code.
`Source: https://github.com/MarcDiethelm/contributing`
================================================
FILE: frontend/checker.html
================================================
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="{{ url_for('static',filename='style.css') }}">
<meta charset="utf-8">
<title>Mjolnir AiO Tool</title>
<link rel="icon" href="https://i.ibb.co/f49G2GL/Spotify-Logo.png">
</head>
<body>
<div id="mySidenav" class="sidenav">
<a href="http://mjolnir.tool/generator">Generator</a>
<a href="http://mjolnir.tool/streamer">Streamer</a>
<a href="http://mjolnir.tool/liker">Liker</a>
<a href="http://mjolnir.tool/checker">Checker</a>
<a href="http://mjolnir.tool/combo">ComboEditor</a>
<a href="https://github.com/Vinyzu/MjolnirAiO/" style="position: absolute; bottom: 40px; font-size: 20px;">Coded by Vinyzu</a>
</div>
<div class="title">
<h1>Checker</h1>
<a id="scam" href="https://github.com/Vinyzu/MjolnirAiO/" style="margin: auto; width: 95%; position: absolute; bottom: 22px; font-size: 20px;">If you paid for this, you got scammed!</a>
</div>
<div class="selection">
<br><br>
<input type="submit" value="Checker (Slow)" id="checker"><br><br>
<input type="submit" value="Mail Checker (Fast)" id="mchecker"><br><br>
</div>
<div class="content">
<br><br>
<label for="threads">Threads: </label><input type="text" id="threads" name="threads" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="proxy-switch"><span class="slider round"></span></label><br><br>
<div class="proxy-select", id="div-proxy-select">
<label for="gender">Select a Proxy-Type: </label>
<select name="proxy" id="proxy-select">
<option value="residential">Residential</option>
<option value="datacenter">Datacenter</option>
</select><br><br>
</div>
<!-- <label for="threads">Time between Likes: </label><input type="text" id="timeout" name="timeout" value="5"><br><br> -->
<label for="amount">Maximum Timeout: </label><input type="text" id="max" name="max" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Seconds</label><br><br>
<label for="amount">Combo Path: </label><input type="text" id="combo" name="combo" value=""><br><br>
<input type="submit" value="Submit" id="submit"><br><br>
<input type="file" id="logo">
<br><br>
<label for="logs" id="logs">Logs:</label><br><br>
<textarea id="textarea" name="textarea" rows="4" cols="50" readonly></textarea>
</div>
<div class="content">
<br><br>
<label for="threads">Threads: </label><input type="text" id="r_threads" name="threads" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="r_proxy-switch"><span class="slider round"></span></label><br><br>
<!-- <label for="threads">Time between Likes: </label><input type="text" id="timeout" name="timeout" value="5"><br><br> -->
<label for="amount">Maximum Timeout: </label><input type="text" id="r_max" name="max" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Seconds</label><br><br>
<label for="amount">Combo Path: </label><input type="text" id="r_combo" name="combo" value=""><br><br>
<input type="submit" value="Submit" id="r_submit"><br><br>
<input type="file" id="r_logo">
<br><br>
<label for="logs" id="r_logs">Logs:</label><br><br>
<textarea id="r_textarea" name="textarea" rows="4" cols="50" readonly></textarea>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
document.getElementsByClassName("content")[0].style.display = 'none';
document.getElementsByClassName("content")[1].style.display = 'none';
document.getElementById("checker").onclick = function(e) {document.getElementsByClassName("content")[0].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
document.getElementById("mchecker").onclick = function(e) {document.getElementsByClassName("content")[1].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
// r_
$("#textarea").css('opacity','0');
$("#logs").css('opacity','0');
$("#r_textarea").css('opacity','0');
$("#r_logs").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
window.setInterval(function() {var elem = document.getElementById('r_textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
var proxies = "";
$("#logo").css('opacity','0');
document.getElementsByClassName("proxy-select")[0].style.display = 'none';
document.getElementById("proxy-switch").onclick = function(e){if (! document.getElementById("proxy-switch").checked) {document.getElementById("proxy-switch").checked = false; proxies = ""; document.getElementsByClassName("proxy-select")[0].style.display = 'none';} else {$("#logo").trigger('click');}};
$('#logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementsByClassName("proxy-select")[0].style.display = 'block';});
document.getElementById("submit").onclick = function(e){
$.ajax({
type: "POST",
url: "{{ url_for("checker") }}",
contentType: "application/json",
data: JSON.stringify({
// timeout: document.getElementById("timeout").value,
threads: document.getElementById("threads").value,
proxies: proxies,
proxy_type: document.getElementById("proxy-select").value,
max: document.getElementById("max").value,
path: document.getElementById("combo").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#textarea").css('opacity','100');
$("#logs").css('opacity','100');
});
},
error: function(err) {
console.log(err);
}
});
}
var r_proxies = "";
$("#r_logo").css('opacity','0');
document.getElementById("r_proxy-switch").onclick = function(e){if (! document.getElementById("r_proxy-switch").checked) {document.getElementById("r_proxy-switch").checked = false; r_proxies = "";} else {$("#r_logo").trigger('click');}};
$('#logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){r_proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();});
document.getElementById("r_submit").onclick = function(e){
$.ajax({
type: "POST",
url: "{{ url_for("mchecker") }}",
contentType: "application/json",
data: JSON.stringify({
// timeout: document.getElementById("timeout").value,
threads: document.getElementById("r_threads").value,
proxies: r_proxies,
max: document.getElementById("r_max").value,
path: document.getElementById("r_combo").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('r_textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#r_textarea").css('opacity','100');
$("#r_logs").css('opacity','100');
});
},
error: function(err) {
console.log(err);
}
});
}
</script>
</html>
================================================
FILE: frontend/combo.html
================================================
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="{{ url_for('static',filename='style.css') }}">
<meta charset="utf-8">
<title>Mjolnir AiO Tool</title>
<link rel="icon" href="https://i.ibb.co/f49G2GL/Spotify-Logo.png">
</head>
<body>
<div id="mySidenav" class="sidenav">
<a href="http://mjolnir.tool/generator">Generator</a>
<a href="http://mjolnir.tool/streamer">Streamer</a>
<a href="http://mjolnir.tool/liker">Liker</a>
<a href="http://mjolnir.tool/checker">Checker</a>
<a href="http://mjolnir.tool/combo">ComboEditor</a>
<a href="https://github.com/Vinyzu/MjolnirAiO/" style="position: absolute; bottom: 40px; font-size: 20px;">Coded by Vinyzu</a>
</div>
<div class="title">
<h1>Liker</h1>
<a href="https://github.com/Vinyzu/MjolnirAiO/" style="margin: auto; width: 95%; position: absolute; bottom: 22px; font-size: 20px;">If you paid for this, you got scammed!</a>
</div>
<div class="content">
<br><br>
<label for="amount">Combo Path: </label><input type="text" id="combo" name="combo" value=""><br><br>
<label for="amount">Output File Name: </label><input type="text" id="name" name="name" value=""><br><br>
<input type="submit" value="Submit" id="submit"><br><br>
<input type="file" id="logo">
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
document.getElementById("submit").onclick = function(e){
$.ajax({
type: "POST",
url: "{{ url_for("wgen") }}",
contentType: "application/json",
data: JSON.stringify({
combo: document.getElementById("combo").value,
name: document.getElementById("name").value,
}),
dataType: "json",
success: function(response) {
console.log(response);
},
error: function(err) {
console.log(err);
}
});
}
</script>
</html>
================================================
FILE: frontend/generator.html
================================================
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="{{ url_for('static',filename='style.css') }}">
<meta charset="utf-8">
<title>Mjolnir AiO Tool</title>
<link rel="icon" href="https://i.ibb.co/f49G2GL/Spotify-Logo.png">
</head>
<body>
<div id="mySidenav" class="sidenav">
<a href="http://mjolnir.tool/generator">Generator</a>
<a href="http://mjolnir.tool/streamer">Streamer</a>
<a href="http://mjolnir.tool/liker">Liker</a>
<a href="http://mjolnir.tool/checker">Checker</a>
<a href="http://mjolnir.tool/combo">ComboEditor</a>
<a href="https://github.com/Vinyzu/MjolnirAiO/" style="position: absolute; bottom: 40px; font-size: 20px;">Coded by Vinyzu</a>
</div>
<div class="title">
<h1>Generator</h1>
<a id="scam" href="https://github.com/Vinyzu/MjolnirAiO/" style="margin: auto; width: 95%; position: absolute; bottom: 22px; font-size: 20px;">If you paid for this, you got scammed!</a>
</div>
<div class="selection">
<br><br>
<input type="submit" value="Desktop Generator" id="desktop"><br><br>
<input type="submit" value="Web Generator" id="web"><br><br>
<input type="submit" value="Request Generator" id="request"><br><br>
</div>
<div class="content">
<label for="amount" style="font-size: 15px; color: #545454;">Desktop-Generator</label><br><br>
<br><br>
<label for="amount">Amount: </label><input type="text" id="amount" name="amount" value="1" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Threads: </label><input type="text" id="threads" name="threads" value="1" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Use Own Names: </label>
<label class="switch"><input type="checkbox" id="name-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use Own Passwords: </label>
<label class="switch"><input type="checkbox" id="password-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="proxy-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use a Webhook: </label>
<label class="switch"><input type="checkbox" id="webhook-switch"><span class="slider round"></span></label><br><br>
<label for="gender">Select a gender: </label>
<select name="gender" id="gender-select">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="none">NonBinary</option>
</select><br><br>
<label for="order">Select a date-order: </label>
<select name="order" id="order-select">
<option value="day">Day-Month-Year</option>
<option value="month">Month-Day-Year</option>
</select><br><br>
<label for="threads">Minimal Age: </label><input type="text" id="minAge" name="minAge" value="1970" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Maximal Age: </label><input type="text" id="maxAge" name="maxAge" value="1980" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Alternative Month Selection: </label>
<label class="switch"><input type="checkbox" id="alternative-switch"><span class="slider round"></span></label><br>
<label for="amount" style="font-size: 15px; color: #545454;">Use only when told by Support</label><br><br>
<label for="amount">Output Path: </label><input type="text" id="path" name="path" value=""><br><br>
<input type="submit" value="Submit" id="submit"><br><br>
<input type="file" id="logo">
<input type="file" id="logo1">
<input type="file" id="logo2">
<br><br>
<label for="logs" id="logs">Logs:</label><br><br>
<textarea id="textarea" name="textarea" rows="4" cols="50" readonly></textarea>
</div>
<div class="content">
<label for="amount" style="font-size: 15px; color: #545454;">Web-Generator</label><br><br>
<br><br>
<label for="amount">Amount: </label><input type="text" id="w_amount" name="w_amount" value="1" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Threads: </label><input type="text" id="w_threads" name="w_threads" value="1" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Use Own Names: </label>
<label class="switch"><input type="checkbox" id="w_name-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use Own Passwords: </label>
<label class="switch"><input type="checkbox" id="w_password-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="w_proxy-switch"><span class="slider round"></span></label><br><br>
<label for="gender">Select a gender: </label>
<select name="gender" id="w_gender-select">
<option value="male">Male</option>
<option value="female">Female</option>
<option value="none">NonBinary</option>
</select><br><br>
<label for="threads">Minimal Age: </label><input type="text" id="w_minAge" name="minAge" value="1970" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Maximal Age: </label><input type="text" id="w_maxAge" name="maxAge" value="1980" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">2Captcha Key: </label><input type="text" id="w_key" name="w_key" value=""><br><br>
<label for="amount">Output Path: </label><input type="text" id="w_path" name="path" value=""><br><br>
<input type="submit" value="Submit" id="w_submit"><br><br>
<input type="file" id="w_logo">
<input type="file" id="w_logo1">
<input type="file" id="w_logo2">
<br><br>
<label for="logs" id="w_logs">Logs:</label><br><br>
<textarea id="w_textarea" name="w_textarea" rows="4" cols="50" readonly></textarea>
</div>
<div class="content">
<label for="amount" style="font-size: 15px; color: #545454;">Request-Generator</label><br><br>
<br><br>
<label for="amount">Amount: </label><input type="text" id="r_amount" name="r_amount" value="1" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Threads: </label><input type="text" id="r_threads" name="r_threads" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Use Own Names: </label>
<label class="switch"><input type="checkbox" id="r_name-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use Own Passwords: </label>
<label class="switch"><input type="checkbox" id="r_password-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="r_proxy-switch"><span class="slider round"></span></label><br><br>
<label for="amount">Output Path: </label><input type="text" id="r_path" name="r_path" value=""><br><br>
<input type="submit" value="Submit" id="r_submit"><br><br>
<input type="file" id="r_logo">
<input type="file" id="r_logo1">
<input type="file" id="r_logo2">
<br><br>
<label for="logs" id="r_logs">Logs:</label><br><br>
<textarea id="r_textarea" name="r_textarea" rows="4" cols="50" readonly></textarea>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
$("#textarea").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
$("#r_textarea").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('r_textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
$("#w_textarea").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('w_textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
$("#w_logs").css('opacity','0');
$("#logs").css('opacity','0');
$("#r_logs").css('opacity','0');
var names = "";
$("#logo").css('opacity','0');
document.getElementById("name-switch").onclick = function(e){if (! document.getElementById("name-switch").checked) {document.getElementById("name-switch").checked = false; names = "";} else {$("#logo").trigger('click');}};
$('#logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){names = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("name-switch").checked = true;});
var passwords = "";
$("#logo1").css('opacity','0');
document.getElementById("password-switch").onclick = function(e){if (! document.getElementById("password-switch").checked) {document.getElementById("password-switch").checked = false; passwords = "";} else {$("#logo1").trigger('click');}};
$('#logo1').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){passwords = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("password-switch").checked = true;});
var proxies = "";
$("#logo2").css('opacity','0');
document.getElementById("proxy-switch").onclick = function(e){if (! document.getElementById("proxy-switch").checked) {document.getElementById("proxy-switch").checked = false; proxies = "";} else {$("#logo2").trigger('click');}};
$('#logo2').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("proxy-switch").checked = true;});
var webhook = "";
document.getElementById("webhook-switch").onclick = function(e){
if (! document.getElementById("webhook-switch").checked) {
document.getElementById("webhook-switch").checked = false; webhook = "";
} else {
var url = prompt("Please enter your webhook:", "");
if (! url.includes("https")) {
alert("The Webhook-Url was invalid!");
document.getElementById("webhook-switch").checked = false;
} else {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = 'json';
xhr.onload = function(e) {console.log(xhr.response);
if(xhr.response.hasOwnProperty('message')){alert("The Webhook-Url was invalid!"); document.getElementById("webhook-switch").checked = false;
} else {webhook = url;}}
xhr.send();
}}};
document.getElementById("submit").onclick = function(e){
url = $.ajax({
type: "POST",
url: "{{ url_for("dgen") }}",
contentType: "application/json",
data: JSON.stringify({
amount: document.getElementById("amount").value,
threads: document.getElementById("threads").value,
names: names,
passwords: passwords,
proxies: proxies,
webhook: webhook,
gender: document.getElementById("gender-select").value,
order: document.getElementById("order-select").value,
alternative: document.getElementById("alternative-switch").checked,
minAge: document.getElementById("minAge").value,
maxAge: document.getElementById("maxAge").value,
path: document.getElementById("path").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#textarea").css('opacity','100');
$("#logs").css('opacity','100');
});
},
error: function(err){console.log(err);}})
}
var w_names = "";
$("#w_logo").css('opacity','0');
document.getElementById("w_name-switch").onclick = function(e){if (! document.getElementById("w_name-switch").checked) {document.getElementById("w_name-switch").checked = false; w_names = "";} else {$("#w_logo").trigger('click');}};
$('#w_logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){w_names = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("w_name-switch").checked = true;});
var w_passwords = "";
$("#w_logo1").css('opacity','0');
document.getElementById("w_password-switch").onclick = function(e){if (! document.getElementById("w_password-switch").checked) {document.getElementById("w_password-switch").checked = false; w_passwords = "";} else {$("#w_logo1").trigger('click');}};
$('#w_logo1').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){w_passwords = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("w_password-switch").checked = true;});
var w_proxies = "";
$("#w_logo2").css('opacity','0');
document.getElementById("w_proxy-switch").onclick = function(e){if (! document.getElementById("w_proxy-switch").checked) {document.getElementById("w_proxy-switch").checked = false; w_proxies = "";} else {$("#w_logo2").trigger('click');}};
$('#w_logo2').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){w_proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("w_proxy-switch").checked = true;});
document.getElementById("w_submit").onclick = function(e){
url = $.ajax({
type: "POST",
url: "{{ url_for("wgen") }}",
contentType: "application/json",
data: JSON.stringify({
amount: document.getElementById("w_amount").value,
threads: document.getElementById("w_threads").value,
names: w_names,
passwords: w_passwords,
proxies: w_proxies,
gender: document.getElementById("w_gender-select").value,
minAge: document.getElementById("w_minAge").value,
maxAge: document.getElementById("w_maxAge").value,
key: document.getElementById("w_key").value,
path: document.getElementById("w_path").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('w_textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#w_textarea").css('opacity','100');
$("#w_logs").css('opacity','100');
});
},
error: function(err){console.log(err);}})
}
document.getElementsByClassName("content")[0].style.display = 'none';
document.getElementsByClassName("content")[1].style.display = 'none';
document.getElementsByClassName("content")[2].style.display = 'none';
document.getElementById("desktop").onclick = function(e) {document.getElementsByClassName("content")[0].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
document.getElementById("web").onclick = function(e) {document.getElementsByClassName("content")[1].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
document.getElementById("request").onclick = function(e) {document.getElementsByClassName("content")[2].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
var r_names = "";
$("#r_logo").css('opacity','0');
document.getElementById("r_name-switch").onclick = function(e){if (! document.getElementById("r_name-switch").checked) {document.getElementById("r_name-switch").checked = false; r_names = "";} else {$("#r_logo").trigger('click');}};
$('#r_logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){r_names = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("r_name-switch").checked = true;});
var r_passwords = "";
$("#r_logo1").css('opacity','0');
document.getElementById("r_password-switch").onclick = function(e){if (! document.getElementById("r_password-switch").checked) {document.getElementById("r_password-switch").checked = false; r_passwords = "";} else {$("#r_logo1").trigger('click');}};
$('#r_logo1').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){r_passwords = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("r_password-switch").checked = true;});
var r_proxies = "";
$("#r_logo2").css('opacity','0');
document.getElementById("r_proxy-switch").onclick = function(e){if (! document.getElementById("r_proxy-switch").checked) {document.getElementById("r_proxy-switch").checked = false; r_proxies = "";} else {$("#r_logo2").trigger('click');}};
$('#r_logo2').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){r_proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementById("r_proxy-switch").checked = true;});
document.getElementById("r_submit").onclick = function(e){
url = $.ajax({
type: "POST",
url: "{{ url_for("rgen") }}",
contentType: "application/json",
data: JSON.stringify({
amount: document.getElementById("r_amount").value,
threads: document.getElementById("r_threads").value,
names: r_names,
passwords: r_passwords,
proxies: r_proxies,
path: document.getElementById("r_path").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('r_textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#r_textarea").css('opacity','100');
$("#r_logs").css('opacity','100');
});
},
})}
</script>
</html>
================================================
FILE: frontend/liker.html
================================================
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="{{ url_for('static',filename='style.css') }}">
<meta charset="utf-8">
<title>Mjolnir AiO Tool</title>
<link rel="icon" href="https://i.ibb.co/f49G2GL/Spotify-Logo.png">
</head>
<body>
<div id="mySidenav" class="sidenav">
<a href="http://mjolnir.tool/generator">Generator</a>
<a href="http://mjolnir.tool/streamer">Streamer</a>
<a href="http://mjolnir.tool/liker">Liker</a>
<a href="http://mjolnir.tool/checker">Checker</a>
<a href="http://mjolnir.tool/combo">ComboEditor</a>
<a href="https://github.com/Vinyzu/MjolnirAiO/" style="position: absolute; bottom: 40px; font-size: 20px;">Coded by Vinyzu</a>
</div>
<div class="title">
<h1>Liker</h1>
<a id="scam" href="https://github.com/Vinyzu/MjolnirAiO/" style="margin: auto; width: 95%; position: absolute; bottom: 22px; font-size: 20px;">If you paid for this, you got scammed!</a>
</div>
<div class="content">
<br><br>
<label for="amount">Link: </label><input type="text" id="link" name="link" value=""><br><br>
<label for="threads">Threads: </label><input type="text" id="threads" name="threads" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="proxy-switch"><span class="slider round"></span></label><br><br>
<div class="proxy-select", id="div-proxy-select">
<label for="gender">Select a Proxy-Type: </label>
<select name="proxy" id="proxy-select">
<option value="residential">Residential</option>
<option value="datacenter">Datacenter</option>
</select><br><br>
</div>
<label for="threads">Timeout between Streams: </label><input type="text" id="timeout" name="timeout" value="5" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Seconds</label><br><br>
<label for="amount">Combo Path: </label><input type="text" id="combo" name="combo" value=""><br><br>
<input type="submit" value="Submit" id="submit"><br><br>
<input type="file" id="logo">
<br><br>
<label for="logs" id="logs">Logs:</label><br><br>
<textarea id="textarea" name="textarea" rows="4" cols="50" readonly></textarea>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
$("#textarea").css('opacity','0');
$("#logs").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
var proxies = "";
$("#logo").css('opacity','0');
document.getElementsByClassName("proxy-select")[0].style.display = 'none';
document.getElementById("proxy-switch").onclick = function(e){if (! document.getElementById("proxy-switch").checked) {document.getElementById("proxy-switch").checked = false; proxies = ""; document.getElementsByClassName("proxy-select")[0].style.display = 'none';} else {$("#logo").trigger('click');}};
$('#logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
document.getElementsByClassName("proxy-select")[0].style.display = 'block';});
document.getElementById("submit").onclick = function(e){
$.ajax({
type: "POST",
url: "{{ url_for("liker") }}",
contentType: "application/json",
data: JSON.stringify({
link: document.getElementById("link").value,
threads: document.getElementById("threads").value,
timeout: document.getElementById("timeout").value,
proxies: proxies,
proxy_type: document.getElementById("proxy-select").value,
path: document.getElementById("combo").value,
}),
// dataType: "json",
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#textarea").css('opacity','100');
$("#logs").css('opacity','100');
});
},
error: function(err) {
console.log(err);
}
});
}
</script>
</html>
================================================
FILE: frontend/streamer.html
================================================
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<link rel="stylesheet" href="{{ url_for('static',filename='style.css') }}">
<meta charset="utf-8">
<title>Mjolnir AiO Tool</title>
<link rel="icon" href="https://i.ibb.co/f49G2GL/Spotify-Logo.png">
</head>
<body>
<div id="mySidenav" class="sidenav">
<a href="http://mjolnir.tool/generator">Generator</a>
<a href="http://mjolnir.tool/streamer">Streamer</a>
<a href="http://mjolnir.tool/liker">Liker</a>
<a href="http://mjolnir.tool/checker">Checker</a>
<a href="http://mjolnir.tool/combo">ComboEditor</a>
<a href="https://github.com/Vinyzu/MjolnirAiO/" style="position: absolute; bottom: 40px; font-size: 20px;">Coded by Vinyzu</a>
</div>
<div class="title">
<h1>Streamer</h1>
<a id="scam" href="https://github.com/Vinyzu/MjolnirAiO/" style="margin: auto; width: 95%; position: absolute; bottom: 22px; font-size: 20px;">If you paid for this, you got scammed!</a>
</div>
<div class="selection">
<br><br>
<input type="submit" value="Desktop Streamer" id="desktop"><br><br>
<input type="submit" value="Web Streamer" id="web"><br><br>
</div>
<div class="content">
<label for="amount" style="font-size: 15px; color: #545454;">Desktop-Streamer</label><br><br>
<br><br>
<label for="amount">Links: </label><input type="text" id="link" name="link" value=""><br>
<label for="amount" style="font-size: 15px; color: #545454;">URLs(Seperated by ",")/FilePath</label><br><br>
<label for="threads">Threads: </label><input type="text" id="threads" name="threads" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Maximal Streaming Time: </label><input type="text" id="max" name="max" value="5" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Minutes</label><br><br>
<label for="threads">Stream from Position: </label><input type="text" id="pos" name="pos" value="0" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<!-- <label for="threads">Like while Streaming: </label>
<label class="switch"><input type="checkbox" id="like-switch"><span class="slider round"></span></label><br><br> -->
<label for="amount">Like Probability: </label><input type="text" id="like" name="like" value="50" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Percent (%)</label><br><br>
<!-- <label for="amount">Follow Probability (%): </label><input type="text" id="follow" name="like" value="50"><br><br> -->
<label for="threads">Mute Audio: </label>
<label class="switch"><input type="checkbox" id="mute"><span class="slider round"></span></label><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="proxy-switch"><span class="slider round"></span></label><br><br>
<label for="threads">Use a Webhook: </label>
<label class="switch"><input type="checkbox" id="webhook-switch"><span class="slider round"></span></label><br><br>
<label for="amount">Combo Path: </label><input type="text" id="combo" name="combo" value=""><br><br>
<input type="submit" value="Submit" id="submit"><br><br>
<input type="file" id="logo">
<br><br>
<label for="logs" id="logs">Logs:</label><br><br>
<textarea id="textarea" name="textarea" rows="4" cols="50" readonly></textarea>
</div>
<div class="content">
<label for="amount" style="font-size: 15px; color: #545454;">Web-Streamer</label><br><br>
<br><br>
<label for="amount">Links: </label><input type="text" id="r_link" name="link" value=""><br>
<label for="amount" style="font-size: 15px; color: #545454;">URLs(Seperated by ",")/FilePath</label><br><br>
<label for="threads">Threads: </label><input type="text" id="r_threads" name="r_threads" value="10" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<label for="threads">Maximal Streaming Time: </label><input type="text" id="r_max" name="r_max" value="5" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Minutes</label><br><br>
<label for="threads">Stream from Position: </label><input type="text" id="r_pos" name="r_pos" value="0" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br><br>
<!-- <label for="threads">Like while Streaming: </label>
<label class="switch"><input type="checkbox" id="r_like-switch"><span class="slider round"></span></label><br><br> -->
<label for="amount">Like Probability: </label><input type="text" id="r_like" name="like" value="50" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Percent (%)</label><br><br>
<!-- <label for="amount">Follow Probability (%): </label><input type="text" id="r_follow" name="like" value="50"><br><br> -->
<label for="threads">Time between Streams: </label><input type="text" id="r_timeout" name="r_timeout" value="5" oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*?)\..*/g, '$1').replace(/^0[^.]/, '0');"><br>
<label for="amount" style="font-size: 15px; color: #545454;">In Minutes</label><br><br>
<label for="threads">Use Proxies: </label>
<label class="switch"><input type="checkbox" id="r_proxy-switch"><span class="slider round"></span></label><br><br>
<!-- <div class="proxy-select", id="div-proxy-select">
<label for="gender">Select a Proxy-Type: </label>
<select name="proxy" id="proxy-select">
<option value="residential">Residential</option>
<option value="datacenter">Datacenter</option>
</select><br><br>
</div> -->
<label for="amount">Combo Path: </label><input type="text" id="r_combo" name="r_combo" value=""><br><br>
<input type="submit" value="Submit" id="r_submit"><br><br>
<input type="file" id="r_logo">
<br><br>
<label for="logs" id="r_logs">Logs:</label><br><br>
<textarea id="r_textarea" name="r_textarea" rows="4" cols="50" readonly></textarea>
</div>
</body>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script>
$("#textarea").css('opacity','0');
$("#logs").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
$("#r_textarea").css('opacity','0');
$("#r_logs").css('opacity','0');
window.setInterval(function() {var elem = document.getElementById('r_textarea'); elem.scrollTop = elem.scrollHeight;}, 1000);
var proxies = "";
$("#logo").css('opacity','0');
document.getElementById("proxy-switch").onclick = function(e){if (! document.getElementById("proxy-switch").checked) {document.getElementById("proxy-switch").checked = false; proxies = "";} else {$("#logo").trigger('click');}};
$('#logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();});
var webhook = "";
document.getElementById("webhook-switch").onclick = function(e){
if (! document.getElementById("webhook-switch").checked) {
console.log("bad");
document.getElementById("webhook-switch").checked = false; webhook = "";
} else {
console.log("good");
var url = prompt("Please enter your webhook:", "");
if (! url.includes("https")) {
alert("The Webhook-Url was invalid!");
document.getElementById("webhook-switch").checked = false;
} else {
var xhr = new XMLHttpRequest();
xhr.open('GET', url, true);
xhr.responseType = 'json';
xhr.onload = function(e) {console.log(xhr.response);
if(xhr.response.hasOwnProperty('message')){alert("The Webhook-Url was invalid!"); document.getElementById("webhook-switch").checked = false;
} else {webhook = url;}}
xhr.send();
}}};
document.getElementById("submit").onclick = function(e){
$.ajax({
type: "POST",
url: "{{ url_for("dstream") }}",
contentType: "application/json",
data: JSON.stringify({
link: document.getElementById("link").value,
threads: document.getElementById("threads").value,
max: document.getElementById("max").value,
pos: document.getElementById("pos").value,
like: document.getElementById("like").value,
// follow: document.getElementById("follow").value,
mute: document.getElementById("mute").checked,
proxies: proxies,
webhook: webhook,
path: document.getElementById("combo").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#textarea").css('opacity','100');
$("#logs").css('opacity','100');
});
},
error: function(err) {
console.log(err);
}
});
}
document.getElementsByClassName("content")[0].style.display = 'none';
document.getElementsByClassName("content")[1].style.display = 'none';
document.getElementById("desktop").onclick = function(e) {document.getElementsByClassName("content")[0].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
document.getElementById("web").onclick = function(e) {document.getElementsByClassName("content")[1].style.display = 'block'; document.getElementsByClassName("selection")[0].style.display = 'none';}
var r_proxies = "";
$("#r_logo").css('opacity','0');
// document.getElementsByClassName("proxy-select")[0].style.display = 'none';
document.getElementById("r_proxy-switch").onclick = function(e){if (! document.getElementById("r_proxy-switch").checked) {document.getElementById("r_proxy-switch").checked = false; proxies = "";} else {$("#r_logo").trigger('click');}};
$('#r_logo').change( function(event) {
var tmppath = URL.createObjectURL(event.target.files[0]); var xhr = new XMLHttpRequest(); xhr.open('GET', tmppath, true); xhr.responseType = 'blob';
xhr.onload = function(e) {if (this.status == 200) {var blob = this.response; var myReader = new FileReader(); myReader.addEventListener("loadend", function(e){r_proxies = e.srcElement.result;}); myReader.readAsText(blob);}};
xhr.send();
// document.getElementsByClassName("proxy-select")[0].style.display = 'block';
});
document.getElementById("r_submit").onclick = function(e){
$.ajax({
type: "POST",
url: "{{ url_for("wstream") }}",
contentType: "application/json",
data: JSON.stringify({
link: document.getElementById("r_link").value,
threads: document.getElementById("r_threads").value,
max: document.getElementById("r_max").value,
pos: document.getElementById("r_pos").value,
timeout: document.getElementById("r_timeout").value,
like: document.getElementById("r_like").value,
// follow: document.getElementById("r_follow").value,
proxies: r_proxies,
path: document.getElementById("r_combo").value,
}),
success: function(res) {
console.log(res);
const socket = new WebSocket(res);
socket.addEventListener('open', () => {
console.log('Connection established');
socket.send("Update");
}
);
socket.addEventListener('message', event => {
console.log('Message from server ', event.data);
document.getElementById('r_textarea').value += event.data + "\r\n";
// document.getElementById('textarea').value = event.data;
$("#scam").css('opacity','0');
$("#r_textarea").css('opacity','100');
$("#r_logs").css('opacity','100');
});
},
error: function(err) {
console.log(err);
}
});
}
</script>
</html>
================================================
FILE: mjolnir.py
================================================
import traceback, multiprocessing, PySimpleGUI, hostsman, screeninfo, twocaptcha, cv2, pywinauto, urllib, os, ctypes, subprocess, random, string, requests, json, time, threading, websocket, shutil, proxy, psutil, socket, tempfile, webbrowser, warnings, logging, flask_sock
import matplotlib.pyplot as plt, matplotlib.gridspec as gridspec, selenium.webdriver as wd, numpy as np
from selenium.webdriver.chrome.service import Service; from webdriver_manager.chrome import ChromeDriverManager; from selenium.webdriver.chrome.options import Options; from selenium.webdriver.common.by import By; from selenium.common.exceptions import ElementClickInterceptedException
from discord_webhook import DiscordWebhook, DiscordEmbed
from flask import Flask, request, render_template, redirect; from PIL import Image
logging.getLogger('werkzeug').setLevel(logging.ERROR)
logging.getLogger('WDM').setLevel(logging.NOTSET)
warnings.simplefilter("ignore", UserWarning)
app = Flask(__name__, template_folder="./frontend")
app.config['SOCK_SERVER_OPTIONS'] = {'ping_interval': 25}
sock = flask_sock.Sock(app)
ctypes.windll.kernel32.SetConsoleTitleW("Mjolnir AiO Tool")
global server, paths
server, paths = "http://mjolnir.only-fans.club", {}
clear = lambda: os.system('cls')
@sock.route("/websockets")
def websockets(ws):
while True:
if request.args.get("ws") in paths:
ws.receive()
rn = 0
while True:
if rn != len(paths[request.args.get("ws")]):
for i in paths[request.args.get("ws")][rn:]:
ws.send(i)
rn = len(paths[request.args.get("ws")])
def log(path, msg):
paths[path].append(msg)
class General:
def close_spotify(ws):
payload = {"id":1,"method":"Browser.close"}
try: ws.send(json.dumps(payload))
except: pass
payload = {"id":1,"method":"Browser.crash"}
try: ws.send(json.dumps(payload))
except: pass
def proxy_pool(self):
log(self.websocket_url, "[PROXY] Spawning ProxyPool")
proxy_pool = []
for proxie in self.proxies: proxy_pool.extend(["--proxy-pool", proxie])
try:
with proxy.Proxy(["--log-level", "e", "--plugins" , "proxy.plugin.ProxyPoolPlugin", *proxy_pool]) as p:
proxy.sleep_loop()
except Exception as e: log(self.websocket_url, f"[ERROR] Couldnt spawn ProxyPool (Error: {str(e)})")
def combo_split(combo):
try:
username, password, rest = combo.split(":", 2)
except:
try:
username, password = combo.split(":")
except: return False, False
return username, password
def check_installations(self):
if not os.path.isdir(self.spotify_path):
log(self.websocket_url, "[INSTALLATION] You have to install Spotify!")
webbrowser.open("https://www.spotify.com/download/windows/")
return False
if not os.path.isdir("C:\Sandbox"):
log(self.websocket_url, "[INSTALLATION] You have to install Sandboxie!")
webbrowser.open("https://github.com/sandboxie-plus/Sandboxie/releases/download/1.0.22/Sandboxie-Classic-x64-v5.55.22.exe")
return False
return True
def set_spotify(self):
#Setting Language to English
log(self.websocket_url, "[SETUP] Setting Spotifys Preferences!")
with open(f"{self.spotify_path}prefs", "r") as f:
words = ['language="en"' if "language" in word else word for word in f.read().splitlines()]
words = ["" if "autologin" in word else word for word in words]
words = ["" if "network" in word else word for word in words]
open(f"{self.spotify_path}prefs", "w").close()
with open(f"{self.spotify_path}prefs", 'w') as f:
for item in words: f.write("%s\n" % item)
#Deleting all users
log(self.websocket_url, "[SETUP] Deleting Spotify Users!")
try:
roaming_path = str(self.spotify_path.replace("Roaming", "Local"))
shutil.rmtree(str(roaming_path + "\\Users"))
newpath = str(roaming_path + "\\Users")
if not os.path.exists(newpath): os.makedirs(newpath)
except: log(self.websocket_url, "[WARNING] Couldnt delete Spotify Users!")
#Deleting all sandboxes
log(self.websocket_url, "[SETUP] Deleting Mjolnir-Sandboxes!")
try:
subfolders = [f.path for f in os.scandir("C:\Sandbox") if f.is_dir()]
for folder in [f.path for f in os.scandir(subfolders[0]) if f.is_dir()]:
if "Mjolnir" in str(folder):
os.chmod(folder, 0o777)
shutil.rmtree(folder) #os.remove(folder)
except Exception as e: log(self.websocket_url, "[WARNING] Couldnt delete Sandboxes! (You have to run the .py with Admin Permissions)")
def kill_spotify(self):
try: subprocess.check_call(["TASKKILL", "/F", "/IM", "spotify.exe"], stdout=subprocess.DEVNULL, stderr=subprocess.STDOUT)
except: pass
class DesktopGenerator:
def __init__(self, websocket_url, proxies, minAge, maxAge, gender, order, alternative):
#Global ClassValues
self.start_time, self.generating = time.time(), True
self.websocket_url, self.proxies, self.minAge, self.maxAge, self.gender, self.order = websocket_url, proxies.split("\r\n"), minAge if minAge else "1970", maxAge if maxAge else "1980", gender if gender else "male", order if order else "day"
self.generated, self.failed, self.current_failed, self.accounts_mins = 0, 0, 0, []
self.spotify_path = str(str(os.getenv('APPDATA')) + "\\Spotify\\")
with tempfile.NamedTemporaryFile(suffix='.txt', prefix=os.path.basename(__file__)) as tf:
temp_txt = tf.name
self.temp_txt, self.alternative, self.waiting = temp_txt, alternative, 0
#Checking and Modifying Installations
if not General.check_installations(self): return
General.set_spotify(self)
def generator(self, amount, names, passwords, threads, output_path, webhook_url):
#Logging to server
try: requests.post(f"{server}/generator/desktop", json={"amount": amount}, proxies=urllib.request.getproxies())
except: pass
#Setting Variable if not set (Maybe Temp)
output_path = output_path.replace('"', "")
names = requests.get("https://raw.githubusercontent.com/jeanphorn/wordlist/master/usernames.txt").text.splitlines() if not names else names.split("\r\n")
passwords = requests.get("https://raw.githubusercontent.com/berzerk0/Probable-Wordlists/master/Real-Passwords/WPA-Length/Top4800-WPA-probable-v2.txt").text.splitlines() if not passwords else passwords.split("\r\n")
output_path = "output.txt" if not output_path else output_path
#Local Values
threads, amount, count = int(threads), int(amount), 0
if any(self.proxies): threading.Thread(target=General.proxy_pool, args=(self,)).start() #Spawning ProxyPool on Port 8899
else: log(self.websocket_url, "[PROXY] No proxy server will be used")
if webhook_url: threading.Thread(target=self.threaded_webhook, args=(webhook_url, threads, self.temp_txt,)).start()
while count < amount:
self.current_failed, self.waiting = 0, 0
log(self.websocket_url, "[SPOTIFY] Killing all instances")
# General.kill_spotify(self)
time.sleep(2)
ports = []
self.threadz = range(int(amount - count) if int(amount - count) <= threads else threads)
for i in self.threadz:
while True:
r_port = random.randint(19000, 19900)
if r_port not in ports: ports.append(r_port); break
# Starting Spotify in Sandbox
boks, SbieIni, Start = f"Mjolnir{random.randint(0,9999999999)}", "C:\Program Files\Sandboxie\SbieIni.exe", "C:\Program Files\Sandboxie\Start.exe"
better_lines = []
for line in open("C:\Windows\Sandboxie.ini", "r").read().splitlines(): better_lines.append(''.join(ch for ch in line if ch.isalnum()))
if any(boks in better_line for better_line in better_lines):
try: subprocess.call(f'{Start} /box:{boks} delete_sandbox', False); subprocess.call(f"{SbieIni} set {boks} Enabled n", False); subprocess.call(f"{SbieIni} set {boks} Enabled y", False)
except: log(self.websocket_url, "[ERROR] You have to run the .py with Admin Permissions"); return False
else:
try: subprocess.call(f"{SbieIni} set {boks} Enabled y", False)
except: log(self.websocket_url, "[ERROR] You have to run the .py with Admin Permissions"); return False
subprocess.call('"C:\Program Files\Sandboxie\Start.exe" /reload', False)
if any(self.proxies): subprocess.call(f'"C:\Program Files\Sandboxie\Start.exe" /box:{boks} "{self.spotify_path}Spotify.exe" --mute-audio --remote-debugging-port={r_port} --proxy-server="localhost:8899"', False)
else: subprocess.call(f'"C:\Program Files\Sandboxie\Start.exe" /box:{boks} "{self.spotify_path}Spotify.exe" --mute-audio --remote-debugging-port={r_port}', False)
log(self.websocket_url, "[SPOTIFY] Spawned all instances")
for i in range(len(ports)):
if i == range(len(ports))[-1]: self.threaded_gen(random.choice(names), str(random.choice(passwords) + random.choice(passwords) + "&/$!"), ports[i], output_path)
else: threading.Thread(target=self.thread, args=([random.choice(names), str(random.choice(passwords) + random.choice(passwords) + "&/$!"), ports[i], output_path],)).start()
count += 1
amount += self.current_failed
# General.kill_spotify(self)
self.generating = False
log(self.websocket_url, "[DONE] Done generating all accounts")
if webhook_url: self.webhook(webhook_url, threads, int(int(time.time() - self.start_time)/60), self.temp_txt, 'Mjolnir is done Generating!')
def type_month(self, ws):
if self.alternative:
if self.waiting == self.threadz[-1]:
for app in pywinauto.Desktop().windows():
if "Spotify" in str(app) and "#" in str(app) and "Chrome_WidgetWin_0" in str(app):
app.set_focus()
time.sleep(0.4)
app.type_keys("{ENTER}")
time.sleep(0.4)
app.type_keys("{DOWN}")
time.sleep(0.4)
app.type_keys("{ENTER}")
self.waiting += 1
else:
payload = {"id":1,"method":"Input.dispatchKeyEvent","params": {"type":"keyDown","modifiers":0,"code":"Enter","key":"Enter","windowsVirtualKeyCode":13,"nativeVirtualKeyCode":13,"autoRepeat":False,"isKeypad":False,"isSystem":False}}
ws.send(json.dumps(payload))
payload = {"id":1,"method":"Input.dispatchKeyEvent","params": {"type":"char","modifiers":0,"code":"Enter","key":"Enter","windowsVirtualKeyCode":13,"nativeVirtualKeyCode":13,"autoRepeat":False,"isKeypad":False,"isSystem":False, "text": "\r", "unmodifiedText": "\r"}}
ws.send(json.dumps(payload))
payload = {"id": 162, "method": "Input.dispatchKeyEvent", "params": {"type": "keyDown", "modifiers": 0, "code": "ArrowDown", "key":"ArrowDown", "windowsVirtualKeyCode": 40, "nativeVirtualKeyCode": 40, "autoRepeat": False, "isKeypad": False, "isSystemKey": False}}
ws.send(json.dumps(payload))
payload = {"id":1,"method":"Input.dispatchKeyEvent","params": {"type":"keyDown","modifiers":0,"code":"Enter","key":"Enter","windowsVirtualKeyCode":13,"nativeVirtualKeyCode":13,"autoRepeat":False,"isKeypad":False,"isSystem":False}}
ws.send(json.dumps(payload))
payload = {"id":1,"method":"Input.dispatchKeyEvent","params": {"type":"char","modifiers":0,"code":"Enter","key":"Enter","windowsVirtualKeyCode":13,"nativeVirtualKeyCode":13,"autoRepeat":False,"isKeypad":False,"isSystem":False, "text": "\r", "unmodifiedText": "\r"}}
ws.send(json.dumps(payload))
def threaded_gen(self, name, password, port, output_path):
rand = ''.join(random.choices(string.ascii_uppercase + string.digits, k=16))
email = f"{rand}@gmail.com"
time.sleep(5)
# Connect with Websocket to DebugUrl to Inject Javascript
try:
wsUrl = requests.get(f"http://localhost:{port}/json").json()[0]["webSocketDebuggerUrl"]
except:
for i in range(10):
try: wsUrl = requests.get(f"http://localhost:{port}/json").json()[0]["webSocketDebuggerUrl"]; break
except: time.sleep(2)
else: log(self.websocket_url, "[ERROR] Couldn´t connect to Spotify!"); General.close_spotify(ws); return
ws = websocket.create_connection(wsUrl)
# Clicking Register Button
self.inject_js(ws, "signup-link", 0)
time.sleep(4)
# Typing Email, Password and Username
self.inject_js(ws, email, 1)
time.sleep(2)
payload = {"id": 162, "method": "Input.dispatchKeyEvent", "params": {"type": "keyDown", "modifiers": 0, "code": "Tab", "key":"Tab", "windowsVirtualKeyCode": 9, "nativeVirtualKeyCode": 9, "autoRepeat": False, "isKeypad": False, "isSystemKey": False}}
ws.send(json.dumps(payload))
self.inject_js(ws, password, 1)
time.sleep(2)
payload = {"id": 162, "method": "Input.dispatchKeyEvent", "params": {"type": "keyDown", "modifiers": 0, "code": "Tab", "key":"Tab", "windowsVirtualKeyCode": 9, "nativeVirtualKeyCode": 9, "autoRepeat": False, "isKeypad": False, "isSystemKey": False}}
ws.send(json.dumps(payload))
self.inject_js(ws, name, 1)
time.sleep(2)
#Clicking Submit Button
self.inject_js(ws, "signup-button", 0)
time.sleep(4)
if self.order == "day":
# Typing Birthday
self.inject_js(ws, "day-field", 2)
self.inject_js(ws, str(random.randint(1, 28)), 1)
#Selecting Random Month
time.sleep(1)
payload = {"id": 162, "method": "Input.dispatchKeyEvent", "params": {"type": "keyDown", "modifiers": 0, "code": "Tab", "key":"Tab", "windowsVirtualKeyCode": 9, "nativeVirtualKeyCode": 9, "autoRepeat": False, "isKeypad": False, "isSystemKey": False}}
ws.send(json.dumps(payload))
self.type_month(ws)
else:
#Selecting Random Month
self.type_month(ws)
# Typing Birthday
time.sleep(1)
self.inject_js(ws, "day-field", 2)
self.inject_js(ws, str(random.randint(1, 28)), 1)
#Typing Birthyear
time.sleep(1)
self.inject_js(ws, "year-field", 2)
time.sleep(0.5)
self.inject_js(ws, str(random.randint(int(self.minAge), int(self.maxAge))), 1)
# Selecting a Gender
time.sleep(1)
ea = {"female": 0, "male": 1, "none": 2}
try: payload = {"id": 1337, "method": "Runtime.evaluate", "params": {"expression": f"document.getElementsByClassName('FormRadioSelect__label')[{ea[self.gender.lower()]}].click()"}}
except: payload = {"id": 1337, "method": "Runtime.evaluate", "params": {"expression": "document.getElementsByClassName('FormRadioSelect__label')[1].click()"}}
ws.send(json.dumps(payload))
# Clicking Tos, Privacy and Submit Buttons
self.inject_js(ws, "agree-tos-2-field", 0)
self.inject_js(ws, "agree-privacy-2-field", 0)
self.inject_js(ws, "signup-button", 0)
time.sleep(6)
#"title": "Spotify - Login"
title = requests.get(f"http://localhost:{port}/json").json()[0]["title"]
if title == "Spotify - Login":
log(self.websocket_url, "[ERROR] Bad Proxy (Use ISP/Residential)")
self.failed += 1
self.current_failed += 1
General.close_spotify(ws)
return
log(self.websocket_url, f"[SUCCESS] Successfully created: {email}:{password}")
with open(output_path,'a') as output_file:
write_string = ''
for i in [email, password, name]: write_string += str(i + ':')
output_file.write(str(write_string[:-1] + '\n'))
with open(self.temp_txt, 'a') as output_file:
write_string = ''
for i in [email, password, name,]: write_string += str(i + ':')
output_file.write(str(write_string[:-1] + '\n'))
self.generated += 1
General.close_spotify(ws)
def inject_js(self, ws, text, i):
if i == 0:
payload = {"id": 1337, "method": "Runtime.evaluate", "params": {"expression": f"document.getElementById('{text}').click()"}}
ws.send(json.dumps(payload))
elif i == 1:
payload = {"id": 1337, "method": "Input.insertText", "params": {"text": text}}
ws.send(json.dumps(payload))
else:
payload = {"id": 1337, "method": "Runtime.evaluate", "params": {"expression": f"document.getElementById('{text}').focus()"}}
ws.send(json.dumps(payload))
def webhook(self, url, threads, runtime, accounts_path, title):
webhook = DiscordWebhook(username='Mjolnir AiO Tool', url=url, avatar_url="https://www.freepnglogos.com/uploads/spotify-logo-png/spotify-icon-marilyn-scott-0.png")
# create embed object for webhook
embed = DiscordEmbed(title=title, description=f'Total Generated Accounts: {self.generated}', color='1DB954')
# set image
runtime = 1 if runtime == 0 else runtime
Minutes = list(range(int(runtime)+1))
Accounts = self.accounts_mins
Accounts[-1] = self.generated
if len(Minutes) != len(Accounts):
Minutes = list(range(len(Accounts)))
fig = plt.figure()
fig.patch.set_facecolor('#2F3136')
ax = plt.axes()
ax.set_facecolor('#23272A')
plt.plot(Minutes, Accounts, color="#99AAB5")
plt.title('Your Mjolnir Desktop-Generator Stats', color="#99AAB5")
plt.xlabel('Minutes', color="#99AAB5")
plt.ylabel('Accounts', color="#99AAB5")
with tempfile.NamedTemporaryFile(suffix='.png', prefix=os.path.basename(__file__), delete=False) as tf:
plt.savefig(tf.name)
files = {'image': ('graph.png', open(tf.name, 'rb'))}
r = requests.post("https://api.imgbb.com/1/upload?key=5b4141e2323a62c75b4fe2c5e5d58cec", files=files).json()
url = r["data"]["display_url"].replace("\/", "/")
embed.set_image(url=url)
# add fields to embed
embed.add_embed_field(name=':computer: Computer Name :computer:', value=socket.gethostname(), inline=False)
embed.add_embed_field(name=':gear: CPU Usage :gear:', value=f"{str(100 - int(psutil.cpu_times_percent(interval=0.4, percpu=False).idle))} %", inline=False)
embed.add_embed_field(name=':bar_chart: RAM Usage :bar_chart:', value=f"{psutil.virtual_memory().percent} %", inline=False)
embed.add_embed_field(name=":file_cabinet: Threads :file_cabinet:", value=str(threads), inline=False)
embed.add_embed_field(name=":stopwatch: Runtime :stopwatch:", value=f"{int(runtime)} Minutes", inline=False)
embed.add_embed_field(name=":chart_with_upwards_trend: Accounts Generated :chart_with_upwards_trend:", value=str(self.generated), inline=False)
embed.add_embed_field(name=":x: Failed Generations :x:", value=str(self.failed), inline=False)
# add embed object to webhook
webhook.add_embed(embed)
webhook.execute()
with open(accounts_path, "rb") as f:
webhook.add_file(file=f.read(), filename='accounts.txt')
webhook.remove_embeds()
webhook.execute(remove_embeds=True)
def update_minutes(self):
while self.generating:
self.accounts_mins.append(self.generated)
time.sleep(60)
def threaded_webhook(self, url, threads, accounts_path):
threading.Thread(target=self.update_minutes).start()
runtimed = 1
while self.generating:
time.sleep(600)
if self.generating:
self.webhook(url, threads, int(runtimed * 10), accounts_path, 'Your Mjolnir Desktop-Generator Stats')
runtimed += 1
def thread(self, args):
threading.Thread(target=self.threaded_gen, args=(tuple(args))).start()
class WebGenerator:
def __init__(self, amount, threads, captcha_key, names, passwords, output_path, websocket_url, proxies, minAge, maxAge, gender):
#Global ClassValues
self.websocket_url, self.proxies, self.minAge, self.maxAge, self.gender = websocket_url, proxies.split("\r\n") if proxies else "", minAge if minAge else "1970", maxAge if maxAge else "1980", gender if gender else "male"
self.output_path, self.threads, self.amount, self.count, self.captcha_key, self.pngs = "output.txt" if not output_path else output_path, int(threads) if threads else 10, int(amount) if amount else 1, 0, captcha_key, []
self.names = requests.get("https://raw.githubusercontent.com/jeanphorn/wordlist/master/usernames.txt").text.splitlines() if not names else names.split("\r\n")
self.passwords = requests.get("https://raw.githubusercontent.com/berzerk0/Probable-Wordlists/master/Real-Passwords/WPA-Length/Top4800-WPA-probable-v2.txt").text.splitlines() if not passwords else passwords.split("\r\n")
#Checking and Modifying Installations
if any(self.proxies): threading.Thread(target=General.proxy_pool, args=(self,)).start() #Spawning ProxyPool on Port 8899
else: log(self.websocket_url, "[PROXY] No proxy server will be used")
def generator(self):
#Logging to server
try: requests.post(f"{server}/generator/web", json={"amount": self.amount}, proxies=urllib.request.getproxies())
except: pass
#Local Values
while self.count < self.amount:
self.current_failed, self.waiting = 0, 0
self.threadz = range(int(self.amount - self.count) if int(self.amount - self.count) <= self.threads else self.threads)
try:
solver = twocaptcha.TwoCaptcha(self.captcha_key)
balance = solver.balance()
if balance < 0.01:log(self.websocket_url, "[ERROR] Your 2Captcha Balance is to low"); return
else: log(self.websocket_url, f"[INFO] Your 2Captcha Balance is: {balance}")
except Exception as e: log(self.websocket_url, f"[ERROR] The key {self.captcha_key} is not a 2Captcha Key (ErrorMsg: {str(e)})"); return
for i in self.threadz:
if i == range(len(self.threadz))[-1]: self.threaded_gen()
else: threading.Thread(target=self.threaded_gen).start()
self.count += 1
self.delete_captcha_images()
self.amount += self.current_failed
log(self.websocket_url, "[DONE] Done generating all accounts")
try:
for path in self.pngs: os.remove(f'{path}.png'); os.remove(f'{path}.jpg')
except: log(self.websocket_url, "[WARNIN] Couldnt delete all Captcha Images")
def delete_captcha_images(self):
onlyfiles = [str(os.path.dirname(__file__) + "\\" + f) for f in os.listdir(os.path.dirname(__file__)) if os.path.isfile(os.path.join(os.path.dirname(__file__), f))]
for file in onlyfiles:
if "temp" in file and (".png" in file or ".jpg" in file):
os.remove(file)
def captcha(self, path):
solver = twocaptcha.TwoCaptcha(self.captcha_key, defaultTimeout=60, pollingInterval=5)
result = solver.coordinates(f'{path}.jpg')
return result
def screenalize(self, page):
while True:
path = "temp" + ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(8))
page.screenshot(path=f"{path}.png")
im = cv2.imread(f'{path}.png')
try:
Y, X = np.where(np.all(im==[232, 115, 26], axis=2))
im = Image.open(open(f"{path}.png", 'rb'))
im = im.crop((X[0], Y[0], X[-1], Y[-1]))
except: return False
else:
rgb_im = im.convert('RGB')
rgb_im.save(f'{path}.jpg')
try:
captcha = self.captcha(path)
except: return False
code = captcha["code"].replace("coordinates:", "")
for i in code.split(";"):
x, y = i.split(",")[0].replace("x=", ""), i.split(",")[1].replace("y=", "")
page.mouse.click(int(int(x)+X[0]), int(int(y)+Y[0]), delay=10)
time.sleep(1)
def threaded_gen(self):
rand = ''.join(random.choices(string.ascii_uppercase + string.digits, k=16))
email, password, name = f"{rand}@gmail.com", str(random.choice(self.passwords) + random.choice(self.passwords) + "&/$!"), random.choice(self.names)
from playwright.sync_api import sync_playwright
with sync_playwright() as p:
browser = p.chromium.launch(headless=False, proxy={"server": "http://localhost:8899"} if any(self.proxies) else None)
page = browser.new_page()
try: page.goto("https://www.spotify.com/signup")
except: log(self.websocket_url, "[ERROR] Proxy Server timed out"); return
time.sleep(2)
try: page.click("id=onetrust-accept-btn-handler", timeout=10)
except:
try: page.evaluate('document.getElementById("onetrust-close-btn-container").firstElementChild.click()')
except: log(self.websocket_url, "[WARNING] Coulnt click cookie-banner")
try:
page.evaluate('document.getElementById("onetrust-consent-sdk").style.visibility = "visible"')
page.evaluate('document.getElementById("onetrust-consent-sdk").style.display = "none"')
except: log(self.websocket_url, "[WARNING] Coulnt hide cookie-banner")
page.set_viewport_size({"width": int(screeninfo.get_monitors()[0].width) - 100, "height": int(screeninfo.get_monitors()[0].height) - 200})
page.evaluate('document.getElementsByTagName("iframe")[0].setAttribute("src", document.getElementsByTagName("iframe")[0].getAttribute("src").split("hl=")[0] + "hl=en&" + document.getElementsByTagName("iframe")[0].getAttribute("src").split("hl=")[1].split("&")[1])')
typings = {"id=email": email, "id=confirm": email, "id=password": password, "id=displayname": name, "id=day": str(random.randint(1, 27)), "id=year": str(random.randint(int(self.minAge), int(self.maxAge)))}
for types in typings.items():
page.type(types[0], types[1], delay=10)
time.sleep(0.4)
# page.select_option('role=select[name="month"]', str(random.randint(1, 12)))
page.locator('[name="month"]').select_option(f"0{str(random.randint(2, 9))}")
# page.evaluate(f'document.getElementById("month").value = "0{str(random.randint(1, 9))}"')
time.sleep(1)
genders = {"male": "male", "female": "female", "none": "nonbinary"}
page.evaluate(f'document.getElementById("gender_option_{genders[self.gender]}").click()')
time.sleep(1)
try: page.click("id=terms-conditions-checkbox", timeout=10)
except:
try: page.evaluate('document.getElementById("terms-conditions-checkbox").click()')
except: log(self.websocket_url, "[WARNING] Coulnt click Terms Checkbox")
# page.evaluate('document.getElementById("terms-conditions-checkbox").click()')
time.sleep(1)
page.frame_locator("iframe[role='presentation']").first.locator('#recaptcha-anchor').click()
# page.evaluate('document.querySelector("[role=presentation]").click()')
time.sleep(2)
ye, prev_coords = 0, []
for i in range(3): page.mouse.wheel(delta_y=screeninfo.get_monitors()[0].height, delta_x=0)
while True:
if ye % 2:
x, y = prev_coords[-1]
page.mouse.click(int(x)-10, int(y)-10, delay=10)
else:
path = "temp" + ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(8))
page.screenshot(path=f"{path}.png")
im = cv2.imread(f'{path}.png')
try:
Y, X = np.where(np.all(im==[232, 115, 26], axis=2))
prev_coords.append([X[-1], Y[-1]])
im = Image.open(open(f"{path}.png", 'rb'))
im = im.crop((X[0], Y[0], X[-1], Y[-1]))
except: break
else:
rgb_im = im.convert('RGB')
rgb_im.save(f'{path}.jpg')
im.close()
try: rgb_im.close()
except: pass
try: captcha = self.captcha(path)
except: log(self.websocket_url, "[ERROR] Couldnt solve captcha"); self.current_failed += 1; browser.close(); return
code = captcha["code"].replace("coordinates:", "")
for i in code.split(";"):
try: x, y = i.split(",")[0].replace("x=", ""), i.split(",")[1].replace("y=", "")
except: log(self.websocket_url, f"[WARNING] Couldnt retreive Coordinates from 2Captcha-Answer: {i}"); continue
page.mouse.click(int(int(x)+X[0]), int(int(y)+Y[0]), delay=10)
time.sleep(1)
ye += 1
page.evaluate('document.querySelector("[type=submit]").click()')
for i in range(10):
if not "Sign up" in page.title():
log(self.websocket_url, f"[SUCCESS] Successfully created: {email}:{password}")
with open(self.output_path, 'a') as output_file:
write_string = ''
for i in [email, password, name]: write_string += str(i + ':')
output_file.write(str(write_string[:-1] + '\n'))
break
time.sleep(2)
else:
self.current_failed += 1
log(self.websocket_url, f"[ERROR] There was an uncaught Error, retrying!")
browser.close()
self.pngs.append(path)
class RequestGenerator:
def __init__(self, path, proxies):
self.websocket_url, self.proxies = path, proxies.split("\r\n")
def generator(self, amount, threads, names, passwords, output_path):
#Logging to server
try: requests.post(f"{server}/generator/request", json={"amount": amount}, proxies=urllib.request.getproxies())
except: pass
names = requests.get("https://raw.githubusercontent.com/jeanphorn/wordlist/master/usernames.txt").text.splitlines() if not names else names.split("\r\n")
passwords = requests.get("https://raw.githubusercontent.com/berzerk0/Probable-Wordlists/master/Real-Passwords/WPA-Length/Top4800-WPA-probable-v2.txt").text.splitlines() if not passwords else passwords.split("\r\n")
threads = 10 if not threads else int(threads)
self.count, amount = 0, int(amount)
output_path = "output.txt" if not output_path else output_path.replace('"', "")
while self.count < amount:
for i in range(int(amount - self.count) if int(amount - self.count) <= threads else threads):
name, password, proxy = random.choice(names), random.choice(passwords), random.choice(self.proxies)
threading.Thread(target=self.threaded_gen, args=(name, str(random.choice(passwords) + random.choice(passwords) + "&/$!"), proxy, output_path)).start()
time.sleep(2)
log(self.websocket_url, "[DONE] Done generating all accounts")
def threaded_gen(self, name, password, proxy, output_path):
email = "".join(random.choice(string.ascii_lowercase+string.digits) for i in range(8)) + "@" + "".join(random.choice(string.ascii_lowercase) for i in range(5)) + ".com"
try:
headers={"Accept-Encoding": "gzip",
"Accept-Language": "en-US",
"App-Platform": "Android",
"Connection": "Keep-Alive",
"Content-Type": "application/x-www-form-urlencoded",
"Host": "spclient.wg.spotify.com",
"User-Agent": "Spotify/8.6.72 Android/29 (SM-N976N)",
"Spotify-App-Version": "8.6.72",
"X-Client-Id": "".join(random.choice(string.ascii_lowercase+string.digits) for i in range(32))}
payload = {"creation_point": "client_mobile",
"gender": "male" if random.randint(0, 1) else "female",
"birth_year": random.randint(1990, 2000),
"displayname": name,
"iagree": "true",
"birth_month": random.randint(1, 11),
"password_repeat": password,
"password": password,
"key": "142b583129b2df829de3656f9eb484e6",
"platform": "Android-ARM",
"email": email,
"birth_day": random.randint(1, 20)}
r = requests.post('https://spclient.wg.spotify.com/signup/public/v1/account/', headers=headers, data=payload, proxies={'http': f'http://{proxy}', 'https': f'http://{proxy}'} if proxy else None, timeout=15) #, proxies={'http': str('http://' + proxy)}
if r.status_code==200:
if r.json()['status']==1:
with open(output_path,'a') as output_file:
write_string = ''
for i in [email, password, name]: write_string += str(i + ':')
output_file.write(str(write_string[:-1] + '\n'))
self.count += 1
log(self.websocket_url, f"[SUCCESS] Successfully created: {email}:{password}")
else:
log(self.websocket_url, f"[ERROR] An error occurred: {str(r.json())}")
# acc_queue.put([f'Error{random.randint(1, 99999)}', "Could not create the account, some errors occurred", "If you dont know what the following means, feel free to create a ticket!", str(r.json())])
else: log(self.websocket_url, f"[ERROR] Couldnt load the URL. Status Code: {str(r.status_code)}")
# acc_queue.put([f'Error{random.randint(1, 99999)}', "If you dont know what the error means, feel free to create a ticket!", "Could not load the page. Response code: ", str(r.status_code)])
except Exception as e: log(self.websocket_url, f"[ERROR] An error occurred: {str(e)}")
# acc_queue.put([f'Error{random.randint(1, 99999)}', "There was an error while generating the code", "If you dont know what the error means, feel free to create a ticket!", str(e)])
class Liker:
def __init__(self, link, threads, timeout, proxies, proxy_type, path, url):
self.link, self.threads, self.timeout, self.combo_path, self.websocket_url, self.count = link, int(threads) if threads else 10, int(timeout) if timeout else 5, path, url, 0
self.proxy_type, self.proxies, self.driver_exe = proxy_type, proxies.split("\r\n"), ChromeDriverManager().install()
os.environ['WDM_LOG'] = '0'
def liker(self):
combos = open(self.combo_path, "r").read().splitlines()
#Logging to server
try: requests.post(f"{server}/liker", json={"amount": len(combos)}, proxies=urllib.request.getproxies())
except: pass
if any(self.proxies): threading.Thread(target=General.proxy_pool, args=(self,)).start() #Spawning ProxyPool on Port 8899
while self.count < len(combos):
for i in range(int(len(combos) - self.count) if int(len(combos) - self.count) <= self.threads else self.threads):
combo = combos[i]
if i == range(int(len(combos) - self.count) if int(len(combos) - self.count) <= self.threads else self.threads)[-1]:
self.threaded_liker(combo)
else: threading.Thread(target=self.threaded_liker, args=(combo,))
log(self.websocket_url, "[DONE] Done liking with all accounts")
def threaded_liker(self, combo):
username, password = General.combo_split(combo)
if not username: log(self.websocket_url, f"[ERROR] There was an error with the Combo: {combo}"); return
options = Options()
for item in ["--headless", "--no-sandbox", "--disable-dev-shm-usage", '--user-agent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.45 Safari/537.36', '--no-sandbox', '--log-level=3', '--lang=en', "--window-size=1920,1080", "--mute-audio"]:
options.add_argument(item)
if any(self.proxies): options.add_argument('--proxy-server="localhost:8899"')
options.ignore_protected_mode_settings = True
driver = wd.Chrome(service=Service(self.driver_exe), options=options)
driver.get("https://accounts.spotify.com/login")
for _ in range(5):
try: driver.find_element(By.ID, "login-username").send_keys(user); break
except: log(self.websocket_url, f"[REDO] Site didnt load: {combo} ({_ + 1})"); time.sleep(5)
else: log(self.websocket_url, f"[ERROR] Site didnt load: {combo}"); driver.close(); return
driver.find_element(By.ID, "login-password").send_keys(pw)
driver.find_element(By.ID, "login-button").click()
if not "status" in driver.current_url:
for _ in range(5):
log(self.websocket_url, f"[REDO] Retrying to login: {combo} ({_ + 1})")
try: driver.find_element(By.ID, "login-button").click()
except: pass
time.sleep(6)
if "status" in driver.current_url: break
else: log(self.websocket_url, f"[ERROR] Couldnt login: {combo}"); driver.close(); return
driver.get(self.link)
time.sleep(5)
try: driver.find_element(By.ID, "onetrust-accept-btn-handler").click()
except: pass
for _, button in enumerate(driver.find_elements(By.XPATH, "//button[@data-testid='add-button']")):
if _ == 0:
try: button.click()
except ElementClickInterceptedException: pass
log(self.websocket_url, f"[SUCCESS] Successfully liked: {combo}")
self.count += 1
driver.quit()
class Checker:
def __init__(self, threads, proxies, proxy_type, max, combo_path, path):
self.threads, self.max, self.combo_path, self.websocket_url = int(threads) if threads else 10, int(max) if max else 5, combo_path, path
self.proxy_type, self.proxies = proxy_type, proxies.split("\r\n")
self.count, self.valid = 0, 0
os.environ['WDM_LOG'] = '0'
self.driver_exe = ChromeDriverManager().install()
def checker(self):
combos = open(self.combo_path, "r").read().splitlines()
#Logging to server
try: requests.post(f"{server}/checker", json={"amount": len(combos)}, proxies=urllib.request.getproxies())
except: pass
if any(self.proxies): threading.Thread(target=General.proxy_pool, args=(self,)).start() #Spawning ProxyPool on Port 8899
while self.count < len(combos):
threadz = range(int(len(combos) - self.count) if int(len(combos) - self.count) <= self.threads else self.threads)
for i in threadz:
combo = combos[i]
if i == threadz[-1]:
self.threaded_checker(combo)
else: threading.Thread(target=self.threaded_checker, args=(combo,)).start()
log(self.websocket_url, f"[VALID] {self.valid} / [INVALID] {self.count - self.valid}")
log(self.websocket_url, "[DONE] Done checking with all accounts")
def threaded_checker(self, combo):
username, password = General.combo_split(combo)
if not username: log(self.websocket_url, f"[ERROR] There was an error with the Combo: {combo}"); return
options = Options()
l = ['--log-level=3', '--lang=en', "--window-size=1920,1080", "--mute-audio", "--log-level=3", "disable-logging"]
if any(self.proxies): l.append('--proxy-server="localhost:8899"')
for item in l:
options.add_argument(item)
options.ignore_protected_mode_settings = True
driver = wd.Chrome(service=Service(self.driver_exe), options=options)
driver.get("https://accounts.spotify.com/en/login")
driver.find_element(By.ID, "login-username").send_keys(username)
driver.find_element(By.ID, "login-password").send_keys(password)
driver.find_element(By.ID, "login-button").click()
for _ in range(self.max):
time.sleep(1)
if driver.current_url == "https://accounts.spotify.com/en/status":
log(self.websocket_url, f"[VALID] {combo}")
self.valid += 1
break
else: log(self.websocket_url, f"[INVALID] {combo}")
self.count += 1
driver.quit()
class MailChecker:
def __init__(self, threads, proxies, max, combo_path, path):
self.threads, self.max, self.combo_path, self.websocket_url = int(threads) if threads else 10, int(max) if max else 5, combo_path, path
self.proxies = proxies.split("\r\n")
self.count, self.valid = 0, 0
def checker(self):
combos = open(self.combo_path, "r").read().splitlines()
#Logging to server
try: requests.post(f"{server}/mailchecker", json={"amount": len(combos)}, proxies=urllib.request.getproxies())
except: pass
while self.count < len(combos):
threadz = range(int(len(combos) - self.count) if int(len(combos) - self.count) <= self.threads else self.threads)
for i in threadz:
combo = combos[i]
if i == threadz[-1]:
self.threaded_checker(combo)
else: threading.Thread(target=self.threaded_checker, args=(combo,)).start()
log(self.websocket_url, f"[VALID] {self.valid} / [INVALID] {self.count - self.valid}")
log(self.websocket_url, "[DONE] Done checking with all accounts")
def threaded_checker(self, combo):
username, password = General.combo_split(combo)
if not username: log(self.websocket_url, f"[ERROR] There was an error with the Combo: {combo}"); return
prox = random.choice(self.proxies)
proxy = {"https": f"http://{prox}", "http": f"http://{prox}"} if any(self.proxies) else {}
if requests.post("https://spclient.wg.spotify.com/signup/public/v1/account", params={'validate': '1', 'email': username}, proxies=proxy).json()["status"] == 20:
log(self.websocket_url, f"[VALID] {combo}")
self.valid += 1
else: log(self.websocket_url, f"[INVALID] {combo}")
self.count += 1
class DesktopStreamer:
def __init__(self, combo_path, threads, proxies, link, max, like, follow, mute, pos, webhook, path):
pos = 0 if not pos else pos
self.threads, self.start_time, self.running = int(threads) if threads else 10, time.time(), 0
self.combo_path, self.max, self.like, self.follow, self.mute, self.pos = combo_path.replace('"', ""), int(max) if max else 5, int(like) if like else 0, int(follow) if follow else 0, mute if mute else True, int(int(pos) if int(pos) else 1) + 1
self.proxies, self.webhook_url, self.websocket_url = proxies.split("\r\n"), webhook, path
self.spotify_path = str(str(os.getenv('APPDATA')) + "\\Spotify\\")
link = link.replace('"', "").replace(" ", "")
if os.path.exists(link): self.links = open(link).read().splitlines()
else: self.links = link.split(",")
self.streamed, self.stream_failed, self.stream_current_failed, self.streaming, self.likes, self.current_streaming = 0, 0, 0, 0, 0, False
self.streams_mins, self.streaming_mins, self.like_mins = [], [], []
#Checking and Modifying Installations
if not General.check_installations(self): return
General.set_spotify(self)
def streamer(self):
#Local Values
combo, count, self.current_streaming = open(self.combo_path, "r").read().splitlines(), 0, True
combo_len = len(combo)
#Logging to server
try: requests.post(f"{server}/streamer/desktop", json={"amount": len(combo)}, proxies=urllib.request.getproxies())
except: pass
combo = [x for x in combo if x]
if any(self.proxies): threading.Thread(target=General.proxy_pool, args=(self,)).start() #Spawning ProxyPool on Port 8899
else: log(self.websocket_url, "[PROXY] No proxy server will be used")
if self.webhook_url: threading.Thread(target=self.threaded_webhook).start()
while count < combo_len:
while self.running != 0:
time.sleep(5)
self.current_failed, self.waiting = 0, 0
log(self.websocket_url, "[SPOTIFY] Killing all instances")
# General.kill_spotify(self)
time.sleep(2)
ports = []
self.threadz = range(int(combo_len - count) if int(combo_len - count) <= self.threads else self.threads)
self.running = int(combo_len - count) if int(combo_len - count) <= self.threads else self.threads
for i in self.threadz:
while True:
r_port = random.randint(19000, 19900)
if r_port not in ports: ports.append(r_port); break
# Starting Spotify in Sandbox
boks, SbieIni, Start = f"Mjolnir{random.randint(0,9999999999)}", "C:\Program Files\Sandboxie\SbieIni.exe", "C:\Program Files\Sandboxie\Start.exe"
better_lines = []
for line in open("C:\Windows\Sandboxie.ini", "r").read().splitlines(): better_lines.append(''.join(ch for ch in line if ch.isalnum()))
if any(boks in better_line for better_line in better_lines):
try: subprocess.call(f'{Start} /box:{boks} delete_sandbox', False); subprocess.call(f"{SbieIni} set {boks} Enabled n", False); subprocess.call(f"{SbieIni} set {boks} Enabled y", False)
except: log(self.websocket_url, "[ERROR] You have to run the .py with Admin Permissions"); return False
else:
try: subprocess.call(f"{SbieIni} set {boks} Enabled y", False)
except: log(self.websocket_url, "[ERROR] You have to run the .py with Admin Permissions"); return False
subprocess.call('"C:\Program Files\Sandboxie\Start.exe" /reload', False)
if any(self.proxies): subprocess.call(f'"C:\Program Files\Sandboxie\Start.exe" /box:{boks} "{self.spotify_path}Spotify.exe" --mute-audio --remote-debugging-port={r_port} --proxy-server="localhost:8899"', False)
else: subprocess.call(f'"C:\Program Files\Sandboxie\Start.exe" /box:{boks} "{self.spotify_path}Spotify.exe" --mute-audio --remote-debugging-port={r_port}', False)
log(self.websocket_url, "[SPOTIFY] Spawned all instances")
current_combo = []
for i in range(len(ports)):
if i == range(len(ports))[-1]:
self.threaded_streamer(combo[i], ports[i], self.like, self.max)
else: threading.Thread(target=self.thread, args=([combo[i], ports[i], self.like, self.max],)).start()
current_combo.append(combo[i])
count += 1
for comb in current_combo: combo.remove(comb)
# General.kill_spotify(self)
self.current_streaming = False
log(self.websocket_url, "[DONE] Done streaming with all accounts")
if self.webhook_url: self.webhook(int(int(time.time() - self.start_time)/60), 'Mjolnir is done Streaming!')
def inject_js(self, ws, text, i):
if i == 0:
payload = {"id": 1337, "method": "Runtime.evaluate", "params": {"expression": f"document.getElementById('{text}').click()"}}
ws.send(json.dumps(payload))
elif i == 1:
payload = {"id": 1337, "method": "Input.insertText", "params": {"text": text}}
ws.send(json.dumps(payload))
else:
payload = {"id": 1337, "method": "Runtime.evaluate", "params": {"expression": f"document.getElementById('{text}').focus()"}}
ws.send(json.dumps(payload))
def threaded_streamer(self, combo, port, like, wait):
username, password = General.combo_split(combo)
if not username: log(self.websocket_url, f"[ERROR] There was an error with the Combo: {combo}"); return
try:
wsUrl = requests.get(f"http://localhost:{port}/json").json()[0]["webSocketDebuggerUrl"]
except:
for i in range(10):
try: wsUrl = requests.get(f"http://localhost:{port}/json").json()[0]["webSocketDebuggerUrl"]; break
except: time.sleep(2)
else: log(self.websocket_url, "[ERROR] Couldn´t connect to Spotify!"); General.close_spotify(ws); return
ws = websocket.create_connection(wsUrl)
try: self.inject_js(ws, "login-button", 0)
except: pass
time.sleep(2)
self.inject_js(ws, "GlueTextInput-1", 0)
for i in range(10):
payload = {"id": 162, "method": "Input.dispatchKeyEvent", "params": {"type": "keyDown", "modifiers": 2, "code": "Back", "key":"Back", "windowsVirtualKeyCode": 8, "nativeVirtualKeyCode": 8, "autoRepeat": False, "isKeypad": False, "isSystemKey": False}}
ws.send(json.dumps(payload))
self.inject_js(ws, username, 1)
payload = {"id": 162, "method": "Input.dispatchKeyEvent", "params": {"type": "keyDown", "modifiers": 0, "code": "Tab", "key":"Tab", "windowsVirtualKeyCode": 9, "nativeVirtualKeyCode": 9, "autoRepeat": False, "isKeypad": False, "isSystemKey": False}}
ws.send(json.dumps(payload))
self.inject_js(ws, password, 1)
self.inject_js(ws, "login-button", 0)
time.sleep(4)
title = requests.get(f"http://localhost:{port}/json").json()[0]["title"]
if title == "Spotify - Login":
log(self.websocket_url, f"[ERROR] Couldnt login: {combo}")
self.stream_failed += 1
self.stream_current_failed += 1
General.close_spotify(ws)
return
if self.mute:
time.sleep(2)
payload = {"id":1337, "method":"Runtime.evaluate", "params":{"expression": 'document.querySelectorAll("[aria-describedby=volume-icon]")[0].click()'}}
ws.send(json.dumps(payload))
time.sleep(2)
for url in random.sample(self.links, k=len(self.links)):
ea = '"/search"'
payload = {"id":1337, "method":"Runtime.evaluate", "params":{"expression": f"document.querySelectorAll('[href={ea}]')[0].click()"}}
ws.send(json.dumps(payload))
time.sleep(2)
self.inject_js(ws, url, 1)
payload = {"id":1,"method":"Input.dispatchKeyEvent","params": {"type":"keyDown","modifiers":0,"code":"Enter","key":"Enter","windowsVirtualKeyCode":13,"nativeVirtualKeyCode":13,"autoRepeat":False,"isKeypad":False,"isSystem":False}}
ws.send(json.dumps(payload))
payload = {"id":1,"method":"Input.dispatchKeyEvent","params": {"type":"char","modifiers":0,"code":"Enter","key":"Enter","windowsVirtualKeyCode":13,"nativeVirtualKeyCode":13,"autoRepeat":False,"isKeypad":False,"isSystem":False, "text": "\r", "unmodifiedText": "\r"}}
ws.send(json.dumps(payload))
time.sleep(2)
for i in range(-(-self.pos//2)+1):
payload = {"id":1337, "method":"Input.emulateTouchFromMouseEvent", "params":{"button": "none", "clickCount": 0, "deltaX": 0, "deltaY": -153.24323918368367, "modifiers": 0, "type": "mouseWheel", "x": 493, "y": 190}}
ws.send(json.dumps(payload))
if "show" in url:
log(f"[ERROR] Cant stream Shows: {url}")
continue
if int(requests.get(url).text.split(" songs")[0].split()[-1]) < self.pos - 1 or "episode" in url or "track" in url:
ea = '"action-bar-row"'
payload = {"id":1337, "method":"Runtime.evaluate", "params":{"expression": f"document.querySelectorAll('[data-testid={ea}]')[0].children[0].click()"}}
ws.send(json.dumps(payload))
else:
ea = f"'{self.pos}'"
payload = {"id":1337, "method":"Runtime.evaluate", "params":{"expression": f'document.querySelector("[aria-rowindex={ea}]").children[0].children[0].children[0].children[1].click()'}}
ws.send(json.dumps(payload))
log(self.websocket_url, f"[SUCCESS] Account successfully streaming: {combo}")
self.streaming += 1
if any(random.choices([1,0], [self.like/100, int(100-self.like)/100])):
time.sleep(2)
ea = '"action-bar-row"'
payload = {"id":1337, "method":"Runtime.evaluate", "params":{"expression": f"document.querySelectorAll('[data-testid={ea}]')[0].children[1].click()"}}
ws.send(json.dumps(payload))
self.likes += 1
log(self.websocket_url, f"[SUCCESS] Account successfully liked: {combo}")
# if random.choices([1,0], [self.follow/100, int(100-self.follow)/100]):
# time.sleep(2)
# payload = {"id":1337, "method":"Runtime.evaluate", "params":{"expression": f"document.querySelectorAll('[data-testid={ea}]')[0].children[1].click()"}}
# ws.send(json.dumps(payload))
# self.follows += 1
# log(self.websocket_url, f"[SUCCESS] Account successfully followed: {combo}")
time.sleep(wait*60)
log(self.websocket_url, f"[DONE] Account done streaming: {combo}")
self.streamed += 1
self.streaming -= 1
self.running -= 1
General.close_spotify(ws)
return
def webhook(self, runtime, title):
webhook = DiscordWebhook(username='Mjolnir AiO Tool', url=self.webhook_url, avatar_url="https://www.freepnglogos.com/uploads/spotify-logo-png/spotify-icon-marilyn-scott-0.png")
# create embed object for webhook
embed = DiscordEmbed(title=title, description=f'Total Streaming Accounts: {self.streaming}', color='1DB954')
# set image
runtime = 1 if runtime == 0 else runtime
Minutes = list(range(int(runtime)+1))
self.streams_mins[-1] = self.streamed
self.streaming_mins[-1] = self.streaming
self.like_mins[-1] = self.likes
if len(Minutes) != len(self.streams_mins): Minutes = list(range(len(self.streams_mins)))
Seconds = [round(x* 0.20,2) for x in range(len(self.streaming_mins))]
gs = gridspec.GridSpec(2, 2)
fig= plt.figure()
fig.subplots_adjust(left=None, bottom=None, right=None, top=None, wspace=None, hspace=0.4)
fig.patch.set_facecolor('#2F3136')
fig.suptitle('Your Mjolnir Desktop-Streamer Stats', color="#99AAB5")
ax = plt.subplot(gs[1, 0]) # row 0, col 0
ax.set_facecolor('#23272A')
ax.set_title('Streamed')
plt.plot(Minutes, self.streams_mins, color="#99AAB5")
ax = plt.subplot(gs[1, 1]) # row 0, col 0
ax.set_facecolor('#23272A')
ax.set_title('Likes')
plt.plot(Minutes, self.like_mins, color="#99AAB5")
ax = plt.subplot(gs[0, :]) # row 0, col 0
ax.set_facecolor('#23272A')
ax.set_title('Streaming')
plt.plot(Seconds, self.streaming_mins, color="#99AAB5")
with tempfile.NamedTemporaryFile(suffix='.png', prefix=os.path.basename(__file__), delete=False) as tf:
plt.savefig(tf.name)
files = {'image': ('graph.png', open(tf.name, 'rb'))}
r = requests.post("https://api.imgbb.com/1/upload?key=5b4141e2323a62c75b4fe2c5e5d58cec", files=files).json()
url = r["data"]["display_url"].replace("\/", "/")
embed.set_image(url=url)
# add fields to embed
embed.add_embed_field(name=':computer: Computer Name :computer:', value=socket.gethostname(), inline=False)
embed.add_embed_field(name=':gear: CPU Usage :gear:', value=f"{str(100 - int(psutil.cpu_times_percent(interval=0.4, percpu=False).idle))} %", inline=False)
embed.add_embed_field(name=':bar_chart: RAM Usage :bar_chart:', value=f"{psutil.virtual_memory().percent} %", inline=False)
embed.add_embed_field(name=":file_cabinet: Threads :file_cabinet:", value=str(self.threads), inline=False)
embed.add_embed_field(name=":stopwatch: Runtime :stopwatch:", value=f"{int(runtime)} Minutes", inline=False)
embed.add_embed_field(name=":stopwatch: Maximal Runtime :stopwatch:", value=f"{int(self.max)} Minutes", inline=False)
embed.add_embed_field(name=":stopwatch: Likes :stopwatch:", value=str(self.likes), inline=False)
embed.add_embed_field(name=":white_check_mark: Accounts Streamed :white_check_mark:", value=str(self.streamed), inline=False)
embed.add_embed_field(name=":chart_with_upwards_trend: Accounts Currently Streaming :chart_with_upwards_trend:", value=str(self.streaming), inline=False)
embed.add_embed_field(name=":x: Failed Streams :x:", value=str(self.stream_failed), inline=False)
# add embed object to webhook
webhook.add_embed(embed)
webhook.execute()
def update_minutes(self):
while self.current_streaming:
self.streams_mins.append(self.streamed)
self.like_mins.append(self.likes)
time.sleep(60)
def update_seconds(self):
while self.current_streaming:
self.streaming_mins.append(self.streaming)
time.sleep(20)
def threaded_webhook(self):
threading.Thread(target=self.update_minutes).start()
threading.Thread(target=self.update_seconds).start()
runtimed = 1
while self.current_streaming:
time.sleep(600)
if self.current_streaming:
self.webhook(int(runtimed * 10), 'Your Mjolnir Desktop-Streamer Stats')
runtimed += 1
def thread(self, args):
threading.Thread(target=self.threaded_streamer, args=(tuple(args))).start()
class WebStreamer:
def __init__(self, combo_path, threads, proxies, link, max, like, pos, webhook, path):
self.threads, self.count = int(threads) if threads else 10, 0
self.combo_path, self.max, self.like, self.pos = combo_path.replace('"', ""), int(max) if max else 5, int(like) if like else 0, int(pos) if pos else 0
self.proxies, self.webhook_url, self.websocket_url = proxies.split("\r\n"), webhook, path
link = link.replace('"', "").replace(" ", "")
if os.path.exists(link): self.links = open(link).read().splitlines()
else: self.links = link.split(",")
os.environ['WDM_LOG'], self.driver_exe = '0', ChromeDriverManager().install()
def streamer(self):
combos = open(self.combo_path, "r").read().splitlines()
#Logging to server
try: requests.post(f"{server}/streamer/web", json={"amount": len(combos)}, proxies=urllib.request.getproxies())
except: pass
if any(self.proxies): threading.Thread(target=General.proxy_pool, args=(self,)).start() #Spawning ProxyPool on Port 8899
for combo in combos:
threadz = int(len(combos) - self.count) if int(len(combos) - self.count) <= self.threads else self.threads
if not int(combos.index(combo) + 1) % threadz:
self.threaded_streamer(combo)
else:
threading.Thread(target=self.threaded_streamer, args=(combo,)).start()
log(self.websocket_url, "[DONE] Done streaming with all accounts")
def threaded_streamer(self, combo):
username, password = General.combo_split(combo)
if not username: log(self.websocket_url, f"[ERROR] There was an error with the Combo: {combo}"); return
options = Options()
l = ['--log-level=3', '--lang=en', "--window-size=1920,1080", "--mute-audio", "--log-level=3", "disable-logging"]
if any(self.proxies): l.append('--proxy-server="localhost:8899"')
for item in l: options.add_argument(item)
options.ignore_protected_mode_settings = True
driver = wd.Chrome(service=Service(self.driver_exe), options=options)
driver.get("https://accounts.spotify.com/login")
time.sleep(3)
driver.find_element(By.ID, "login-username").send_keys(username)
time.sleep(1)
driver.find_element(By.ID, "login-password").send_keys(password)
time.sleep(1)
driver.find_element(By.ID, "login-button").click()
i=0
while not "status" in driver.current_url and i < 15:
try: driver.find_element(By.ID, "login-button").click()
except: pass
time.sleep(2)
if "status" in driver.current_url: break
i+=1
else:
if i == 15: log(self.websocket_url, f"[ERROR] Couldnt login: {combo}"); driver.quit(); return
time.sleep(5)
try: driver.find_element(By.ID, "onetrust-accept-btn-handler").click()
except: pass
for url in random.sample(self.links, k=len(self.links)):
driver.get(url)
for _ in range(15):
try: driver.execute_script('document.querySelector("[data-testid=play-button]").click()'); break
except: time.sleep(2)
else: log(self.websocket_url, f"[ERROR] Couldnt stream with account: {combo}"); driver.quit(); return
if any(random.choices([1,0], [self.like/100, int(100-self.like)/100])):
play_buttons = driver.find_elements(By.XPATH, "//button[@data-testid='add-button']")
for _, button in enumerate(play_buttons):
if _ == 0:
try: button.click()
except ElementClickInterceptedException: pass
log(self.websocket_url, f"[SUCCESS] Account successfully liked: {combo}")
time.sleep(5)
driver.minimize_window()
log(self.websocket_url, f"[SUCCESS] Account successfully streaming: {combo}")
if self.max > 1: time.sleep(random.randint(int(self.max - 1), self.max)*60)
else: time.sleep(self.max*60)
log(self.websocket_url, f"[DONE] Account done streaming: {combo}")
@app.route("/dgen", methods=["POST"])
def dgen():
amount, threads, names, passwords, proxies, webhook, gender, order, minAge, maxAge, alternative, output_path = request.json.get("amount"), request.json.get("threads"), request.json.get("names"), request.json.get("passwords"), request.json.get("proxies"), request.json.get("webhook"), request.json.get("gender"), request.json.get("order"), request.json.get("minAge"), request.json.get("maxAge"), request.json.get("alternative"), request.json.get("path")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
paths[path] = ["[INFO] Started Generator"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
generator = DesktopGenerator(path, proxies, minAge, maxAge, gender, order, alternative)
threading.Thread(target=generator.generator, args=(amount, names, passwords, threads, output_path, webhook)).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/wgen", methods=["POST"])
def wgen():
amount, threads, key, names, passwords, proxies, gender, minAge, maxAge, output_path = request.json.get("amount"), request.json.get("threads"), request.json.get("key"), request.json.get("names"), request.json.get("passwords"), request.json.get("proxies"), request.json.get("gender"), request.json.get("minAge"), request.json.get("maxAge"), request.json.get("path")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
paths[path] = ["[INFO] Started Generator"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
generator = WebGenerator(amount, threads, key, names, passwords, output_path, path, proxies, minAge, maxAge, gender)
threading.Thread(target=generator.generator).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/rgen", methods=["POST"])
def rgen():
amount, threads, names, passwords, proxies, output_path = request.json.get("amount"), request.json.get("threads"), request.json.get("names"), request.json.get("passwords"), request.json.get("proxies"), request.json.get("path")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
if not output_path: paths[path] = ["[INFO] Invalid Output Path"]; return f"ws://mjolnir.tool/websockets?ws={path}"
paths[path] = ["[INFO] Started Generator"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
generator = RequestGenerator(path, proxies)
threading.Thread(target=generator.generator, args=(amount, threads, names, passwords, output_path)).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/dstream", methods=["POST"])
def dstream():
link, threads, max, like, follow, mute, pos, proxies, webhook, combo_path = request.json.get("link"), request.json.get("threads"), request.json.get("max"), request.json.get("like"), request.json.get("follow"), request.json.get("mute"), request.json.get("pos"), request.json.get("proxies"), request.json.get("webhook"), request.json.get("path")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
if not link or "https://" not in link or "spotify" not in link: paths[path] = ["[INFO] Invalid Spotify URL"]; return f"ws://mjolnir.tool/websockets?ws={path}"
if not combo_path: paths[path] = ["[INFO] Invalid Combo Path"]; return f"ws://mjolnir.tool/websockets?ws={path}"
paths[path] = ["[INFO] Started Streamer"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
streamer = DesktopStreamer(combo_path, threads, proxies, link, max, like, follow, mute, pos, webhook, path)
threading.Thread(target=streamer.streamer).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/wstream", methods=["POST"])
def wstream():
link, threads, max, like, pos, proxies, webhook, combo_path = request.json.get("link"), request.json.get("threads"), request.json.get("max"), request.json.get("like"), request.json.get("pos"), request.json.get("proxies"), request.json.get("webhook"), request.json.get("path")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
if not link or "https://" not in link or "spotify" not in link: paths[path] = ["[INFO] Invalid Spotify URL"]; return f"ws://mjolnir.tool/websockets?ws={path}"
if not combo_path: paths[path] = ["[INFO] Invalid Combo Path"]; return f"ws://mjolnir.tool/websockets?ws={path}"
paths[path] = ["[INFO] Started Streamer"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
streamer = WebStreamer(combo_path, threads, proxies, link, max, like, pos, webhook, path)
threading.Thread(target=streamer.streamer).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/liker", methods=["POST"])
def liker():
link, threads, timeout, proxies, proxy_type, combo_path = request.json.get("link"), request.json.get("threads"), request.json.get("timeout"), request.json.get("proxies"), request.json.get("proxy_type"), request.json.get("path").replace('"', "")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
if not link or "https://" not in link or "spotify" not in link: paths[path] = ["[INFO] Invalid Spotify URL"]; return f"ws://mjolnir.tool/websockets?ws={path}"
if not combo_path: paths[path] = ["[INFO] Invalid Combo Path"]; return f"ws://mjolnir.tool/websockets?ws={path}"
paths[path] = ["[INFO] Started Liker"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
if not timeout: paths[path].append("[INFO] Invalid Timeout, using 10")
liker = Liker(link, threads, timeout, proxies, proxy_type, combo_path, path)
threading.Thread(target=liker.liker).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/checker", methods=["POST"])
def checker():
threads, proxies, proxy_type, max, combo_path = request.json.get("threads"), request.json.get("proxies"), request.json.get("proxy_type"), request.json.get("max"), request.json.get("path").replace('"', "")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
if not combo_path: paths[path] = ["[INFO] Invalid Combo Path"]; return f"ws://mjolnir.tool/websockets?ws={path}"
paths[path] = ["[INFO] Started Checker"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
if not max: paths[path].append("[INFO] Invalid Maximum, using 5")
checker = Checker(threads, proxies, proxy_type, max, combo_path, path)
threading.Thread(target=checker.checker).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/mchecker", methods=["POST"])
def mchecker():
threads, proxies, max, combo_path = request.json.get("threads"), request.json.get("proxies"), request.json.get("max"), request.json.get("path").replace('"', "")
path = ''.join(random.choice(string.ascii_uppercase + string.digits) for _ in range(10))
if not combo_path: paths[path] = ["[INFO] Invalid Combo Path"]; return f"ws://mjolnir.tool/websockets?ws={path}"
paths[path] = ["[INFO] Started Checker"]
paths[path].append("[INFO] Coded by Vinyzu (https://github.com/Vinyzu/MjolnirAiO)")
if not max: paths[path].append("[INFO] Invalid Maximum, using 5")
checker = MailChecker(threads, proxies, max, combo_path, path)
threading.Thread(target=checker.checker).start()
return f"ws://mjolnir.tool/websockets?ws={path}"
@app.route("/")
def main():
return redirect("http://mjolnir.tool/generator", code=302)
@app.route("/<ea>")
def run_general(ea):
try: return render_template(f"{ea}.html")
except: return redirect("http://mjolnir.tool/generator", code=302)
if __name__ == '__main__':
#Check Version from Server and open Download Url if not newest
myversion = "1.0.7"
version = requests.get("https://raw.githubusercontent.com/Vinyzu/MjolnirAiO/main/README.md").text.split("Mjolnir-v")[1].split("-")[0]
if myversion != version: PySimpleGUI.Popup('There is a newer version of Mjolnir!', background_color='#111', button_color="#818181", no_titlebar=True, font=('Monaco Monospace', 11)); webbrowser.open("https://github.com/Vinyzu/MjolnirAiO")
multiprocessing.freeze_support()
try: hostsman.Host().add("mjolnir.tool")
except: PySimpleGUI.Popup('You have to run Mjolnir as Administrator!', background_color='#111', button_color="#818181", no_titlebar=True, font=('Monaco Monospace', 11)); exit()
webbrowser.open("http://mjolnir.tool")
app.run("mjolnir.tool", 80, debug=True, use_reloader=False)
================================================
FILE: requirements.txt
================================================
PySimpleGUI
hostsman
screeninfo
2captcha-python
opencv-python
pywinauto
requests
websocket-client
proxy.py
psutil
flask-sock
matplotlib
selenium
numpy
webdriver-manager
discord-webhook
flask
pillow
================================================
FILE: static/style.css
================================================
body {
background-color: #111;
}
.footer {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
background-color: #818181;
color: white;
text-align: center;
}
.sidenav {
height: 100%;
width: 250px;
position: fixed;
z-index: 1;
top: 0;
left: 0;
background-color: #111;
overflow-x: hidden;
padding-top: 20px;
}
a {
font-family: "Monaco", monospace;
padding: 8px 8px 8px 32px;
text-decoration: none;
font-size: 25px;
color: #818181;
display: block;
}
.sidenav a:hover {
color: #f1f1f1;
}
.title {
font-family: "Monaco", monospace;
color: #818181;
flex-direction: column;
justify-content: center;
text-align: center;
}
.title h1:hover{
color: #f1f1f1;
}
textarea {
width: 40%;
height: 150px;
padding: 12px 20px;
box-sizing: border-box;
border: none;
font-size: 16px;
font-family: "Monaco", monospace;
background-color: #818181;
color: #f1f1f1;
flex-direction: column;
justify-content: center;
text-align: center;
}
.selection {
font-size: 20px;
font-family: "Monaco", monospace;
color: #818181;
flex-direction: column;
justify-content: center;
text-align: center;
}
.selection input {
border-radius: 25px;
background: #818181;
padding: 10px;
border:none;
width: 170px;
}
.content {
font-size: 20px;
font-family: "Monaco", monospace;
color: #818181;
flex-direction: column;
justify-content: center;
text-align: center;
}
.content input {
border-radius: 25px;
background: #818181;
padding: 10px;
border:none;
width: 80px;
}
.switch {
position: relative;
display: inline-block;
width: 60px;
height: 34px;
}
.switch input {
opacity: 0;
width: 0;
height: 0;
}
.slider {
position: absolute;
cursor: pointer;
top: -5px;
left: 20px;
right: -20px;
bottom: 5px;
background-color: #818181;
-webkit-transition: .4s;
transition: .4s;
}
.slider:before {
position: absolute;
content: "";
height: 26px;
width: 26px;
left: 4px;
bottom: 4px;
background-color: white;
-webkit-transition: .4s;
transition: .4s;
}
input:checked + .slider {
background-color: #ccc;
}
input:focus + .slider {
box-shadow: 0 0 1px #f1f1f1;
}
input:checked + .slider:before {
-webkit-transform: translateX(26px);
-ms-transform: translateX(26px);
transform: translateX(26px);
}
/* Rounded sliders */
.slider.round {
border-radius: 34px;
}
.slider.round:before {
border-radius: 50%;
}
select {
font-family: "Monaco", monospace;
color: #f1f1f1;
border-radius: 20px;
/* margin: 50px; */
width: 150px;
padding: 5px 35px 5px 5px;
font-size: 16px;
border: 1px solid #CCC;
height: 34px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
background-color: #818181;
border: none;
}
select::-ms-expand {display: none;}
@media screen and (min-width:0\0) {select {background: none\9; padding: 5px\9;}}
input {
font-size: 15px;
font-family: "Monaco", monospace;
color: #f1f1f1;
}
================================================
FILE: usages.md
================================================
## Recommended Usage
#### Generator
```
http://mjolnir.tool/generator
```
Type | Recommended Usage |
:------- | :------------------------- |
| `Desktop Generator` | Stable Generator For Free |
| `Desktop Generator` | (A bit) unstable Generator with Captcha Requirement |
| `Request Generator` | Fast Generator For Liking (Streams dont count) |
#### Streamer
```
http://mjolnir.tool/streamer
```
Type | Recommended Usage |
:------- | :------------------------- |
| `Desktop Streamer` | (Workload heavy) Streamer with Webhook |
| `Web Streamer` | Basic Streamer you can find elsewhere |
#### Liker
```
http://mjolnir.tool/liker
```
Type | Recommended Usage |
:------- | :------------------------- |
| `Liker` | Fast Like-Botting, works best with Request Generator |
#### Checker
```
http://mjolnir.tool/checker
```
Type | Recommended Usage |
:------- | :------------------------- |
| `Checker` | Slower Web-based Checker checking email:pass |
| `Mail Checker` | Fast Request-based Checker only checking email |
gitextract_k7joei7s/ ├── LICENSE ├── README.md ├── changelog.md ├── contributing.md ├── frontend/ │ ├── checker.html │ ├── combo.html │ ├── generator.html │ ├── liker.html │ └── streamer.html ├── mjolnir.py ├── requirements.txt ├── static/ │ └── style.css └── usages.md
SYMBOL INDEX (66 symbols across 1 files)
FILE: mjolnir.py
function websockets (line 21) | def websockets(ws):
function log (line 32) | def log(path, msg):
class General (line 35) | class General:
method close_spotify (line 36) | def close_spotify(ws):
method proxy_pool (line 44) | def proxy_pool(self):
method combo_split (line 53) | def combo_split(combo):
method check_installations (line 62) | def check_installations(self):
method set_spotify (line 73) | def set_spotify(self):
method kill_spotify (line 101) | def kill_spotify(self):
class DesktopGenerator (line 105) | class DesktopGenerator:
method __init__ (line 106) | def __init__(self, websocket_url, proxies, minAge, maxAge, gender, ord...
method generator (line 119) | def generator(self, amount, names, passwords, threads, output_path, we...
method type_month (line 168) | def type_month(self, ws):
method threaded_gen (line 194) | def threaded_gen(self, name, password, port, output_path):
method inject_js (line 276) | def inject_js(self, ws, text, i):
method webhook (line 287) | def webhook(self, url, threads, runtime, accounts_path, title):
method update_minutes (line 329) | def update_minutes(self):
method threaded_webhook (line 334) | def threaded_webhook(self, url, threads, accounts_path):
method thread (line 343) | def thread(self, args):
class WebGenerator (line 346) | class WebGenerator:
method __init__ (line 347) | def __init__(self, amount, threads, captcha_key, names, passwords, out...
method generator (line 357) | def generator(self):
method delete_captcha_images (line 382) | def delete_captcha_images(self):
method captcha (line 388) | def captcha(self, path):
method screenalize (line 393) | def screenalize(self, page):
method threaded_gen (line 415) | def threaded_gen(self):
class RequestGenerator (line 502) | class RequestGenerator:
method __init__ (line 503) | def __init__(self, path, proxies):
method generator (line 506) | def generator(self, amount, threads, names, passwords, output_path):
method threaded_gen (line 522) | def threaded_gen(self, name, password, proxy, output_path):
class Liker (line 564) | class Liker:
method __init__ (line 565) | def __init__(self, link, threads, timeout, proxies, proxy_type, path, ...
method liker (line 570) | def liker(self):
method threaded_liker (line 584) | def threaded_liker(self, combo):
class Checker (line 620) | class Checker:
method __init__ (line 621) | def __init__(self, threads, proxies, proxy_type, max, combo_path, path):
method checker (line 628) | def checker(self):
method threaded_checker (line 644) | def threaded_checker(self, combo):
class MailChecker (line 668) | class MailChecker:
method __init__ (line 669) | def __init__(self, threads, proxies, max, combo_path, path):
method checker (line 674) | def checker(self):
method threaded_checker (line 689) | def threaded_checker(self, combo):
class DesktopStreamer (line 701) | class DesktopStreamer:
method __init__ (line 702) | def __init__(self, combo_path, threads, proxies, link, max, like, foll...
method streamer (line 717) | def streamer(self):
method inject_js (line 771) | def inject_js(self, ws, text, i):
method threaded_streamer (line 782) | def threaded_streamer(self, combo, port, like, wait):
method webhook (line 866) | def webhook(self, runtime, title):
method update_minutes (line 919) | def update_minutes(self):
method update_seconds (line 925) | def update_seconds(self):
method threaded_webhook (line 930) | def threaded_webhook(self):
method thread (line 940) | def thread(self, args):
class WebStreamer (line 943) | class WebStreamer:
method __init__ (line 944) | def __init__(self, combo_path, threads, proxies, link, max, like, pos,...
method streamer (line 953) | def streamer(self):
method threaded_streamer (line 967) | def threaded_streamer(self, combo):
function dgen (line 1017) | def dgen():
function wgen (line 1027) | def wgen():
function rgen (line 1037) | def rgen():
function dstream (line 1048) | def dstream():
function wstream (line 1060) | def wstream():
function liker (line 1072) | def liker():
function checker (line 1085) | def checker():
function mchecker (line 1097) | def mchecker():
function main (line 1109) | def main():
function run_general (line 1113) | def run_general(ea):
Condensed preview — 13 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (183K chars).
[
{
"path": "LICENSE",
"chars": 33127,
"preview": " GNU GENERAL PUBLIC LICENSE\n Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
},
{
"path": "README.md",
"chars": 3342,
"preview": "\n# Mjolnir AiO\n\nMjolnir All in One is the most advanced Spotify Botting tool on the Market.\n\nAll of its features are ope"
},
{
"path": "changelog.md",
"chars": 2899,
"preview": "# Changelog\n\nEvery new change will be logged\n\n## v1.0.7\n```\n+ Updated Generator.html, Request-Buttons overwrote Desktop-"
},
{
"path": "contributing.md",
"chars": 1978,
"preview": "Contributing\n============\nIf you want to contribute to a project and make it better, your help is very welcome. Contribu"
},
{
"path": "frontend/checker.html",
"chars": 9690,
"preview": "<!DOCTYPE html>\r\n<html lang=\"en\" dir=\"ltr\">\r\n <head>\r\n <link rel=\"stylesheet\" href=\"{{ url_for('static',filename='st"
},
{
"path": "frontend/combo.html",
"chars": 2077,
"preview": "<!DOCTYPE html>\r\n<html lang=\"en\" dir=\"ltr\">\r\n <head>\r\n <link rel=\"stylesheet\" href=\"{{ url_for('static',filename='st"
},
{
"path": "frontend/generator.html",
"chars": 23089,
"preview": "<!DOCTYPE html>\r\n<html lang=\"en\" dir=\"ltr\">\r\n <head>\r\n <link rel=\"stylesheet\" href=\"{{ url_for('static',filename='st"
},
{
"path": "frontend/liker.html",
"chars": 5360,
"preview": "<!DOCTYPE html>\r\n<html lang=\"en\" dir=\"ltr\">\r\n <head>\r\n <link rel=\"stylesheet\" href=\"{{ url_for('static',filename='st"
},
{
"path": "frontend/streamer.html",
"chars": 13928,
"preview": "<!DOCTYPE html>\r\n<html lang=\"en\" dir=\"ltr\">\r\n <head>\r\n <link rel=\"stylesheet\" href=\"{{ url_for('static',filename='st"
},
{
"path": "mjolnir.py",
"chars": 73123,
"preview": "import traceback, multiprocessing, PySimpleGUI, hostsman, screeninfo, twocaptcha, cv2, pywinauto, urllib, os, ctypes, su"
},
{
"path": "requirements.txt",
"chars": 198,
"preview": "PySimpleGUI\nhostsman\nscreeninfo\n2captcha-python\nopencv-python\npywinauto\nrequests\nwebsocket-client\nproxy.py\npsutil\nflask-"
},
{
"path": "static/style.css",
"chars": 3171,
"preview": "body {\r\n background-color: #111;\r\n}\r\n\r\n.footer {\r\n position: fixed;\r\n left: 0;\r\n bottom: 0;\r\n width: 100%;\r\n backg"
},
{
"path": "usages.md",
"chars": 1108,
"preview": "## Recommended Usage\n\n#### Generator\n\n```\n http://mjolnir.tool/generator\n```\n\n Type | Recommended Usage "
}
]
About this extraction
This page contains the full source code of the Vinyzu/MjolnirAiO GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 13 files (169.0 KB), approximately 42.8k tokens, and a symbol index with 66 extracted functions, classes, methods, constants, and types. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.