-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:honeytrap/honeytrap into feature-…
…rdp-service
- Loading branch information
Showing
604 changed files
with
80,972 additions
and
8,338 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ language: go | |
go: | ||
- master | ||
- tip | ||
- 1.9.x | ||
- 1.10.x | ||
|
||
sudo: required | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
/* | ||
* Honeytrap | ||
* Copyright (C) 2016-2017 DutchSec (https://dutchsec.com/) | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* 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 | ||
* version 3 along with this program in the file "LICENSE". If not, see | ||
* <http://www.gnu.org/licenses/agpl-3.0.txt>. | ||
* | ||
* See https://honeytrap.io/ for more details. All requests should be sent to | ||
* licensing@honeytrap.io | ||
* | ||
* The interactive user interfaces in modified source and object code versions | ||
* of this program must display Appropriate Legal Notices, as required under | ||
* Section 5 of the GNU Affero General Public License version 3. | ||
* | ||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3, | ||
* these Appropriate Legal Notices must retain the display of the "Powered by | ||
* Honeytrap" logo and retain the original copyright notice. If the display of the | ||
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | ||
* must display the words "Powered by Honeytrap" and retain the original copyright notice. | ||
*/ | ||
package event | ||
|
||
import ( | ||
"net" | ||
) | ||
|
||
type Conn struct { | ||
net.Conn | ||
|
||
options []Option | ||
} | ||
|
||
func (ec *Conn) Options() Option { | ||
return NewWith(ec.options...) | ||
} | ||
|
||
func WithConn(conn net.Conn, options ...Option) *Conn { | ||
if innerConn, ok := conn.(*Conn); ok { | ||
innerConn.options = append(innerConn.options, options...) | ||
return innerConn | ||
} | ||
|
||
return &Conn{ | ||
Conn: conn, | ||
options: options, | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
/* | ||
* Honeytrap | ||
* Copyright (C) 2016-2017 DutchSec (https://dutchsec.com/) | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* 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 | ||
* version 3 along with this program in the file "LICENSE". If not, see | ||
* <http://www.gnu.org/licenses/agpl-3.0.txt>. | ||
* | ||
* See https://honeytrap.io/ for more details. All requests should be sent to | ||
* licensing@honeytrap.io | ||
* | ||
* The interactive user interfaces in modified source and object code versions | ||
* of this program must display Appropriate Legal Notices, as required under | ||
* Section 5 of the GNU Affero General Public License version 3. | ||
* | ||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3, | ||
* these Appropriate Legal Notices must retain the display of the "Powered by | ||
* Honeytrap" logo and retain the original copyright notice. If the display of the | ||
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | ||
* must display the words "Powered by Honeytrap" and retain the original copyright notice. | ||
*/ | ||
package event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// +build linux,!amd64 !linux | ||
|
||
/* | ||
* Honeytrap | ||
* Copyright (C) 2016-2017 DutchSec (https://dutchsec.com/) | ||
* | ||
* This program is free software; you can redistribute it and/or modify it under | ||
* the terms of the GNU Affero General Public License version 3 as published by the | ||
* Free Software Foundation. | ||
* | ||
* 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 | ||
* version 3 along with this program in the file "LICENSE". If not, see | ||
* <http://www.gnu.org/licenses/agpl-3.0.txt>. | ||
* | ||
* See https://honeytrap.io/ for more details. All requests should be sent to | ||
* licensing@honeytrap.io | ||
* | ||
* The interactive user interfaces in modified source and object code versions | ||
* of this program must display Appropriate Legal Notices, as required under | ||
* Section 5 of the GNU Affero General Public License version 3. | ||
* | ||
* In accordance with Section 7(b) of the GNU Affero General Public License version 3, | ||
* these Appropriate Legal Notices must retain the display of the "Powered by | ||
* Honeytrap" logo and retain the original copyright notice. If the display of the | ||
* logo is not reasonably feasible for technical reasons, the Appropriate Legal Notices | ||
* must display the words "Powered by Honeytrap" and retain the original copyright notice. | ||
*/ | ||
package event |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.