From 04d31f023d7033cd4d55b3f7cfe64e010826b0fb Mon Sep 17 00:00:00 2001 From: David Adrian Date: Thu, 2 Jul 2015 17:58:49 -0400 Subject: [PATCH] Update license and install information ZGrab is licensed under Apache 2.0, except where licensed under ISC. --- INSTALL | 6 ----- LICENSE | 32 +++++++++++++++++++++++++-- README.md | 4 ++++ main.go | 8 +++++++ summary.go | 8 +++++++ zlib/config.go | 8 +++++++ zlib/conn.go | 8 +++++++ zlib/connect_event.go | 8 +++++++ zlib/dial.go | 8 +++++++ zlib/event.go | 8 +++++++ zlib/event_test.go | 8 +++++++ zlib/ftp.go | 8 +++++++ zlib/grabber.go | 8 +++++++ zlib/heartbleed_event.go | 8 +++++++ zlib/http_event.go | 8 +++++++ zlib/mail.go | 8 +++++++ zlib/modbus.go | 8 +++++++ zlib/output.go | 8 +++++++ zlib/processing.go | 8 +++++++ zlib/read.go | 8 +++++++ zlib/ssh_event.go | 8 +++++++ zlib/utility.go | 8 +++++++ zlib/write.go | 8 +++++++ zlib/zgrab.go | 8 +++++++ zlib/zgrab_test.go | 8 +++++++ zlib/ztls_event.go | 8 +++++++ zlib/ztls_event_test.go | 8 +++++++ ztools/keys/dhe.go | 8 +++++++ ztools/keys/dhe_test.go | 8 +++++++ ztools/keys/ecdhe.go | 8 +++++++ ztools/keys/ecdhe_test.go | 8 +++++++ ztools/keys/names.go | 8 +++++++ ztools/keys/rsa.go | 8 +++++++ ztools/keys/rsa_test.go | 8 +++++++ ztools/processing/input.go | 8 +++++++ ztools/ssh/clients.go | 8 +++++++ ztools/ssh/conn.go | 8 +++++++ ztools/ssh/dhe.go | 8 +++++++ ztools/ssh/encryption.go | 8 +++++++ ztools/ssh/kex.go | 8 +++++++ ztools/ssh/log.go | 8 +++++++ ztools/ssh/messages.go | 8 +++++++ ztools/ssh/packet.go | 8 +++++++ ztools/ssh/ssh.go | 8 +++++++ ztools/x509/extensions.go | 4 ++++ ztools/x509/fingerprint.go | 4 ++++ ztools/x509/fingerprint_test.go | 4 ++++ ztools/x509/json.go | 4 ++++ ztools/x509/json_test.go | 4 ++++ ztools/x509/names.go | 4 ++++ ztools/x509/performance_test.go | 4 ++++ ztools/x509/root_darwin_test.go | 4 ++++ ztools/zlog/logger.go | 8 +++++++ ztools/zlog/logger_test.go | 8 +++++++ ztools/zson/array.go | 8 +++++++ ztools/ztls/chacha20_poly1305.go | 4 ++++ ztools/ztls/chacha20_poly1305_test.go | 4 ++++ ztools/ztls/cipher_suites_test.go | 4 ++++ ztools/ztls/ztls_handshake.go | 4 ++++ ztools/ztls/ztls_handshake_test.go | 4 ++++ ztools/ztls/ztls_heartbeat.go | 4 ++++ ztools/ztls/ztls_json.go | 4 ++++ ztools/ztls/ztls_ka.go | 4 ++++ ztools/ztls/ztls_names.go | 4 ++++ 64 files changed, 454 insertions(+), 8 deletions(-) delete mode 100644 INSTALL diff --git a/INSTALL b/INSTALL deleted file mode 100644 index c0d35cb3..00000000 --- a/INSTALL +++ /dev/null @@ -1,6 +0,0 @@ -banner-grab requires Go v1.2.1 or higher installed - -To build, navigate to the root of the source directory and run `go build` - -Go v1.2.1 has binaries available at http://code.google.com/p/go/downloads/list -It can also be installed in Ubuntu 14.04 via apt-get, and on Mac OS X via Homebrew. diff --git a/LICENSE b/LICENSE index ad410e11..27ed4b90 100644 --- a/LICENSE +++ b/LICENSE @@ -1,3 +1,31 @@ +ZGrab is an original work created at the University of Michigan, and is +licensed under the Apache 2.0 license. However, ZGrab contains a fork of +several packages from Golang standard library, as well as code from the +BoringSSL test runner. Files that were created by Google, and new files in +forks of packages maintained by Google have a Google copyright and fall under +the ISC license. All other files are copyright Regents of the University of +Michigan, and fall under the Apache 2.0 license. Both licenses are reproduced +at the bottom of this file. + +-------- + +ISC License used for Google code + +/* Copyright (c) 2015, Google Inc. + * + * Permission to use, copy, modify, and/or distribute this software for any + * purpose with or without fee is hereby granted, provided that the above + * copyright notice and this permission notice appear in all copies. + * + * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES + * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF + * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY + * SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES + * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION + * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN + * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ + + Apache License Version 2.0, January 2004 http://www.apache.org/licenses/ @@ -186,7 +214,7 @@ Apache License same "printed page" as the copyright notice for easier identification within third-party archives. - Copyright {yyyy} {name of copyright owner} + ZGrab Copyright 2015 Regents of the University of Michigan Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -198,4 +226,4 @@ Apache License 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. \ No newline at end of file + limitations under the License. diff --git a/README.md b/README.md index 96c30065..5acc9149 100644 --- a/README.md +++ b/README.md @@ -46,3 +46,7 @@ If you are using ZGrab code in another Go program, import ZGrab using [gopkg.in] ``` gopkg.in/zmap/zgrab.v0.0.1 ``` + +## License + +ZGrab is licensed under Apache 2.0 and ISC. For more information, see the LICENSE file. diff --git a/main.go b/main.go index 561037f6..e620e935 100644 --- a/main.go +++ b/main.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package main import ( diff --git a/summary.go b/summary.go index 64005f26..ea8575ed 100644 --- a/summary.go +++ b/summary.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package main import ( diff --git a/zlib/config.go b/zlib/config.go index 45532fb4..88a92777 100644 --- a/zlib/config.go +++ b/zlib/config.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/conn.go b/zlib/conn.go index 4b46974d..4870d441 100644 --- a/zlib/conn.go +++ b/zlib/conn.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/connect_event.go b/zlib/connect_event.go index ff6a385d..41c42553 100644 --- a/zlib/connect_event.go +++ b/zlib/connect_event.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import "encoding/json" diff --git a/zlib/dial.go b/zlib/dial.go index 8e7d1690..fd0ee593 100644 --- a/zlib/dial.go +++ b/zlib/dial.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/event.go b/zlib/event.go index 77e50e54..12dccde2 100644 --- a/zlib/event.go +++ b/zlib/event.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/event_test.go b/zlib/event_test.go index 1fcd9e43..53d49f5e 100644 --- a/zlib/event_test.go +++ b/zlib/event_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/ftp.go b/zlib/ftp.go index 3e790d08..d272f85b 100644 --- a/zlib/ftp.go +++ b/zlib/ftp.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib type FTPBannerEvent struct { diff --git a/zlib/grabber.go b/zlib/grabber.go index a0cff879..51f1644b 100644 --- a/zlib/grabber.go +++ b/zlib/grabber.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/heartbleed_event.go b/zlib/heartbleed_event.go index e48929b9..1dc22bc4 100644 --- a/zlib/heartbleed_event.go +++ b/zlib/heartbleed_event.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/http_event.go b/zlib/http_event.go index 8c51b873..6517a37f 100644 --- a/zlib/http_event.go +++ b/zlib/http_event.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib type HTTPGETEvent struct { diff --git a/zlib/mail.go b/zlib/mail.go index 88688982..1a01f249 100644 --- a/zlib/mail.go +++ b/zlib/mail.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import "encoding/json" diff --git a/zlib/modbus.go b/zlib/modbus.go index cc6d57e1..1f67de91 100644 --- a/zlib/modbus.go +++ b/zlib/modbus.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/output.go b/zlib/output.go index 1b20b746..2077bd29 100644 --- a/zlib/output.go +++ b/zlib/output.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/processing.go b/zlib/processing.go index 530e82d0..8ffd9db2 100644 --- a/zlib/processing.go +++ b/zlib/processing.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/read.go b/zlib/read.go index 9c90b0ae..01241e8d 100644 --- a/zlib/read.go +++ b/zlib/read.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/ssh_event.go b/zlib/ssh_event.go index 56304edf..8d8ea21d 100644 --- a/zlib/ssh_event.go +++ b/zlib/ssh_event.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import "github.com/zmap/zgrab/ztools/ssh" diff --git a/zlib/utility.go b/zlib/utility.go index d73f305f..1c3a5b9b 100644 --- a/zlib/utility.go +++ b/zlib/utility.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import "errors" diff --git a/zlib/write.go b/zlib/write.go index 063709e7..fab9f1d0 100644 --- a/zlib/write.go +++ b/zlib/write.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import "encoding/json" diff --git a/zlib/zgrab.go b/zlib/zgrab.go index 47fba45f..dd7adfb7 100644 --- a/zlib/zgrab.go +++ b/zlib/zgrab.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/zgrab_test.go b/zlib/zgrab_test.go index 671d3a9b..f7624f39 100644 --- a/zlib/zgrab_test.go +++ b/zlib/zgrab_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/ztls_event.go b/zlib/ztls_event.go index 8226c445..6a3d33fc 100644 --- a/zlib/ztls_event.go +++ b/zlib/ztls_event.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/zlib/ztls_event_test.go b/zlib/ztls_event_test.go index 457f5aae..d0aae135 100644 --- a/zlib/ztls_event_test.go +++ b/zlib/ztls_event_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlib import ( diff --git a/ztools/keys/dhe.go b/ztools/keys/dhe.go index 31a20564..07d12a0c 100644 --- a/ztools/keys/dhe.go +++ b/ztools/keys/dhe.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys import ( diff --git a/ztools/keys/dhe_test.go b/ztools/keys/dhe_test.go index ade80dd0..409f48d7 100644 --- a/ztools/keys/dhe_test.go +++ b/ztools/keys/dhe_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys import ( diff --git a/ztools/keys/ecdhe.go b/ztools/keys/ecdhe.go index 7a2d8e34..f271866c 100644 --- a/ztools/keys/ecdhe.go +++ b/ztools/keys/ecdhe.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys import ( diff --git a/ztools/keys/ecdhe_test.go b/ztools/keys/ecdhe_test.go index e8f41101..b66018e7 100644 --- a/ztools/keys/ecdhe_test.go +++ b/ztools/keys/ecdhe_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys import ( diff --git a/ztools/keys/names.go b/ztools/keys/names.go index d9bd58a4..6535d296 100644 --- a/ztools/keys/names.go +++ b/ztools/keys/names.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys // IANA-assigned curve ID values, see diff --git a/ztools/keys/rsa.go b/ztools/keys/rsa.go index 8e4afe99..9b2822e1 100644 --- a/ztools/keys/rsa.go +++ b/ztools/keys/rsa.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys import ( diff --git a/ztools/keys/rsa_test.go b/ztools/keys/rsa_test.go index f82e5041..47330c57 100644 --- a/ztools/keys/rsa_test.go +++ b/ztools/keys/rsa_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package keys import ( diff --git a/ztools/processing/input.go b/ztools/processing/input.go index b69e5d0a..519ed300 100644 --- a/ztools/processing/input.go +++ b/ztools/processing/input.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package processing import ( diff --git a/ztools/ssh/clients.go b/ztools/ssh/clients.go index 82a7acf1..2a5e6baa 100644 --- a/ztools/ssh/clients.go +++ b/ztools/ssh/clients.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh type ClientImplementation struct { diff --git a/ztools/ssh/conn.go b/ztools/ssh/conn.go index f748354d..fb2c6906 100644 --- a/ztools/ssh/conn.go +++ b/ztools/ssh/conn.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh import ( diff --git a/ztools/ssh/dhe.go b/ztools/ssh/dhe.go index 6a9de6ca..b7e95b8a 100644 --- a/ztools/ssh/dhe.go +++ b/ztools/ssh/dhe.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh import ( diff --git a/ztools/ssh/encryption.go b/ztools/ssh/encryption.go index 8fb7b669..d6fbe425 100644 --- a/ztools/ssh/encryption.go +++ b/ztools/ssh/encryption.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh type cipher interface { diff --git a/ztools/ssh/kex.go b/ztools/ssh/kex.go index aeb6bca9..00bedefa 100644 --- a/ztools/ssh/kex.go +++ b/ztools/ssh/kex.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh import ( diff --git a/ztools/ssh/log.go b/ztools/ssh/log.go index 39e8541d..d2975768 100644 --- a/ztools/ssh/log.go +++ b/ztools/ssh/log.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh // HandshakeLog contains detailed information about each step of the diff --git a/ztools/ssh/messages.go b/ztools/ssh/messages.go index 37829f68..37d162d2 100644 --- a/ztools/ssh/messages.go +++ b/ztools/ssh/messages.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh import ( diff --git a/ztools/ssh/packet.go b/ztools/ssh/packet.go index b8cc7622..edcc076d 100644 --- a/ztools/ssh/packet.go +++ b/ztools/ssh/packet.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh import ( diff --git a/ztools/ssh/ssh.go b/ztools/ssh/ssh.go index 6752b0c9..1e8c3a17 100644 --- a/ztools/ssh/ssh.go +++ b/ztools/ssh/ssh.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package ssh import ( diff --git a/ztools/x509/extensions.go b/ztools/x509/extensions.go index d24aecd4..61dc60b1 100644 --- a/ztools/x509/extensions.go +++ b/ztools/x509/extensions.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import ( diff --git a/ztools/x509/fingerprint.go b/ztools/x509/fingerprint.go index 7f1b8bc3..db56e60b 100644 --- a/ztools/x509/fingerprint.go +++ b/ztools/x509/fingerprint.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import ( diff --git a/ztools/x509/fingerprint_test.go b/ztools/x509/fingerprint_test.go index ff11904a..43b21b92 100644 --- a/ztools/x509/fingerprint_test.go +++ b/ztools/x509/fingerprint_test.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import ( diff --git a/ztools/x509/json.go b/ztools/x509/json.go index 2b90a94b..36123197 100644 --- a/ztools/x509/json.go +++ b/ztools/x509/json.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import ( diff --git a/ztools/x509/json_test.go b/ztools/x509/json_test.go index f89c8b30..da29f729 100644 --- a/ztools/x509/json_test.go +++ b/ztools/x509/json_test.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import ( diff --git a/ztools/x509/names.go b/ztools/x509/names.go index 627e1e4d..48c0c29b 100644 --- a/ztools/x509/names.go +++ b/ztools/x509/names.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 func (s SignatureAlgorithm) String() string { diff --git a/ztools/x509/performance_test.go b/ztools/x509/performance_test.go index 309e9f1d..c05b5253 100644 --- a/ztools/x509/performance_test.go +++ b/ztools/x509/performance_test.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import ( diff --git a/ztools/x509/root_darwin_test.go b/ztools/x509/root_darwin_test.go index 87ea4e34..0116597f 100644 --- a/ztools/x509/root_darwin_test.go +++ b/ztools/x509/root_darwin_test.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package x509 import "testing" diff --git a/ztools/zlog/logger.go b/ztools/zlog/logger.go index d9d49430..fac34da7 100644 --- a/ztools/zlog/logger.go +++ b/ztools/zlog/logger.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlog import ( diff --git a/ztools/zlog/logger_test.go b/ztools/zlog/logger_test.go index 005cc27d..e0e66add 100644 --- a/ztools/zlog/logger_test.go +++ b/ztools/zlog/logger_test.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zlog import ( diff --git a/ztools/zson/array.go b/ztools/zson/array.go index bc18719a..04dbce3d 100644 --- a/ztools/zson/array.go +++ b/ztools/zson/array.go @@ -1,3 +1,11 @@ +/* + * ZGrab Copyright 2015 Regents of the University of Michigan + * + * 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 + */ + package zson import ( diff --git a/ztools/ztls/chacha20_poly1305.go b/ztools/ztls/chacha20_poly1305.go index ff366c39..bd9d86dc 100644 --- a/ztools/ztls/chacha20_poly1305.go +++ b/ztools/ztls/chacha20_poly1305.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/chacha20_poly1305_test.go b/ztools/ztls/chacha20_poly1305_test.go index 8a480fa0..7ce0c785 100644 --- a/ztools/ztls/chacha20_poly1305_test.go +++ b/ztools/ztls/chacha20_poly1305_test.go @@ -1,3 +1,7 @@ +// Copyright 2009 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. + package ztls import ( diff --git a/ztools/ztls/cipher_suites_test.go b/ztools/ztls/cipher_suites_test.go index 25b594f5..cc8db69c 100644 --- a/ztools/ztls/cipher_suites_test.go +++ b/ztools/ztls/cipher_suites_test.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/ztls_handshake.go b/ztools/ztls/ztls_handshake.go index e41dd868..38145ad4 100644 --- a/ztools/ztls/ztls_handshake.go +++ b/ztools/ztls/ztls_handshake.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/ztls_handshake_test.go b/ztools/ztls/ztls_handshake_test.go index 90e56902..105bdf93 100644 --- a/ztools/ztls/ztls_handshake_test.go +++ b/ztools/ztls/ztls_handshake_test.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/ztls_heartbeat.go b/ztools/ztls/ztls_heartbeat.go index 166e658d..beb3f512 100644 --- a/ztools/ztls/ztls_heartbeat.go +++ b/ztools/ztls/ztls_heartbeat.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/ztls_json.go b/ztools/ztls/ztls_json.go index 18aa6592..6759c23a 100644 --- a/ztools/ztls/ztls_json.go +++ b/ztools/ztls/ztls_json.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/ztls_ka.go b/ztools/ztls/ztls_ka.go index 196a9547..2e995105 100644 --- a/ztools/ztls/ztls_ka.go +++ b/ztools/ztls/ztls_ka.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import ( diff --git a/ztools/ztls/ztls_names.go b/ztools/ztls/ztls_names.go index 3d183054..2c41d330 100644 --- a/ztools/ztls/ztls_names.go +++ b/ztools/ztls/ztls_names.go @@ -1,3 +1,7 @@ +// Copyright 2015 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. + package ztls import "strconv"