diff --git a/CLA.md b/CLA.md
new file mode 100644
index 00000000000..d55eec8191b
--- /dev/null
+++ b/CLA.md
@@ -0,0 +1,187 @@
+# Contributor License Agreement
+
+We are incredibly thankful for contributions we receive from the
+community. We require our external contributors to sign a Contributor
+License Agreement ("CLA") in order to ensure that our projects remain
+licensed under Free and Open Source licenses such as AGPLv3 or Apache
+2 allowing Velocidex Innovations to build a sustainable business.
+
+Velocidex Innovations is committed to having a true Free and Open
+Source Software ("FOSS") license for our non-commercial software. A
+CLA enables Velocidex Innovations to safely commercialize our products
+while keeping a standard FOSS license with all the rights that license
+grants to users: the ability to use the project in their own projects
+or businesses, to republish modified source, or to completely fork the
+project.
+
+This page gives a human-friendly summary of our CLA, details on why we
+require a CLA, how contributors can sign our CLA, and more. You may
+view the full legal CLA document here.
+
+## Human-Friendly Summary
+
+This is a human-readable summary of (and not a substitute for) the
+full agreement below. This highlights only some of key terms of the
+CLA. It has no legal value and you should carefully review all the
+terms of the actual CLA before agreeing (Legal Terms and Agreement
+below).
+
+* Grant of copyright license. You give Velocidex Innovations
+ permission to use your copyrighted work in commercial products.
+
+* Grant of patent license. If your contributed work uses a patent, you
+ give Velocidex Innovations a license to use that patent including
+ within commercial products. You also agree that you have permission
+ to grant this license.
+
+* No Warranty or Support Obligations. By making a contribution, you
+ are not obligating yourself to provide support for the contribution,
+ and you are not taking on any warranty obligations or providing any
+ assurances about how it will perform.
+
+The CLA does not change the terms of the standard open source license
+used by our software such as AGPLv3 or Apache2. You are still free to
+use our projects within your own projects or businesses, republish
+modified source, and more. Please reference the appropriate license
+for the project you're contributing to to learn more.
+
+## Why Require a CLA?
+
+Agreeing to a CLA explicitly states that you are entitled to provide a
+contribution, that you cannot withdraw permission to use your
+contribution at a later date, and that Velocidex Innovations has
+permission to use your contribution in our commercial products.
+
+This removes any ambiguities or uncertainties caused by not having a
+CLA and allows users and customers to confidently adopt our
+projects. At the same time, the CLA ensures that all contributions to
+our open source projects are licensed under the project's respective
+open source license, such as AGPLv3.
+
+Requiring a CLA is a common and well-accepted practice in open
+source. Major open source projects require CLAs such as Apache
+Software Foundation projects, Facebook projects (such as React),
+Google projects (including Go), Python, Django, and more. Each of
+these projects remains licensed under permissive OSS licenses such as
+MIT, Apache, BSD, and more.
+
+# Signing the CLA
+
+Open a pull request ("PR") to any of our open source projects to sign
+the CLA. A bot will comment on the PR asking you to sign the CLA if
+you haven't already.
+
+Follow the steps given by the bot to sign the CLA. This will require
+you to log in with GitHub (we only request public information from
+your account) and to fill in a few additional details such as your
+name and email address. We will only use this information for CLA
+tracking; none of your submitted information will be used for
+marketing purposes.
+
+You only have to sign the CLA once. Once you've signed the CLA, future
+contributions to any Velocidex Innovations project will not require
+you to sign again.
+
+# Legal Terms and Agreement
+
+In order to clarify the intellectual property license granted with
+Contributions from any person or entity, Velocidex Innovations
+("Velocidex") must have a Contributor License Agreement ("CLA") on
+file that has been signed by each Contributor, indicating agreement to
+the license terms below. This license does not change your rights to
+use your own Contributions for any other purpose.
+
+You accept and agree to the following terms and conditions for Your
+present and future Contributions submitted to Velocidex. Except for
+the license granted herein to Velocidex and recipients of software
+distributed by Velocidex, You reserve all right, title, and interest
+in and to Your Contributions.
+
+1. Definitions. "You" (or "Your") shall mean the copyright owner or
+ legal entity authorized by the copyright owner that is making this
+ Agreement with Velocidex. For legal entities, the entity making a
+ Contribution and all other entities that control, are controlled
+ by, or are under common control with that entity are considered to
+ be a single Contributor. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "Contribution" shall mean any original work of authorship,
+ including any modifications or additions to an existing work, that
+ is or previously has been intentionally submitted by You to
+ Velocidex for inclusion in, or documentation of, any of the
+ products owned or managed by Velocidex (the "Work"). For the
+ purposes of this definition, "submitted" means any form of
+ electronic, verbal, or written communication sent to Velocidex or
+ its representatives, including but not limited to communication on
+ electronic mailing lists, source code control systems, and issue
+ tracking systems that are managed by, or on behalf of, Velocidex
+ for the purpose of discussing and improving the Work, but excluding
+ communication that is conspicuously marked or otherwise designated
+ in writing by You as "Not a Contribution."
+
+2. Grant of Copyright License. Subject to the terms and conditions of
+ this Agreement, You hereby grant to Velocidex and to recipients of
+ software distributed by Velocidex a perpetual, worldwide,
+ non-exclusive, no-charge, royalty-free, irrevocable copyright
+ license to reproduce, prepare derivative works of, publicly
+ display, publicly perform, sublicense, and distribute Your
+ Contributions and such derivative works.
+
+3. Grant of Patent License. Subject to the terms and conditions of
+ this Agreement, You hereby grant to Velocidex and to recipients of
+ software distributed by Velocidex a perpetual, worldwide,
+ non-exclusive, no-charge, royalty-free, irrevocable (except as
+ stated in this section) patent license to make, have made, use,
+ offer to sell, sell, import, and otherwise transfer the Work, where
+ such license applies only to those patent claims licensable by You
+ that are necessarily infringed by Your Contribution(s) alone or by
+ combination of Your Contribution(s) with the Work to which such
+ Contribution(s) was submitted. If any entity institutes patent
+ litigation against You or any other entity (including a cross-claim
+ or counterclaim in a lawsuit) alleging that your Contribution, or
+ the Work to which you have contributed, constitutes direct or
+ contributory patent infringement, then any patent licenses granted
+ to that entity under this Agreement for that Contribution or Work
+ shall terminate as of the date such litigation is filed.
+
+4. You represent that you are legally entitled to grant the above
+ license. If your employer(s) has rights to intellectual property
+ that you create that includes your Contributions, you represent
+ that you have received permission to make Contributions on behalf
+ of that employer, that you will have received permission from your
+ current and future employers for all future Contributions, that
+ your applicable employer has waived such rights for all of your
+ current and future Contributions to Velocidex, or that your
+ employer has executed a separate Corporate CLA with Velocidex.
+
+5. You represent that each of Your Contributions is Your original
+ creation (see section 7 for submissions on behalf of others). You
+ represent that Your Contribution submissions include complete
+ details of any third-party license or other restriction (including,
+ but not limited to, related patents and trademarks) of which you
+ are personally aware and which are associated with any part of Your
+ Contributions.
+
+6. You are not expected to provide support for Your Contributions,
+ except to the extent You desire to provide support. You may provide
+ support for free, for a fee, or not at all. Unless required by
+ applicable law or agreed to in writing, You provide Your
+ Contributions on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS
+ OF ANY KIND, either express or implied, including, without
+ limitation, any warranties or conditions of TITLE, NON-
+ INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE.
+
+7. Should You wish to submit work that is not Your original creation,
+ You may submit it to Velocidex separately from any Contribution,
+ identifying the complete details of its source and of any license
+ or other restriction (including, but not limited to, related
+ patents, trademarks, and license agreements) of which you are
+ personally aware, and conspicuously marking the work as "Submitted
+ on behalf of a third-party: [named here]".
+
+8. You agree to notify Velocidex of any facts or circumstances of
+ which you become aware that would make these representations
+ inaccurate in any respect.
diff --git a/LICENSE b/LICENSE
index 269653da431..c5586b30aa8 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,201 +1,522 @@
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "{}"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright 2018 velocidex
-
- Licensed under the Apache License, Version 2.0 (the "License");
- you may not use this file except in compliance with the License.
- You may obtain a copy of the License at
-
- http://www.apache.org/licenses/LICENSE-2.0
-
- Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- See the License for the specific language governing permissions and
- limitations under the License.
+ GNU AFFERO GENERAL PUBLIC LICENSE
+ Version 3, 19 November 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 Affero General Public License is a free, copyleft license for
+software and other kinds of works, specifically designed to ensure
+cooperation with the community in the case of network server software.
+
+ The licenses for most software and other practical works are designed
+to take away your freedom to share and change the works. By contrast,
+our General Public Licenses are 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.
+
+ 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.
+
+ Developers that use our General Public Licenses protect your rights
+with two steps: (1) assert copyright on the software, and (2) offer
+you this License which gives you legal permission to copy, distribute
+and/or modify the software.
+
+ A secondary benefit of defending all users' freedom is that
+improvements made in alternate versions of the program, if they
+receive widespread use, become available for other developers to
+incorporate. Many developers of free software are heartened and
+encouraged by the resulting cooperation. However, in the case of
+software used on network servers, this result may fail to come about.
+The GNU General Public License permits making a modified version and
+letting the public access it on a server without ever releasing its
+source code to the public.
+
+ The GNU Affero General Public License is designed specifically to
+ensure that, in such cases, the modified source code becomes available
+to the community. It requires the operator of a network server to
+provide the source code of the modified version running there to the
+users of that server. Therefore, public use of a modified version, on
+a publicly accessible server, gives the public access to the source
+code of the modified version.
+
+ An older license, called the Affero General Public License and
+published by Affero, was designed to accomplish similar goals. This is
+a different license, not a version of the Affero GPL, but Affero has
+released a new version of the Affero GPL which permits relicensing under
+this license.
+
+ 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 Affero 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, sellor 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 Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+
+Also add information on how to contact you by electronic and paper mail.
+
+ If your software can interact with users remotely through a computer
+network, you should also make sure that it provides a way for users to
+get its source. For example, if your program is a web application, its
+interface could display a "Source" link that leads users to an archive
+of the code. There are many ways you could offer source, and different
+solutions will be better for different programs; see section 13 for the
+specific requirements.
+
+ 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 AGPL, see
+.
diff --git a/actions/actions.go b/actions/actions.go
index e9135b0d384..c90183ae346 100644
--- a/actions/actions.go
+++ b/actions/actions.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Client actions are routines that run on the client and return a
// GrrMessage.
package actions
diff --git a/actions/admin.go b/actions/admin.go
index 7a6774b6c5a..607951e2941 100644
--- a/actions/admin.go
+++ b/actions/admin.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package actions
import (
diff --git a/actions/admin_test.go b/actions/admin_test.go
index 0b40023aaa5..a77a3532fbc 100644
--- a/actions/admin_test.go
+++ b/actions/admin_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package actions_test
import (
diff --git a/actions/common.go b/actions/common.go
index fbab11e4561..a2ee0c904d4 100644
--- a/actions/common.go
+++ b/actions/common.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package actions
import (
diff --git a/actions/common_test.go b/actions/common_test.go
index b82458bce09..dcb482fc625 100644
--- a/actions/common_test.go
+++ b/actions/common_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package actions_test
import (
diff --git a/actions/events.go b/actions/events.go
index abeb0378d14..de0cd102679 100644
--- a/actions/events.go
+++ b/actions/events.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package actions
import (
diff --git a/actions/vql.go b/actions/vql.go
index cd47ea4d26d..85c4db7edb8 100644
--- a/actions/vql.go
+++ b/actions/vql.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package actions
import (
diff --git a/api/api.go b/api/api.go
index 5783f0e2450..45589e2e487 100644
--- a/api/api.go
+++ b/api/api.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/artifacts.go b/api/artifacts.go
index 8e79ed85ca0..2eea9718785 100644
--- a/api/artifacts.go
+++ b/api/artifacts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/assets.go b/api/assets.go
index 41ba1b54f17..3005f26f3dc 100644
--- a/api/assets.go
+++ b/api/assets.go
@@ -1,5 +1,23 @@
// +build release
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
// Build during release - embed all static assets in the binary.
package api
diff --git a/api/assets_filesystem.go b/api/assets_filesystem.go
index ff6ab2d202f..90b5d1b63ad 100644
--- a/api/assets_filesystem.go
+++ b/api/assets_filesystem.go
@@ -1,5 +1,23 @@
// +build !release
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
// Build during development (non release) - serve static assets
// directly from filesystem. We assume we are run from the top level
// directory using go run. e.g.:
diff --git a/api/auth.go b/api/auth.go
index 767c555f6c2..6bca9a0b4e2 100644
--- a/api/auth.go
+++ b/api/auth.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/clients.go b/api/clients.go
index a2ce92abe35..0cee4843a5d 100644
--- a/api/clients.go
+++ b/api/clients.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/csv.go b/api/csv.go
index 6fbe5375808..48e84a3c814 100644
--- a/api/csv.go
+++ b/api/csv.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/download.go b/api/download.go
index a911e006c33..2d6ff2eebbc 100644
--- a/api/download.go
+++ b/api/download.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Implement downloads. For now we do not use gRPC for this but
// implement it directly in the API.
package api
diff --git a/api/oauth.go b/api/oauth.go
index 74138e2698c..ea54e367b00 100644
--- a/api/oauth.go
+++ b/api/oauth.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/proxy.go b/api/proxy.go
index c35d99a24ad..2e01f9c11f9 100644
--- a/api/proxy.go
+++ b/api/proxy.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/query.go b/api/query.go
index ec625a406b8..f28c8b68742 100644
--- a/api/query.go
+++ b/api/query.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/reflect.go b/api/reflect.go
index 044cdb3f194..a2b8863322a 100644
--- a/api/reflect.go
+++ b/api/reflect.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/reflect_test.go b/api/reflect_test.go
index e649bca2695..ed499bbb43e 100644
--- a/api/reflect_test.go
+++ b/api/reflect_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/api/vfs.go b/api/vfs.go
index 338937de21a..5103420783e 100644
--- a/api/vfs.go
+++ b/api/vfs.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/*
The Virtual Filesystem is a convenient place to collect a lot of
diff --git a/api/vql.go b/api/vql.go
index db31b96b886..c6242a61531 100644
--- a/api/vql.go
+++ b/api/vql.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package api
import (
diff --git a/artifacts/artifacts.go b/artifacts/artifacts.go
index 4d81057c76b..9bff8a9aa21 100644
--- a/artifacts/artifacts.go
+++ b/artifacts/artifacts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package artifacts
import (
diff --git a/artifacts/artifacts_test.go b/artifacts/artifacts_test.go
index 0c15bae36b8..47bf970117c 100644
--- a/artifacts/artifacts_test.go
+++ b/artifacts/artifacts_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package artifacts
import (
diff --git a/artifacts/assets.go b/artifacts/assets.go
index 86edb0309b7..f9f23858ea7 100644
--- a/artifacts/assets.go
+++ b/artifacts/assets.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package artifacts
import (
diff --git a/artifacts/plugin.go b/artifacts/plugin.go
index 24e4f14d21f..c3233df8e48 100644
--- a/artifacts/plugin.go
+++ b/artifacts/plugin.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package artifacts
// This allows to run an artifact as a plugin.
diff --git a/artifacts/scope.go b/artifacts/scope.go
index 1817cca0a3f..6a2eba78c83 100644
--- a/artifacts/scope.go
+++ b/artifacts/scope.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package artifacts
import (
diff --git a/bin/artifacts.go b/bin/artifacts.go
index 7ed23d0d88d..126ace9979c 100644
--- a/bin/artifacts.go
+++ b/bin/artifacts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/artifacts_acquire.go b/bin/artifacts_acquire.go
index 764c47db1fb..0233b98f655 100644
--- a/bin/artifacts_acquire.go
+++ b/bin/artifacts_acquire.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/artifacts_hunt.go b/bin/artifacts_hunt.go
index a44d848dfae..3b133754a4b 100644
--- a/bin/artifacts_hunt.go
+++ b/bin/artifacts_hunt.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/artifacts_schedule.go b/bin/artifacts_schedule.go
index a751efaae26..907c1f3f96d 100644
--- a/bin/artifacts_schedule.go
+++ b/bin/artifacts_schedule.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/client.go b/bin/client.go
index f2e2a4f9fbf..dd781b844c4 100644
--- a/bin/client.go
+++ b/bin/client.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/config.go b/bin/config.go
index 974d497483f..08a0b8a81e4 100644
--- a/bin/config.go
+++ b/bin/config.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/debug.go b/bin/debug.go
index 3e0ee438798..1a70a7d56ef 100644
--- a/bin/debug.go
+++ b/bin/debug.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/frontend.go b/bin/frontend.go
index 49522957b19..956c4ad14e9 100644
--- a/bin/frontend.go
+++ b/bin/frontend.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Frontend is not built on Windows.
package main
diff --git a/bin/fs.go b/bin/fs.go
index da8c1feedfb..52e1b856189 100644
--- a/bin/fs.go
+++ b/bin/fs.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/golden.go b/bin/golden.go
index 75d53f7a473..4688bf554cc 100644
--- a/bin/golden.go
+++ b/bin/golden.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/inspect.go b/bin/inspect.go
index 9174bf847fe..1e593ec6ada 100644
--- a/bin/inspect.go
+++ b/bin/inspect.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Inspect the file store and decode the stored objects.
package main
diff --git a/bin/installer_darwin.go b/bin/installer_darwin.go
index 85390294caa..3d42ec0a7fc 100644
--- a/bin/installer_darwin.go
+++ b/bin/installer_darwin.go
@@ -1,5 +1,23 @@
// +build darwin
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package main
import (
diff --git a/bin/installer_windows.go b/bin/installer_windows.go
index 43b10803c43..9be4811de79 100644
--- a/bin/installer_windows.go
+++ b/bin/installer_windows.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package main
import (
diff --git a/bin/main.go b/bin/main.go
index a2b4e83540f..0ef05144bb1 100755
--- a/bin/main.go
+++ b/bin/main.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/pool.go b/bin/pool.go
index e7e38764b74..c604fc9b8ca 100644
--- a/bin/pool.go
+++ b/bin/pool.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/query.go b/bin/query.go
index dea371ca00d..409c93abef4 100644
--- a/bin/query.go
+++ b/bin/query.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/repack.go b/bin/repack.go
index d369b33b22b..7d24c33c5b4 100644
--- a/bin/repack.go
+++ b/bin/repack.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/shell.go b/bin/shell.go
index 641e20d391d..b3bf5da673f 100644
--- a/bin/shell.go
+++ b/bin/shell.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/users.go b/bin/users.go
index 93375295ca5..5d97cf4f571 100644
--- a/bin/users.go
+++ b/bin/users.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/utils.go b/bin/utils.go
index 0723d8a399d..9ad145ce435 100644
--- a/bin/utils.go
+++ b/bin/utils.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/version.go b/bin/version.go
index 5d71d97faa9..1bc44979989 100644
--- a/bin/version.go
+++ b/bin/version.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/bin/vql.go b/bin/vql.go
index b24799be6ec..9805fe30e2c 100644
--- a/bin/vql.go
+++ b/bin/vql.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package main
import (
diff --git a/config/config.go b/config/config.go
index 58ca1a41296..4a2f87abca0 100644
--- a/config/config.go
+++ b/config/config.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package config
import (
diff --git a/config/doc.go b/config/doc.go
index 48844801e94..0b485b17803 100644
--- a/config/doc.go
+++ b/config/doc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/* Package for managing configuration options.
*/
diff --git a/constants/constants.go b/constants/constants.go
index b64bcfb5d3f..a77d81e9745 100644
--- a/constants/constants.go
+++ b/constants/constants.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package constants
const (
diff --git a/crypto/ca.go b/crypto/ca.go
index 593aee4a978..9373ca245aa 100644
--- a/crypto/ca.go
+++ b/crypto/ca.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Manage Velociraptor's CA and key signing.
package crypto
diff --git a/crypto/crypto_test.go b/crypto/crypto_test.go
index 479c92ff5a7..74d8879de16 100644
--- a/crypto/crypto_test.go
+++ b/crypto/crypto_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package crypto
import (
diff --git a/crypto/doc.go b/crypto/doc.go
index 473a75799ea..814996855dc 100644
--- a/crypto/doc.go
+++ b/crypto/doc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/*
This encryption scheme was originally used in the GRR communication
protocol.
diff --git a/crypto/resolver.go b/crypto/resolver.go
index 7932853a37f..2cc4a346fc9 100644
--- a/crypto/resolver.go
+++ b/crypto/resolver.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package crypto
import (
diff --git a/crypto/transport.go b/crypto/transport.go
index 968c7d9c737..371295e7d92 100644
--- a/crypto/transport.go
+++ b/crypto/transport.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package crypto
import (
diff --git a/crypto/utils.go b/crypto/utils.go
index 91f896afc82..9524f3915b0 100644
--- a/crypto/utils.go
+++ b/crypto/utils.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package crypto
import (
diff --git a/datastore/datastore.go b/datastore/datastore.go
index 728f5cdf981..dd01165ee65 100644
--- a/datastore/datastore.go
+++ b/datastore/datastore.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// An interface into persistent data storage.
package datastore
diff --git a/datastore/filebased.go b/datastore/filebased.go
index 044fb493592..cdc856b765f 100644
--- a/datastore/filebased.go
+++ b/datastore/filebased.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// This is a file based data store. It is really simple - basically just
// writing a single file for each AFF4 object. There is no locking so
// it is not suitable for contended queues but Velociraptor does not
diff --git a/datastore/sqlite.go b/datastore/sqlite.go
index 19038f7fca7..c42a9648ca3 100644
--- a/datastore/sqlite.go
+++ b/datastore/sqlite.go
@@ -1,5 +1,23 @@
// +build sqlite
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
// An SQLite datastore. Each client has its own database to avoid
// database contention.
@@ -10,12 +28,13 @@ package datastore
import (
"database/sql"
"fmt"
- "github.com/golang/protobuf/proto"
- _ "github.com/mattn/go-sqlite3"
- errors "github.com/pkg/errors"
"path"
"strings"
"time"
+
+ "github.com/golang/protobuf/proto"
+ _ "github.com/mattn/go-sqlite3"
+ errors "github.com/pkg/errors"
"www.velocidex.com/golang/velociraptor/config"
"www.velocidex.com/golang/velociraptor/constants"
crypto_proto "www.velocidex.com/golang/velociraptor/crypto/proto"
diff --git a/datastore/sqlite_test.go b/datastore/sqlite_test.go
index 42f8926efa5..d78c1481834 100644
--- a/datastore/sqlite_test.go
+++ b/datastore/sqlite_test.go
@@ -1,11 +1,30 @@
// +build sqlite
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package datastore
import (
+ "testing"
+
"github.com/golang/protobuf/proto"
"github.com/stretchr/testify/assert"
- "testing"
"www.velocidex.com/golang/velociraptor/config"
utils "www.velocidex.com/golang/velociraptor/testing"
)
diff --git a/docs.go b/docs.go
index 840b1108a1e..48d3badedfd 100644
--- a/docs.go
+++ b/docs.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/* Velociraptor is a remote incident response and monitoring agent.
*/
diff --git a/events/events.go b/events/events.go
index 903cf1a3945..c559090e2b4 100644
--- a/events/events.go
+++ b/events/events.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Manage events listener.
// Events are long lived VQL queries which return their results to the
diff --git a/executor/doc.go b/executor/doc.go
index 80e2982c57e..441239ff51e 100644
--- a/executor/doc.go
+++ b/executor/doc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/*
The main executor object.
diff --git a/executor/executor.go b/executor/executor.go
index e4875684f33..e33b188d6ea 100644
--- a/executor/executor.go
+++ b/executor/executor.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package executor
import (
diff --git a/file_store/compress.go b/file_store/compress.go
index f0cba7158c8..632e5703ec0 100644
--- a/file_store/compress.go
+++ b/file_store/compress.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package file_store
import (
diff --git a/file_store/csv/doc.go b/file_store/csv/doc.go
index 20504f0ef58..9f93ee72d08 100644
--- a/file_store/csv/doc.go
+++ b/file_store/csv/doc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Velociraptor's flavour of Comma Separated Value (CSV) files.
// Velociraptor requires a file format that stores tabulated data. CSV
diff --git a/file_store/csv/utils.go b/file_store/csv/utils.go
index 966a587045e..50d7e9357d8 100644
--- a/file_store/csv/utils.go
+++ b/file_store/csv/utils.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package csv
import (
diff --git a/file_store/file_store.go b/file_store/file_store.go
index 34163cd2893..22607dc6ac0 100644
--- a/file_store/file_store.go
+++ b/file_store/file_store.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package file_store
import (
diff --git a/flows/api.go b/flows/api.go
index 79d8fa2aa13..ed405664ec0 100644
--- a/flows/api.go
+++ b/flows/api.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/artifacts.go b/flows/artifacts.go
index 0c36dbff7a8..28a07f2986c 100644
--- a/flows/artifacts.go
+++ b/flows/artifacts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/docs.go b/flows/docs.go
index 1ea34ab2272..16c6578c09b 100644
--- a/flows/docs.go
+++ b/flows/docs.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Velociraptor flows are similar to GRR's flows but are optimized for
// speed:
diff --git a/flows/events.go b/flows/events.go
index 09bdeaa00e5..99261a3a48c 100644
--- a/flows/events.go
+++ b/flows/events.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/file_finder.go b/flows/file_finder.go
index eb62c4bc8e0..b76d38a29e8 100644
--- a/flows/file_finder.go
+++ b/flows/file_finder.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/file_finder_test.go b/flows/file_finder_test.go
index 12d8d7c8e16..fd089624cb6 100644
--- a/flows/file_finder_test.go
+++ b/flows/file_finder_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/flows.go b/flows/flows.go
index 233ca776a69..632a9830c42 100644
--- a/flows/flows.go
+++ b/flows/flows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/flows_test.go b/flows/flows_test.go
index 1cd4c056b01..b87e275a820 100644
--- a/flows/flows_test.go
+++ b/flows/flows_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/foreman.go b/flows/foreman.go
index 6d682289b06..5fa7c1ecf38 100644
--- a/flows/foreman.go
+++ b/flows/foreman.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// The foreman is a Well Known Flow for clients to check for hunt
// memberships. Each client periodically informs the foreman of the
// most recent hunt it executed, and the foreman launches the relevant
diff --git a/flows/generic.go b/flows/generic.go
index 7fd33beb0db..4f73533be9a 100644
--- a/flows/generic.go
+++ b/flows/generic.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/hunts.go b/flows/hunts.go
index 206542e4e13..1aecd0b8d73 100644
--- a/flows/hunts.go
+++ b/flows/hunts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Manage in memory hunt replication. For performance, the hunts
// table is mirrored in memory and refreshed periodically. The clients
// are then compared against it on each poll and hunts are dispatched
diff --git a/flows/interrogate.go b/flows/interrogate.go
index 324a6de8283..e027095a125 100644
--- a/flows/interrogate.go
+++ b/flows/interrogate.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/utils.go b/flows/utils.go
index acbf0b9f814..ef05a02fd7a 100644
--- a/flows/utils.go
+++ b/flows/utils.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/flows/vfs.go b/flows/vfs.go
index 5cdb6ad0298..93e66945074 100644
--- a/flows/vfs.go
+++ b/flows/vfs.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package flows
import (
diff --git a/glob/accessor_darwin.go b/glob/accessor_darwin.go
index 53fe94c57c9..16645f7c047 100644
--- a/glob/accessor_darwin.go
+++ b/glob/accessor_darwin.go
@@ -1,5 +1,23 @@
// +build darwin
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package glob
import (
diff --git a/glob/accessor_linux.go b/glob/accessor_linux.go
index d8d3fcb4319..bfb0dccc87e 100644
--- a/glob/accessor_linux.go
+++ b/glob/accessor_linux.go
@@ -1,5 +1,23 @@
// +build linux
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package glob
import (
diff --git a/glob/common.go b/glob/common.go
index 839c27fff28..95d98afd9ca 100644
--- a/glob/common.go
+++ b/glob/common.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package glob
import (
diff --git a/glob/data.go b/glob/data.go
index ffaefb0c23c..93bb7fd0a2e 100644
--- a/glob/data.go
+++ b/glob/data.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// A data filesystem accessor - allows data to be read as a file.
package glob
diff --git a/glob/factory.go b/glob/factory.go
index fc84382c42e..9d518c40f57 100644
--- a/glob/factory.go
+++ b/glob/factory.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package glob
import (
diff --git a/glob/glob.go b/glob/glob.go
index 8100a664264..fc01b3c3638 100644
--- a/glob/glob.go
+++ b/glob/glob.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package glob
import (
diff --git a/glob/glob_test.go b/glob/glob_test.go
index faceda16a71..c72218d33d3 100644
--- a/glob/glob_test.go
+++ b/glob/glob_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package glob
import (
diff --git a/grpc_client/grpc.go b/grpc_client/grpc.go
index a0bd4632b79..a1097b56dc3 100644
--- a/grpc_client/grpc.go
+++ b/grpc_client/grpc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Client stubs for GRPC connections.
package grpc_client
diff --git a/gui/assets/init.go b/gui/assets/init.go
index 83f96788161..3fb3f8a7b6f 100644
--- a/gui/assets/init.go
+++ b/gui/assets/init.go
@@ -1,5 +1,23 @@
// +build !release
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package assets
func Init() {}
diff --git a/gui/static/README.md b/gui/static/README.md
index 341d4519f0a..78a3529635d 100644
--- a/gui/static/README.md
+++ b/gui/static/README.md
@@ -6,4 +6,24 @@ modified to suite Velociraptor by Velocidex Innovations.
Copyright Google Inc up to 2018.
-Copyright Velocidex Innovations 2018 onwards.
\ No newline at end of file
+Copyright Velocidex Innovations 2018 onwards.
+
+Velocidex Innovations code is licensed under the AGPLv3:
+
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
diff --git a/http_comms/comms.go b/http_comms/comms.go
index 43a6dd57982..2ce72365d52 100644
--- a/http_comms/comms.go
+++ b/http_comms/comms.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package http_comms
import (
diff --git a/http_comms/comms_test.go b/http_comms/comms_test.go
index bf4e9a1049b..754b7496dd1 100644
--- a/http_comms/comms_test.go
+++ b/http_comms/comms_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package http_comms
import (
diff --git a/http_comms/doc.go b/http_comms/doc.go
index 070faccdf9c..19d6dac4974 100644
--- a/http_comms/doc.go
+++ b/http_comms/doc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/*
*/
diff --git a/logging/handlers.go b/logging/handlers.go
index eb3d32d1ed0..120a9e4f3de 100644
--- a/logging/handlers.go
+++ b/logging/handlers.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package logging
import (
diff --git a/logging/logging.go b/logging/logging.go
index 2cce902ad99..5a387beb96e 100644
--- a/logging/logging.go
+++ b/logging/logging.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package logging
import (
diff --git a/magefile.go b/magefile.go
index ba4f73b3426..a1de10cfda2 100644
--- a/magefile.go
+++ b/magefile.go
@@ -1,5 +1,23 @@
//+build mage
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package main
import (
diff --git a/make.go b/make.go
index c1392b28eef..5d6509c465e 100644
--- a/make.go
+++ b/make.go
@@ -1,5 +1,23 @@
// +build ignore
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package main
import (
diff --git a/responder/responder.go b/responder/responder.go
index b8cb333a4da..553894e3607 100644
--- a/responder/responder.go
+++ b/responder/responder.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package responder
import (
diff --git a/responder/responder_test.go b/responder/responder_test.go
index 2c3550e32c7..e8230924dec 100644
--- a/responder/responder_test.go
+++ b/responder/responder_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package responder_test
import (
diff --git a/server/comms.go b/server/comms.go
index ebdcafa8362..a00e489b2f8 100644
--- a/server/comms.go
+++ b/server/comms.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/server/docs.go b/server/docs.go
index abb4e431abd..bbaad3e668c 100644
--- a/server/docs.go
+++ b/server/docs.go
@@ -1 +1,18 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
diff --git a/server/flows.go b/server/flows.go
index 7884c58ebd8..f98cea195c2 100644
--- a/server/flows.go
+++ b/server/flows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/server/limits.go b/server/limits.go
index 426d7883855..714b511cbc4 100644
--- a/server/limits.go
+++ b/server/limits.go
@@ -1,5 +1,23 @@
// +build !linux
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package server
import (
diff --git a/server/limits_linux.go b/server/limits_linux.go
index f727a192908..f43438d24b2 100644
--- a/server/limits_linux.go
+++ b/server/limits_linux.go
@@ -1,5 +1,23 @@
// +build linux
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package server
import (
diff --git a/server/server.go b/server/server.go
index 223cf0df418..08bdb6ca773 100644
--- a/server/server.go
+++ b/server/server.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
//
package server
diff --git a/services/hunt_dispatcher.go b/services/hunt_dispatcher.go
index 47dcc2f43fa..00c1a17342a 100644
--- a/services/hunt_dispatcher.go
+++ b/services/hunt_dispatcher.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package services
import (
diff --git a/services/hunt_manager.go b/services/hunt_manager.go
index 7165769f2ab..39c4d4ddfef 100644
--- a/services/hunt_manager.go
+++ b/services/hunt_manager.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package services
import (
diff --git a/services/services.go b/services/services.go
index 649aff3f3f8..e4a9a8a5461 100644
--- a/services/services.go
+++ b/services/services.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package services
import (
diff --git a/services/user_notification.go b/services/user_notification.go
index 5e568ea8534..5eff1e7356c 100644
--- a/services/user_notification.go
+++ b/services/user_notification.go
@@ -1 +1,18 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package services
diff --git a/testing/helpers.go b/testing/helpers.go
index a71011f1d0e..c4f7596fec7 100644
--- a/testing/helpers.go
+++ b/testing/helpers.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/* An internal package with test utilities.
*/
diff --git a/tools/mksyscall_windows.go b/tools/mksyscall_windows.go
index 84ddc101a34..dc1fbc85876 100644
--- a/tools/mksyscall_windows.go
+++ b/tools/mksyscall_windows.go
@@ -1,9 +1,26 @@
+// +build ignore
+
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Copyright 2013 The Go Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build ignore
-
/*
mksyscall_windows generates windows system call bodies
@@ -330,7 +347,7 @@ type Fn struct {
Params []*Param
Rets *Rets
PrintTrace bool
- Doc string
+ Doc string
dllname string
dllfuncname string
src string
@@ -403,8 +420,8 @@ func newFn(s string) (*Fn, error) {
}
f.Name = prefix
if val, ok := docStrings[f.Name]; ok {
- f.Doc = val
- }
+ f.Doc = val
+ }
var err error
f.Params, err = extractParams(body, f)
if err != nil {
@@ -667,21 +684,21 @@ func (src *Source) ParseFile(path string) error {
if len(t) < 7 {
continue
}
- if !strings.HasPrefix(t, "//sys") && !strings.HasPrefix(t, "//sysdoc") {
+ if !strings.HasPrefix(t, "//sys") && !strings.HasPrefix(t, "//sysdoc") {
continue
}
// add the doc strings to the docString map.
- if strings.HasPrefix(t, "//sysdoc") {
- localDocString := t[8:]
- if !(localDocString[0] == ' ' || localDocString[0] == '\t' || localDocString[0:1] == "\t\t") {
- continue
- }
- // grab the function name for the key.
- fnName := strings.SplitN(localDocString[1:], " ", 2)
- docStrings[fnName[0]] = localDocString[1:]
- // move to the next line since this isn't a function line.
- continue
- }
+ if strings.HasPrefix(t, "//sysdoc") {
+ localDocString := t[8:]
+ if !(localDocString[0] == ' ' || localDocString[0] == '\t' || localDocString[0:1] == "\t\t") {
+ continue
+ }
+ // grab the function name for the key.
+ fnName := strings.SplitN(localDocString[1:], " ", 2)
+ docStrings[fnName[0]] = localDocString[1:]
+ // move to the next line since this isn't a function line.
+ continue
+ }
t = t[5:]
if !(t[0] == ' ' || t[0] == '\t') {
continue
diff --git a/urns/urns.go b/urns/urns.go
index 4e931cbaeef..24fd11980ed 100644
--- a/urns/urns.go
+++ b/urns/urns.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package urns
import (
diff --git a/users/notifications.go b/users/notifications.go
index 48473534573..835c0905f55 100644
--- a/users/notifications.go
+++ b/users/notifications.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Manage user's notifications.
package users
diff --git a/users/users.go b/users/users.go
index 3ad3d398d8f..83dad97a81e 100644
--- a/users/users.go
+++ b/users/users.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package users
import (
diff --git a/utils/debug.go b/utils/debug.go
index 120a6d12241..46628efe659 100644
--- a/utils/debug.go
+++ b/utils/debug.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package utils
import "github.com/davecgh/go-spew/spew"
diff --git a/utils/file.go b/utils/file.go
index 9332fa628d4..754eed5aecc 100644
--- a/utils/file.go
+++ b/utils/file.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package utils
import (
diff --git a/utils/file_linux.go b/utils/file_linux.go
index 1d437878552..7835eb901e2 100644
--- a/utils/file_linux.go
+++ b/utils/file_linux.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package utils
import (
diff --git a/utils/path.go b/utils/path.go
index a4de9417677..7138adf39fc 100644
--- a/utils/path.go
+++ b/utils/path.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package utils
import (
diff --git a/utils/utils.go b/utils/utils.go
index 4173ee2cd2a..589a103e31e 100755
--- a/utils/utils.go
+++ b/utils/utils.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package utils
import (
diff --git a/vql/binary.go b/vql/binary.go
index c830dab1844..020315d74d4 100644
--- a/vql/binary.go
+++ b/vql/binary.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// VQL bindings to binary parsing.
package vql
diff --git a/vql/common/clock.go b/vql/common/clock.go
index 0ede6233273..eae7fba0e01 100644
--- a/vql/common/clock.go
+++ b/vql/common/clock.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package common
import (
diff --git a/vql/common/env.go b/vql/common/env.go
index 32abf31be38..a1a9ed45078 100644
--- a/vql/common/env.go
+++ b/vql/common/env.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package common
import (
diff --git a/vql/common/mail.go b/vql/common/mail.go
index ff840a77a51..f32be72800c 100644
--- a/vql/common/mail.go
+++ b/vql/common/mail.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package common
import (
diff --git a/vql/common/monitoring.go b/vql/common/monitoring.go
index 66254f17dd6..2d21e3bee80 100644
--- a/vql/common/monitoring.go
+++ b/vql/common/monitoring.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package common
import (
diff --git a/vql/common/shell.go b/vql/common/shell.go
index ec9fee6283d..a64e50760f0 100644
--- a/vql/common/shell.go
+++ b/vql/common/shell.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package common
import (
diff --git a/vql/common/yara.go b/vql/common/yara.go
index 0d1a38ce142..575f9ff0bc1 100644
--- a/vql/common/yara.go
+++ b/vql/common/yara.go
@@ -1,5 +1,23 @@
// +build cgo
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package common
import (
diff --git a/vql/filesystem/filesystem.go b/vql/filesystem/filesystem.go
index 312540cff43..94789ce11a6 100644
--- a/vql/filesystem/filesystem.go
+++ b/vql/filesystem/filesystem.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package filesystem
import (
diff --git a/vql/filesystem/filesystems.go b/vql/filesystem/filesystems.go
index 4276fbfefa3..985034e4867 100644
--- a/vql/filesystem/filesystems.go
+++ b/vql/filesystem/filesystems.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package filesystem
import (
diff --git a/vql/filesystem/grep.go b/vql/filesystem/grep.go
index bdd9d7f8358..583a9d65926 100644
--- a/vql/filesystem/grep.go
+++ b/vql/filesystem/grep.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package filesystem
import (
diff --git a/vql/filesystem/path.go b/vql/filesystem/path.go
index d35671a52f0..ec1ec8e348d 100644
--- a/vql/filesystem/path.go
+++ b/vql/filesystem/path.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package filesystem
import (
diff --git a/vql/filesystem/tempfile.go b/vql/filesystem/tempfile.go
index b039ac4be3f..a307639f21b 100644
--- a/vql/filesystem/tempfile.go
+++ b/vql/filesystem/tempfile.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package filesystem
import (
diff --git a/vql/functions/format.go b/vql/functions/format.go
index e580bf65bb9..7346b8a244a 100644
--- a/vql/functions/format.go
+++ b/vql/functions/format.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/functions/functions.go b/vql/functions/functions.go
index 89fa0eb9da5..ffa9060fae1 100644
--- a/vql/functions/functions.go
+++ b/vql/functions/functions.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/functions/hash.go b/vql/functions/hash.go
index c2bcaaeccf4..3a4be2746d6 100644
--- a/vql/functions/hash.go
+++ b/vql/functions/hash.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/functions/humanize.go b/vql/functions/humanize.go
index f06c6a4c72c..11b8c89efeb 100644
--- a/vql/functions/humanize.go
+++ b/vql/functions/humanize.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/functions/lists.go b/vql/functions/lists.go
index 782bdc010a6..0bc67af108b 100644
--- a/vql/functions/lists.go
+++ b/vql/functions/lists.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/functions/paths.go b/vql/functions/paths.go
index 01ddaf56916..e8e6040c39a 100644
--- a/vql/functions/paths.go
+++ b/vql/functions/paths.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/functions/pid.go b/vql/functions/pid.go
index e30b2318668..6d984a79ec2 100644
--- a/vql/functions/pid.go
+++ b/vql/functions/pid.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package functions
import (
diff --git a/vql/info.go b/vql/info.go
index 7f71042d43c..e1ee3b5c28f 100644
--- a/vql/info.go
+++ b/vql/info.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package vql
import (
diff --git a/vql/linux/connections.go b/vql/linux/connections.go
index 6ece180a748..9ceb1c8b4bf 100755
--- a/vql/linux/connections.go
+++ b/vql/linux/connections.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package vql
import (
diff --git a/vql/linux/users.go b/vql/linux/users.go
index 4f87e02d36e..e38ca01c470 100644
--- a/vql/linux/users.go
+++ b/vql/linux/users.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
//
package vql
diff --git a/vql/networking/http_client.go b/vql/networking/http_client.go
index ae167a8c5a3..d2c961e1de0 100644
--- a/vql/networking/http_client.go
+++ b/vql/networking/http_client.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package networking
import (
diff --git a/vql/networking/network.go b/vql/networking/network.go
index 0743eb09be0..146379a493f 100644
--- a/vql/networking/network.go
+++ b/vql/networking/network.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package networking
import (
diff --git a/vql/networking/upload.go b/vql/networking/upload.go
index db93c7bb99e..d876b85c6e9 100644
--- a/vql/networking/upload.go
+++ b/vql/networking/upload.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package networking
import (
diff --git a/vql/networking/uploader.go b/vql/networking/uploader.go
index 08260cf77f9..7b190bee30d 100644
--- a/vql/networking/uploader.go
+++ b/vql/networking/uploader.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package networking
import (
diff --git a/vql/parsers/evtx.go b/vql/parsers/evtx.go
index 7b03e5158e4..348bd958c25 100644
--- a/vql/parsers/evtx.go
+++ b/vql/parsers/evtx.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package parsers
import (
diff --git a/vql/parsers/json.go b/vql/parsers/json.go
index fcb38394616..bd67c5ddbb7 100644
--- a/vql/parsers/json.go
+++ b/vql/parsers/json.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package parsers
import (
diff --git a/vql/parsers/regexparser.go b/vql/parsers/regexparser.go
index 2dc2a6d3415..c3b6bdc4961 100644
--- a/vql/parsers/regexparser.go
+++ b/vql/parsers/regexparser.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package parsers
import (
diff --git a/vql/parsers/splitparser.go b/vql/parsers/splitparser.go
index 04c33eca19b..ec6ef97107f 100644
--- a/vql/parsers/splitparser.go
+++ b/vql/parsers/splitparser.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// A simple line based file parser with common separator. This could
// be done with "parse_with_regex" but its easier to have a dedicated
// parser.
diff --git a/vql/parsers/xml.go b/vql/parsers/xml.go
index 89b20927127..bc58aece969 100644
--- a/vql/parsers/xml.go
+++ b/vql/parsers/xml.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package parsers
import (
diff --git a/vql/process.go b/vql/process.go
index a56c629ec14..c71dafeee27 100755
--- a/vql/process.go
+++ b/vql/process.go
@@ -1,5 +1,23 @@
// +build !windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
// This module is built on gopsutils but this is too slow and
// inefficient. Eventually we will remove it from the codebase.
package vql
diff --git a/vql/scope.go b/vql/scope.go
index 6d66cb4c1a5..da409258053 100644
--- a/vql/scope.go
+++ b/vql/scope.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// A cache which is stored in the VQL scope.
package vql
diff --git a/vql/server/artifacts.go b/vql/server/artifacts.go
index 7b32c0b45f4..4e728f70251 100644
--- a/vql/server/artifacts.go
+++ b/vql/server/artifacts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/vql/server/clients.go b/vql/server/clients.go
index e453377bbfa..05c9595ebf6 100644
--- a/vql/server/clients.go
+++ b/vql/server/clients.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// VQL plugins for running on the server.
package server
diff --git a/vql/server/compress.go b/vql/server/compress.go
index 2816c3f3d7b..ebdd384b18c 100644
--- a/vql/server/compress.go
+++ b/vql/server/compress.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/vql/server/file_store.go b/vql/server/file_store.go
index 0eb8de39570..f2892e9bc44 100644
--- a/vql/server/file_store.go
+++ b/vql/server/file_store.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/vql/server/hunts.go b/vql/server/hunts.go
index e0bb1020f5c..46ba8c22f4f 100644
--- a/vql/server/hunts.go
+++ b/vql/server/hunts.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// VQL plugins for running on the server.
package server
diff --git a/vql/server/labels.go b/vql/server/labels.go
index 43a30eb1bbb..fd982a13810 100644
--- a/vql/server/labels.go
+++ b/vql/server/labels.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/vql/server/monitoring.go b/vql/server/monitoring.go
index 75267d1557e..c75c78f0ef4 100644
--- a/vql/server/monitoring.go
+++ b/vql/server/monitoring.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/vql/server/results.go b/vql/server/results.go
index 6448c5c4f18..f1cca8d598b 100644
--- a/vql/server/results.go
+++ b/vql/server/results.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package server
import (
diff --git a/vql/server/search.go b/vql/server/search.go
index 7c5917bbfcd..f2ce2d0ccf4 100644
--- a/vql/server/search.go
+++ b/vql/server/search.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/*
Searches the client index.
diff --git a/vql/utils.go b/vql/utils.go
index 9b45b5ea23f..2e44cbd0bb2 100644
--- a/vql/utils.go
+++ b/vql/utils.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package vql
import (
diff --git a/vql/vql.go b/vql/vql.go
index 4b68cba6351..aeb7422ec92 100755
--- a/vql/vql.go
+++ b/vql/vql.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
/*
The VQL subsystem allows for collecting host based state information
diff --git a/vql/windows/crypto.go b/vql/windows/crypto.go
index 3c14fe55413..c782592f76b 100644
--- a/vql/windows/crypto.go
+++ b/vql/windows/crypto.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package windows
// #cgo LDFLAGS: -lcrypt32
diff --git a/vql/windows/dns/dns.go b/vql/windows/dns/dns.go
index c4ae17d14dc..6f96e1d493e 100644
--- a/vql/windows/dns/dns.go
+++ b/vql/windows/dns/dns.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package dns
// #cgo LDFLAGS: -lws2_32
diff --git a/vql/windows/doc.go b/vql/windows/doc.go
index 8451454335c..a10342407fd 100644
--- a/vql/windows/doc.go
+++ b/vql/windows/doc.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package windows
// This contains VQL plugins for windows.
diff --git a/vql/windows/filesystems/ntfs_windows.go b/vql/windows/filesystems/ntfs_windows.go
index 03fb0a2613a..e0527034b39 100644
--- a/vql/windows/filesystems/ntfs_windows.go
+++ b/vql/windows/filesystems/ntfs_windows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// A Raw NTFS accessor for disks.
// The NTFS accessor provides access to volumes, and Volume Shadow
diff --git a/vql/windows/filesystems/os_windows.go b/vql/windows/filesystems/os_windows.go
index 8482b74668a..4d10b5957c2 100644
--- a/vql/windows/filesystems/os_windows.go
+++ b/vql/windows/filesystems/os_windows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Windows specific implementation. For windows we make a special
// virtual root directory which contains all the drives as if they are
// subdirs. For example list dir "\\" yields c:, d:, e: then we access
diff --git a/vql/windows/filesystems/registry_windows.go b/vql/windows/filesystems/registry_windows.go
index 72f511eea17..ff887399e21 100644
--- a/vql/windows/filesystems/registry_windows.go
+++ b/vql/windows/filesystems/registry_windows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// A filesystem accessor for accessing the windows registry.
// We make the registry look like a filesystem:
diff --git a/vql/windows/network.go b/vql/windows/network.go
index 1bda3749c8c..e61fd30dd2d 100644
--- a/vql/windows/network.go
+++ b/vql/windows/network.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package windows
import (
diff --git a/vql/windows/process/dump.go b/vql/windows/process/dump.go
index 125bcb48696..e8bbb97e7fa 100644
--- a/vql/windows/process/dump.go
+++ b/vql/windows/process/dump.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package process
// #cgo LDFLAGS: -ldbghelp
diff --git a/vql/windows/processes.go b/vql/windows/processes.go
index 8481e6c07f0..c7fc624eb3f 100644
--- a/vql/windows/processes.go
+++ b/vql/windows/processes.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package windows
import (
diff --git a/vql/windows/registry.go b/vql/windows/registry.go
index 29bbde57405..9afffac2b99 100644
--- a/vql/windows/registry.go
+++ b/vql/windows/registry.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
// VQL plugins handy for registry parsing.
package windows
diff --git a/vql/windows/users.go b/vql/windows/users.go
index 71ed5cbd262..593a4450292 100644
--- a/vql/windows/users.go
+++ b/vql/windows/users.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
package windows
import (
diff --git a/vql/windows/win32_windows.go b/vql/windows/win32_windows.go
index 175eba09ca8..eb38085f159 100644
--- a/vql/windows/win32_windows.go
+++ b/vql/windows/win32_windows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package windows
//go:generate go run ../../tools/mksyscall_windows.go -output zwin32_windows.go win32_windows.go
diff --git a/vql/windows/wmi/events.go b/vql/windows/wmi/events.go
index 1f5c88609be..7261e566f64 100644
--- a/vql/windows/wmi/events.go
+++ b/vql/windows/wmi/events.go
@@ -1,5 +1,23 @@
// +build windows
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
+
// These VQL plugins deal with Windows WMI.
package wmi
diff --git a/vql/windows/wmi/parse/parse.go b/vql/windows/wmi/parse/parse.go
index c910fd8d934..5840b2fa6c1 100644
--- a/vql/windows/wmi/parse/parse.go
+++ b/vql/windows/wmi/parse/parse.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// Parse the event into a vfilter.Dict. This is a rudimentary parser
// for MOF the is emitted by IWbemClassObject::GetObjectText.
package wmi
diff --git a/vql/windows/wmi/parse/parse_test.go b/vql/windows/wmi/parse/parse_test.go
index 2294140cdd4..d7f9ca5928c 100644
--- a/vql/windows/wmi/parse/parse_test.go
+++ b/vql/windows/wmi/parse/parse_test.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package wmi_test
import (
diff --git a/vql/windows/wmi/wmi.go b/vql/windows/wmi/wmi.go
index 0feabd4da07..d9b50494db6 100644
--- a/vql/windows/wmi/wmi.go
+++ b/vql/windows/wmi/wmi.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// VQL code for windows.
/* This file is adapted from github.com/StackExchange/wmi/wmi.go
diff --git a/vql/windows/zwin32_windows.go b/vql/windows/zwin32_windows.go
index 0ac4dc0b9cb..080cb4e75b4 100644
--- a/vql/windows/zwin32_windows.go
+++ b/vql/windows/zwin32_windows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
// MACHINE GENERATED BY 'go generate' COMMAND; DO NOT EDIT
package windows
diff --git a/vql_plugins/plugins.go b/vql_plugins/plugins.go
index 52ae41f0076..a04ba440917 100644
--- a/vql_plugins/plugins.go
+++ b/vql_plugins/plugins.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package plugins
// This is a do nothing package which just forces an import of the
diff --git a/vql_plugins/plugins_linux.go b/vql_plugins/plugins_linux.go
index cd0abd16182..8e6993c2f2b 100644
--- a/vql_plugins/plugins_linux.go
+++ b/vql_plugins/plugins_linux.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package plugins
import (
diff --git a/vql_plugins/plugins_windows.go b/vql_plugins/plugins_windows.go
index 3305df797c8..9487d0d16c1 100644
--- a/vql_plugins/plugins_windows.go
+++ b/vql_plugins/plugins_windows.go
@@ -1,3 +1,20 @@
+/*
+ Velociraptor - Hunting Evil
+ Copyright (C) 2019 Velocidex Innovations.
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU Affero 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 Affero General Public License for more details.
+
+ You should have received a copy of the GNU Affero General Public License
+ along with this program. If not, see .
+*/
package plugins
import (