pax_global_header00006660000000000000000000000064134744772100014523gustar00rootroot0000000000000052 comment=431f4f1856730ddfe917d68e6ac2f2fe6dfc24bf changeme-1.2.1/000077500000000000000000000000001347447721000132735ustar00rootroot00000000000000changeme-1.2.1/.coveragerc000066400000000000000000000000351347447721000154120ustar00rootroot00000000000000[report] show_missing = True changeme-1.2.1/.dockerignore000066400000000000000000000000051347447721000157420ustar00rootroot00000000000000.git changeme-1.2.1/.gitignore000077500000000000000000000000441347447721000152640ustar00rootroot00000000000000*.swp *.swo *.pyc .coverage data.db changeme-1.2.1/.travis.yml000077500000000000000000000006551347447721000154150ustar00rootroot00000000000000language: python python: - "2.7" - "3.4" - "3.5" - "3.6" addons: apt: sources: - ubuntu-toolchain-r-test packages: - gcc - g++ - unixodbc-dev install: - pip install -r requirements.txt - pip install -r dev-requirements.txt services: - redis-server - memcached - mongodb script: nosetests --nologcapture -v -s --with-coverage --cover-erase --cover-package=changeme changeme/tests/*.py changeme-1.2.1/COPYING000077500000000000000000001045131347447721000143350ustar00rootroot00000000000000 GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. Preamble The GNU General Public License is a free, copyleft license for software and other kinds of works. The licenses for most software and other practical works are designed to take away your freedom to share and change the works. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change all versions of a program--to make sure it remains free software for all its users. We, the Free Software Foundation, use the GNU General Public License for most of our software; it applies also to any other work released this way by its authors. You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for them if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs, and that you know you can do these things. To protect your rights, we need to prevent others from denying you these rights or asking you to surrender the rights. Therefore, you have certain responsibilities if you distribute copies of the software, or if you modify it: responsibilities to respect the freedom of others. For example, if you distribute copies of such a program, whether gratis or for a fee, you must pass on to the recipients the same freedoms that you received. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights. Developers that use the GNU GPL protect your rights with two steps: (1) assert copyright on the software, and (2) offer you this License giving you legal permission to copy, distribute and/or modify it. For the developers' and authors' protection, the GPL clearly explains that there is no warranty for this free software. For both users' and authors' sake, the GPL requires that modified versions be marked as changed, so that their problems will not be attributed erroneously to authors of previous versions. Some devices are designed to deny users access to install or run modified versions of the software inside them, although the manufacturer can do so. This is fundamentally incompatible with the aim of protecting users' freedom to change the software. The systematic pattern of such abuse occurs in the area of products for individuals to use, which is precisely where it is most unacceptable. Therefore, we have designed this version of the GPL to prohibit the practice for those products. If such problems arise substantially in other domains, we stand ready to extend this provision to those domains in future versions of the GPL, as needed to protect the freedom of users. Finally, every program is threatened constantly by software patents. States should not allow patents to restrict development and use of software on general-purpose computers, but in those that do, we wish to avoid the special danger that patents applied to a free program could make it effectively proprietary. To prevent this, the GPL assures that patents cannot be used to render the program non-free. The precise terms and conditions for copying, distribution and modification follow. TERMS AND CONDITIONS 0. Definitions. "This License" refers to version 3 of the GNU General Public License. "Copyright" also means copyright-like laws that apply to other kinds of works, such as semiconductor masks. "The Program" refers to any copyrightable work licensed under this License. Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals or organizations. To "modify" a work means to copy from or adapt all or part of the work in a fashion requiring copyright permission, other than the making of an exact copy. The resulting work is called a "modified version" of the earlier work or a work "based on" the earlier work. A "covered work" means either the unmodified Program or a work based on the Program. To "propagate" a work means to do anything with it that, without permission, would make you directly or secondarily liable for infringement under applicable copyright law, except executing it on a computer or modifying a private copy. Propagation includes copying, distribution (with or without modification), making available to the public, and in some countries other activities as well. To "convey" a work means any kind of propagation that enables other parties to make or receive copies. Mere interaction with a user through a computer network, with no transfer of a copy, is not conveying. An interactive user interface displays "Appropriate Legal Notices" to the extent that it includes a convenient and prominently visible feature that (1) displays an appropriate copyright notice, and (2) tells the user that there is no warranty for the work (except to the extent that warranties are provided), that licensees may convey the work under this License, and how to view a copy of this License. If the interface presents a list of user commands or options, such as a menu, a prominent item in the list meets this criterion. 1. Source Code. The "source code" for a work means the preferred form of the work for making modifications to it. "Object code" means any non-source form of a work. A "Standard Interface" means an interface that either is an official standard defined by a recognized standards body, or, in the case of interfaces specified for a particular programming language, one that is widely used among developers working in that language. The "System Libraries" of an executable work include anything, other than the work as a whole, that (a) is included in the normal form of packaging a Major Component, but which is not part of that Major Component, and (b) serves only to enable use of the work with that Major Component, or to implement a Standard Interface for which an implementation is available to the public in source code form. A "Major Component", in this context, means a major essential component (kernel, window system, and so on) of the specific operating system (if any) on which the executable work runs, or a compiler used to produce the work, or an object code interpreter used to run it. The "Corresponding Source" for a work in object code form means all the source code needed to generate, install, and (for an executable work) run the object code and to modify the work, including scripts to control those activities. However, it does not include the work's System Libraries, or general-purpose tools or generally available free programs which are used unmodified in performing those activities but which are not part of the work. For example, Corresponding Source includes interface definition files associated with source files for the work, and the source code for shared libraries and dynamically linked subprograms that the work is specifically designed to require, such as by intimate data communication or control flow between those subprograms and other parts of the work. The Corresponding Source need not include anything that users can regenerate automatically from other parts of the Corresponding Source. The Corresponding Source for a work in source code form is that same work. 2. Basic Permissions. All rights granted under this License are granted for the term of copyright on the Program, and are irrevocable provided the stated conditions are met. This License explicitly affirms your unlimited permission to run the unmodified Program. The output from running a covered work is covered by this License only if the output, given its content, constitutes a covered work. This License acknowledges your rights of fair use or other equivalent, as provided by copyright law. You may make, run and propagate covered works that you do not convey, without conditions so long as your license otherwise remains in force. You may convey covered works to others for the sole purpose of having them make modifications exclusively for you, or provide you with facilities for running those works, provided that you comply with the terms of this License in conveying all material for which you do not control copyright. Those thus making or running the covered works for you must do so exclusively on your behalf, under your direction and control, on terms that prohibit them from making any copies of your copyrighted material outside their relationship with you. Conveying under any other circumstances is permitted solely under the conditions stated below. Sublicensing is not allowed; section 10 makes it unnecessary. 3. Protecting Users' Legal Rights From Anti-Circumvention Law. No covered work shall be deemed part of an effective technological measure under any applicable law fulfilling obligations under article 11 of the WIPO copyright treaty adopted on 20 December 1996, or similar laws prohibiting or restricting circumvention of such measures. When you convey a covered work, you waive any legal power to forbid circumvention of technological measures to the extent such circumvention is effected by exercising rights under this License with respect to the covered work, and you disclaim any intention to limit operation or modification of the work as a means of enforcing, against the work's users, your or third parties' legal rights to forbid circumvention of technological measures. 4. Conveying Verbatim Copies. You may convey verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice; keep intact all notices stating that this License and any non-permissive terms added in accord with section 7 apply to the code; keep intact all notices of the absence of any warranty; and give all recipients a copy of this License along with the Program. You may charge any price or no price for each copy that you convey, and you may offer support or warranty protection for a fee. 5. Conveying Modified Source Versions. You may convey a work based on the Program, or the modifications to produce it from the Program, in the form of source code under the terms of section 4, provided that you also meet all of these conditions: a) The work must carry prominent notices stating that you modified it, and giving a relevant date. b) The work must carry prominent notices stating that it is released under this License and any conditions added under section 7. This requirement modifies the requirement in section 4 to "keep intact all notices". c) You must license the entire work, as a whole, under this License to anyone who comes into possession of a copy. This License will therefore apply, along with any applicable section 7 additional terms, to the whole of the work, and all its parts, regardless of how they are packaged. This License gives no permission to license the work in any other way, but it does not invalidate such permission if you have separately received it. d) If the work has interactive user interfaces, each must display Appropriate Legal Notices; however, if the Program has interactive interfaces that do not display Appropriate Legal Notices, your work need not make them do so. A compilation of a covered work with other separate and independent works, which are not by their nature extensions of the covered work, and which are not combined with it such as to form a larger program, in or on a volume of a storage or distribution medium, is called an "aggregate" if the compilation and its resulting copyright are not used to limit the access or legal rights of the compilation's users beyond what the individual works permit. Inclusion of a covered work in an aggregate does not cause this License to apply to the other parts of the aggregate. 6. Conveying Non-Source Forms. You may convey a covered work in object code form under the terms of sections 4 and 5, provided that you also convey the machine-readable Corresponding Source under the terms of this License, in one of these ways: a) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by the Corresponding Source fixed on a durable physical medium customarily used for software interchange. b) Convey the object code in, or embodied in, a physical product (including a physical distribution medium), accompanied by a written offer, valid for at least three years and valid for as long as you offer spare parts or customer support for that product model, to give anyone who possesses the object code either (1) a copy of the Corresponding Source for all the software in the product that is covered by this License, on a durable physical medium customarily used for software interchange, for a price no more than your reasonable cost of physically performing this conveying of source, or (2) access to copy the Corresponding Source from a network server at no charge. c) Convey individual copies of the object code with a copy of the written offer to provide the Corresponding Source. This alternative is allowed only occasionally and noncommercially, and only if you received the object code with such an offer, in accord with subsection 6b. d) Convey the object code by offering access from a designated place (gratis or for a charge), and offer equivalent access to the Corresponding Source in the same way through the same place at no further charge. You need not require recipients to copy the Corresponding Source along with the object code. If the place to copy the object code is a network server, the Corresponding Source may be on a different server (operated by you or a third party) that supports equivalent copying facilities, provided you maintain clear directions next to the object code saying where to find the Corresponding Source. Regardless of what server hosts the Corresponding Source, you remain obligated to ensure that it is available for as long as needed to satisfy these requirements. e) Convey the object code using peer-to-peer transmission, provided you inform other peers where the object code and Corresponding Source of the work are being offered to the general public at no charge under subsection 6d. A separable portion of the object code, whose source code is excluded from the Corresponding Source as a System Library, need not be included in conveying the object code work. A "User Product" is either (1) a "consumer product", which means any tangible personal property which is normally used for personal, family, or household purposes, or (2) anything designed or sold for incorporation into a dwelling. In determining whether a product is a consumer product, doubtful cases shall be resolved in favor of coverage. For a particular product received by a particular user, "normally used" refers to a typical or common use of that class of product, regardless of the status of the particular user or of the way in which the particular user actually uses, or expects or is expected to use, the product. A product is a consumer product regardless of whether the product has substantial commercial, industrial or non-consumer uses, unless such uses represent the only significant mode of use of the product. "Installation Information" for a User Product means any methods, procedures, authorization keys, or other information required to install and execute modified versions of a covered work in that User Product from a modified version of its Corresponding Source. The information must suffice to ensure that the continued functioning of the modified object code is in no case prevented or interfered with solely because modification has been made. If you convey an object code work under this section in, or with, or specifically for use in, a User Product, and the conveying occurs as part of a transaction in which the right of possession and use of the User Product is transferred to the recipient in perpetuity or for a fixed term (regardless of how the transaction is characterized), the Corresponding Source conveyed under this section must be accompanied by the Installation Information. But this requirement does not apply if neither you nor any third party retains the ability to install modified object code on the User Product (for example, the work has been installed in ROM). The requirement to provide Installation Information does not include a requirement to continue to provide support service, warranty, or updates for a work that has been modified or installed by the recipient, or for the User Product in which it has been modified or installed. Access to a network may be denied when the modification itself materially and adversely affects the operation of the network or violates the rules and protocols for communication across the network. Corresponding Source conveyed, and Installation Information provided, in accord with this section must be in a format that is publicly documented (and with an implementation available to the public in source code form), and must require no special password or key for unpacking, reading or copying. 7. Additional Terms. "Additional permissions" are terms that supplement the terms of this License by making exceptions from one or more of its conditions. Additional permissions that are applicable to the entire Program shall be treated as though they were included in this License, to the extent that they are valid under applicable law. If additional permissions apply only to part of the Program, that part may be used separately under those permissions, but the entire Program remains governed by this License without regard to the additional permissions. When you convey a copy of a covered work, you may at your option remove any additional permissions from that copy, or from any part of it. (Additional permissions may be written to require their own removal in certain cases when you modify the work.) You may place additional permissions on material, added by you to a covered work, for which you have or can give appropriate copyright permission. Notwithstanding any other provision of this License, for material you add to a covered work, you may (if authorized by the copyright holders of that material) supplement the terms of this License with terms: a) Disclaiming warranty or limiting liability differently from the terms of sections 15 and 16 of this License; or b) Requiring preservation of specified reasonable legal notices or author attributions in that material or in the Appropriate Legal Notices displayed by works containing it; or c) Prohibiting misrepresentation of the origin of that material, or requiring that modified versions of such material be marked in reasonable ways as different from the original version; or d) Limiting the use for publicity purposes of names of licensors or authors of the material; or e) Declining to grant rights under trademark law for use of some trade names, trademarks, or service marks; or f) Requiring indemnification of licensors and authors of that material by anyone who conveys the material (or modified versions of it) with contractual assumptions of liability to the recipient, for any liability that these contractual assumptions directly impose on those licensors and authors. All other non-permissive additional terms are considered "further restrictions" within the meaning of section 10. If the Program as you received it, or any part of it, contains a notice stating that it is governed by this License along with a term that is a further restriction, you may remove that term. If a license document contains a further restriction but permits relicensing or conveying under this License, you may add to a covered work material governed by the terms of that license document, provided that the further restriction does not survive such relicensing or conveying. If you add terms to a covered work in accord with this section, you must place, in the relevant source files, a statement of the additional terms that apply to those files, or a notice indicating where to find the applicable terms. Additional terms, permissive or non-permissive, may be stated in the form of a separately written license, or stated as exceptions; the above requirements apply either way. 8. Termination. You may not propagate or modify a covered work except as expressly provided under this License. Any attempt otherwise to propagate or modify it is void, and will automatically terminate your rights under this License (including any patent licenses granted under the third paragraph of section 11). However, if you cease all violation of this License, then your license from a particular copyright holder is reinstated (a) provisionally, unless and until the copyright holder explicitly and finally terminates your license, and (b) permanently, if the copyright holder fails to notify you of the violation by some reasonable means prior to 60 days after the cessation. Moreover, your license from a particular copyright holder is reinstated permanently if the copyright holder notifies you of the violation by some reasonable means, this is the first time you have received notice of violation of this License (for any work) from that copyright holder, and you cure the violation prior to 30 days after your receipt of the notice. Termination of your rights under this section does not terminate the licenses of parties who have received copies or rights from you under this License. If your rights have been terminated and not permanently reinstated, you do not qualify to receive new licenses for the same material under section 10. 9. Acceptance Not Required for Having Copies. You are not required to accept this License in order to receive or run a copy of the Program. Ancillary propagation of a covered work occurring solely as a consequence of using peer-to-peer transmission to receive a copy likewise does not require acceptance. However, nothing other than this License grants you permission to propagate or modify any covered work. These actions infringe copyright if you do not accept this License. Therefore, by modifying or propagating a covered work, you indicate your acceptance of this License to do so. 10. Automatic Licensing of Downstream Recipients. Each time you convey a covered work, the recipient automatically receives a license from the original licensors, to run, modify and propagate that work, subject to this License. You are not responsible for enforcing compliance by third parties with this License. An "entity transaction" is a transaction transferring control of an organization, or substantially all assets of one, or subdividing an organization, or merging organizations. If propagation of a covered work results from an entity transaction, each party to that transaction who receives a copy of the work also receives whatever licenses to the work the party's predecessor in interest had or could give under the previous paragraph, plus a right to possession of the Corresponding Source of the work from the predecessor in interest, if the predecessor has it or can get it with reasonable efforts. You may not impose any further restrictions on the exercise of the rights granted or affirmed under this License. For example, you may not impose a license fee, royalty, or other charge for exercise of rights granted under this License, and you may not initiate litigation (including a cross-claim or counterclaim in a lawsuit) alleging that any patent claim is infringed by making, using, selling, offering for sale, or importing the Program or any portion of it. 11. Patents. A "contributor" is a copyright holder who authorizes use under this License of the Program or a work on which the Program is based. The work thus licensed is called the contributor's "contributor version". A contributor's "essential patent claims" are all patent claims owned or controlled by the contributor, whether already acquired or hereafter acquired, that would be infringed by some manner, permitted by this License, of making, using, or selling its contributor version, but do not include claims that would be infringed only as a consequence of further modification of the contributor version. For purposes of this definition, "control" includes the right to grant patent sublicenses in a manner consistent with the requirements of this License. Each contributor grants you a non-exclusive, worldwide, royalty-free patent license under the contributor's essential patent claims, to make, use, sell, offer for sale, import and otherwise run, modify and propagate the contents of its contributor version. In the following three paragraphs, a "patent license" is any express agreement or commitment, however denominated, not to enforce a patent (such as an express permission to practice a patent or covenant not to sue for patent infringement). To "grant" such a patent license to a party means to make such an agreement or commitment not to enforce a patent against the party. If you convey a covered work, knowingly relying on a patent license, and the Corresponding Source of the work is not available for anyone to copy, free of charge and under the terms of this License, through a publicly available network server or other readily accessible means, then you must either (1) cause the Corresponding Source to be so available, or (2) arrange to deprive yourself of the benefit of the patent license for this particular work, or (3) arrange, in a manner consistent with the requirements of this License, to extend the patent license to downstream recipients. "Knowingly relying" means you have actual knowledge that, but for the patent license, your conveying the covered work in a country, or your recipient's use of the covered work in a country, would infringe one or more identifiable patents in that country that you have reason to believe are valid. If, pursuant to or in connection with a single transaction or arrangement, you convey, or propagate by procuring conveyance of, a covered work, and grant a patent license to some of the parties receiving the covered work authorizing them to use, propagate, modify or convey a specific copy of the covered work, then the patent license you grant is automatically extended to all recipients of the covered work and works based on it. A patent license is "discriminatory" if it does not include within the scope of its coverage, prohibits the exercise of, or is conditioned on the non-exercise of one or more of the rights that are specifically granted under this License. You may not convey a covered work if you are a party to an arrangement with a third party that is in the business of distributing software, under which you make payment to the third party based on the extent of your activity of conveying the work, and under which the third party grants, to any of the parties who would receive the covered work from you, a discriminatory patent license (a) in connection with copies of the covered work conveyed by you (or copies made from those copies), or (b) primarily for and in connection with specific products or compilations that contain the covered work, unless you entered into that arrangement, or that patent license was granted, prior to 28 March 2007. Nothing in this License shall be construed as excluding or limiting any implied license or other defenses to infringement that may otherwise be available to you under applicable patent law. 12. No Surrender of Others' Freedom. If conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot convey a covered work so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not convey it at all. For example, if you agree to terms that obligate you to collect a royalty for further conveying from those to whom you convey the Program, the only way you could satisfy both those terms and this License would be to refrain entirely from conveying the Program. 13. Use with the GNU Affero General Public License. Notwithstanding any other provision of this License, you have permission to link or combine any covered work with a work licensed under version 3 of the GNU Affero General Public License into a single combined work, and to convey the resulting work. The terms of this License will continue to apply to the part which is the covered work, but the special requirements of the GNU Affero General Public License, section 13, concerning interaction through a network will apply to the combination as such. 14. Revised Versions of this License. The Free Software Foundation may publish revised and/or new versions of the GNU General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. Each version is given a distinguishing version number. If the Program specifies that a certain numbered version of the GNU General Public License "or any later version" applies to it, you have the option of following the terms and conditions either of that numbered version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of the GNU General Public License, you may choose any version ever published by the Free Software Foundation. If the Program specifies that a proxy can decide which future versions of the GNU General Public License can be used, that proxy's public statement of acceptance of a version permanently authorizes you to choose that version for the Program. Later license versions may give you additional or different permissions. However, no additional obligations are imposed on any author or copyright holder as a result of your choosing to follow a later version. 15. Disclaimer of Warranty. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. 16. Limitation of Liability. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 17. Interpretation of Sections 15 and 16. If the disclaimer of warranty and limitation of liability provided above cannot be given local legal effect according to their terms, reviewing courts shall apply local law that most closely approximates an absolute waiver of all civil liability in connection with the Program, unless a warranty or assumption of liability accompanies a copy of the Program in return for a fee. END OF TERMS AND CONDITIONS How to Apply These Terms to Your New Programs If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms. To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively state the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found. Copyright (C) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. If the program does terminal interaction, make it output a short notice like this when it starts in an interactive mode: Copyright (C) This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, and you are welcome to redistribute it under certain conditions; type `show c' for details. The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see . The GNU General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License. But first, please read . changeme-1.2.1/Dockerfile000066400000000000000000000014501347447721000152650ustar00rootroot00000000000000FROM alpine:latest MAINTAINER Zach Grace (@ztgrace) RUN mkdir /changeme COPY . /changeme/ RUN apk update \ && apk add --no-cache --virtual .changeme-deps \ bash \ libxml2 \ py-lxml \ py-pip \ && apk add --no-cache --virtual .build-deps \ ca-certificates \ gcc \ g++ \ libffi-dev \ libtool \ libxml2-dev \ make \ musl-dev \ postgresql-dev \ python-dev \ unixodbc-dev \ && pip install -r /changeme/requirements.txt \ && apk del .build-deps \ && find /usr/ -type f -a -name '*.pyc' -o -name '*.pyo' -exec rm '{}' \; \ && ln -s /changeme/changeme.py /usr/local/bin/ ENV HOME /changeme ENV PS1 "\033[00;34mchangeme>\033[0m " WORKDIR /changeme ENTRYPOINT ["./changeme.py"] changeme-1.2.1/README.md000077500000000000000000000111131347447721000145520ustar00rootroot00000000000000# changeme [![Build Status](https://travis-ci.org/ztgrace/changeme.svg?branch=master)](https://travis-ci.org/ztgrace/changeme) A default credential scanner. ![Basic Scan](https://raw.githubusercontent.com/wiki/ztgrace/changeme/images/basic.gif) ## About changeme picks up where commercial scanners leave off. It focuses on detecting default and backdoor credentials and not necessarily common credentials. It's default mode is to scan HTTP default credentials, but has support for other credentials. changeme is designed to be simple to add new credentials without having to write any code or modules. changeme keeps credential data separate from code. All credentials are stored in [yaml](http://yaml.org/) files so they can be both easily read by humans and processed by changeme. Credential files can be created by using the `./changeme.py --mkcred` tool and answering a few questions. changeme supports the http/https, mssql, mysql, postgres, ssh, ssh w/key, snmp, mongodb and ftp protocols. Use `./changeme.py --dump` to output all of the currently available credentials. You can load your targets using a variety of methods, single ip address/host, subnet, list of hosts, nmap xml file and Shodan query. All methods except for Shodan are loaded as a positional argument and the type is inferred. ## Installation changeme has only been tested on Linux and has known issues on Windows and OS X/macOS. Use docker to run changeme on the unsupported platforms. It supports either a redis-backed queue (most stable) or an in-memory backed queue. Stable versions of changeme can be found on the [releases](https://github.com/ztgrace/changeme/releases) page. For mssql support, `unixodbc-dev` needs to be installed prior to installing the `pyodbc`. For postgres support, `libpq-dev` needs to be installed. [PhantomJS](http://phantomjs.org/) is required in your PATH for HTML report screenshots. Use `pip` to install the required python modules: `pip install -r requirements.txt` ## Docker A convenient way of running changeme is to do so inside a Docker container. You can run a pre-built container from Docker Hub, or build your own using the instructions below. ### Run changeme in Docker Docker runs best in conjunction with Redis as a queue back end. Here's how to get a linked container setup working with Redis. Get the latest containers: `docker pull redis && docker pull ztgrace/changeme` Launch redis in the background: `docker run -d --name redis1 redis` Start changeme linking the redis container by name and mounting a local directory into the container's `/mnt` directory: `docker run -it -v /tmp/results:/mnt --link redis1:redis ztgrace/changeme:latest /bin/sh` Run changeme with a `--redishost` of `redis` and `--output` file in our mounted volume: `./changeme.py --redishost redis --output /tmp/mnt/results.csv --protocols ssh --threads 20 -d 192.168.1.0/24` ### Build from Dockerfile 1. Build the docker container: `docker build -t changeme .` 2. Run changeme from inside the container: `docker run -it changeme /bin/bash' ## Usage Examples Below are some common usage examples. * Scan a single host: `./changeme.py 192.168.59.100` * Scan a subnet for default creds: `./changeme.py 192.168.59.0/24` * Scan using an nmap file `./changeme.py subnet.xml` * Scan a subnet for Tomcat default creds and set the timeout to 5 seconds: `./changeme.py -n "Apache Tomcat" --timeout 5 192.168.59.0/24` * Use [Shodan](https://www.shodan.io/) to populate a targets list and check them for default credentials: `./changeme.py --shodan_query "Server: SQ-WEBCAM" --shodan_key keygoeshere -c camera` * Scan for SSH and known SSH keys: `./changeme.py --protocols ssh,ssh_key 192.168.59.0/24` * Scan a host for SNMP creds using the protocol syntax: `./changeme.py snmp://192.168.1.20` See [Wiki Examples](https://github.com/ztgrace/changeme/wiki/Examples) for more detailed examples. ## Known Issues The telnet scanner is broken. Additionally, anything filed under https://github.com/ztgrace/changeme/issues as a bug. ## Bugs and Enhancements Bugs and enhancements are tracked at [https://github.com/ztgrace/changeme/issues](https://github.com/ztgrace/changeme/issues). **Request a credential:** Please add an issue to Github and apply the credential label. **Vote for a credential:** If you would like to help us prioritize which credentials to add, you can add a comment to a credential issue. Please see the [wiki](https://github.com/ztgrace/changeme/wiki) for more details. ## Contributors Thanks for code contributions and suggestions. * @AlessandroZ * @m0ther_ * @GraphX * @Equinox21_ * https://github.com/ztgrace/changeme/graphs/contributors changeme-1.2.1/changeme.1000066400000000000000000000062401347447721000151260ustar00rootroot00000000000000.TH CHANGEME "1" "June 2018" "changeme 1.1.1" "User Commands" .SH NAME changeme \- Default Credential Scanner .SH DESCRIPTION A default Credential Scanner with support for various protocols .PP .SH SYNOPSIS .B changeme [options] .IP .SH OPTIONS .SS "required arguments:" .TP \fBtarget\fR Target to scan. Can be IP, subnet, hostname, nmap xml file, text file or proto://host:port .SS "optional arguments:" .TP \fB\-h\fR, \fB\-\-help\fR show this help message and exit .TP \fB\-\-all\fR, \fB\-a\fR Scan for all protocols .TP \fB\-\-category\fR, \fB\-c\fR CATEGORY Category of default creds to scan for .TP \fB\-\-contributors\fR Display cred file contributors .TP \fB\-\-debug\fR, \fB\-d\fR Debug output .TP \fB\-\-delay\fR, \fB\-dl\fR DELAY Specify a delay in milliseconds to avoid 429 status codes default=500 .TP \fB\-\-dump\fR Print all of the loaded credentials .TP \fB\-\-dryrun\fR Print urls to be scan, but don't scan them .TP \fB\-\-fingerprint\fR, \fB\-f\fR Fingerprint targets, but don't check creds .TP \fB\-\-fresh\fR Flush any previous scans and start fresh .TP \fB\-\-log\fR, \fB\-l\fR LOG Write logs to logfile .TP \fB\-\-mkcred\fR Make cred file .TP \fB\-\-name\fR, \fB\-n\fR NAME Narrow testing to the supplied credential name .TP \fB\-\-noversion\fR Don't perform a version check .TP \fB\-\-proxy\fR, \fB\-p\fR PROXY HTTP(S) Proxy .TP \fB\-\-output\fR, \fB\-o\fR OUTPUT Name of result file. File extension determines type (csv, html, json). .TP \fB\-\-oa\fR Output results files in csv, html and json formats .TP \fB\-\-protocols\fR PROTOCOLS Comma separated list of protocols to test: http,ssh,ssh_key. Defaults to http. .TP \fB\-\-portoverride\fR Scan all protocols on all specified ports .TP \fB\-\-redishost\fR REDISHOST Redis server .TP \fB\-\-redisport\fR REDISPORT Redis server .TP \fB\-\-resume\fR, \fB\-r\fR Resume previous scan .TP \fB\-\-shodan_query\fR, \fB\-q\fR SHODAN_QUERY Shodan query .TP \fB\-\-shodan_key\fR, \fB\-k\fR SHODAN_KEY Shodan API key .TP \fB\-\-ssl\fR Force cred to SSL and fall back to non\-SSL if an SSLError occurs .TP \fB\-\-threads\fR, \fB\-t\fR THREADS Number of threads, default=10 .TP \fB\-\-timeout\fR TIMEOUT Timeout in seconds for a request, default=10 .TP \fB\-\-useragent\fR, \fB\-ua\fR USERAGENT User agent string to use .TP \fB\-\-validate\fR Validate creds files .TP \fB\-\-verbose\fR, \fB\-v\fR Verbose output .SH EXAMPLES \fBchangeme 192.168.2.100\fR Scan single host .TP \fBchangeme 192.168.2.0/24\fR Scan subnet .TP \fBchangeme subnet.xml\fR Scan using a nmap output file .TP \fBchangeme -n "Apache Tomcat" --timeout 5 192.168.2.0/24\fR Scan a subnet for Tomcat default creds and set the timeout to 5 seconds .TP \fBchangeme --shodan_query "Server: SQ-WEBCAM" --shodan_key keygoeshere -c camera\fR Use Shodan to populate a targets list and check them for default credentials .TP \fBchangeme --protocols ssh,ssh_key 192.168.2.0/24\fR Scan subnet for SSH and known SSH keys .TP \fBchangeme snmp://192.168.2.100\fR Scan a host for SNMP creds using the protocol syntax .SH AUTHOR changeme was developed by ztgrace, this manpage was made by Samuel Henrique based on \fBchangeme --help\fR output and can be used by other projects as well. changeme-1.2.1/changeme.py000077500000000000000000000001351347447721000154160ustar00rootroot00000000000000#!/usr/bin/env python from changeme import core if __name__ == '__main__': core.main() changeme-1.2.1/changeme/000077500000000000000000000000001347447721000150425ustar00rootroot00000000000000changeme-1.2.1/changeme/__init__.py000066400000000000000000000000551347447721000171530ustar00rootroot00000000000000__all__ = ['core', 'version', 'scan_engine'] changeme-1.2.1/changeme/core.py000066400000000000000000000430411347447721000163460ustar00rootroot00000000000000import argparse from cerberus import Validator from changeme.redis_queue import RedisQueue import logging from logutils import colorize import os import re import redis from .report import Report import requests from requests import ConnectionError from requests.packages.urllib3.exceptions import InsecureRequestWarning from .scan_engine import ScanEngine from . import schema import sys from . import version import yaml PERSISTENT_QUEUE = "data.db" # Instantiated in the scan_engine class def banner(version): b = """ ##################################################### # _ # # ___| |__ __ _ _ __ __ _ ___ _ __ ___ ___ # # / __| '_ \ / _` | '_ \ / _` |/ _ \ '_ ` _ \ / _ \\ # # | (__| | | | (_| | | | | (_| | __/ | | | | | __/ # # \___|_| |_|\__,_|_| |_|\__, |\___|_| |_| |_|\___| # # |___/ # # v%s # # Default Credential Scanner by @ztgrace # ##################################################### """ % version return b def main(): print(banner(version.__version__)) args = parse_args() init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = Config(args['args'], args['parser']) if not config.noversion: check_version() creds = load_creds(config) s = None if config.mkcred: schema.mkcred() quit() if config.contributors: print_contributors(creds) quit() if config.dump: print_creds(creds) quit() logger = logging.getLogger('changeme') if not config.validate: check_for_interrupted_scan(config) s = ScanEngine(creds, config) try: s.scan() except IOError: logger.debug('Caught IOError exception') report = Report(s.found_q, config.output) report.print_results() if config.output and ".json" in config.output or config.output and config.oa: report.render_json() if config.output and ".csv" in config.output or config.output and config.oa: report.render_csv() if config.output and ".html" in config.output or config.output and config.oa: report.render_html() if (config.output and not ('json' in config.output or 'csv' in config.output or 'html' in config.output)) and not config.oa: logger.error('Only JSON, CSV and HTML are the only supported output types.') return s def init_logging(verbose=False, debug=False, logfile=None): """ Logging levels: - Critical: Default credential found - Error: error in the program - Warning: Verbose data - Info: more verbose - Debug: Extra info for debugging purposes """ # Set up our logging object logger = logging.getLogger('changeme') if debug: logger.setLevel(logging.DEBUG) elif verbose: logger.setLevel(logging.INFO) else: logger.setLevel(logging.WARNING) if logfile: # Create file handler which logs even debug messages ####################################################################### fh = logging.FileHandler(logfile) # create formatter and add it to the handler formatter = logging.Formatter( '[%(asctime)s][%(levelname)s] %(message)s') fh.setFormatter(formatter) logger.addHandler(fh) # Set up the StreamHandler so we can write to the console ########################################################################### # create console handler with a higher log level ch = colorize.ColorizingStreamHandler(sys.stdout) # set custom colorings: ch.level_map[logging.DEBUG] = [None, 2, False] ch.level_map[logging.INFO] = [None, 'white', False] ch.level_map[logging.WARNING] = [None, 'yellow', False] ch.level_map[logging.ERROR] = [None, 'red', False] ch.level_map[logging.CRITICAL] = [None, 'green', False] if debug: formatter = logging.Formatter('[%(asctime)s][%(module)s][%(funcName)s] %(message)s', datefmt='%H:%M:%S') else: formatter = logging.Formatter('[%(asctime)s] %(message)s', datefmt='%H:%M:%S') ch.setFormatter(formatter) logger.addHandler(ch) # Adjust the loggers for requests and urllib3 logging.getLogger('requests').setLevel(logging.ERROR) logging.getLogger('urllib3').setLevel(logging.ERROR) requests.packages.urllib3.disable_warnings(InsecureRequestWarning) return logger class Config(object): def __init__(self, args, arg_parser): # Convert argparse Namespace to a dict and make the keys + values member variables of the config class args = vars(args) self.target = None for key in args: setattr(self, key, args[key]) self._validate_args(arg_parser) def _validate_args(self, ap): logger = logging.getLogger('changeme') if (not self.validate and not self.contributors and not self.dump and not self.shodan_query and not self.mkcred and not self.resume) and not self.target: ap.print_help() quit() if self.proxy and re.match('^https?://[0-9\.]+:[0-9]{1,5}$', self.proxy): self.proxy = {'http': self.proxy, 'https': self.proxy} logger.info('Setting proxy to %s' % self.proxy) elif self.proxy: logger.error('Invalid proxy, must be http(s)://x.x.x.x:8080') sys.exit() if self.delay and self.delay != 0: if isinstance(self.delay, int) and 0 <= self.delay <= 1000: logger.debug('Delay is set to %d milliseconds' % self.delay) else: logger.error('Invalid delay type. Delay must be an integer between 0 and 1000. Delay is: %s' % type(self.delay)) # Drop logging level to INFO to see the fingerprint messages if self.fingerprint: logger.setLevel(logging.INFO) if self.verbose: logger.setLevel(logging.INFO) if self.debug or self.validate: logger.setLevel(logging.DEBUG) self.useragent = {'User-Agent': self.useragent} if self.useragent else {} if ',' in self.protocols: self.protocols = self.protocols.split(',') if self.all: self.protocols = 'all' logger.debug(self.protocols) if self.output and which('phantomjs') is None: logger.warning('phantomjs is not in your path, screenshots will not work') def _file_exists(self, f): if not os.path.isfile(f): self.logger.error("File %s not found" % f) sys.exit() def parse_args(): ap = argparse.ArgumentParser(description='Default credential scanner v%s' % version.__version__) ap.add_argument('--all', '-a', action='store_true', help='Scan for all protocols', default=False) ap.add_argument('--category', '-c', type=str, help='Category of default creds to scan for', default=None) ap.add_argument('--contributors', action='store_true', help='Display cred file contributors') ap.add_argument('--debug', '-d', action='store_true', help='Debug output') ap.add_argument('--delay', '-dl', type=int, help="Specify a delay in milliseconds to avoid 429 status codes default=500", default=500) ap.add_argument('--dump', action='store_true', help='Print all of the loaded credentials') ap.add_argument('--dryrun', action='store_true', help='Print urls to be scan, but don\'t scan them') ap.add_argument('--fingerprint', '-f', action='store_true', help='Fingerprint targets, but don\'t check creds', default=False) ap.add_argument('--fresh', action='store_true', help='Flush any previous scans and start fresh', default=False) ap.add_argument('--log', '-l', type=str, help='Write logs to logfile', default=None) ap.add_argument('--mkcred', action='store_true', help='Make cred file', default=False) ap.add_argument('--name', '-n', type=str, help='Narrow testing to the supplied credential name', default=None) ap.add_argument('--noversion', action='store_true', help='Don\'t perform a version check', default=False) ap.add_argument('--proxy', '-p', type=str, help='HTTP(S) Proxy', default=None) ap.add_argument('--output', '-o', type=str, help='Name of result file. File extension determines type (csv, html, json).', default=None) ap.add_argument('--oa', action='store_true', help='Output results files in csv, html and json formats', default=False) ap.add_argument('--protocols', type=str, help="Comma separated list of protocols to test: http,ssh,ssh_key. Defaults to http.", default='http') ap.add_argument('--portoverride', action='store_true', help='Scan all protocols on all specified ports', default=False) ap.add_argument('--redishost', type=str, help='Redis server', default='localhost') ap.add_argument('--redisport', type=str, help='Redis server', default='6379') ap.add_argument('--resume', '-r', action='store_true', help='Resume previous scan', default=False) ap.add_argument('--shodan_query', '-q', type=str, help='Shodan query', default=None) ap.add_argument('--shodan_key', '-k', type=str, help='Shodan API key', default=None) ap.add_argument('--ssl', action='store_true', help='Force cred to SSL and fall back to non-SSL if an SSLError occurs', default=False) ap.add_argument('--threads', '-t', type=int, help='Number of threads, default=10', default=10) ap.add_argument('--timeout', type=int, help='Timeout in seconds for a request, default=10', default=10) ap.add_argument('--useragent', '-ua', type=str, help="User agent string to use", default=None) ap.add_argument('--validate', action='store_true', help='Validate creds files', default=False) ap.add_argument('--verbose', '-v', action='store_true', help='Verbose output', default=False) # Hack to get the help to show up right cli = ' '.join(sys.argv) if "-h" in cli or "--help" in cli: ap.add_argument('target', type=str, help='Target to scan. Can be IP, subnet, hostname, nmap xml file, text file or proto://host:port', default=None) # initial parse to see if an option not requiring a target was used args, unknown = ap.parse_known_args() if not args.dump and not args.contributors and not args.mkcred and not args.resume and not args.shodan_query and not args.validate: ap.add_argument('target', type=str, help='Target to scan. Can be IP, subnet, hostname, nmap xml file, text file or proto://host:port', default=None) args = ap.parse_args() return {'args': args, 'parser': ap} def get_protocol(filename): parts = filename.split(os.path.sep) cred_index = 0 for p in parts: if p == 'creds': break cred_index += 1 return parts[cred_index + 1] def load_creds(config): # protocol is based off of the directory and category is a field in the cred file. That way you can # have default creds across protocols for a single device like a printer logger = logging.getLogger('changeme') creds = list() total_creds = 0 cred_names = list() cred_path = os.path.join(os.path.dirname(os.path.abspath(__file__)), '..', 'creds') logger.debug('cred_path: %s' % cred_path) protocols = [proto for proto in os.walk(cred_path)][0][1] for root, dirs, files in os.walk(cred_path): for fname in files: f = os.path.join(root, fname) protocol = get_protocol(f) if is_yaml(f): parsed = parse_yaml(f) if parsed: if parsed['name'] in cred_names: pass elif validate_cred(parsed, f, protocol): parsed['protocol'] = protocol # Add the protocol after the schema validation if in_scope(config.name, config.category, parsed, protocols): total_creds += len(parsed['auth']['credentials']) creds.append(parsed) cred_names.append(parsed['name']) logger.debug('Loaded %s' % parsed['name']) print('Loaded %i default credential profiles' % len(creds)) print('Loaded %i default credentials\n' % total_creds) creds return creds def validate_cred(cred, f, protocol): valid = True if protocol == 'http': v = Validator() valid = v.validate(cred, schema.http_schema) for e in v.errors: logging.getLogger('changeme').error("[validate_cred] Validation Error: %s, %s - %s" % (f, e, v.errors[e])) # TODO: implement schema validators for other protocols return valid def parse_yaml(f): logger = logging.getLogger('changeme') with open(f, 'r') as fin: raw = fin.read() try: parsed = yaml.load(raw) except Exception as e: logger.error("[parse_yaml] %s is not a valid yaml file" % f) return None return parsed def is_yaml(f): isyaml = False try: isyaml = os.path.basename(f).split('.')[1] == 'yml' except: pass return isyaml def in_scope(name, category, cred, protocols): add = True if name: names = name.split(',') found = False for n in names: if n.lower() in cred['name'].lower(): found = True if found is False: add = False if category and not cred['category'] == category: add = False elif cred['protocol'] not in protocols: add = False return add def print_contributors(creds): contributors = set() for cred in creds: cred_contributors = cred['contributor'].split(', ') for c in cred_contributors: contributors.add(c) for c in version.contributors: contributors.add(c) print("Thank you to our contributors!") for i in sorted(contributors, key=str.lower): print(i) print() def print_creds(creds): for cred in creds: print("\n%s (%s)" % (cred['name'], cred['category'])) for i in cred['auth']['credentials']: print(" - %s:%s" % (i['username'], i['password'])) def check_for_interrupted_scan(config): logger = logging.getLogger('changeme') if config.fresh: logger.debug("Forcing a fresh scan") remove_queues() elif config.resume: logger.debug("Resuming previous scan") return fp = RedisQueue('fingerprint') scanners = RedisQueue('scanners') fp_qsize = 0 scanners_qsize = 0 logger.debug('scanners: %s, fp: %s' % (scanners_qsize, fp_qsize)) try: fp_qsize = fp.qsize() except redis.exceptions.ConnectionError: pass try: scanners_qsize = scanners.qsize() except redis.exceptions.ConnectionError: pass if fp_qsize > 0 or scanners_qsize > 0: if not prompt_for_resume(config): remove_queues() if fp_qsize == 0 and scanners_qsize == 0: # Clear the found queue if there's no fingerprints or scanners in the queues try: logger.debug('Clearing found_q') found_q = RedisQueue('found_q') found_q.delete() except Exception as e: logger.debug('Exception: %s: %s' % (type(e).__name__, e.__str__().replace('\n', '|'))) pass def prompt_for_resume(config): logger = logging.getLogger('changeme') logger.error('A previous scan was interrupted. Type R to resume or F to start a fresh scan') answer = '' while not (answer == 'R' or answer == 'F'): prompt = '(R/F)> ' answer = '' try: answer = raw_input(prompt) except NameError: answer = input(prompt) if answer.upper() == 'F': logger.debug("Forcing a fresh scan") elif answer.upper() == 'R': logger.debug("Resuming previous scan") config.resume = True return config.resume def remove_queues(): logger = logging.getLogger('changeme') try: os.remove(PERSISTENT_QUEUE) logger.debug("%s removed" % PERSISTENT_QUEUE) except OSError: logger.debug("%s didn't exist" % PERSISTENT_QUEUE) pass # Clear Redis queues = ['fingerprint', 'scanners', 'found_q'] for q in queues: logger.debug('Removing %s RedisQueue' % q) r = RedisQueue(q) try: r.delete() logger.debug("%s Redis queue removed" % q) except: logger.debug("%s Redis queue exception" % q) pass def check_version(): logger = logging.getLogger('changeme') try: res = requests.get('https://raw.githubusercontent.com/ztgrace/changeme/master/changeme/version.py', timeout=2) except ConnectionError: logger.debug("Unable to retrieve latest changeme version.") return latest = res.text.split('\n')[0].split(' = ')[1].replace("'", '') if not version.__version__ == latest: logger.warning('Your version of changeme is out of date. Local version: %s, Latest: %s' % (str(version.__version__), latest)) # copied from https://stackoverflow.com/questions/377017/test-if-executable-exists-in-python def which(program): import os def is_exe(fpath): return os.path.isfile(fpath) and os.access(fpath, os.X_OK) fpath, fname = os.path.split(program) if fpath: if is_exe(program): return program else: for path in os.environ["PATH"].split(os.pathsep): path = path.strip('"') exe_file = os.path.join(path, program) if is_exe(exe_file): return exe_file return None changeme-1.2.1/changeme/cred.py000066400000000000000000000007161347447721000163350ustar00rootroot00000000000000class Cred(object): def __init__(self, cdict): self.name = cdict['name'] # fingerprint # auth self.credentials = cdict['auth']['credentials'] self.csrf = cdict['auth']['csrf'] self.headers = cdict['auth']['headers'] self.username = cdict['auth']['username'] self.password = cdict['auth']['password'] self.b64 = cdict['auth']['base64'] self.success = cdict['auth']['success'] changeme-1.2.1/changeme/redis_queue.py000066400000000000000000000026621347447721000177340ustar00rootroot00000000000000import redis import pickle # based on http://peter-hoffmann.com/2012/python-simple-queue-redis-queue.html class RedisQueue(object): """Simple Queue with Redis Backend""" def __init__(self, name, namespace='queue', **redis_kwargs): """The default connection parameters are: host='localhost', port=6379, db=0""" self.__db= redis.Redis(**redis_kwargs) self.key = '%s:%s' %(namespace, name) def qsize(self): """Return the approximate size of the queue.""" return self.__db.llen(self.key) def empty(self): """Return True if the queue is empty, False otherwise.""" return self.qsize() == 0 def put(self, item): """Put item into the queue.""" self.__db.rpush(self.key, pickle.dumps(item)) def get(self, block=True, timeout=None): """Remove and return an item from the queue. If optional args block is true and timeout is None (the default), block if necessary until an item is available.""" if block: item = self.__db.blpop(self.key, timeout=timeout) else: item = self.__db.lpop(self.key) if item: item = item[1] return pickle.loads(item) def get_nowait(self): """Equivalent to get(False).""" return self.get(False) def ping(self): self.__db.ping() def delete(self): self.__db.delete(self.key) self.__db.flushdb() changeme-1.2.1/changeme/report.py000066400000000000000000000065441347447721000167400ustar00rootroot00000000000000import csv from copy import deepcopy from datetime import datetime import jinja2 import json import logging import os import re import sys from tabulate import tabulate class Report: def __init__(self, queue, output): self.results = self._convert_q2list(queue) self.output = output self.logger = logging.getLogger('changeme') def render_csv(self,): fname = self.output if not re.match(r'.*\.csv$', fname): fname += ".csv" with open(fname, 'w') as fout: fieldnames = ["name", "username", "password", "target"] writer = csv.DictWriter( fout, quoting=csv.QUOTE_ALL, fieldnames=fieldnames, extrasaction='ignore' ) writer.writeheader() writer.writerows(self.results) self.logger.critical("%i credentials written to %s" % (len(self.results), fname)) def render_json(self): # convert the Target classes to a string so it can be json'd res = deepcopy(self.results) for r in res: t = r['target'] r['target'] = str(t) results = dict() results["results"] = res j = json.dumps(results) fname = self.output if not re.match(r'.*\.json$', fname): fname += ".json" with open(fname, 'w') as fout: fout.write(j) self.logger.critical("%i credentials written to %s" % (len(self.results), fname)) def print_results(self): if len(self.results) > 0: results = deepcopy(self.results) for r in results: if 'http' in r['target'].protocol: r['evidence'] = '' print("") print("") self.logger.critical('Found %i default credentials' % len(self.results)) print("") print(tabulate(results, headers={'name': 'Name', 'username': 'Username', 'password': 'Password', 'target': 'Target', 'evidence': 'Evidence'})) print("") else: print("No default credentials found") def render_html(self): template_loader = jinja2.FileSystemLoader(searchpath=self.get_template_path()) template_env = jinja2.Environment(loader=template_loader) report_template = template_env.get_template('report.j2') cli = ' '.join(sys.argv) timestamp = datetime.now() report = report_template.render({'found': self.results, 'cli': cli, 'timestamp': timestamp}) fname = self.output if not re.match(r'.*\.html$', fname): fname += ".html" with open(fname, 'w') as fout: fout.write(report) self.logger.critical("%i credentials written to %s" % (len(self.results), fname)) @staticmethod def get_template_path(): PATH = os.path.dirname(os.path.abspath(__file__)) template_path = os.path.join(PATH, 'templates') return template_path def _convert_q2list(self, q): items = list() while not q.qsize() == 0: i = q.get() items.append(i) # Restore queue for i in items: q.put(i) return items changeme-1.2.1/changeme/scan_engine.py000066400000000000000000000175241347447721000176760ustar00rootroot00000000000000import logging import multiprocessing as mp import redis from changeme.redis_queue import RedisQueue import pickle from .scanners.ftp import FTP from .scanners.http_fingerprint import HttpFingerprint from .scanners.memcached import MemcachedScanner from .scanners.mongo import Mongodb from .scanners.mssql import MSSQL from .scanners.mysql import MySQL from .scanners.postgres import Postgres from .scanners.redis_scanner import RedisScanner from .scanners.snmp import SNMP from .scanners.ssh import SSH from .scanners.ssh_key import SSHKey from .scanners.telnet import Telnet from .scanners.http_fingerprint import HttpFingerprint from .target import Target import time try: # Python 2 from Queue import Queue except: # Python 3 from queue import Queue class ScanEngine(object): def __init__(self, creds, config): self.creds = creds self.config = config self.logger = logging.getLogger('changeme') self.scanners = self._get_queue('scanners') self.total_scanners = 0 self.targets = set() self.fingerprints = self._get_queue('fingerprints') self.total_fps = 0 self.found_q = self._get_queue('found_q') def scan(self): # Phase I - Fingerprint ###################################################################### if not self.config.resume: self._build_targets() if self.config.dryrun: self.dry_run() num_procs = self.config.threads if self.fingerprints.qsize() > self.config.threads else self.fingerprints.qsize() self.logger.debug('Number of procs: %i' % num_procs) self.total_fps = self.fingerprints.qsize() procs = [mp.Process(target=self.fingerprint_targets) for i in range(num_procs)] self._add_terminators(self.fingerprints) for proc in procs: proc.start() for proc in procs: proc.join() self.logger.info('Fingerprinting completed') # Phase II - Scan ###################################################################### # Unique the queue scanners = list() while self.scanners.qsize() > 0: s = self.scanners.get() if s not in scanners: scanners.append(s) for s in scanners: self.scanners.put(s) if not self.config.fingerprint: num_procs = self.config.threads if self.scanners.qsize() > self.config.threads else self.scanners.qsize() self.total_scanners = self.scanners.qsize() self.logger.debug('Starting %i scanner procs' % num_procs) procs = [mp.Process(target=self._scan, args=(self.scanners, self.found_q)) for i in range(num_procs)] self._add_terminators(self.scanners) for proc in procs: self.logger.debug('Starting scanner proc') proc.start() for proc in procs: proc.join() self.logger.info('Scanning Completed') # Hack to address a broken pipe IOError per https://stackoverflow.com/questions/36359528/broken-pipe-error-with-multiprocessing-queue time.sleep(0.1) def _add_terminators(self, q): # Add poison pills for i in range(self.config.threads): q.put(None) def _scan(self, scanq, foundq): while True: remaining = self.scanners.qsize() self.logger.debug('%i scanners remaining' % remaining) try: scanner = scanq.get(block=True) if scanner is None: return except Exception as e: self.logger.debug('Caught exception: %s' % type(e).__name__) continue result = scanner.scan() if result: foundq.put(result) def fingerprint_targets(self): while True: remaining = self.fingerprints.qsize() self.logger.debug('%i fingerprints remaining' % remaining) try: fp = self.fingerprints.get() if type(fp) == bytes: fp = pickle.loads(fp) # Exit process if fp is None: return except Exception as e: self.logger.debug('Caught exception: %s' % type(e).__name__) self.logger.debug('Exception: %s: %s' % (type(e).__name__, e.__str__().replace('\n', '|'))) return if fp.fingerprint(): results = fp.get_scanners(self.creds) if results: for result in results: self.scanners.put(result) else: self.logger.debug('failed fingerprint') self.logger.debug('scanners: %i, %s' % (self.scanners.qsize(), id(self.scanners))) def _build_targets(self): self.logger.debug('Building targets') if self.config.target: self.targets = Target.parse_target(self.config.target) else: self.logger.warning('shodan') self.targets = Target.get_shodan_targets(self.config) # Load set of targets into queue self.logger.debug('%i targets' % len(self.targets)) # If there's only one protocol and the user specified a protocol, override the defaults if len(self.targets) == 1: t = self.targets.pop() if t.protocol: self.config.protocols = t.protocol self.targets.add(t) fingerprints = list() # Build a set of unique fingerprints if 'http' in self.config.protocols or self.config.all: fingerprints = fingerprints + HttpFingerprint.build_fingerprints(self.targets, self.creds, self.config) fingerprints = list(set(fingerprints)) # unique the HTTP fingerprints # Add any protocols if they were included in the targets for t in self.targets: if t.protocol and t.protocol not in self.config.protocols: self.config.protocols += ",%s" % t.protocol self.logger.info('Configured protocols: %s' % self.config.protocols) # scanner_map maps the friendly proto:// name to the actual class name scanner_map = { 'ssh': 'SSH', 'ssh_key': 'SSHKey', 'ftp': 'FTP', 'memcached': 'MemcachedScanner', 'mongodb': 'Mongodb', 'mssql': 'MSSQL', 'mysql': 'MySQL', 'postgres': 'Postgres', 'redis': 'RedisScanner', 'snmp': 'SNMP', 'telnet': 'Telnet', } for target in self.targets: for cred in self.creds: for proto, classname in scanner_map.items(): if cred['protocol'] == proto and (proto in self.config.protocols or self.config.all): t = Target(host=target.host, port=target.port, protocol=proto) fingerprints.append(globals()[classname](cred, t, self.config, '', '')) self.logger.info("Loading creds into queue") for fp in set(fingerprints): self.fingerprints.put(fp) self.total_fps = self.fingerprints.qsize() self.logger.debug('%i fingerprints' % self.fingerprints.qsize()) def dry_run(self): self.logger.info("Dry run targets:") while self.fingerprints.qsize() > 0: fp = self.fingerprints.get() print(fp.target) quit() def _get_queue(self, name): try: # Try for redis r = RedisQueue(name) r.ping() self.logger.debug('Using RedisQueue for %s' % name) return r except redis.ConnectionError: # Fall back to sqlite persistent queue self.logger.debug('Using in-memory queue for %s' % name) m = mp.Manager() q = m.Queue() return q changeme-1.2.1/changeme/scanners/000077500000000000000000000000001347447721000166565ustar00rootroot00000000000000changeme-1.2.1/changeme/scanners/__init__.py000066400000000000000000000004551347447721000207730ustar00rootroot00000000000000__all__ = [ 'database', 'ftp', 'http_basic_auth', 'http_fingerprint', 'http_get', 'http_post', 'http_raw_post', 'memcached', 'mongo', 'mssql', 'mysql', 'postgres', 'redis_scanner', 'scanner', 'snmp', 'ssh_key', 'ssh', 'telnet' ] changeme-1.2.1/changeme/scanners/database.py000066400000000000000000000015471347447721000210030ustar00rootroot00000000000000from .scanner import Scanner import sqlalchemy class Database(Scanner): def __init__(self, cred, target, username, password, config): super(Database, self).__init__(cred, target, config, username, password) self.database = None self.query = None def _check(self): url = "%s://%s:%s@%s:%s/%s" % (self.target.protocol, self.username, self.password, self.target.host, self.target.port, self.database) engine = sqlalchemy.create_engine(url, connect_args={'connect_timeout': self.config.timeout}) c = engine.connect() res = c.execute(self.query) results = list() [results.append(i) for i in res.fetchall()] return str(results[0][0]) def _mkscanner(self, cred, target, u, p, config): raise NotImplementedError("A Database class needs to implement a _mkscanner method.") changeme-1.2.1/changeme/scanners/ftp.py000066400000000000000000000010451347447721000200210ustar00rootroot00000000000000from .scanner import Scanner import ftplib class FTP(Scanner): def __init__(self, cred, target, username, password, config): super(FTP, self).__init__(cred, target, config, username, password) def _check(self): ftp = ftplib.FTP() ftp.connect(self.target.host, self.target.port) ftp.login(self.username, self.password) evidence = ftp.retrlines('LIST') ftp.quit() return evidence def _mkscanner(self, cred, target, u, p, config): return FTP(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/http_basic_auth.py000066400000000000000000000012741347447721000223750ustar00rootroot00000000000000from changeme.scanners.http_get import HTTPGetScanner from requests.auth import HTTPBasicAuth class HTTPBasicAuthScanner(HTTPGetScanner): pass def _make_request(self): self.logger.debug("Requesting %s" % self.target) self.response = self.request.get(self.target, auth=HTTPBasicAuth(self.username, self.password), verify=False, proxies=self.config.proxy, timeout=self.config.timeout, headers=self.headers, cookies=self.cookies) changeme-1.2.1/changeme/scanners/http_fingerprint.py000066400000000000000000000163331347447721000226240ustar00rootroot00000000000000from changeme.scanners.http_basic_auth import HTTPBasicAuthScanner from changeme.scanners.http_get import HTTPGetScanner from changeme.scanners.http_post import HTTPPostScanner from changeme.scanners.http_raw_post import HTTPRawPostScanner from changeme.target import Target from copy import deepcopy import logging from lxml import html import re import requests class HttpFingerprint: def __init__(self, target, headers, cookies, config): self.target = target # changeme.target.Target() self.headers = headers self.cookies = cookies self.config = config self.logger = logging.getLogger('changeme') self.res = None self.req = requests.Session() def __getstate__(self): state = self.__dict__ state['logger'] = None # Need to clear the logger when serializing otherwise mp.Queue blows up return state def __setstate__(self, d): self.__dict__ = d self.logger = logging.getLogger('changeme') def __hash__(self): return hash(str(self.target) + str(self.headers) + str(self.cookies)) def __eq__(self, other): s = dict() o = dict() s['target'] = self.target s['headers'] = self.headers s['cookies'] = self.cookies o['target'] = other.target o['headers'] = other.headers o['cookies'] = other.cookies return s == o def fingerprint(self): try: self._fp() except Exception as e: if self.config.ssl and e.__class__ == requests.exceptions.SSLError: self.target.protocol = 'http' self.logger.debug('Retrying with non-SSL target: %s' % self.target) try: self._fp() except Exception as e: self.logger.debug('Failed to connect to %s' % self.target) return False return True def _fp(self): self.res = self.req.get( str(self.target), timeout=self.config.timeout, verify=False, proxies=self.config.proxy, headers=self.headers, cookies=self.cookies ) def _get_csrf_token(self, res, cred): name = cred['auth'].get('csrf', False) if name: tree = html.fromstring(res.content) try: csrf = str(tree.xpath('//input[@name="%s"]/@value' % name)[0]) except: self.logger.error( 'Failed to get CSRF token %s in %s' % (str(name), str(res.url))) return False self.logger.debug('Got CSRF token %s: %s' % (name, csrf)) else: csrf = False return csrf def _get_session_id(self, res, cred): cookie = cred['auth'].get('sessionid', False) if cookie: try: value = res.cookies[cookie] self.logger.debug('Got session cookie value: %s' % value) except: self.logger.error( 'Failed to get %s cookie from %s' % (cookie, res.url)) return False return {cookie: value} else: self.logger.debug('No cookie') return False def ismatch(self, cred, response): match = False if cred['protocol'] == 'http': fp = cred['fingerprint'] basic_auth = fp.get('basic_auth_realm', None) if basic_auth and basic_auth in response.headers.get('WWW-Authenticate', list()): self.logger.info('%s basic auth matched: %s' % (cred['name'], basic_auth)) match = True server = response.headers.get('Server', None) fp_server = fp.get('server_header', None) if fp_server and server and fp_server in server: self.logger.debug('%s server header matched: %s' % (cred['name'], fp_server)) match = True body = fp.get('body', None) if body: for b in body: if re.search(b, response.text): match = True self.logger.info('%s body matched: %s' % (cred['name'], b)) elif body: match = False return match def get_scanners(self, creds): scanners = list() for cred in creds: if self.ismatch(cred, self.res): csrf = self._get_csrf_token(self.res, cred) if cred['auth'].get('csrf', False) and not csrf: self.logger.error('Missing required CSRF token') return sessionid = self._get_session_id(self.res, cred) if cred['auth'].get('sessionid') and not sessionid: self.logger.error("Missing session cookie %s for %s" % (cred['auth'].get('sessionid'), self.res.url)) return for pair in cred['auth']['credentials']: for u in cred['auth']['url']: # pass in the auth url target = deepcopy(self.target) target.url = u self.logger.debug('Building %s %s:%s, %s' % (cred['name'], pair['username'], pair['password'], target)) if cred['auth']['type'] == 'get': scanners.append(HTTPGetScanner(cred, target, pair['username'], pair['password'], self.config, self.req.cookies)) elif cred['auth']['type'] == 'post': scanners.append(HTTPPostScanner(cred, target, pair['username'], pair['password'], self.config, self.req.cookies, csrf)) elif cred['auth']['type'] == 'raw_post': scanners.append(HTTPRawPostScanner(cred, target, pair['username'], pair['password'], self.config, self.req.cookies, csrf, pair['raw'])) elif cred['auth']['type'] == 'basic_auth': scanners.append(HTTPBasicAuthScanner(cred, target, pair['username'], pair['password'], self.config, self.req.cookies)) return scanners @staticmethod def build_fingerprints(targets, creds, config): fingerprints = list() logger = logging.getLogger('changeme') # Build a set of unique fingerprints for target in targets: for c in creds: if not c['protocol'] == 'http': continue if not config.portoverride and (target.port and not c['default_port'] == target.port): continue fp = c['fingerprint'] for url in fp.get('url'): t = Target(host=target.host, port=target.port, protocol=target.protocol) if c.get('ssl') or config.ssl: t.protocol = 'https' else: t.protocol = 'http' if not t.port: t.port = c['default_port'] t.url = url hfp = HttpFingerprint(t, fp.get('headers', None), fp.get('cookie', None), config) logger.debug('Adding %s to fingerprint list' % hfp.target) fingerprints.append(hfp) return fingerprints changeme-1.2.1/changeme/scanners/http_get.py000066400000000000000000000244401347447721000210520ustar00rootroot00000000000000import base64 import random from requests import session from .scanner import Scanner import re from selenium import webdriver from time import sleep try: # Python 3 from urllib.parse import urlencode, urlparse except ImportError: # Python 2 from urllib import urlencode from urlparse import urlparse HEADERS_USERAGENTS = [ 'Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20090913 Firefox/3.5.3', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)', 'Mozilla/5.0 (Windows; U; Windows NT 5.2; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729)', 'Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.1) Gecko/20090718 Firefox/3.5.1', 'Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.1 (KHTML, like Gecko) Chrome/4.0.219.6 Safari/532.1', 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.1; WOW64; Trident/4.0; SLCC2; .NET CLR 2.0.50727; InfoPath.2)', 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2; Win64; x64; Trident/4.0)', 'Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; SV1; .NET CLR 2.0.50727; InfoPath.2)', 'Mozilla/5.0 (Windows; U; MSIE 7.0; Windows NT 6.0; en-US)', 'Mozilla/4.0 (compatible; MSIE 6.1; Windows XP)', 'Opera/9.80 (Windows NT 5.2; U; ru) Presto/2.5.22 Version/10.51' ] def get_useragent(): return random.choice(HEADERS_USERAGENTS) class HTTPGetScanner(Scanner): def __init__(self, cred, target, username, password, config, cookies): super(HTTPGetScanner, self).__init__(cred, target, config, username, password) self.cred = cred self.config = config self.cookies = cookies self.headers = dict() self.request = session() self.response = None headers = self.cred['auth'].get('headers', dict()) custom_ua = False if headers: for h in headers: self.headers.update(h) if not custom_ua and any(k.lower() == 'user-agent' for k in h): custom_ua = True # If set, take user agent from CLI args, otherwise, pick a random # one if not provided in the cred file. if self.config.useragent: self.headers.update(self.config.useragent) elif not custom_ua: self.headers.update({'User-Agent': get_useragent()}) # make the cred have only one u:p combo self.cred['auth']['credentials'] = [{'username': self.username, 'password': self.password}] def __reduce__(self): return self.__class__, (self.cred, self.target, self.username, self.password, self.config, self.cookies) def scan(self): try: self._make_request() except Exception as e: self.logger.error('Failed to connect to %s' % self.target) self.logger.debug('Exception: %s: %s' % (type(e).__name__, e.__str__().replace('\n', '|'))) return None if self.response.status_code == 429: self.warn('Status 429 received. Sleeping for %d seconds and trying again' % self.config.delay) sleep(self.config.delay) try: self._make_request() except Exception as e: self.logger.error('Failed to connect to %s' % self.target) return self.check_success() def check_success(self): match = False success = self.cred['auth']['success'] if self.cred['auth'].get('base64', None): self.username = base64.b64decode(self.cred.username) self.password = base64.b64decode(self.cred.password) if success.get('status') == self.response.status_code or self.response.history and self.response.history[0].status_code == success.get('status'): self.logger.debug('%s matched %s success status code %s' % (self.target, self.cred['name'], self.response.status_code)) if success.get('body'): for string in success.get('body'): if re.search(string, self.response.text, re.IGNORECASE): self.logger.debug('%s matched %s success body text %s' % (self.target, self.cred['name'], success.get('body'))) match = True break else: match = True if match: self.logger.critical('[+] Found %s default cred %s:%s at %s' % (self.cred['name'], self.username, self.password, self.target)) evidence = '' if self.config.output is not None: try: evidence = self._screenshot(self.target) except Exception as e: self.logger.error("Error gathering screenshot for %s" % self.target) self.logger.debug('Exception: %s: %s' % (type(e).__name__, e.__str__().replace('\n', '|'))) return {'name': self.cred['name'], 'username': self.username, 'password': self.password, 'target': self.target, 'evidence': evidence} else: self.logger.info('Invalid %s default cred %s:%s at %s' % (self.cred['name'], self.username, self.password, self.target)) return False def _check_fingerprint(self): self.logger.debug("_check_fingerprint") self.request = session() self.response = self.request.get(self.target, timeout=self.config.timeout, verify=False, proxies=self.config.proxy, cookies=self.fingerprint.cookies, headers=self.fingerprint.headers) self.logger.debug('_check_fingerprint', '%s - %i' % (self.target, self.response.status_code)) return self.fingerprint.match(self.response) def _make_request(self): self.logger.debug("_make_request") data = self.render_creds(self.cred) qs = urlencode(data) url = "%s?%s" % (self.target, qs) self.logger.debug("url: %s" % url) self.response = self.request.get(self.target, verify=False, proxies=self.config.proxy, timeout=self.config.timeout, headers=self.headers, cookies=self.cookies) def render_creds(self, candidate, csrf=None): """ Return a list of dicts with post/get data and creds. The list of dicts have a data element and a username and password associated with the data. The data will either be a dict if its a regular GET or POST and a string if its a raw POST. """ b64 = candidate['auth'].get('base64', None) type = candidate['auth'].get('type') config = None if type == 'post': config = candidate['auth'].get('post', None) if type == 'get': config = candidate['auth'].get('get', None) if not type == 'raw_post': data = self._get_parameter_dict(candidate['auth']) if csrf: csrf_field = candidate['auth']['csrf'] data[csrf_field] = csrf for cred in candidate['auth']['credentials']: cred_data = {} username = "" password = "" if b64: username = base64.b64encode(cred['username']) password = base64.b64encode(cred['password']) else: username = cred['username'] password = cred['password'] cred_data[config['username']] = username cred_data[config['password']] = password data_to_send = dict(list(data.items()) + list(cred_data.items())) return data_to_send else: # raw post return None def _get_parameter_dict(self, auth): params = dict() data = auth.get('post', auth.get('get', None)) for k in list(data.keys()): if k not in ('username', 'password', 'url'): params[k] = data[k] return params @staticmethod def get_base_url(req): parsed = urlparse(req) url = "%s://%s" % (parsed[0], parsed[1]) return url def _screenshot(self, target): self.logger.debug("Screenshotting %s" % self.target) # Set up the selenium webdriver # This feels like it will have threading issues for key, value in self.response.request.headers.items(): capability_key = 'phantomjs.page.customHeaders.{}'.format(key) webdriver.DesiredCapabilities.PHANTOMJS[capability_key] = value if self.config.proxy: webdriver.DesiredCapabilities.PHANTOMJS['proxy'] = { "httpProxy": self.config.proxy['http'].replace('http://', ''), "ftpProxy": self.config.proxy['http'].replace('http://', ''), "sslProxy": self.config.proxy['http'].replace('http://', ''), "noProxy":None, "proxyType":"MANUAL", "autodetect":False } driver = webdriver.PhantomJS() driver.set_page_load_timeout(int(self.config.timeout) - 0.1) driver.set_window_position(0, 0) driver.set_window_size(850, 637.5) for cookie in self.response.request._cookies.items(): self.logger.debug("Adding cookie: %s:%s" % cookie) driver.add_cookie({'name': cookie[0], 'value': cookie[1], 'path': '/', 'domain': self.target.host }) try: driver.get(str(self.target)) driver.save_screenshot('screenshot.png') evidence = driver.get_screenshot_as_base64() driver.quit() except Exception as e: self.logger.error('Error getting screenshot for %s' % self.target) self.logger.debug('Exception: %s: %s' % (type(e).__name__, e.__str__().replace('\n', '|'))) evidence = "" return evidence changeme-1.2.1/changeme/scanners/http_post.py000066400000000000000000000020451347447721000212550ustar00rootroot00000000000000from changeme.scanners.http_get import HTTPGetScanner class HTTPPostScanner(HTTPGetScanner): def __init__(self, cred, target, username, password, config, cookies, csrf): super(HTTPPostScanner, self).__init__(cred, target, username, password, config, cookies) self.csrf = csrf def __reduce__(self): return (self.__class__, (self.cred, self.target, self.username, self.password, self.config, self.cookies, self.csrf)) def _make_request(self): self.logger.debug('_make_request') self.logger.debug("target: %s" % self.target) data = self.render_creds(self.cred, self.csrf) self.response = self.request.post(self.target, data, verify=False, proxies=self.config.proxy, timeout=self.config.timeout, headers=self.headers, cookies=self.cookies) changeme-1.2.1/changeme/scanners/http_raw_post.py000066400000000000000000000020161347447721000221240ustar00rootroot00000000000000from changeme.scanners.http_post import HTTPPostScanner class HTTPRawPostScanner(HTTPPostScanner): def __init__(self, cred, target, username, password, config, cookies, csrf, raw): super(HTTPRawPostScanner, self).__init__(cred, target, username, password, config, cookies, csrf) self.raw = raw def __reduce__(self): return (self.__class__, (self.cred, self.target, self.username, self.password, self.config, self.cookies, self.csrf, self.raw)) def _make_request(self): self.logger.debug('_make_request') self.logger.debug("target: %s" % self.target) self.response = self.request.post(self.target, self.raw, verify=False, proxies=self.config.proxy, timeout=self.config.timeout, headers=self.headers, cookies=self.cookies) changeme-1.2.1/changeme/scanners/memcached.py000066400000000000000000000011021347447721000211300ustar00rootroot00000000000000import memcache from .scanner import Scanner class MemcachedScanner(Scanner): def __init__(self, cred, target, username, password, config): super(MemcachedScanner, self).__init__(cred, target, config, username, password) def _check(self): mc = memcache.Client(['%s:%s' % (self.target.host, self.target.port)], debug=0) stats = mc.get_stats() evidence = "version: %s" % (stats[0][1]['version']) return evidence def _mkscanner(self, cred, target, u, p, config): return MemcachedScanner(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/mongo.py000066400000000000000000000014251347447721000203510ustar00rootroot00000000000000from pymongo import MongoClient from .scanner import Scanner import socket class Mongodb(Scanner): def __init__(self, cred, target, username, password, config): super(Mongodb, self).__init__(cred, target, config, username, password) def _check(self): u_p = "" if self.username or self.password: u_p = "%s:%s@" % (self.username, self.password) client = MongoClient('mongodb://%s%s:%s/' % (u_p, self.target.host, self.target.port)) dbs = client.database_names() server_info = client.server_info() evidence = 'Version: %s, databases: %s' % (server_info['version'], ', '.join(dbs)) return evidence def _mkscanner(self, cred, target, u, p, config): return Mongodb(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/mssql.py000066400000000000000000000006701347447721000203720ustar00rootroot00000000000000from .database import Database class MSSQL(Database): def __init__(self, cred, target, username, password, config): super(MSSQL, self).__init__(cred, target, username, password, config) self.target.protocol = "mssql+pyodbc" self.database = "" self.query = "SELECT @@VERSION AS 'SQL Server Version';" def _mkscanner(self, cred, target, u, p, config): return MSSQL(cred, target, u, p, config)changeme-1.2.1/changeme/scanners/mysql.py000066400000000000000000000005621347447721000204000ustar00rootroot00000000000000from .database import Database class MySQL(Database): def __init__(self, cred, target, username, password, config): super(MySQL, self).__init__(cred, target, username, password, config) self.database = "" self.query = "select version();" def _mkscanner(self, cred, target, u, p, config): return MySQL(cred, target, u, p, config)changeme-1.2.1/changeme/scanners/postgres.py000066400000000000000000000006601347447721000211000ustar00rootroot00000000000000from .database import Database class Postgres(Database): def __init__(self, cred, target, username, password, config): super(Postgres, self).__init__(cred, target, username, password, config) self.target.protocol = "postgresql+psycopg2" self.database = "" self.query = "select version();" def _mkscanner(self, cred, target, u, p, config): return Postgres(cred, target, u, p, config)changeme-1.2.1/changeme/scanners/redis_scanner.py000066400000000000000000000010711347447721000220460ustar00rootroot00000000000000import redis from .scanner import Scanner class RedisScanner(Scanner): def __init__(self, cred, target, username, password, config): super(RedisScanner, self).__init__(cred, target, config, username, password) def _check(self): r = redis.StrictRedis(host=self.target.host, port=self.target.port) info = r.info() evidence = "redis_version: %s, os: %s" % (info['redis_version'], info['os']) return evidence def _mkscanner(self, cred, target, u, p, config): return RedisScanner(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/scanner.py000066400000000000000000000054441347447721000206700ustar00rootroot00000000000000import logging from netaddr import IPAddress import socket class Scanner(object): def __init__(self, cred, target, config, username, password): self.logger = logging.getLogger('changeme') self.cred = cred self.target = target if self.target.port is None: self.target.port = self.cred['default_port'] self.config = config self.username = username self.password = password def __hash__(self): return id(self) def scan(self): return self.check_success() def fingerprint(self): if self.target.port is None: self.target.port = self.cred['default_port'] try: sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(3) result = sock.connect_ex((str(self.target.host), self.target.port)) sock.shutdown(2) if result == 0: return True self.logger.info('Port %i open' % self.target.port) else: return False except Exception as e: self.logger.debug(str(e)) return False def get_scanners(self, creds): scanners = list() for pair in self.cred['auth']['credentials']: scanners.append(self._mkscanner(self.cred, self.target, pair['username'], pair['password'], self.config)) return scanners def check_success(self): try: evidence = self._check() self.logger.critical('[+] Found %s default cred %s:%s at %s' % (self.cred['name'], self.username, self.password, self.target)) self.logger.debug('%s %s:%s evidence: %s' % (self.target, self.username, self.password, evidence)) return {'name': self.cred['name'], 'username': self.username, 'password': self.password, 'target': self.target, 'evidence': evidence} except Exception as e: self.logger.info('Invalid %s default cred %s:%s at %s' % (self.cred['name'], self.username, self.password, str(self.target))) self.logger.debug('%s Exception: %s' % (type(e).__name__, str(e))) return False def _check(self): raise NotImplementedError("A Scanner class needs to implement a _check method.") def __getstate__(self): state = self.__dict__ state['logger'] = None # Need to clear the logger when serializing otherwise mp.Queue blows up return state def __setstate__(self, d): self.__dict__ = d self.logger = logging.getLogger('changeme') def __eq__(self, other): return self.__dict__ == other.__dict__ #return (str(self.target) + self.username + self.password) == (other.target + other.username + other.password) changeme-1.2.1/changeme/scanners/snmp.py000066400000000000000000000024271347447721000202120ustar00rootroot00000000000000from pysnmp.hlapi import * from .scanner import Scanner class SNMP(Scanner): def __init__(self, cred, target, username, password, config): super(SNMP, self).__init__(cred, target, config, username, password) def fingerprint(self): # Don't fingerprint since it's UDP return True def _check(self): iterator = getCmd(SnmpEngine(), CommunityData(self.password), UdpTransportTarget((str(self.target.host), 161)), ContextData(), ObjectType(ObjectIdentity('SNMPv2-MIB', 'sysDescr', 0))) errorIndication, errorStatus, errorIndex, varBinds = next(iterator) evidence = "" if errorIndication: self.logger.debug(errorIndication) elif errorStatus: self.logger.debug('%s at %s' % (errorStatus.prettyPrint(), errorIndex and varBinds[int(errorIndex) - 1][0] or '?')) else: for varBind in varBinds: evidence += ' = '.join([x.prettyPrint() for x in varBind]) if evidence == "": raise Exception return evidence def _mkscanner(self, cred, target, u, p, config): return SNMP(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/ssh.py000066400000000000000000000013401347447721000200230ustar00rootroot00000000000000import paramiko from .scanner import Scanner import socket class SSH(Scanner): def __init__(self, cred, target, username, password, config): super(SSH, self).__init__(cred, target, config, username, password) def _check(self): c = paramiko.SSHClient() c.set_missing_host_key_policy(paramiko.MissingHostKeyPolicy()) # ignore unknown hosts c.connect(hostname=self.target.host, port=self.target.port, username=self.username, password=self.password) stdin, stdout, stderr = c.exec_command('uname -a') evidence = stdout.readlines()[0] c.close() return evidence def _mkscanner(self, cred, target, u, p, config): return SSH(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/ssh_key.py000066400000000000000000000020621347447721000206750ustar00rootroot00000000000000import logging import paramiko from .ssh import SSH from io import StringIO class SSHKey(SSH): def __init__(self, cred, target, username, key, config): super(SSHKey, self).__init__(cred, target, username, key, config) self.logger = logging.getLogger('changeme') def _check(self): fake = StringIO(self.password) if "RSA PRIVATE KEY" in self.password: key = paramiko.RSAKey.from_private_key(fake) elif "DSA PRIVATE KEY" in self.password: key = paramiko.DSSKey.from_private_key(fake) c = paramiko.SSHClient() c.set_missing_host_key_policy(paramiko.MissingHostKeyPolicy()) # ignore unknown hosts c.connect(hostname=self.target.host, port=self.target.port, username=self.username, pkey=key) stdin, stdout, stderr = c.exec_command('uname -a') evidence = stdout.readlines()[0] c.close() self.password = 'Private Key' return evidence def _mkscanner(self, cred, target, u, p, config): return SSHKey(cred, target, u, p, config) changeme-1.2.1/changeme/scanners/telnet.py000066400000000000000000000060421347447721000205250ustar00rootroot00000000000000from .scanner import Scanner import telnetlib import re import time class Telnet(Scanner): def __init__(self, cred, target, username, password, config): super(Telnet, self).__init__(cred, target, config, username, password) def _check(self): try: telnet = telnetlib.Telnet(str(self.target.host)) timeout_allowed = int(self.cred['auth']['blockingio_timeout']) wait_for_pass_prompt = int(self.cred['auth']['telnet_read_timeout']) retval = telnet.open(str(self.target.host), int(self.target.port), timeout=timeout_allowed) retval._has_poll = False # telnetlib hackery :) banner = telnet.read_until("login: ") telnet.write(self.username + "\n") password = str(self.password) if self.password else '' result = telnet.read_until("Password: ", timeout=wait_for_pass_prompt) result = Telnet._trim_string(result) if "Password:" in result: telnet.write(password + "\n") else: self.logger.debug("Check closed at: 1") telnet.close() raise Exception("Telnet credential not found") telnet.write(b"ls\n") # evidence = '(slow connection, evidence not collected)' # try: # evidence = telnet.read_all() # except: # pass evidence = "(slow connection, evidence not collected)" time.sleep(3) evidence = telnet.read_very_eager() evidence_fp_check = Telnet._trim_string(evidence) self.logger.debug("Evidence string returned (stripped): %s" % str(evidence_fp_check)) evidence_fp_check_as_bytes = ":".join("{:02x}".format(ord(c)) for c in evidence_fp_check) self.logger.debug("Evidence string returned (bytes): %s" % str(evidence_fp_check_as_bytes)) # Remove simple echos or additional password prompt (wrong password) if (not evidence_fp_check) or (evidence_fp_check == "ls") or ("Password:" in evidence) or (evidence == ""): self.logger.debug("Check closed at: 2") telnet.close() raise Exception("Telnet credential not found") # Remove additional prompts to login - we have a correct username, but incorrect password if evidence_fp_check.endswith("login:") or evidence_fp_check.endswith("login: "): self.logger.debug("Check closed at: 3") telnet.close() raise Exception("Telnet credential not found") telnet.write("exit\n") telnet.close() return evidence except Exception as e: self.logger.debug("Error: %s" % str(e)) raise e @staticmethod def _trim_string(str_to_trim): return str(str_to_trim).replace(' ','').replace('\s','').replace('\t','').replace('\r','').replace('\n','') def _mkscanner(self, cred, target, u, p, config): return Telnet(cred, target, u, p, config) changeme-1.2.1/changeme/schema.py000066400000000000000000000230251347447721000166560ustar00rootroot00000000000000#!/usr/bin/env python import changeme.core import os try: # Python 3 from urllib.parse import unquote_plus except ImportError: # Python 2 from urllib import unquote_plus import yaml cli_prompt = input try: cli_prompt = raw_input except NameError: pass http_schema = { 'auth': { 'type': 'dict', 'required': True, 'schema': { 'credentials': { 'type': 'list', 'required': True, 'schema': { 'type': 'dict', 'schema': { 'username': { 'type': ['string', 'integer'], 'nullable': True, 'required': True, }, 'password': { 'type': ['string', 'integer'], 'nullable': True, 'required': True, }, 'ref': {'type': 'string', 'required': False}, 'raw': {'type': 'string', 'required': False}, } } }, 'headers': { 'type': 'list', 'required': False, 'schema': { 'type': 'dict' } }, 'csrf': { 'type': 'string', 'nullable': True, 'required': False, }, 'post': { 'type': 'dict', 'allow_unknown': True, 'schema': { 'username': {'type': 'string', 'required': True}, 'password': {'type': 'string', 'required': True}, } }, 'get': { 'type': 'dict', 'allow_unknown': True, 'schema': { 'username': {'type': 'string', 'required': True}, 'password': {'type': 'string', 'required': True}, } }, 'sessionid': { 'type': 'string', 'nullable': True, 'required': False, }, 'base64': { 'type': 'boolean', 'nullable': False, 'required': False, }, 'success': { 'type': 'dict', 'schema': { 'body': { 'type': 'list', 'required': False }, 'status': {'type': 'integer', 'required': True}, }, }, 'type': { 'type': 'string', 'regex': 'post|basic_auth|get|raw_post', 'required': True }, 'url': { 'type': 'list', 'required': True, 'schema': {'type': 'string'} }, } }, 'category': {'type': 'string', 'required': True}, 'contributor': {'type': 'string', 'required': True}, 'fingerprint': { 'type': 'dict', 'required': True, 'schema': { 'body': {'type': 'list', 'required': False}, 'server_header': {'type': 'string', 'required': False}, 'cookie': { 'type': 'list', 'required': False, 'schema': { 'type': 'dict' }, }, 'headers': { 'type': 'list', 'required': False, 'schema': { 'type': 'dict' } }, 'status': {'type': 'integer', 'required': True}, 'basic_auth_realm': { 'type': 'string', 'nullable': True, 'required': False, }, 'url': { 'type': 'list', 'required': True, 'schema': {'type': 'string'} }, }, }, 'default_port': {'type': 'integer', 'required': True}, 'name': {'type': 'string', 'required': True}, 'ssl': {'type': 'boolean', 'required': True}, 'references': {'type': 'list', 'required': False}, 'versions': {'type': 'list', 'required': False}, 'protocol': {'type': 'string', 'required': False}, } def mkcred(): """ TODO: - move credentials under auth - move auth url under auth - move success under auth - move auth url under auth - move type under auth """ parameters = dict() auth_types = ['post', 'basic_auth', 'get', 'raw_post'] def get_data(field, prompt, boolean=False, integer=False): result = cli_prompt(prompt).strip() if boolean and result.lower() == 'y': result = True elif boolean: result = False if integer: result = int(result) parameters[field] = result get_data('contributor', 'Your name or handle: ') get_data('name', 'Name of service (JBoss, Tomcat): ') get_data('protocol', 'Protocol of service (http, ssh, ftp): ') get_data('category', 'Category of service (general, printer, phone): ') get_data('default_port', 'Default port: ', integer=True) get_data('ssl', 'Does the service use ssl (y/n): ', boolean=True) # Fingerprint ############################################################################### fp = dict() # Fingerprint url is confiured as a list so we can have more than one path path = cli_prompt('Path to the fingerprint page (/index.php): ') path_list = list() path_list.append(path) fp['url'] = path_list fp_status = cli_prompt('HTTP status code of fingerprint (401, 200): ') fp_body = cli_prompt('Unique string in the fingerprint page (Welcome to ***): ') server_header = cli_prompt('Server header (if unique): ') basic_auth_realm = cli_prompt('Basic Auth Realm: ') fp['status'] = int(fp_status) if fp_body: b = list() b.append(fp_body) fp['body'] = b if basic_auth_realm: fp['basic_auth_realm'] = basic_auth_realm if server_header: fp['server_header'] = server_header parameters['fingerprint'] = fp # Authentication ############################################################################### auth = dict() headers = list() auth_urls = list() url = cli_prompt('Authentication URL (/login.php): ') auth_urls.append(url) auth['url'] = auth_urls while True: t = cli_prompt('Type of authentication method (post, basic_auth, get, raw_post): ') if t in auth_types: auth['type'] = t break else: print('Invalid auth type') if auth['type'] == 'post' or auth['type'] == 'get': form = dict() form['username'] = cli_prompt('Name of username field: ') form['password'] = cli_prompt('Name of password field: ') form_params = cli_prompt('Post parameters, query string or raw post (json, xml): ') if form_params: form_params = unquote_plus(form_params) # decode the parameters for f in form_params.split('&'): fname = f.split('=')[0] fvalue = f.split('=')[1] if fname == form['username'] or fname == form['password']: continue else: form[fname] = fvalue if auth['type'] == 'raw_post': form['raw'] = form_params auth[auth['type']] = form while True: header = cli_prompt('Pleae enter any custom header needed. Hit enter if done or not needed \n Example: Content-Type: application/json: ') if len(header) > 0: if len(header.split(':')) == 2: h = header.split(':') header = {h[0]: h[1]} headers.append(header) else: print('Invalid header. Headers must be in the format "Header_name: header_value"\n') else: break csrf = cli_prompt('Name of csrf field: ') if csrf: auth['csrf'] = csrf sessionid = cli_prompt('Name of session cookie: ') if sessionid: auth['sessionid'] = sessionid creds = list() num_creds = cli_prompt('How many default creds for this service (1, 2, 3): ') for i in range(0, int(num_creds)): user = cli_prompt('Username %i: ' % (i + 1)) passwd = cli_prompt('Password %i: ' % (i + 1)) if auth['type'] == 'raw_post': raw = cli_prompt('Raw post %i: ' % (i + 1)) creds.append({'username': user, 'password': passwd, 'raw': raw}) else: creds.append({'username': user, 'password': passwd}) auth['credentials'] = creds auth['headers'] = headers success = dict() success['status'] = 200 success['body'] = list() success['body'].append(cli_prompt('Unique string in page of a successful login (Logout): ')) auth['success'] = success parameters['auth'] = auth print() fname = parameters['name'].lower().replace(' ', '_').replace('/', '_') + '.yml' print('Writing config to %s' % fname) cdir = os.path.join('creds', parameters['protocol'], parameters['category']) if not os.path.isdir(cdir): os.makedirs(cdir) with open(os.path.join(cdir, fname), 'w') as fout: fout.write(yaml.dump(parameters, default_flow_style=False)) print(yaml.dump(parameters, default_flow_style=False)) changeme.core.validate_cred(parameters, fname, parameters['category']) changeme-1.2.1/changeme/target.py000066400000000000000000000076651347447721000167200ustar00rootroot00000000000000from libnmap.parser import NmapParser as np import logging from netaddr import IPNetwork from netaddr.core import AddrFormatError import re from os.path import isfile import shodan import socket class Target(object): def __init__(self, host=None, port=None, protocol=None, url=None): self.host = host if port: port = re.sub(r'\D','',str(port)) if 0 < int(port) < 65535: self.port = int(port) else: #just disregard the port for now. self.port = None else: self.port = None self.protocol = protocol self.url = url self.ip = None def __eq__(self, other): return self.__dict__ == other.__dict__ def __hash__(self): return id(self) def __repr__(self): return self.__str__() def __str__(self): target = self if self.host: target = self.host if self.port: target += ":%s" % self.port if self.protocol: target = "%s://" % self.protocol + target if self.url: target += self.url return str(target) def get_ip(self): if self.ip is None: regex = re.compile(r'^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$') result = regex.match(self.host) if not result: self.ip = socket.gethostbyname(self.host) else: self.ip = self.host return self.ip @staticmethod def parse_target(target): logger = logging.getLogger('changeme') targets = set() if isfile(target): try: # parse nmap report = np.parse_fromfile(target) logger.info('Loaded %i hosts from %s' % (len(report.hosts), target)) for h in report.hosts: for s in h.services: targets.add(Target(host=h.address, port=s.port)) except: # parse text file with open(target, 'r') as fin: for line in fin: res = Target._parse_target_string(line) for t in res: targets.add(t) else: targets = Target._parse_target_string(target) return targets @staticmethod def _parse_target_string(target): logger = logging.getLogger('changeme') logger.debug('Parsing target %s' % target) target = target.strip().rstrip('/') targets = set() try: for ip in IPNetwork(target).iter_hosts(): #(covers IP or cidr) #3,4 targets.add(Target(host=str(ip))) except AddrFormatError: if len(target.split(':')) == 3: # mysql://127.0.0.1:3306 protocol = target.split(':')[0] host = target.split(':')[1].replace('//', '') port = target.split(':')[2] targets.add(Target(host=host, port=port, protocol=protocol)) elif "://" in target: # snmp://127.0.0.1 protocol = target.split(':')[0] host = target.split(':')[1].replace('//', '') targets.add(Target(host=host, protocol=protocol)) elif ":" in target: # 127.0.0.1:8080 host = target.split(':')[0] port = target.split(':')[1] targets.add(Target(host=host, port=port)) else: targets.add(Target(host=target)) return targets @staticmethod def get_shodan_targets(config): logger = logging.getLogger('changeme') targets = set() api = shodan.Shodan(config.shodan_key) results = api.search(config.shodan_query) logger.debug("shodan results: %s" % results) for r in results['matches']: targets.add(Target(host=r['ip_str'])) return targets changeme-1.2.1/changeme/templates/000077500000000000000000000000001347447721000170405ustar00rootroot00000000000000changeme-1.2.1/changeme/templates/report.j2000066400000000000000000000046721347447721000206210ustar00rootroot00000000000000 Changme Default Credential Report

Changeme

  • Found {{ found|length }} credentials
  • Scan: {{ cli }}
  • Report Timestamp: {{ timestamp }}
{% for cred in found %}
  • Service: {{ cred['name'] }}
  • Username: {{ cred['username'] if cred['username'] != None }}
  • Password: {{ cred['password'] if cred['password'] != None }}
  • {% if 'http' in cred['target'].protocol %}
  • {{ cred['target'] }}
  • {% else %}
  • {{ cred['target'] }}
  • {% endif %}
{% if 'http' in cred['target'].protocol %} {{ cred['url'] }} {% else %} {{ cred['evidence'] }} {% endif %}
{% endfor %}
changeme-1.2.1/changeme/tests/000077500000000000000000000000001347447721000162045ustar00rootroot00000000000000changeme-1.2.1/changeme/tests/__init__.py000066400000000000000000000001131347447721000203100ustar00rootroot00000000000000__all__ = ['core', 'http', 'memcached', 'redis_scanner', 'snmp', 'target'] changeme-1.2.1/changeme/tests/core.py000066400000000000000000000053331347447721000175120ustar00rootroot00000000000000import argparse from changeme import * from copy import deepcopy import mock from nose.tools import * from netaddr import IPAddress cli_args = {'all': False, 'category': None, 'contributors': False, 'debug': True, 'delay': 500, 'dump': False, 'dryrun': False, 'fingerprint': False, 'fresh': True, 'log': None, 'mkcred': False, 'name': None, 'noversion': True, 'output': None, 'oa': False, 'portoverride': False, 'protocols': 'http', 'proxy': None, 'resume': False, 'shodan_query': None, 'shodan_key': None, 'ssl': False, 'target': '127.0.0.1', 'threads': 20, 'timeout': 10, 'useragent': None, 'validate': False, 'verbose': False,} def test_banner(): core.banner(version.__version__) no_args = deepcopy(cli_args) no_args['target'] = None @raises(SystemExit) @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**no_args)) def test_no_args(mock_args): args = core.parse_args() core.init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = core.Config(args['args'], args['parser']) args = deepcopy(cli_args) args['target'] = '127.0.0.1' @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**args)) def test_target(mock_args): args = core.parse_args() core.init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = core.Config(args['args'], args['parser']) """ args = deepcopy(cli_args) args['targets'] = '/etc/hosts' args['target'] = None print args @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**args)) def test_targets(mock_args): core.Config() """ args = deepcopy(cli_args) args['contributors'] = True @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**args)) def test_contributors(mock_args): args = core.parse_args() core.init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = core.Config(args['args'], args['parser']) creds = core.load_creds(config) core.print_contributors(creds) args = deepcopy(cli_args) args['dump'] = True @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**args)) def test_print_creds(mock_args): args = core.parse_args() core.init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = core.Config(args['args'], args['parser']) creds = core.load_creds(config) core.print_creds(creds) changeme-1.2.1/changeme/tests/http.py000066400000000000000000000212231347447721000175350ustar00rootroot00000000000000import argparse from changeme.scan_engine import ScanEngine from changeme.target import Target from changeme import core from .core import cli_args from copy import deepcopy import csv import json import logging import mock from .mock_responses import MockResponses from nose.tools import * import os import responses """ TODO: - Custom headers - 429 response code - """ def reset_handlers(): logger = logging.getLogger('changeme') logger.handlers = [] core.remove_queues() fp_args = deepcopy(cli_args) fp_args['nmap'] = 'tests/tomcat_nmap.xml' fp_args['name'] = 'Tomcat' @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**fp_args)) def test_tomcat_match_nmap(mock_args): def tomcat_callback(request): if request.headers.get('Authorization', False): return (200, MockResponses.tomcat_auth['adding_headers'], MockResponses.tomcat_auth['body']) else: return (401, MockResponses.tomcat_fp['adding_headers'], '') responses.add_callback( responses.GET, MockResponses.tomcat_fp['url'], callback=tomcat_callback, ) reset_handlers() try: os.remove(core.PERSISTENT_QUEUE) except OSError: pass args = core.parse_args() core.init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = core.Config(args['args'], args['parser']) creds = core.load_creds(config) s = ScanEngine(creds, config) s._build_targets() s._add_terminators(s.fingerprints) print(("fp: %i" % s.fingerprints.qsize())) s.fingerprint_targets() # Queue is not serializeable so we can't copy it using deepcopy scanners = list() print(("scanners: %s" % s.scanners.qsize())) t1 = Target(host='127.0.0.1', port=8080, protocol='http', url='/manager/html') t2 = Target(host='127.0.0.1', port=8080, protocol='http', url='/tomcat/manager/html') while s.scanners.qsize() > 0: scanner = s.scanners.get() assert scanner.target == t1 or scanner.target == t2 scanners.append(scanner) # Load the scanners back into the queue for scanner in scanners: s.scanners.put(scanner) assert s.scanners.qsize() == 34 s._add_terminators(s.scanners) responses.reset() responses.add(**MockResponses.tomcat_auth) s._scan(s.scanners, s.found_q) assert s.found_q.qsize() == 17 fp_args = deepcopy(cli_args) fp_args['fingerprint'] = True fp_args['name'] = 'Tomcat' fp_args['noversion'] = False @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**fp_args)) def test_tomcat_fingerprint(mock_args): responses.add(**MockResponses.tomcat_fp) reset_handlers() se = core.main() print(("Scanners:",se.scanners.qsize())) assert se.scanners.qsize() == 34 core.remove_queues() @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**cli_args)) def test_tomcat_invalid_creds(mock_args): responses.add(**MockResponses.tomcat_fp) reset_handlers() se = core.main() assert se.found_q.qsize() == 0 @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**cli_args)) def test_jboss_scan_fail(mock_args): responses.add(**MockResponses.jboss_fp) responses.add(**MockResponses.jboss_auth_fail) reset_handlers() args = core.parse_args() core.init_logging(args['args'].verbose, args['args'].debug, args['args'].log) config = core.Config(args['args'], args['parser']) creds = core.load_creds(config) se = ScanEngine(creds, config) se._build_targets() se._add_terminators(se.fingerprints) se.fingerprint_targets() print(se.scanners.qsize()) scanners = list() while se.scanners.qsize() > 0: s = se.scanners.get() print(s.cred['name']) print(s.target) print(s.username) print(s.password) scanners.append(s) print("num scanners: %i" % len(scanners)) assert len(scanners) == 2 # put scanners back in queue for s in scanners: se.scanners.put(s) se._add_terminators(se.scanners) se._scan(se.scanners, se.found_q) assert se.found_q.qsize() == 0 jboss_args = deepcopy(cli_args) jboss_args['name'] = 'JBoss AS 6 Alt' @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**jboss_args)) def test_jboss_scan_success(mock_args): responses.add(**MockResponses.jboss_fp) responses.add(**MockResponses.jboss_auth) reset_handlers() se = core.main() assert se.found_q.qsize() == 1 subnet_args = deepcopy(cli_args) subnet_args['target'] = '127.0.0.1/32' subnet_args['protocols'] = 'http' subnet_args['name'] = 'JBoss AS 6 Alt' @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**subnet_args)) def test_jboss_scan_success_subnet(mock_args): responses.add(**MockResponses.jboss_fp) responses.add(**MockResponses.jboss_auth) reset_handlers() se = core.main() assert se.found_q.qsize() == 1 @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**cli_args)) def test_jboss_csrf_fail(mock_args): responses.add(**MockResponses.jboss_fp_no_csrf) reset_handlers() se = core.main() assert se.found_q.qsize() == 0 idrac_args = deepcopy(cli_args) idrac_args['name'] = "Dell iDRAC" @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**idrac_args)) def test_idrac_scan_success(mock_args): responses.reset() responses.add(**MockResponses.idrac_fp) responses.add(**MockResponses.idrac_auth) reset_handlers() se = core.main() assert se.found_q.qsize() == 1 targets_args = deepcopy(cli_args) targets_args['target'] = '/tmp/targets.txt' @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**targets_args)) def test_targets_scan_success(mock_args): responses.reset() responses.add(**MockResponses.idrac_fp) responses.add(**MockResponses.idrac_auth) with open(targets_args['target'], 'w') as fout: fout.write('127.0.0.1' + '\n') reset_handlers() se = core.main() assert se.found_q.qsize() == 1 csv_args = deepcopy(cli_args) csv_args['log'] = '/tmp/output.log' csv_args['output'] = '/tmp/output.csv' csv_args['name'] = 'JBoss AS 6 Alt' @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**csv_args)) def test_csv_output(mock_args): responses.add(**MockResponses.jboss_fp) responses.add(**MockResponses.jboss_auth) reset_handlers() se = core.main() print(se.found_q.qsize()) assert se.found_q.qsize() == 1 assert os.path.isfile(csv_args['output']) i = 0 with open(csv_args['output'], 'r') as csvfile: reader = csv.reader(csvfile) for line in reader: if i == 1: assert line[0] == 'JBoss AS 6 Alt' assert line[1] == 'admin' assert line[2] == 'admin' assert line[3] == 'http://127.0.0.1:8080/admin-console/login.seam' i += 1 assert os.path.isfile(csv_args['log']) json_args = deepcopy(cli_args) json_args['output'] = '/tmp/output.json' json_args['name'] = 'JBoss AS 6 Alt' @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**json_args)) def test_json_output(mock_args): responses.add(**MockResponses.jboss_fp) responses.add(**MockResponses.jboss_auth) reset_handlers() se = core.main() assert se.found_q.qsize() == 1 assert os.path.isfile(json_args['output']) i = 0 with open(json_args['output'], 'r') as json_file: j = json.loads(json_file.read()) assert j["results"][0]['name'] == 'JBoss AS 6 Alt' assert j['results'][0]['username'] == 'admin' assert j['results'][0]['password'] == 'admin' assert j['results'][0]['target'] == 'http://127.0.0.1:8080/admin-console/login.seam' dr_args = deepcopy(cli_args) dr_args['dryrun'] = True @raises(SystemExit) @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**dr_args)) def test_dryrun(mock_args): reset_handlers() se = core.main() assert se.found_q.qsize() == 0 es_args = deepcopy(cli_args) es_args['name'] = "elasticsearch" @responses.activate @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**es_args)) def test_es_scan_success(mock_args): responses.reset() responses.add(**MockResponses.elasticsearch) reset_handlers() se = core.main() assert se.found_q.qsize() == 1 changeme-1.2.1/changeme/tests/memcached.py000066400000000000000000000015571347447721000204740ustar00rootroot00000000000000import argparse from changeme import core from .core import cli_args from copy import deepcopy import logging import mock import os logger = logging.getLogger('changeme') def reset_handlers(): logger = logging.getLogger('changeme') logger.handlers = [] core.remove_queues() memcached_args = deepcopy(cli_args) memcached_args['protocols'] = 'memcached' memcached_args['target'] = '127.0.0.1' @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**memcached_args)) def memcached(mock_args): reset_handlers() se = core.main() try: assert se.found_q.qsize() == 1 except Exception as e: # Raise an assertion error if we're in Travis CI and fail if os.environ.get('TRAVIS', None): raise e # Warn if we're not Travis CI else: logger.warning('memcached failed') changeme-1.2.1/changeme/tests/mock_responses.py000066400000000000000000000107761347447721000216230ustar00rootroot00000000000000import responses class MockResponses: tomcat_fp = { 'method': responses.GET, 'url': 'http://127.0.0.1:8080/manager/html', 'status': 401, 'adding_headers': { 'Server': 'Apache-Coyote/1.1', 'WWW-Authenticate': 'Basic realm="Tomcat Manager Application'} } tomcat_fp_alt = { 'method': responses.GET, 'url': 'http://127.0.0.1:8080/tomcat/manager/html', 'status': 404, 'adding_headers': { 'Server': 'Apache-Coyote/1.1', 'WWW-Authenticate': 'Basic realm="Tomcat Manager Application'} } tomcat_auth = { 'method': responses.GET, 'url': 'http://127.0.0.1:8080/manager/html', 'status': 200, 'body': 'Tomcat Web Application Manager', 'adding_headers': {'Server': 'Apache-Coyote/1.1'} } jboss_fp = { 'method': responses.GET, 'url': 'http://127.0.0.1:8080/admin-console/login.seam', 'status': 200, 'body': '

Welcome to the JBoss AS 6 Admin Console.

', 'adding_headers': { 'Server': 'Apache-Coyote/1.1', 'Set-Cookie': 'JSESSIONID=foobar' } } jboss_fp_no_csrf = { 'method': responses.GET, 'url': 'http://127.0.0.1:8080/admin-console/login.seam', 'status': 200, 'body': '

Welcome to the JBoss AS 6 Admin Console.

', 'adding_headers': { 'Server': 'Apache-Coyote/1.1', 'Set-Cookie': 'JSESSIONID=foobar' } } jboss_auth = { 'method': responses.POST, 'url': 'http://127.0.0.1:8080/admin-console/login.seam', 'status': 200, 'body': 'Logout', 'adding_headers': {'Server': 'Apache-Coyote/1.1'} } jboss_auth_fail = { 'method': responses.POST, 'url': 'http://127.0.0.1:8080/admin-console/login.seam', 'status': 200, 'body': 'Fail', 'adding_headers': {'Server': 'Apache-Coyote/1.1'} } idrac_fp = { 'method': responses.GET, 'url': 'https://127.0.0.1:443/login.html', 'status': 200, 'body': 'Integrated Dell Remote Access Controller', 'adding_headers': { 'Server': 'Mbedthis-Appweb/2.4.2', 'Content-type': 'text/xml', 'Set-Cookie': '_appwebSessionId_=dffaac7c4fb4e3c4cbd46d3691aeb40f;', }, 'body': 'Integrated Dell Remote Access Controller 6 - Express', } idrac_auth = { 'method': responses.POST, 'url': 'https://127.0.0.1:443/data/login', 'status': 200, 'body': 'Integrated Dell Remote Access Controller', 'adding_headers': { 'Server': 'Mbedthis-Appweb/2.4.2', 'Content-type': 'text/xml', 'Set-Cookie': '_appwebSessionId_=dffaac7c4fb4e3c4cbd46d3691aeb40f', }, 'body': ' ok 0 index.html ' } zabbix_fp = { 'method': responses.GET, 'url': 'http://127.0.0.1/zabbix/index.php', 'status': 200, 'body': 'by Zabbix SIA', } zabbix_auth = { 'method': responses.POST, 'url': 'http://127.0.0.1/zabbix/index.php', 'status': 200, 'body': 'Logout', } zabbix_fail = { 'method': responses.POST, 'url': 'http://127.0.0.1/zabbix/index.php', 'status': 200, 'body': 'foobar', } ipcamera_fp = { 'method': responses.GET, 'url': 'http://127.0.0.1:81/', 'status': 200, 'body': 'GetXml("login.xml?"+param,OnLoginAckOK,OnLoginAckFail);' } ipcamera_auth = { 'method': responses.GET, 'url': 'http://127.0.0.1:81/login.xml', 'status': 200, 'body': '10Admin' } elasticsearch = { 'method': responses.GET, 'url': 'http://127.0.0.1:9200/', 'status': 200, 'body': """{ "name" : "foo", "cluster_name" : "elasticsearch", "cluster_uuid" : "1C4hbDs6TRetjINxrOKBZw", "version" : { "number" : "5.0.2", "build_hash" : "f6b4951", "build_date" : "2016-11-24T10:07:18.101Z", "build_snapshot" : false, "lucene_version" : "6.2.1" }, "tagline" : "You Know, for Search" }""" } changeme-1.2.1/changeme/tests/mongodb.py000066400000000000000000000015141347447721000202040ustar00rootroot00000000000000import argparse from changeme import core from .core import cli_args from copy import deepcopy import logging import mock import os logger = logging.getLogger('changeme') def reset_handlers(): logger = logging.getLogger('changeme') logger.handlers = [] core.remove_queues() mongodb_args = deepcopy(cli_args) mongodb_args['target'] = 'mongodb://127.0.0.1' @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**mongodb_args)) def test_mongodb(mock_args): reset_handlers() se = core.main() try: assert se.found_q.qsize() == 1 except Exception as e: # Raise an assertion error if we're in Travis CI and fail if os.environ.get('TRAVIS', None): raise e # Warn if we're not Travis CI else: logger.warning('mongodb failed') changeme-1.2.1/changeme/tests/redis_scanner.py000066400000000000000000000010401347447721000213700ustar00rootroot00000000000000import argparse from changeme import core from .core import cli_args from copy import deepcopy import logging import mock def reset_handlers(): logger = logging.getLogger('changeme') logger.handlers = [] core.remove_queues() redis_args = deepcopy(cli_args) redis_args['protocols'] = 'redis' redis_args['target'] = '127.0.0.1' @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**redis_args)) def test_redis(mock_args): reset_handlers() se = core.main() assert se.found_q.qsize() == 1 changeme-1.2.1/changeme/tests/snmp.py000066400000000000000000000016151347447721000175360ustar00rootroot00000000000000import argparse from changeme import core from .core import cli_args from copy import deepcopy import logging import mock def reset_handlers(): logger = logging.getLogger('changeme') logger.handlers = [] core.remove_queues() snmp_args = deepcopy(cli_args) snmp_args['protocols'] = 'snmp' snmp_args['name'] = 'publicprivate' snmp_args['target'] = 'demo.snmplabs.com' @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**snmp_args)) def test_snmp(mock_args): reset_handlers() se = core.main() assert se.found_q.qsize() == 2 snmp_args = deepcopy(cli_args) snmp_args['name'] = 'publicprivate' snmp_args['target'] = 'snmp://demo.snmplabs.com' @mock.patch('argparse.ArgumentParser.parse_args', return_value=argparse.Namespace(**snmp_args)) def test_snmp_proto(mock_args): reset_handlers() se = core.main() assert se.found_q.qsize() == 2 changeme-1.2.1/changeme/tests/target.py000066400000000000000000000055151347447721000200520ustar00rootroot00000000000000from changeme.target import Target import os """ 1. nmap.xml 2. targets.txt 3. 127.0.0.1 4. 192.168.1.0/24 5. 192.168.59.139:8080 6. snmp://192.168.59.101 7. mysql://192.168.59.101:33306 """ def test_nmap(): path = os.path.dirname(os.path.abspath(__file__)) nmap = os.path.join(path, "tomcat_nmap.xml") targets = Target.parse_target(nmap) assert len(targets) == 1 t = targets.pop() path = os.path.dirname(os.path.abspath(__file__)) print("target: %s" % t) assert t == Target(host='127.0.0.1', port='8080') def test_targets_file(): target = '/tmp/targets.txt' with open(target, 'w') as fout: fout.write('127.0.0.1\n') fout.write('127.0.0.2:8080\n') targets = Target.parse_target(target) assert len(targets) == 2 for t in targets: if t.host == '127.0.0.1': t1(t) else: t2(t) os.remove(target) def t1(t): assert t == Target(host='127.0.0.1') def t2(t): assert t == Target(host='127.0.0.2', port=8080) def test_ip(): target = '127.0.0.1' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host=target) assert str(t) == target def test_cidr(): target = '192.168.1.0/24' targets = Target.parse_target(target) assert len(targets) == 254 # TODO explicitly validate the range """ for ip in IPNetwork(target).iter_hosts(): print str(ip) assert Target(host=str(ip)) in targets """ def test_ip_port(): target = '192.168.1.1:8080' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host='192.168.1.1', port='8080') assert str(t) == target def test_proto_ip(): target = 'snmp://192.168.1.1' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host='192.168.1.1', protocol='snmp') assert str(t) == target def test_proto_ip_port(): target = 'snmp://192.168.1.1:8080' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host='192.168.1.1', port=8080, protocol='snmp') assert str(t) == target def test_hostname(): target = 'example.com' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host='example.com') def test_hostname_proto(): target = 'http://example.com' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host='example.com', protocol='http') def test_hostname_proto_port(): target = 'http://example.com:80' targets = Target.parse_target(target) assert len(targets) == 1 t = targets.pop() assert t == Target(host='example.com', port='80', protocol='http') changeme-1.2.1/changeme/tests/tomcat_nmap.xml000066400000000000000000000036571347447721000212430ustar00rootroot00000000000000
cpe:/a:apache:coyote_http_connector:1.1 changeme-1.2.1/changeme/version.py000066400000000000000000000005051347447721000171010ustar00rootroot00000000000000__version__ = '1.2.1' contributors = [ "ztgrace", "the-c0d3r", "Graph-X", "AlessandroZ", "ThomasTJ", "Alistair Chapman", "John Van de Meulebrouck Brendgard", "network23", "decidedlygray", "Joe Testa", "Chandrapal", "Naglis Jonaitis", "Samuel Henrique", "sil3ntcor3", ] changeme-1.2.1/creds/000077500000000000000000000000001347447721000143735ustar00rootroot00000000000000changeme-1.2.1/creds/ftp/000077500000000000000000000000001347447721000151645ustar00rootroot00000000000000changeme-1.2.1/creds/ftp/ftp.yml000066400000000000000000000003121347447721000164740ustar00rootroot00000000000000auth: credentials: - username: anonymous password: - username: ftp password: ftp - username: guest password: guest category: ftp default_port: 21 name: ftp contributor: AlessandroZ changeme-1.2.1/creds/http/000077500000000000000000000000001347447721000153525ustar00rootroot00000000000000changeme-1.2.1/creds/http/camera/000077500000000000000000000000001347447721000166025ustar00rootroot00000000000000changeme-1.2.1/creds/http/camera/speco_technologies_ip_camera.yml000066400000000000000000000005661347447721000252100ustar00rootroot00000000000000auth: credentials: - password: '1234' username: admin headers: [] success: body: - Network Camera Viewer status: 200 type: basic_auth url: - / category: camera contributor: ztgrace default_port: 80 fingerprint: basic_auth_realm: SuperNova status: 401 url: - / name: Speco Technologies IP Camera protocol: http ssl: false changeme-1.2.1/creds/http/general/000077500000000000000000000000001347447721000167675ustar00rootroot00000000000000changeme-1.2.1/creds/http/general/activemq.yml000066400000000000000000000006071347447721000213260ustar00rootroot00000000000000auth: credentials: - password: admin username: admin - password: '' username: '' headers: [] success: body: - ActiveMQ Console status: 200 type: basic_auth url: - /admin category: general contributor: sil3ntcor3 default_port: 8161 fingerprint: body: - Apache ActiveMQ status: 200 url: - / name: ActiveMQ protocol: http ssl: false changeme-1.2.1/creds/http/general/amano_ts-3000i.yml000066400000000000000000000006401347447721000220440ustar00rootroot00000000000000auth: credentials: - password: '6569' username: Admin post: Submit: Login password: atvsUserPassword username: atvsUserName success: body: - '>Logout' status: 200 type: post url: - /Forms/index_1 category: web contributor: ztgrace default_port: 80 fingerprint: body: - APC | Log On status: 200 url: - /logon.htm name: APC Network Management Card ssl: false changeme-1.2.1/creds/http/general/audiocodes_mediant_1000.yml000066400000000000000000000005621347447721000237750ustar00rootroot00000000000000auth: credentials: - password: Admin username: Admin post: c0: '0' t: '1' password: u username: c1 success: body: - status: 200 type: post url: - /UE/Login category: web contributor: ztgrace default_port: 80 fingerprint: body: - Mediant 1000 status: 200 url: - / name: AudioCodes Mediant 1000 ssl: false changeme-1.2.1/creds/http/general/avaya_contact_center.yml000066400000000000000000000011421347447721000236640ustar00rootroot00000000000000auth: credentials: - password: webadmin username: webadmin post: LoginBtn: '' OpenSSOAutheticated: '' OpenSSOUserID: '' password: Password username: UserID success: body: - Contact Center Manager - Accept terms and conditions status: 200 type: post url: - /Authenticate.asp category: web contributor: ztgrace default_port: 80 fingerprint: body: - Contact Center - Manager - Login status: 200 url: - / headers: - User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows NT 5.0) name: Avaya Contact Center ssl: false changeme-1.2.1/creds/http/general/ca_apm_team_center.yml000066400000000000000000000007251347447721000233040ustar00rootroot00000000000000auth: credentials: - password: '' username: Admin - password: Guest username: Guest post: password: j_password username: j_username sessionid: WSESSIONID success: body: - ja/webview/webview.nocache.js status: 200 type: post url: - /jsp/j_security_check category: web contributor: ztgrace default_port: 80 fingerprint: body: - APM WebView status: 200 url: - / name: CA APM Team Center ssl: false changeme-1.2.1/creds/http/general/ca_netqos.yml000066400000000000000000000014031347447721000214640ustar00rootroot00000000000000auth: credentials: - password: nq username: nqadmin - password: nq username: nquser csrf: __VIEWSTATE post: __LASTFOCUS: '' hdnCookiesEnabled: '1' hdnRunCookieTest: '0' ibSignIn.x: '0' ibSignIn.y: '0' password: tbPassword username: tbUsername sessionid: ASP.NET_SessionId success: body: -

Object moved to here.

status: 302 type: post url: - /SingleSignOn/SignIn.aspx?SsoProductCode=npc&SsoRedirectUrl=%2fnpc%2fdefault.aspx category: web contributor: ztgrace default_port: 80 fingerprint: body: - Network Performance Management Console status: 200 url: - /SingleSignOn/SignIn.aspx?SsoProductCode=npc&SsoRedirectUrl=%2fnpc%2fdefault.aspx name: CA NetQoS ssl: false changeme-1.2.1/creds/http/general/cisco_collaboration_endpoint.yml000066400000000000000000000006741347447721000254310ustar00rootroot00000000000000auth: credentials: - password: admin username: cisco post: password: username username: password headers: [] success: body: - '"result": "ok"' status: 200 type: post url: - /web/signin/open category: general contributor: AlessandroZ default_port: 443 fingerprint: status: 200 body: - Cisco Collaboration Endpoint url: - /web/signin name: Cisco Collaboration Endpoint protocol: http ssl: true changeme-1.2.1/creds/http/general/cisco_systems.yml000066400000000000000000000005421347447721000224020ustar00rootroot00000000000000auth: credentials: - password: cisco username: cisco headers: [] success: body: - Cisco Systems status: 200 type: basic_auth url: - / category: general contributor: ztgrace, madtownliz default_port: 80 fingerprint: basic_auth_realm: level_15_access status: 401 url: - / name: Cisco Systems protocol: http ssl: false changeme-1.2.1/creds/http/general/clearpass.yml000066400000000000000000000007401347447721000214700ustar00rootroot00000000000000auth: credentials: - password: eTIPS123 username: admin headers: [] post: password: password username: username sessionid: JSESSIONID success: body: - "" status: 302 type: post url: - /tips/tipsLoginSubmit.action category: general contributor: mzet default_port: 443 fingerprint: body: - ClearPass Policy Manager - Aruba Networks status: 200 url: - /tips/tipsLogin.action name: ClearPass protocol: http ssl: true changeme-1.2.1/creds/http/general/crestron_hd-md4x1-4k-e.yml000066400000000000000000000006261347447721000235210ustar00rootroot00000000000000auth: credentials: - password: admin username: admin get: a: command cmd: check_login password: p2 username: p1 success: body: - '{"login_ur":1}' status: 200 type: get url: - /aj.html category: web contributor: ztgrace default_port: 80 fingerprint: body: - HD-MD4x1-4K-E status: 200 url: - / name: Crestron HD-MD4x1-4K-E ssl: false changeme-1.2.1/creds/http/general/datastax_opscenter.yml000066400000000000000000000006411347447721000234060ustar00rootroot00000000000000auth: credentials: - password: admin raw: '{"username":"admin","password":"admin"}' username: admin success: body: - '{"sessionid":' status: 200 type: raw_post url: - /login category: web contributor: ztgrace default_port: 8889 fingerprint: body: - DataStax OpsCenter Login status: 200 url: - /opscenter/login.html name: DataStax OpsCenter 6.0.x ssl: false changeme-1.2.1/creds/http/general/dell_idrac.yml000066400000000000000000000006751347447721000216040ustar00rootroot00000000000000auth: credentials: - password: calvin username: root post: password: password username: user sessionid: _appwebSessionId_ success: body: - [0|5] status: 200 type: post url: - /data/login category: web contributor: ztgrace default_port: 443 fingerprint: body: - Integrated Dell Remote Access Controller status: 200 url: - /login.html name: Dell iDRAC ssl: true �������������������������������������������������������������������changeme-1.2.1/creds/http/general/dynatrace.yml�����������������������������������������������������0000664�0000000�0000000�00000000676�13474477210�0021475�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: admin username: admin success: body: - dynaTrace Server Browsable REST Webservices status: 200 type: basic_auth url: - /rest/html/management/dashboards category: web contributor: BuckyGoat default_port: 8020 fingerprint: basic_auth_realm: dynaTrace Server body: - dynaTrace Server Webinterface status: 401 url: - /rest/html/management/dashboards name: Dynatrace ssl: false ������������������������������������������������������������������changeme-1.2.1/creds/http/general/elasticsearch.yml�������������������������������������������������0000664�0000000�0000000�00000000573�13474477210�0022331�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: '' username: '' get: password: '' username: '' success: body: - '"tagline" : "You Know, for Search"' status: 200 type: get url: - / category: http contributor: ztgrace default_port: 9200 fingerprint: body: - '"tagline" : "You Know, for Search"' status: 200 url: - / name: Elasticsearch ssl: false �������������������������������������������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/general/grafana.yml�������������������������������������������������������0000664�0000000�0000000�00000000747�13474477210�0021121�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: admin raw: '{"user":"admin","email":"","password":"admin"}' username: admin headers: - Content-Type: application/json;charset=utf-8 sessionid: grafana_sess success: body: - '{"message":"Logged in"}' status: 200 type: raw_post url: - /login category: general contributor: ztgrace default_port: 3000 fingerprint: body: - <title>Grafana status: 200 url: - /login name: Grafana protocol: http ssl: false changeme-1.2.1/creds/http/general/haivision_makito_x_decoder.yml000066400000000000000000000007421347447721000250660ustar00rootroot00000000000000auth: credentials: - password: manager username: admin raw: '{"username":"admin","uid":-1,"gid":-1,"password":"manager"}' success: body: - '{"data":{"username": "admin","uid": 500' status: 200 type: raw_post url: - /apis/authentication category: web contributor: ztgrace default_port: 443 fingerprint: body: - Haivision server_header: lighttpd/1.4.35 status: 200 url: - /login name: Haivision Makito X Decoder ssl: true changeme-1.2.1/creds/http/general/hp_server_automation.yml000066400000000000000000000007741347447721000237570ustar00rootroot00000000000000auth: credentials: - password: admin username: Administrator - password: opsware_admin username: admin post: password: j_password username: j_username sessionid: JSESSIONID success: body: - Log Out status: 200 type: post url: - /j_security_check category: web contributor: ztgrace default_port: 443 fingerprint: body: - Hewlett-Packard Server Automation System Web Client status: 200 url: - / name: HP Server Automation ssl: true changeme-1.2.1/creds/http/general/ibm_imm.yml000066400000000000000000000005401347447721000211220ustar00rootroot00000000000000auth: credentials: - password: PASSW0RD username: USERID raw: USERNAME=USERID,PASSWORD=PASSW0RD success: body: - 'ok:' status: 200 type: raw_post url: - /session/create category: web contributor: ztgrace default_port: 80 fingerprint: body: - IMM status: 200 url: - / name: IBM IMM ssl: false changeme-1.2.1/creds/http/general/ibm_netezza.yml000066400000000000000000000020431347447721000220200ustar00rootroot00000000000000auth: credentials: - password: password raw: 127.0.0.1 portal false admin password username: admin success: body: - ">IBM Netezza status: 200 url: - /com.netezza.portal.Portal/index.html name: IBM Netezza ssl: true changeme-1.2.1/creds/http/general/ibm_urbancode_deploy.yml000066400000000000000000000007361347447721000236650ustar00rootroot00000000000000auth: credentials: - password: admin username: admin - password: ucdpadmin username: ucdpadmin post: password: password requestedHash: '' username: username sessionid: JSESSIONID_80 success: body: - Sign Out status: 200 type: post url: - /tasks/LoginTasks/login category: web contributor: ztgrace default_port: 443 fingerprint: body: - IBM UrbanCode Deploy status: 200 url: - / name: IBM UrbanCode Deploy ssl: true changeme-1.2.1/creds/http/general/jasperreports.yml000066400000000000000000000012571347447721000224220ustar00rootroot00000000000000auth: credentials: - password: jasperadmin username: jasperadmin - password: bitnami username: jasperadmin post: j_password_pseudo: jasperadmin password: j_password userLocale: en_US userTimezone: Asia/Calcutta username: j_username sessionid: JSESSIONID success: body: - 'Jaspersoft: Browse Repository' status: 200 type: post url: - /jasperserver/j_spring_security_check - /j_spring_security_check category: web contributor: ztgrace default_port: 8080 fingerprint: body: - 'Jaspersoft: Login' status: 200 url: - /login.html - /jasperserver/login.html name: JasperReports ssl: false changeme-1.2.1/creds/http/general/jboss_as_6.yml000066400000000000000000000010441347447721000215410ustar00rootroot00000000000000auth: credentials: - password: admin username: admin csrf: javax.faces.ViewState post: login_post: login_form login_post:submit: Login password: login_post:password username: login_post:name sessionid: JSESSIONID success: body: - Logout status: 200 type: post url: - /admin-console/login.seam category: web contributor: ztgrace default_port: 8080 fingerprint: body: - Welcome to the JBoss AS 6 Admin Console status: 200 url: - /admin-console/login.seam name: JBoss AS 6 ssl: false changeme-1.2.1/creds/http/general/jboss_as_6_alt.yml000066400000000000000000000010501347447721000223760ustar00rootroot00000000000000auth: credentials: - password: admin username: admin csrf: javax.faces.ViewState post: login_form: login_form login_form:submit: Login password: login_form:password username: login_form:name sessionid: JSESSIONID success: body: - Logout status: 200 type: post url: - /admin-console/login.seam category: web contributor: ztgrace default_port: 8080 fingerprint: body: - Welcome to the JBoss AS 6 Admin Console status: 200 url: - /admin-console/login.seam name: JBoss AS 6 Alt ssl: false changeme-1.2.1/creds/http/general/jenkins.yml000066400000000000000000000005221347447721000211520ustar00rootroot00000000000000auth: credentials: - password: '' username: '' success: body: - Dashboard \[Jenkins\] status: 200 type: basic_auth url: - / category: web contributor: ztgrace default_port: 8080 fingerprint: body: - Dashboard \[Jenkins\] status: 200 url: - / name: Jenkins ssl: false changeme-1.2.1/creds/http/general/kanboard.yml000066400000000000000000000007561347447721000213030ustar00rootroot00000000000000auth: credentials: - password: admin username: admin csrf: csrf_token post: password: password remember_me: '1' username: username sessionid: KB_SID success: body: - Dashboard status: 200 type: post url: - /?controller=auth&action=check category: web contributor: ztgrace default_port: 80 fingerprint: body: - /?controller=auth&action=check status: 200 url: - /?controller=auth&action=login name: Kanboard ssl: false changeme-1.2.1/creds/http/general/makito_decoder.yml000066400000000000000000000010711347447721000224620ustar00rootroot00000000000000auth: credentials: - password: "%89%F0%01%8F%D0%01%80%F0%01%85%D0%01%83%F0%01%83%E0%01%84%F0%01" username: admin ref: http://media.extron.com/download/files/drivers/haiv_44_7036_3.pdf post: action: login md5encrypted: 'no' password: password username: username success: body: - '>LogoutMAKITO Login status: 200 url: - /cgi-bin/web.cgi name: Makito Decoder ssl: false changeme-1.2.1/creds/http/general/netbackup_opscenter_analytics.yml000066400000000000000000000010671347447721000256230ustar00rootroot00000000000000auth: credentials: - password: password username: admin csrf: post: domain: OpsCenterUsers(vx) password: password save: Log In username: userName sessionid: JSESSIONID success: body: - 'document.location.href="/opscenter/homeLandingAction.do"' status: 200 type: post url: - /opscenter/loadLogin.do category: web contributor: ztgrace default_port: 443 fingerprint: body: - Symantec NetBackup OpsCenter Analytics status: 200 url: - /opscenter/ name: NetBackup OpsCenter Analytics ssl: true changeme-1.2.1/creds/http/general/nexus_repository_manager.yml000066400000000000000000000007001347447721000246420ustar00rootroot00000000000000auth: credentials: - password: admin123 username: admin success: body: - true status: 200 type: basic_auth url: - /service/local/authentication/login - /nexus/service/local/authentication/login category: web contributor: ztgrace default_port: 8081 fingerprint: body: - Nexus Repository Manager status: 200 url: - / - /nexus/ name: Nexus Repository Manager ssl: false changeme-1.2.1/creds/http/general/nortel_integrated_call_director.yml000066400000000000000000000006621347447721000261150ustar00rootroot00000000000000auth: credentials: - password: admin username: admin post: password: password system: win32 username: login success: body: - status: 200 url: - /web/login default_port: 8069 name: Odoo ssl: false references: - https://github.com/odoo/odoo/blob/a06747c03d30b6b463655884b6875db6b9588003/addons/web/controllers/main.py#L468-L504 protocol: http changeme-1.2.1/creds/http/general/oracle_glassfish.yml000066400000000000000000000010621347447721000230210ustar00rootroot00000000000000auth: credentials: - password: admin username: admin - password: '' username: admin post: loginButton: Login loginButton.DisabledHiddenField: 'true' password: j_password username: j_username sessionid: JSESSIONID success: body: - Logout from GlassFish Administration Console status: 200 type: post url: - /j_security_check category: web contributor: ztgrace default_port: 4848 fingerprint: body: - Log In to GlassFish Administration Console status: 200 url: - / name: Oracle Glassfish ssl: true changeme-1.2.1/creds/http/general/sonarqube.yml000066400000000000000000000007761347447721000215230ustar00rootroot00000000000000auth: credentials: - password: admin username: admin post: password: password return_to_anchor: '' username: login success: body: - '' status: 200 type: post url: - /sessions/new?return_to=%2F headers: - Host: sonar.cx-build.plan.learnvest.net category: web contributor: ztgrace default_port: 80 fingerprint: body: - Welcome to SonarQube Dashboard status: 200 url: - / headers: - Host: sonar.cx-build.plan.learnvest.net name: SonarQube ssl: false changeme-1.2.1/creds/http/general/sonarqube_7.x.yml000066400000000000000000000006521347447721000222100ustar00rootroot00000000000000auth: credentials: - password: admin username: admin headers: - Accept: 'application/json' post: password: password username: login success: body: - '' status: 200 type: post url: - /api/authentication/login category: general contributor: ztgrace default_port: 80 fingerprint: body: - SonarQube status: 200 url: - /sessions/new name: SonarQube 7.x protocol: http ssl: false changeme-1.2.1/creds/http/general/supermicro.yml000066400000000000000000000007121347447721000217020ustar00rootroot00000000000000auth: credentials: - password: ADMIN username: ADMIN post: password: pwd username: name success: body: - 'self.location="../cgi/url_redirect.cgi\?url_name=mainmenu"; ' status: 200 type: post url: - /cgi/login.cgi category: web contributor: ztgrace default_port: 80 fingerprint: body: - '

' status: 200 url: - / name: Supermicro ssl: false changeme-1.2.1/creds/http/general/teamcity_9_guest.yml000066400000000000000000000006051347447721000227710ustar00rootroot00000000000000auth: credentials: - password: '' username: '' sessionid: TCSESSIONID success: body: - Projects — TeamCity status: 200 type: basic_auth url: - /guestLogin.html?guest=1 category: web contributor: ztgrace default_port: 80 fingerprint: body: - Log in to TeamCity status: 200 url: - /login.html name: TeamCity 9 Guest ssl: false changeme-1.2.1/creds/http/general/teleopti_wfm.yml000066400000000000000000000011421347447721000222060ustar00rootroot00000000000000auth: credentials: - raw: '{"granttype":"password","username":"admin@company.com","password":"admin"}' username: admin@company.com password: admin success: body: - '"AccessToken":"C1F2BF74658F78E6928A2E8A2426BE6360720989","UserName"' status: 200 type: raw_post url: - /TeleoptiWFM/Administration/Login headers: - Content-Type: application/json;charset=UTF-8 category: web contributor: Graph-X default_port: 80 fingerprint: body: - Teleopti WFM Administration status: 200 url: - /TeleoptiWFM/Administration/ name: Teleopti WFM ssl: false changeme-1.2.1/creds/http/general/ubiquiti_edgeos.yml000066400000000000000000000007351347447721000227000ustar00rootroot00000000000000auth: credentials: - username: ubnt password: ubnt post: username: username password: password sessionid: PHPSESSID success: body: - Please wait while the application loads status: 200 type: post url: - / headers: - Content-Type: application/x-www-form-urlencoded category: web contributor: Gijutsu fingerprint: body: - EdgeOS status: 200 url: - / name: Ubiquiti EdgeOS default_port: 443 ssl: true changeme-1.2.1/creds/http/general/video_web_server.yml000066400000000000000000000006231347447721000230440ustar00rootroot00000000000000auth: credentials: - password: admin username: admin post: Submit: Submit password: password username: username success: body: - title="Next Channel" status: 200 type: post url: - /home.htm category: webcam contributor: ztgrace default_port: 80 fingerprint: body: - '--- VIDEO WEB SERVER ---' status: 200 url: - / name: Video Web Server ssl: false changeme-1.2.1/creds/http/general/weblogic.yml000066400000000000000000000020311347447721000213010ustar00rootroot00000000000000auth: credentials: - username: system password: manager - username: weblogic password: weblogic1 - username: WEBLOGIC password: WEBLOGIC - username: PUBLIC password: PUBLIC - username: EXAMPLES password: EXAMPLES - username: weblogic password: weblogic - username: system password: password - username: weblogic password: welcome(1) - username: system password: welcome(1) - username: operator password: weblogic - username: operator password: password - username: system password: Passw0rd - username: monitor password: password post: username: j_username password: j_password j_character_encoding: UTF-8 sessionid: ADMINCONSOLESESSION success: body: - Logout status: 200 type: post url: - /console/j_security_check category: web contributor: AlessandroZ default_port: 7001 fingerprint: body: - Oracle WebLogic Server Administration Console status: 200 url: - /console/login/LoginForm.jsp name: Weblogic ssl: false changeme-1.2.1/creds/http/general/websphere.yml000066400000000000000000000007431347447721000215020ustar00rootroot00000000000000auth: credentials: - password: manager username: system post: password: j_password submit: Login username: j_username sessionid: JSESSIONID success: body: - Logout status: 200 type: post url: - /console/portal/Server/j_security_check category: web contributor: BuckyGoat default_port: 8080 fingerprint: body: - Administrative Console Login status: 200 url: - /console/portal/Server/Web%20Server name: WebSphere ssl: false changeme-1.2.1/creds/http/general/zabbix.yml000066400000000000000000000007021347447721000207700ustar00rootroot00000000000000auth: credentials: - password: zabbix username: Admin post: autologin: '1' enter: Sign in password: password request: '' username: name sessionid: zbx_sessionid success: body: - Logout status: 200 type: post url: - /zabbix/index.php category: web contributor: ztgrace default_port: 80 fingerprint: body: - by Zabbix SIA status: 200 url: - /zabbix/index.php name: Zabbix ssl: false changeme-1.2.1/creds/http/iot/000077500000000000000000000000001347447721000161455ustar00rootroot00000000000000changeme-1.2.1/creds/http/iot/heatmiser_wifi_thermostat.yml000066400000000000000000000007241347447721000241440ustar00rootroot00000000000000auth: credentials: - password: admin username: admin headers: - Content-Type: application/x-www-form-urlencoded post: password: lgpw username: lgnm success: body: - document.logfm.lgst.value status: 200 type: post url: - / category: iot contributor: ztgrace default_port: 80 fingerprint: body: - Heatmiser Wifi Thermostat status: 200 url: - / name: Heatmiser Wifi Thermostat protocol: http ssl: false changeme-1.2.1/creds/http/iot/proliphix_thermostat.yml000066400000000000000000000007321347447721000231620ustar00rootroot00000000000000auth: credentials: - password: admin username: admin headers: [] success: body: - Thermostat status: 200 type: basic_auth url: - /index.shtml category: iot contributor: ztgrace default_port: 8086 fingerprint: basic_auth_realm: tstat status: 401 url: - /index.shtml name: Proliphix Thermostat protocol: http ssl: false references: - http://www.proliphix.com/Collateral/Documents/English-US/Thermostat%20Installation%20Guide.pdf ��������������������������������������changeme-1.2.1/creds/http/phone/��������������������������������������������������������������������0000775�0000000�0000000�00000000000�13474477210�0016463�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/phone/polycom_vvx_500.yml�������������������������������������������������0000664�0000000�0000000�00000000630�13474477210�0022156�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: '123' username: User - password: '456' username: Admin success: body: - Polycom - VVX 500 Configuration Utility status: 200 type: basic_auth url: - /auth.htm category: phone contributor: ztgrace default_port: 80 fingerprint: body: - Polycom Web Configuration Utility status: 200 url: - /login.htm name: Polycom VVX 500 ssl: false ��������������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/printer/������������������������������������������������������������������0000775�0000000�0000000�00000000000�13474477210�0017035�5����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/printer/brother_hl_series.yml���������������������������������������������0000664�0000000�0000000�00000000656�13474477210�0023271�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: access username: admin success: body: - Administrator Settings status: 200 type: basic_auth url: - /admin/password.html category: printer contributor: ztgrace default_port: 80 fingerprint: basic_auth_realm: Printer Config body: - <TITLE>Brother HL-[0-9]+[A-Z]{2} series status: 401 url: - /admin/password.html name: Brother HL Series ssl: false changeme-1.2.1/creds/http/printer/canon_ir-adv.yml000066400000000000000000000010061347447721000221150ustar00rootroot00000000000000auth: credentials: - password: '7654321' username: '7654321' post: loginType: admin password: password password2: '' uri: /rps/ user_type_generic: '' username: deptid sessionid: sessionid success: body: -
status: 200 type: post url: - /login category: printer contributor: ztgrace default_port: 8000 fingerprint: body: - 'Default Authentication : iR-ADV' status: 200 url: - /rps/ name: Canon iR-ADV ssl: false ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/printer/hp_laserjet_600.yml�����������������������������������������������0000664�0000000�0000000�00000000634�13474477210�0022450�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: '' username: '' sessionid: sessionId success: body: - Password is not set. status: 200 type: basic_auth url: - /hp/device/GeneralSecurity/Index category: printer contributor: ztgrace default_port: 443 fingerprint: body: - id="HomeDeviceName">HP LaserJet status: 200 url: - /hp/device/GeneralSecurity/Index name: HP LaserJet 600 ssl: true ����������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/printer/hp_laserjet_no_password.yml���������������������������������������0000664�0000000�0000000�00000000676�13474477210�0024507�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: '' username: '' success: body: - <span id="Text8" class="hpPageText" >Not Configured</span></td> status: 200 type: basic_auth url: - /hp/device/this.LCDispatcher?nav=hp.Security category: printer contributor: ztgrace default_port: 443 fingerprint: body: - HP LaserJet status: 200 url: - /hp/device/this.LCDispatcher?nav=hp.Security name: HP LaserJet No Password ssl: true ������������������������������������������������������������������changeme-1.2.1/creds/http/printer/hp_laserjet_no_password_legacy.yml��������������������������������0000664�0000000�0000000�00000001112�13474477210�0026015�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: '' username: '' success: body: - A security password can be set to prevent unauthorized users status: 200 type: basic_auth url: - /hp/device/this.LCDispatcher?dispatch=html&cat=1&pos=3 - /hp/device/this.LCDispatcher?dispatch=html&cat=1&pos=4 category: printer contributor: ztgrace default_port: 443 fingerprint: body: - hp LaserJet status: 200 url: - /hp/device/this.LCDispatcher?dispatch=html&cat=1&pos=3 - /hp/device/this.LCDispatcher?dispatch=html&cat=1&pos=4 name: HP LaserJet No Password Legacy ssl: true ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������changeme-1.2.1/creds/http/printer/ricoh_mp.yml������������������������������������������������������0000664�0000000�0000000�00000001142�13474477210�0021356�0����������������������������������������������������������������������������������������������������ustar�00root����������������������������root����������������������������0000000�0000000������������������������������������������������������������������������������������������������������������������������������������������������������������������������auth: credentials: - password: '' username: supervisor post: open: '' password: password password_work: '' userid_work: '' username: userid wimToken: '995573576' sessionid: risessionid base64: true success: body: - Web Image Monitor status: 200 type: post url: - /web/guest/en/websys/webArch/login.cgi category: printer contributor: ztgrace default_port: 80 fingerprint: body: - title="Web Image Monitor" cookie: - cookieOnOffChecker: 'on' status: 200 url: - /web/guest/en/websys/webArch/authForm.cgi name: Ricoh MP ssl: false changeme-1.2.1/creds/http/printer/xerox_phaser_6700.yml000066400000000000000000000010761347447721000227470ustar00rootroot00000000000000auth: credentials: - password: '1111' username: admin post: NextPage: /properties/authentication/luidLogin.php _fun_function: HTTP_Authenticate_fn frmaltDomain: default password: webPassword username: webUsername sessionid: PHPSESSID success: body: - window.opener.top.location.pathname status: 200 type: post url: - /userpost/xerox.set category: printer contributor: ztgrace default_port: 80 fingerprint: body: - XEROX Phaser 6700 status: 200 url: - /header.php?tab=status name: XEROX Phaser 6700 ssl: false changeme-1.2.1/creds/http/printer/xerox_workcentre_5020_dn.yml000066400000000000000000000005331347447721000243200ustar00rootroot00000000000000auth: credentials: - password: '' username: '11111' success: body: - IP Filtering status: 200 type: basic_auth url: - /prscipfil.htm category: printer contributor: ztgrace default_port: 80 fingerprint: body: - Xerox WorkCentre 5020/DN status: 200 url: - /prop.htm name: Xerox WorkCentre 5020/DN ssl: false changeme-1.2.1/creds/http/webcam/000077500000000000000000000000001347447721000166105ustar00rootroot00000000000000changeme-1.2.1/creds/http/webcam/maygion_camera.yml000066400000000000000000000007751347447721000223170ustar00rootroot00000000000000auth: credentials: - password: admin username: admin get: password: password pwd: admin username: user usr: admin success: body: - 10Admin status: 200 type: get url: - /login.xml category: webcam contributor: ztgrace default_port: 81 fingerprint: body: - GetXml\("login.xml\?"\+param,OnLoginAckOK,OnLoginAckFail\); status: 200 url: - / name: MayGion Camera ssl: false changeme-1.2.1/creds/http/webcam/trendnet_internet_camera.yml000066400000000000000000000005751347447721000244050ustar00rootroot00000000000000auth: credentials: - password: admin username: admin success: body: - LIVE VIDEO status: 200 type: basic_auth url: - /eng/liveView.cgi category: webcam contributor: ztgrace default_port: 80 fingerprint: status: 401 url: - /eng/liveView.cgi server_header: dcs-lig-httpd name: TRENDnet Internet Camera ssl: false changeme-1.2.1/creds/mongodb/000077500000000000000000000000001347447721000160205ustar00rootroot00000000000000changeme-1.2.1/creds/mongodb/noauth.yml000066400000000000000000000002021347447721000200330ustar00rootroot00000000000000auth: credentials: - username: password: category: mongodb default_port: 27017 name: Mongodb noauth contributor: ztgrace changeme-1.2.1/creds/mssql/000077500000000000000000000000001347447721000155325ustar00rootroot00000000000000changeme-1.2.1/creds/mssql/aris.yml000066400000000000000000000005261347447721000172160ustar00rootroot00000000000000auth: credentials: - username: ARIS9 password: '*ARIS!1dm9n#' category: mssql default_port: 1433 name: Aris contributor: ztgrace references: - https://www.ariscommunity.com/system/files/ARIS%20Server%20Installation%20and%20Administration%20Guide_0_0.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/bosch_rps.yml000066400000000000000000000005061347447721000202400ustar00rootroot00000000000000auth: credentials: - username: sa password: RPSsql12345 category: mssql default_port: 1433 name: Bosch RPS contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://resource.boschsecurity.com/documents/RPS_InGuide_Installation_Manual_enUS_2596022155.pdf changeme-1.2.1/creds/mssql/cch.yml000066400000000000000000000004231347447721000170110ustar00rootroot00000000000000auth: credentials: - username: sa password: PracticeUser1 category: mssql default_port: 1433 name: CCH contributor: ztgrace references: - https://support.cch.com/kb/solution.aspx/sw29540 - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/easyWinArt.yml000066400000000000000000000005161347447721000203450ustar00rootroot00000000000000auth: credentials: - username: sa password: $easyWinArt4 category: mssql default_port: 1433 name: easyWinArt contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://www.auftragsbearbeitung-warenwirtschaft-pps.de/p/Handbuch/Installation/Installationsanleitung/ changeme-1.2.1/creds/mssql/emerson_ams.yml000066400000000000000000000004411347447721000205640ustar00rootroot00000000000000auth: credentials: - username: sa password: 42Emerson42Eme category: mssql default_port: 1433 name: Emerson AMS contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://www.emerson.com/documents/automation/39924.pdf changeme-1.2.1/creds/mssql/geonetwork.yml000066400000000000000000000005031347447721000204370ustar00rootroot00000000000000auth: credentials: - username: admin password: gnos category: mssql default_port: 1433 name: GeoNetwork contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://geonetwork-opensource.org/manuals/2.10.4/eng/users/quickstartguide/installing/index.html changeme-1.2.1/creds/mssql/i2b2_workbench.yml000066400000000000000000000012071347447721000210550ustar00rootroot00000000000000auth: credentials: - username: I2b2metadata password: i2b2metadata - username: I2b2demodata password: i2b2demodata - username: I2b2workdata password: i2b2workdata - username: I2b2metadata2 password: i2b2metadata2 - username: I2b2demodata2 password: i2b2demodata2 - username: I2b2workdata2 password: i2b2workdata2 - username: I2b2hive password: i2b2hive category: mssql default_port: 1433 name: i2b2 Workbench contributor: ztgrace references: - https://www.i2b2.org/software/projects/hivecore/Data_Installation_Guide_13.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/ibm_maximo.yml000066400000000000000000000007711347447721000204030ustar00rootroot00000000000000auth: credentials: - username: maxadmin password: maxadmin - username: mxintadm password: mxintadm - username: maxreg password: maxreg category: mssql default_port: 1433 name: IBM Maximo contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - https://www-01.ibm.com/support/docview.wss?uid=swg21645570 - https://www.ibm.com/support/knowledgecenter/en/SSLKT6_7.5.0/com.ibm.mam.doc/install_was/t_ccmdb_manconfigfoundinst.html changeme-1.2.1/creds/mssql/ibm_was.yml000066400000000000000000000005631347447721000177020ustar00rootroot00000000000000auth: credentials: - username: wasadmin password: wasadmin category: mssql default_port: 1433 name: IBM WAS contributor: ztgrace references: - https://www.ibm.com/support/knowledgecenter/en/SSQP76_8.7.0/com.ibm.odm.distrib.config.was/config_ds_res_was/tsk_was_before_res_config.html - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/ihs_kingdom.yml000066400000000000000000000004771347447721000205600ustar00rootroot00000000000000auth: credentials: - username: sa password: $ei$micMicro category: mssql default_port: 1433 name: IHS Kingdom contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://www.seismicmicro.com/productreleasedocumentation/kingdom/installationguide.pdf changeme-1.2.1/creds/mssql/lasa_aims.yml000066400000000000000000000005401347447721000202050ustar00rootroot00000000000000auth: credentials: - username: ADMIN password: AIMS - username: FB password: AIMS category: mssql default_port: 1433 name: Lasa AIMS contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://www.lasa.org.uk/uploads/aims/Installation_Guides/SQL_Server_Installation_Guide.pdf changeme-1.2.1/creds/mssql/lenel_onguard.yml000066400000000000000000000004361347447721000210760ustar00rootroot00000000000000auth: credentials: - username: LENEL password: MULTIMEDIA category: mssql default_port: 1433 name: Lenel OnGuard contributor: ztgrace references: - http://kb.lenel.com/cd/12/articlesImport/1098.PDF - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/mediaportal.yml000066400000000000000000000004631347447721000205610ustar00rootroot00000000000000auth: credentials: - username: sa password: M3d!aP0rtal category: mssql default_port: 1433 name: MediaPortal contributor: ztgrace references: - https://www.team-mediaportal.com/wiki/display/MediaPortal1/SQL+Server+2008 - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/medocheck.yml000066400000000000000000000005131347447721000201760ustar00rootroot00000000000000auth: credentials: - username: mcUser password: medocheck123 category: mssql default_port: 1433 name: medo.check contributor: ztgrace references: - http://www.medocheck.com/site/assets/files/1440/kurzanleitung_mysql-server_fuer_medo_check.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/micro_focus_silk_central.yml000066400000000000000000000005741347447721000233250ustar00rootroot00000000000000auth: credentials: - username: sa password: SilkCentral12!34 category: mssql default_port: 1433 name: Micro Focus Silk Central contributor: ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://documentation.microfocus.com/help/index.jsp?topic=%2Fcom.microfocus.sctm.doc%2FSCTM-CBA0F2AF-DATABASESETTINGSPAGE-REF.html changeme-1.2.1/creds/mssql/mssql.yml000066400000000000000000000007721347447721000174220ustar00rootroot00000000000000auth: credentials: - username: sa password: '' - username: sa password: sa - username: sa password: Password123 - username: sa password: password - username: ADONI password: BPMS ref: https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - username: sa password: sqlserver category: mssql default_port: 1433 name: MSSQL contributor: AlessandroZ, ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/napco_continental_access.yml000066400000000000000000000007701347447721000233000ustar00rootroot00000000000000auth: credentials: - username: sa password: cic - username: cic password: cic - username: sa password: cic!23456789 - username: cic password: cic!23456789 - username: sa password: Cic!23456789 - username: cic password: Cic!23456789 category: mssql default_port: 1433 name: Napco Continental Access contributor: ztgrace references: - http://www.napcosecurity.com/download/tg04L2RevB.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/netxms.yml000066400000000000000000000004301347447721000175700ustar00rootroot00000000000000auth: credentials: - username: admin password: netxms category: mssql default_port: 1433 name: NetXMS contributor: ztgrace references: - https://wiki.netxms.org/wiki/Server_Installation_Guide - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/opengts.yml000066400000000000000000000004231347447721000177330ustar00rootroot00000000000000auth: credentials: - username: gts password: opengts category: mssql default_port: 1433 name: OpenGTS contributor: ztgrace references: - http://opengts.sourceforge.net/OpenGTS_Config.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/safenet_sentinel_ems.yml000066400000000000000000000005411347447721000224470ustar00rootroot00000000000000auth: credentials: - username: sa password: DBA!sa@EMSDB123 category: mssql default_port: 1433 name: SafeNet Sentinel EMS contributor: ztgrace references: - http://sentinelldk.safenet-inc.com/LDKdocs/Install/Installation%20Guide/Troubleshooting/Troubleshooting.htm - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/schlage_sms.yml000066400000000000000000000010011347447721000205350ustar00rootroot00000000000000auth: credentials: - username: sa password: SECAdmin1 - username: SMSAdmin password: SECAdmin1 category: mssql default_port: 1433 name: Schlage SMS contributor: ztgrace references: - http://protechsecurity.us/wp-content/uploads/2013/12/IR-Schlage-Security-Management-System-V5.3.pdf - http://us.allegion.com/content/dam/allegion-us-2/web-documents-2/UserGuide/Schlage_Campus_Lock_Keycard_Center_User_Guide_108225.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/skf.yml000066400000000000000000000004741347447721000170450ustar00rootroot00000000000000auth: credentials: - username: sa password: skf_admin1 category: mssql default_port: 1433 name: SKF @ptitude Analyst contributor: AlessandroZ, ztgrace references: - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt - http://www.skf.com/binary/79-267781/AA_2013_323124d0_IM-EN.pdf changeme-1.2.1/creds/mssql/splendidcrm.yml000066400000000000000000000005121347447721000205570ustar00rootroot00000000000000auth: credentials: - username: sa password: splendidcrm2005 category: mssql default_port: 1433 name: SplendidCRM contributor: ztgrace references: - http://www.splendidcrm.com/Documentation/tabid/233/rvdwktid/deployment-guide-528/Default.aspx - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/telestream_vantage.yml000066400000000000000000000004661347447721000221350ustar00rootroot00000000000000auth: credentials: - username: sa password: vantage12! category: mssql default_port: 1433 name: Telestream Vantage contributor: ztgrace references: - https://www.telestream.net/pdfs/app-notes/app_Vantage_DatabaseSetup.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/timeforce.yml000066400000000000000000000005741347447721000202400ustar00rootroot00000000000000auth: credentials: - username: sa password: Dr8gedog - username: sa password: dr8gedog category: mssql default_port: 1433 name: TimeForce contributor: ztgrace references: - https://www.mytimeforce.com/images/videos/support/training/kb/docs/internal/support/time/TIMEFORCE1Migration.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/utc.yml000066400000000000000000000005351347447721000170530ustar00rootroot00000000000000auth: credentials: - username: sa password: SecurityMaster08 category: mssql default_port: 1433 name: UTC FCWnx contributor: ztgrace references: - http://www.bernationalcontrols.com/support_docs/Access/Lenel/Facility%20Commander%20Wnx%207.7%20User%20Manual.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/video_insight.yml000066400000000000000000000004511347447721000211100ustar00rootroot00000000000000auth: credentials: - username: sa password: V4in$ight category: mssql default_port: 1433 name: Video Insight contributor: ztgrace references: - http://www.video-insight.com/kb/pdf.php?cat=15&id=111&artlang=en - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/welchallyn.yml000066400000000000000000000005371347447721000204240ustar00rootroot00000000000000auth: credentials: - username: sa password: Cardio.Perfect category: mssql default_port: 1433 name: WelchAllyn CardioPerfect contributor: ztgrace references: - https://www.welchallyn.com/content/dam/welchallyn/documents/sap-documents/LIT/80013/80013928LITPDF.pdf - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mssql/wonderware_historian.yml000066400000000000000000000011171347447721000225120ustar00rootroot00000000000000auth: credentials: - username: aaAdmin password: pwAdmin - username: aaPower password: pwPower - username: aaUser password: pwUser - username: aadbo password: pwddbo - username: wwUser password: wwUser - username: wwPower password: wwPower - username: wwAdmin password: wwAdmin - username: wwdbo password: wwdbo category: mssql default_port: 1433 name: Wonderware Historian contributor: ztgrace references: - http://platforma.astor.com.pl/files/getfile/id/3781 - https://github.com/govolution/betterdefaultpasslist/blob/master/mssql.txt changeme-1.2.1/creds/mysql/000077500000000000000000000000001347447721000155405ustar00rootroot00000000000000changeme-1.2.1/creds/mysql/mysql.yml000066400000000000000000000001751347447721000174330ustar00rootroot00000000000000auth: credentials: - username: root password: root category: ssh default_port: 3306 name: MySQL contributor: ztgrace changeme-1.2.1/creds/postgres/000077500000000000000000000000001347447721000162415ustar00rootroot00000000000000changeme-1.2.1/creds/postgres/ambari.yml000066400000000000000000000003661347447721000202240ustar00rootroot00000000000000auth: credentials: - username: ambari password: bigdata category: postgres default_port: 5432 name: postgres contributor: ztgrace ref: https://discuss.pivotal.io/hc/en-us/articles/217649658-How-to-connect-to-Ambari-s-PostgreSQL-database- changeme-1.2.1/creds/postgres/msf.yml000066400000000000000000000002521347447721000175500ustar00rootroot00000000000000auth: credentials: - username: msf password: msf - username: msfdev password: msfdev category: ssh default_port: 5432 name: metasploit contributor: ztgrace changeme-1.2.1/creds/postgres/postgres.yml000066400000000000000000000002151347447721000206300ustar00rootroot00000000000000auth: credentials: - username: postgres password: postgres category: postgres default_port: 5432 name: postgres contributor: ztgrace changeme-1.2.1/creds/redis/000077500000000000000000000000001347447721000155015ustar00rootroot00000000000000changeme-1.2.1/creds/redis/redis.yml000066400000000000000000000001661347447721000173350ustar00rootroot00000000000000auth: credentials: - username: password: category: redis default_port: 6379 name: Redis contributor: ztgrace changeme-1.2.1/creds/snmp/000077500000000000000000000000001347447721000153505ustar00rootroot00000000000000changeme-1.2.1/creds/snmp/apc.yml000066400000000000000000000003151347447721000166350ustar00rootroot00000000000000auth: credentials: - username: password: TENmanUFactOryPOWER category: snmp default_port: 161 name: APC SmartSlot contributor: ztgrace references: - http://www.securityfocus.com/archive/1/354230 changeme-1.2.1/creds/snmp/cisco_guard.yml000066400000000000000000000003461347447721000203600ustar00rootroot00000000000000auth: credentials: - username: password: riverhead category: snmp default_port: 161 name: Cisco Guard contributor: ztgrace references: - https://www.cisco.com/en/US/products/ps5888/prod_release_note09186a0080237333.html changeme-1.2.1/creds/snmp/common.yml000066400000000000000000000105051347447721000173640ustar00rootroot00000000000000auth: credentials: - username: password: 0 - username: password: 0392a0 - username: password: 1234 - username: password: 2read - username: password: 4changes - username: password: access - username: password: adm - username: password: admin - username: password: Admin - username: password: agent - username: password: agent_steal - username: password: all - username: password: all - username: password: private - username: password: all - username: password: ANYCOM - username: password: apc - username: password: bintec - username: password: blue - username: password: c - username: password: C0de - username: password: cable-d - username: password: canon_admin - username: password: cc - username: password: cisco - username: password: CISCO - username: password: community - username: password: core - username: password: CR52401 - username: password: debug - username: password: default - username: password: dilbert - username: password: enable - username: password: field - username: password: field-service - username: password: freekevin - username: password: fubar - username: password: guest - username: password: hello - username: password: hp_admin - username: password: ibm - username: password: IBM - username: password: ilmi - username: password: ILMI - username: password: intermec - username: password: Intermec - username: password: internal - username: password: l2 - username: password: l3 - username: password: manager - username: password: mngt - username: password: monitor - username: password: netman - username: password: network - username: password: NoGaH$@! - username: password: none - username: password: openview - username: password: OrigEquipMfr - username: password: pass - username: password: password - username: password: pr1v4t3 - username: password: Private - username: password: PRIVATE - username: password: proxy - username: password: publ1c - username: password: public - username: password: Public - username: password: PUBLIC - username: password: read - username: password: read-only - username: password: readwrite - username: password: read-write - username: password: red - username: password: regional - username: password: rmon - username: password: rmon_admin - username: password: ro - username: password: root - username: password: router - username: password: rw - username: password: rwa - username: password: s!a@m#n$p%c - username: password: sanfran - username: password: san-fran - username: password: scotty - username: password: secret - username: password: Secret - username: password: SECRET - username: password: security - username: password: Security - username: password: SECURITY - username: password: seri - username: password: snmp - username: password: SNMP - username: password: snmpd - username: password: snmptrap - username: password: SNMP_trap - username: password: solaris - username: password: sun - username: password: SUN - username: password: superuser - username: password: switch - username: password: Switch - username: password: SWITCH - username: password: system - username: password: System - username: password: SYSTEM - username: password: tech - username: password: test - username: password: TEST - username: password: test2 - username: password: tiv0li - username: password: tivoli - username: password: trap - username: password: world - username: password: write - username: password: xyzzy - username: password: yellow category: snmp default_port: 161 name: SNMP contributor: ztgrace references: - https://github.com/danielmiessler/SecLists/blob/master/Miscellaneous/wordlist-common-snmp-community-strings.txt - https://github.com/rapid7/metasploit-framework/blob/master/data/wordlists/snmp_default_pass.txt changeme-1.2.1/creds/snmp/public_private.yml000066400000000000000000000002461347447721000211050ustar00rootroot00000000000000auth: credentials: - username: password: public - username: password: private category: snmp default_port: 161 name: publicprivate contributor: ztgrace changeme-1.2.1/creds/ssh/000077500000000000000000000000001347447721000151705ustar00rootroot00000000000000changeme-1.2.1/creds/ssh/Modern_IE.yml000066400000000000000000000003131347447721000175110ustar00rootroot00000000000000auth: credentials: - username: IEUser password: D@rj33l1ng category: ssh default_port: 22 name: modern.ie contributor: ztgrace references: - https://twitter.com/0rbz_/status/914171719652401152 changeme-1.2.1/creds/ssh/antsle.yml000066400000000000000000000002601347447721000171770ustar00rootroot00000000000000auth: credentials: - username: root password: antsle category: ssh default_port: 22 name: antsle contributor: ztgrace references: - http://docs.antsle.com/defaultpw/ changeme-1.2.1/creds/ssh/apple_jailbroken_device.yml000066400000000000000000000004301347447721000225300ustar00rootroot00000000000000auth: credentials: - username: root password: alpine - username: root password: dottie category: ssh default_port: 22 name: Apple Jailbroken Device contributor: ztgrace references: - https://www.cultofmac.com/20871/how-to-change-your-iphones-default-ssh-password/ changeme-1.2.1/creds/ssh/att_arris.yml000066400000000000000000000003411347447721000177010ustar00rootroot00000000000000auth: credentials: - username: remotessh password: 5SaP9I26 category: ssh default_port: 22 name: AT&T Arris NVG589 & NVG599 (SharknAT&To) contributor: ztgrace references: - https://www.nomotion.net/blog/sharknatto/ changeme-1.2.1/creds/ssh/cisco.yml000066400000000000000000000003561347447721000170170ustar00rootroot00000000000000auth: credentials: - username: cisco password: cisco - username: pix password: cisco category: ssh default_port: 22 name: Cisco contributor: ztgrace references: - https://www.tunnelsup.com/default-password-cisco-firewall/ changeme-1.2.1/creds/ssh/cisco_aironet.yml000066400000000000000000000003571347447721000205410ustar00rootroot00000000000000auth: credentials: - username: Cisco password: Cisco category: ssh default_port: 22 name: Cisco Aironet contributor: ztgrace references: - https://www.cisco.com/c/en/us/td/docs/wireless/access_point/1300/quick/guide/br13qsg.html changeme-1.2.1/creds/ssh/hipchat.yml000066400000000000000000000004251347447721000173340ustar00rootroot00000000000000auth: credentials: - username: admin password: hipchat category: ssh default_port: 22 name: HipChat Server contributor: ztgrace references: - https://confluence.atlassian.com/hipchatkb/how-to-change-the-username-and-the-ssh-password-for-the-admin-user-875608217.html changeme-1.2.1/creds/ssh/ibm_storwize_v7000.yml000066400000000000000000000006131347447721000212640ustar00rootroot00000000000000auth: credentials: - username: admin password: admin0001 - username: superuser password: passw0rd - username: root password: Passw0rd category: ssh default_port: 22 name: IBM Storwize V7000 Unified contributor: ztgrace references: - https://www.ibm.com/support/knowledgecenter/ST5Q4U_1.6.2/com.ibm.storwize.v7000.unified.162.doc/ifs_132_changedefaultpasswords11142011.html changeme-1.2.1/creds/ssh/iot.yml000066400000000000000000000005331347447721000165070ustar00rootroot00000000000000auth: credentials: - username: root password: 7ujMko0admin ref: http://www.cctvforum.com/viewtopic.php?t=44381 - username: nasadmin password: nasadmin ref: https://community.emc.com/thread/123122?start=0&tstart=0 - username: root password: ascend ref: category: ssh default_port: 22 name: ssh contributor: ztgrace changeme-1.2.1/creds/ssh/netscreen.yml000066400000000000000000000004151347447721000177010ustar00rootroot00000000000000auth: credentials: - username: netscreen password: "<<< %s(un='%s') = %u" category: ssh default_port: 22 name: Juniper ScreenOS/Netscreen contributor: ztgrace references: - https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10713&cat=SIRT_1&actp=LIST changeme-1.2.1/creds/ssh/raspberry_pi.yml000066400000000000000000000002051347447721000204110ustar00rootroot00000000000000auth: credentials: - username: pi password: raspberry category: ssh default_port: 22 name: Raspberry Pi contributor: ztgrace changeme-1.2.1/creds/ssh/ssh.yml000066400000000000000000000004051347447721000165070ustar00rootroot00000000000000auth: credentials: - username: root password: password - username: root password: root - username: admin password: password - username: admin password: admin category: ssh default_port: 22 name: ssh contributor: AlessandroZ, Joe Testa changeme-1.2.1/creds/ssh_key/000077500000000000000000000000001347447721000160405ustar00rootroot00000000000000changeme-1.2.1/creds/ssh_key/array_networks_vxag.yml000066400000000000000000000020321347447721000226570ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN DSA PRIVATE KEY----- MIIBugIBAAKBgQCUw7F/vKJT2Xsq+fIPVxNC/Dyk+dN9DWQT5RO56eIQasd+h6Fm q1qtQrJ/DOe3VjfUrSm7NN5NoIGOrGCSuQFthFmq+9Lpt6WIykB4mau5iE5orbKM xTfyu8LtntoikYKrlMB+UrmKDidvZ+7oWiC14imT+Px/3Q7naj0UmOrSTwIVAO25 Yf3SYNtTYv8yzaV+X9yNr/AfAoGADAcEh2bdsrDhwhXtVi1L3cFQx1KpN0B07JLr gJzJcDLUrwmlMUmrXR2obDGfVQh46EFMeo/k3IESw2zJUS58FJW+sKZ4noSwRZPq mpBnERKpLOTcWMxUyV8ETsz+9oz71YEMjmR1qvNYAopXf5Yy+4Zq3bgqmMMQyM+K O1PdlCkCgYBmhSl9CVPgVMv1xO8DAHVhM1huIIK8mNFrzMJz+JXzBx81ms1kWSeQ OC/nraaXFTBlqiQsvB8tzr4xZdbaI/QzVLKNAF5C8BJ4ScNlTIx1aZJwyMil8Nzb +0YAsw5Ja+bEZZvEVlAYnd10qRWrPeEY1txLMmX3wDa+JvJL7fmuBgIUZoXsJnzs +sqSEhA35Le2kC4Y1/A= -----END DSA PRIVATE KEY----- ' username: sync category: ssh contributor: ztgrace, hdmoore default_port: 22 name: Array Networks vxAG references: - https://packetstormsecurity.com/files/125761/Array-Networks-vxAG-xAPV-Privilege-Escalation.html - https://github.com/rapid7/ssh-badkeys changeme-1.2.1/creds/ssh_key/barracuda_load_balancer.yml000066400000000000000000000017701347447721000233420ustar00rootroot00000000000000auth: credentials: - password: '----BEGIN DSA PRIVATE KEY----- MIIBuwIBAAKBgQDKuRHCBXXwoyWpMkJz/wQafaHOpqWmVYLn9GZ6eQuNLcIhtZQE kCWZTNajgf4ZAVmHgQh1JHDixJ1V0mcweti/lvyxiqHap7IkD0a+ewAOoz3OpjQZ 3ox2ovHEnQJfZ/9LNiEI3XK8TPAj6trhMn5tCdwFei6228a+TYBOccTPgwIVAKYW T8ztHHaN7Gwn0I6keQfBSNw1AoGAHYNfKAcqf7Y4wyoVoZpr/h21SETpEaksQb7h GRJnFpYN/JiyE9W8nX6UqLv1eKyOXLccAnyda0a+uqcOhsAq8+H15slZYa4+065L ckPfs0V4cpxeMHTT1hK4TR2/LRpUjhYjgXFE5aLl91f5Gug5HemUK2S0BWh/oI38 k2WfNh0CgYEArsJgp7RLPOsCeLqoia/eljseBFVDazO5Q0ysUotTw9wgXGGVWREw m8wNggFNb9eCiBAAUfVZVfhVAtFT0pBf/eIVLPXyaMw3prBt7LqeBrbagODc3WAA dMTPIdYYcOKgv+YvTXa51zG64v6pQOfS8WXgKCzDl44puXfYeDk5lVQCFAPfgalL +FT93tofXMuNVfeQMLJl -----END DSA PRIVATE KEY----- ' username: cluster category: ssh contributor: ztgrace, hdmoore default_port: 8002 name: Barracuda Load Balancer ADC VM references: - http://seclists.org/fulldisclosure/2015/Jan/76 - https://github.com/rapid7/ssh-badkeys changeme-1.2.1/creds/ssh_key/ceragon-fibeair.yml000066400000000000000000000023451347447721000216040ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN RSA PRIVATE KEY----- MIICWwIBAAKBgQDBEh0OUdoiplc0P+XW8VPu57etz8O9eHbLHkQW27EZBEdXEYxr MOFXi+PkA0ZcNDBRgjSJmHpo5WsPLwj/L3/L5gMYK+yeqsNu48ONbbqzZsFdaBQ+ IL3dPdMDovYo7GFVyXuaWMQ4hgAJEc+kk1hUaGKcLENQf0vEyt01eA/k6QIBIwKB gQCwhZbohVm5R6AvxWRsv2KuiraQSO16B70ResHpA2AW31crCLrlqQiKjoc23mw3 CyTcztDy1I0stH8j0zts+DpSbYZnWKSb5hxhl/w96yNYPUJaTatgcPB46xOBDsgv 4Lf4GGt3gsQFvuTUArIf6MCJiUn4AQA9Q96QyCH/g4mdiwJBAPHdYgTDiQcpUAbY SanIpq7XFeKXBPgRbAN57fTwzWVDyFHwvVUrpqc+SSwfzhsaNpE3IpLD9RqOyEr6 B8YrC2UCQQDMWrUeNQsf6xQer2AKw2Q06bTAicetJWz5O8CF2mcpVFYc1VJMkiuV 93gCvQORq4dpApJYZxhigY4k/f46BlU1AkAbpEW3Zs3U7sdRPUo/SiGtlOyO7LAc WcMzmOf+vG8+xesCDOJwIj7uisaIsy1/cLXHdAPzhBwDCQDyoDtnGty7AkEAnaUP YHIP5Ww0F6vcYBMSybuaEN9Q5KfXuPOUhIPpLoLjWBJGzVrRKou0WeJElPIJX6Ll 7GzJqxN8SGwqhIiK3wJAOQ2Hm068EicG5WQoS+8+KIE/SVHWmFDvet+f1vgDchvT uPa5zx2eZ2rxP1pXHAdBSgh799hCF60eZZtlWnNqLg== -----END RSA PRIVATE KEY----- ' username: mateidu category: ssh contributor: ztgrace, hdmoore default_port: 22 name: Ceragon FibeAir IP-10 references: - https://gist.github.com/todb-r7/5d86ecc8118f9eeecc15 - https://github.com/rapid7/ssh-badkeys/ changeme-1.2.1/creds/ssh_key/exagrid.yml000066400000000000000000000023451347447721000202120ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN RSA PRIVATE KEY----- MIICWAIBAAKBgGdlD7qeGU9f8mdfmLmFemWMnz1tKeeuxKznWFI+6gkaagqjAF10 hIruzXQAik7TEBYZyvw9SvYU6MQFsMeqVHGhcXQ5yaz3G/eqX0RhRDn5T4zoHKZa E1MU86zqAUdSXwHDe3pz5JEoGl9EUHTLMGP13T3eBJ19MAWjP7Iuji9HAgElAoGA GSZrnBieX2pdjsQ55/AJA/HF3oJWTRysYWi0nmJUmm41eDV8oRxXl2qFAIqCgeBQ BWA4SzGA77/ll3cBfKzkG1Q3OiVG/YJPOYLp7127zh337hhHZyzTiSjMPFVcanrg AciYw3X0z2GP9ymWGOnIbOsucdhnbHPuSORASPOUOn0CQQC07Acq53rf3iQIkJ9Y iYZd6xnZeZugaX51gQzKgN1QJ1y2sfTfLV6AwsPnieo7+vw2yk+Hl1i5uG9+XkTs Ry45AkEAkk0MPL5YxqLKwH6wh2FHytr1jmENOkQu97k2TsuX0CzzDQApIY/eFkCj QAgkI282MRsaTosxkYeG7ErsA5BJfwJAMOXYbHXp26PSYy4BjYzz4ggwf/dafmGz ebQs+HXa8xGOreroPFFzfL8Eg8Ro0fDOi1lF7Ut/w330nrGxw1GCHQJAYtodBnLG XLMvDHFG2AN1spPyBkGTUOH2OK2TZawoTmOPd3ymK28LriuskwxrceNb96qHZYCk 86DC8q8p2OTzYwJANXzRM0SGTqSDMnnid7PGlivaQqfpPOx8MiFR/cGr2dT1HD7y x6f/85mMeTqamSxjTJqALHeKPYWyzeSnUrp+Eg== -----END RSA PRIVATE KEY----- ' username: root category: ssh contributor: ztgrace default_port: 22 name: Exagrid references: - https://community.rapid7.com/community/infosec/blog/2016/04/07/r7-2016-04-exagrid-backdoor-ssh-keys-and-hardcoded-credentials changeme-1.2.1/creds/ssh_key/f5_big-ip.yml000066400000000000000000000023741347447721000203320ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN RSA PRIVATE KEY----- MIICWgIBAAKBgQC8iELmyRPPHIeJ//uLLfKHG4rr84HXeGM+quySiCRgWtxbw4rh UlP7n4XHvB3ixAKdWfys2pqHD/Hqx9w4wMj9e+fjIpTi3xOdh/YylRWvid3Pf0vk OzWftKLWbay5Q3FZsq/nwjz40yGW3YhOtpK5NTQ0bKZY5zz4s2L4wdd0uQIBIwKB gBWL6mOEsc6G6uszMrDSDRbBUbSQ26OYuuKXMPrNuwOynNdJjDcCGDoDmkK2adDF 8auVQXLXJ5poOOeh0AZ8br2vnk3hZd9mnF+uyDB3PO/tqpXOrpzSyuITy5LJZBBv 7r7kqhyBs0vuSdL/D+i1DHYf0nv2Ps4aspoBVumuQid7AkEA+tD3RDashPmoQJvM 2oWS7PO6ljUVXszuhHdUOaFtx60ZOg0OVwnh+NBbbszGpsOwwEE+OqrKMTZjYg3s 37+x/wJBAMBtwmoi05hBsA4Cvac66T1Vdhie8qf5dwL2PdHfu6hbOifSX/xSPnVL RTbwU9+h/t6BOYdWA0xr0cWcjy1U6UcCQQDBfKF9w8bqPO+CTE2SoY6ZiNHEVNX4 rLf/ycShfIfjLcMA5YAXQiNZisow5xznC/1hHGM0kmF2a8kCf8VcJio5AkBi9p5/ uiOtY5xe+hhkofRLbce05AfEGeVvPM9V/gi8+7eCMa209xjOm70yMnRHIBys8gBU Ot0f/O+KM0JR0+WvAkAskPvTXevY5wkp5mYXMBlUqEd7R3vGBV/qp4BldW5l0N4G LesWvIh6+moTbFuPRoQnGO2P6D7Q5sPPqgqyefZS -----END RSA PRIVATE KEY----- ' username: root category: ssh contributor: ztgrace default_port: 22 name: F5 BIG-IP references: - https://www.trustmatta.com/advisories/MATTA-2012-002.txt - https://www.trustedsec.com/june-2012/remote-root-authentication-bypass-for-f5-big-ip/ changeme-1.2.1/creds/ssh_key/loadbalancer.org_enterprise_va.yml000066400000000000000000000020531347447721000247060ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN DSA PRIVATE KEY----- MIIBugIBAAKBgQCsCgcOw+DgNR/7g+IbXYdOEwSB3W0o3l1Ep1ibHHvAtLb6AdNW Gq47/UxY/rX3g2FVrVCtQwNSZMqkrqALQwDScxeCOiLMndCj61t3RxU3IOl5c/Hd yhGh6JGPdzTpgf8VhJIZnvG+0NFNomYntqYFm0y11dBQPpYbJE7Tx1t/lQIVANHJ rJSVVkpcTB4XdtR7TfO317xVAoGABDytZN2OhKwGyJfenZ1Ap2Y7lkO8V8tOtqX+ t0LkViOi2ErHJt39aRJJ1lDRa/3q0NNqZH4tnj/bh5dUyNapflJiV94N3637LCzW cFlwFtJvD22Nx2UrPn+YXrzN7mt9qZyg5m0NlqbyjcsnCh4vNYUiNeMTHHW5SaJY TeYmPP8CgYAjEe5+0m/TlBtVkqQbUit+s/g+eB+PFQ+raaQdL1uztW3etntXAPH1 MjxsAC/vthWYSTYXORkDFMhrO5ssE2rfg9io0NDyTIZt+VRQMGdi++dH8ptU+ldl 2ZejLFdTJFwFgcfXz+iQ1mx6h9TPX1crE1KoMAVOj3yKVfKpLB1EkAIUCsG3dIJH SzmJVCWFyVuuANR2Bnc= -----END DSA PRIVATE KEY----- ' username: root category: ssh contributor: ztgrace, hdmoore default_port: 22 name: Loadbalancer.org Enterprise VA references: - http://packetstormsecurity.com/files/125754/Loadbalancer.org-Enterprise-VA-7.5.2-Static-SSH-Key.html - https://github.com/rapid7/ssh-badkeys/ changeme-1.2.1/creds/ssh_key/monroe_electronics_r189.yml000066400000000000000000000017571347447721000232510ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN DSA PRIVATE KEY----- MIIBuwIBAAKBgQDdwCE68iTEMjimYwJMvpkP/KThyJbuKvKc5kdKqLSmi5tssnuW tD2NqzmkEQM4uxD4XgV26k2/GvE6x4RlyOT+xlB2iYaOR4RJ8PuU8ALz+9i+y3D8 MTMY/6y3Ef41frizLFXiVVo8CXFL/N8sz16FYytIayJvkSy3rkzPoE8pRwIVAPmA F1excCJPPVq3MyDfEMUXXOWjAoGAJS8ukwjJTgTNCHD7Lz//WxIw49DPGGWs3are GpjtiGjVD2Lff7CLCzkH8SI/JsgytUzqfDckSXqe1eWiAhuH90Pl5LZZi83Vp97I 721riAF3taKYxtk+vWIcXx2a/Fp+z+LaQoMqjOLh5lCq35wc0EPb5FFFrGaFFzNm e71F1X0CgYAU6eNlphQWDwx0KOBiiYhF9BM6kDbQlyw8333rAG3G4CcjI2G8eYGt pBNliaD185UjCEsjPiudhGil/j4Zt/+VY3aGOLoi8kqXBBc8ZAML9bbkXpyhQhMg wiywx3ciFmvSn2UAin8yurStYPQxtXauZN5PYbdwCHPS7ApIStdpMAIVAJ+eePIA Azb0ux287wRfcfdbjlDM -----END DSA PRIVATE KEY----- ' username: root category: ssh contributor: ztgrace, hdmoore default_port: 22 name: Monroe Electronics R189 One-Net references: - https://www.kb.cert.org/vuls/id/662676 - https://github.com/rapid7/ssh-badkeys/ changeme-1.2.1/creds/ssh_key/quantum-dxi-v1000.yml000066400000000000000000000017671347447721000216160ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN DSA PRIVATE KEY----- MIIBugIBAAKBgQCEgBNwgF+IbMU8NHUXNIMfJ0ONa91ZI/TphuixnilkZqcuwur2 hMbrqY8Yne+n3eGkuepQlBBKEZSd8xPd6qCvWnCOhBqhkBS7g2dH6jMkUl/opX/t Rw6P00crq2oIMafR4/SzKWVW6RQEzJtPnfV7O3i5miY7jLKMDZTn/DRXRwIVALB2 +o4CRHpCG6IBqlD/2JW5HRQBAoGAaSzKOHYUnlpAoX7+ufViz37cUa1/x0fGDA/4 6mt0eD7FTNoOnUNdfdZx7oLXVe7mjHjqjif0EVnmDPlGME9GYMdi6r4FUozQ33Y5 PmUWPMd0phMRYutpihaExkjgl33AH7mp42qBfrHqZ2oi1HfkqCUoRmB6KkdkFosr E0apJ5cCgYBLEgYmr9XCSqjENFDVQPFELYKT7Zs9J87PjPS1AP0qF1OoRGZ5mefK 6X/6VivPAUWmmmev/BuAs8M1HtfGeGGzMzDIiU/WZQ3bScLB1Ykrcjk7TOFD6xrn k/inYAp5l29hjidoAONcXoHmUAMYOKqn63Q2AsDpExVcmfj99/BlpQIUYS6Hs70u B3Upsx556K/iZPPnJZE= -----END DSA PRIVATE KEY----- ' username: root category: ssh contributor: ztgrace, hdmoore default_port: 22 name: Quantum DXi V1000 references: - https://packetstormsecurity.com/files/125755/quantum-root.txt - https://github.com/rapid7/ssh-badkeys/ changeme-1.2.1/creds/ssh_key/vagrant.yml000066400000000000000000000040421347447721000202250ustar00rootroot00000000000000auth: credentials: - password: '-----BEGIN RSA PRIVATE KEY----- MIIEogIBAAKCAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzI w+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoP kcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2 hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NO Td0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcW yLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQIBIwKCAQEA4iqWPJXtzZA68mKd ELs4jJsdyky+ewdZeNds5tjcnHU5zUYE25K+ffJED9qUWICcLZDc81TGWjHyAqD1 Bw7XpgUwFgeUJwUlzQurAv+/ySnxiwuaGJfhFM1CaQHzfXphgVml+fZUvnJUTvzf TK2Lg6EdbUE9TarUlBf/xPfuEhMSlIE5keb/Zz3/LUlRg8yDqz5w+QWVJ4utnKnK iqwZN0mwpwU7YSyJhlT4YV1F3n4YjLswM5wJs2oqm0jssQu/BT0tyEXNDYBLEF4A sClaWuSJ2kjq7KhrrYXzagqhnSei9ODYFShJu8UWVec3Ihb5ZXlzO6vdNQ1J9Xsf 4m+2ywKBgQD6qFxx/Rv9CNN96l/4rb14HKirC2o/orApiHmHDsURs5rUKDx0f9iP cXN7S1uePXuJRK/5hsubaOCx3Owd2u9gD6Oq0CsMkE4CUSiJcYrMANtx54cGH7Rk EjFZxK8xAv1ldELEyxrFqkbE4BKd8QOt414qjvTGyAK+OLD3M2QdCQKBgQDtx8pN CAxR7yhHbIWT1AH66+XWN8bXq7l3RO/ukeaci98JfkbkxURZhtxV/HHuvUhnPLdX 3TwygPBYZFNo4pzVEhzWoTtnEtrFueKxyc3+LjZpuo+mBlQ6ORtfgkr9gBVphXZG YEzkCD3lVdl8L4cw9BVpKrJCs1c5taGjDgdInQKBgHm/fVvv96bJxc9x1tffXAcj 3OVdUN0UgXNCSaf/3A/phbeBQe9xS+3mpc4r6qvx+iy69mNBeNZ0xOitIjpjBo2+ dBEjSBwLk5q5tJqHmy/jKMJL4n9ROlx93XS+njxgibTvU6Fp9w+NOFD/HvxB3Tcz 6+jJF85D5BNAG3DBMKBjAoGBAOAxZvgsKN+JuENXsST7F89Tck2iTcQIT8g5rwWC P9Vt74yboe2kDT531w8+egz7nAmRBKNM751U/95P9t88EDacDI/Z2OwnuFQHCPDF llYOUI+SpLJ6/vURRbHSnnn8a/XG+nzedGH5JGqEJNQsz+xT2axM0/W/CRknmGaJ kda/AoGANWrLCz708y7VYgAtW2Uf1DPOIYMdvo6fxIB5i9ZfISgcJ/bbCUkFrhoH +vq/5CIWxCPp0f85R4qxxQ5ihxJ0YDQT9Jpx4TMss4PSavPaBH3RXow5Ohe+bYoQ NE5OgEXk2wVfZczCZpigBKbKZHNYcelXtTt/nP3rsCuGcM4h53s= -----END RSA PRIVATE KEY----- ' username: vagrant category: ssh contributor: ztgrace default_port: 22 name: Vagrant SSH references: - https://raw.githubusercontent.com/mitchellh/vagrant/master/keys/vagrant changeme-1.2.1/creds/telnet/000077500000000000000000000000001347447721000156665ustar00rootroot00000000000000changeme-1.2.1/creds/telnet/american_dynamics.yml000066400000000000000000000004061347447721000220570ustar00rootroot00000000000000auth: credentials: - username: admin password: 9999 category: telnet default_port: 23 name: American Dynamics EDVR contributor: ztgrace references: - http://www.americandynamics.net/support/Download/edvr_downloads/8200-0841-00%20A0%20(BK_EDVR_QSG).pdf changeme-1.2.1/creds/telnet/dahua.yml000066400000000000000000000004331347447721000174730ustar00rootroot00000000000000auth: credentials: - username: root password: 7ujMko0admin - username: admin password: 7ujMko0admin - username: root password: vizxv category: telnet default_port: 23 name: Duhua contributor: ztgrace references: - http://www.cctvforum.com/viewtopic.php?t=44381 changeme-1.2.1/creds/telnet/netscreen.yml000066400000000000000000000004201347447721000203730ustar00rootroot00000000000000auth: credentials: - username: netscreen password: "<<< %s(un='%s') = %u" category: telnet default_port: 23 name: Juniper ScreenOS/Netscreen contributor: ztgrace references: - https://kb.juniper.net/InfoCenter/index?page=content&id=JSA10713&cat=SIRT_1&actp=LIST changeme-1.2.1/creds/telnet/telnet.yml000066400000000000000000000053451347447721000177130ustar00rootroot00000000000000# Mirai botnet credentials from: https://github.com/securing/mirai_credentials/blob/master/mirai_creds.txt auth: credentials: - username: root password: password - username: root password: root - username: root password: xc3511 - username: root password: vizxv - username: root password: admin - username: admin password: admin - username: root password: 888888 - username: root password: xmhdipc - username: root password: default - username: root password: juantech - username: root password: 123456 - username: root password: 54321 - username: support password: support - username: root password: - username: admin password: password - username: root password: 12345 - username: user password: user - username: admin password: - username: root password: pass - username: admin password: admin1234 - username: root password: 1111 - username: admin password: smcadmin - username: admin password: 1111 - username: root password: 666666 - username: root password: 1234 - username: root password: klv123 - username: Administrator password: admin - username: service password: service - username: supervisor password: supervisor - username: guest password: guest - username: guest password: 12345 - username: guest password: 12345 - username: admin1 password: password - username: administrator password: 1234 - username: 666666 password: 666666 - username: 888888 password: 888888 - username: ubnt password: ubnt - username: root password: klv1234 - username: root password: Zte521 - username: root password: hi3518 - username: root password: jvbzd - username: root password: anko - username: root password: zlxx. - username: root password: 7ujMko0vizxv - username: root password: 7ujMko0admin - username: root password: system - username: root password: ikwb - username: root password: dreambox - username: root password: user - username: root password: realtek - username: root password: 00000000 - username: admin password: 1111111 - username: admin password: 1234 - username: admin password: 12345 - username: admin password: 54321 - username: admin password: 123456 - username: admin password: 7ujMko0admin - username: admin password: 1234 - username: admin password: pass - username: admin password: meinsm - username: tech password: tech - username: mother password: fucker blockingio_timeout: 3 telnet_read_timeout: 1 category: telnet default_port: 23 name: telnet contributor: AlessandroZ, decidedlygray changeme-1.2.1/dev-requirements.txt000077500000000000000000000000571347447721000173400ustar00rootroot00000000000000coverage mock mock-ssh-server responses==0.7.0 changeme-1.2.1/requirements.txt000077500000000000000000000002551347447721000165640ustar00rootroot00000000000000cerberus jinja2 logutils lxml netaddr nose paramiko psycopg2 pymongo pyodbc pysnmp python-libnmap python-memcached pyyaml redis requests selenium shodan sqlalchemy tabulate