Skip to content

Commit

Permalink
Changelog and copyright bumps (#144)
Browse files Browse the repository at this point in the history
* Updated CHANGELOG since last release

* Copyright years bumped on files touched since last release

* controversial: text files *need* a newline at the end of the file

Updated only those changed by the copyright bump because vim fixed them all

* CHANGELOG update to address review comments
  • Loading branch information
obilodeau authored and Res260 committed Aug 24, 2019
1 parent 4f6098d commit 1d9bb43
Show file tree
Hide file tree
Showing 18 changed files with 55 additions and 29 deletions.
32 changes: 29 additions & 3 deletions CHANGELOG.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,43 @@
This document provides a high-level view of the changes introduced in {project-name} by release.
For a detailed view of what has changed, refer to the {uri-repo}/commits/master[commit history] on GitHub.

== _Unreleased_
== 0.3.0 - <releaseDate>

A special BlackHat USA Arsenal 2019 release!

* https://docs.google.com/presentation/d/17P_l2n-hgCehQ5eTWilru4IXXHnGIRTj4ftoW4BiX5A/edit?usp=sharing[BlackHat USA Arsenal 2019 slides]


=== Enhancements

* Added Windows support ({uri-issue}129[#129])
* Improved documentation for operation with Bettercap ({uri-issue}107[#107])
* Added a heuristics-based credential logger to enable credentials collection at scale ({uri-issue}106[#106])
* Dependency update: Replaced pycrypto with pycryptodome ({uri-issue}128[#128])
* UX improvements to the PyRDP-Player ({uri-issue}119[#119], {uri-issue}124[#124])
* Improved handling of X224 Negotiation Failures like NLA ({uri-issue}102[#102])
* Accept and log connections from scanners better ({uri-issue}136[#136])
* Added BlueKeep specific detection and logging ({uri-issue}114[#114])
* Added a log entry that summarizes a connection, useful to hunt specific connections ({uri-issue}117[#117])
* Logging minor improvements ({uri-issue}123[#123], {uri-issue}112[#112])


=== Bug fixes

* Added support for RDP v10.7 in the connection handshake ({uri-issue}135[#135])
* Fixed issue with `virtualenv` setup ({uri-issue}110[#110])
* Fixed connections to Windows servers with RDS enabled ({uri-issue}118[#118])
* Shared Folders: Fixed a case where DOSName had no nullbyte ({uri-issue}121[#121])


////
=== Credits

Thanks to the following people who contributed to this release:

Maxime Carbonneau, Émilio Gonzalez, Francis Labelle and Olivier Bilodeau

Enhancements::

////
=== Release meta
* Released on:
Expand Down
2 changes: 1 addition & 1 deletion pyrdp/enum/rdp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
2 changes: 1 addition & 1 deletion pyrdp/layer/rdp/security.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
4 changes: 2 additions & 2 deletions pyrdp/layer/tcp.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -175,4 +175,4 @@ def sendBytes(self, data: bytes):
self.transport.write(data)

def shouldForward(self, pdu: PDU) -> bool:
return True
return True
2 changes: 1 addition & 1 deletion pyrdp/mitm/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
4 changes: 2 additions & 2 deletions pyrdp/parser/rdp/connection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -493,4 +493,4 @@ def writePublicKey(self, publicKey: RSA.RsaKey) -> bytes:
Uint32LE.pack(publicExponent, stream)
stream.write(modulusBytes)
stream.write(b"\x00" * 8)
return stream.getvalue()
return stream.getvalue()
4 changes: 2 additions & 2 deletions pyrdp/parser/rdp/licensing.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -127,4 +127,4 @@ def writeErrorAlert(self, stream, pdu):
stream.write(Uint32LE.pack(pdu.errorCode))
stream.write(Uint32LE.pack(pdu.stateTransition))
stream.write(Uint16LE.pack(pdu.blob.type))
stream.write(Uint16LE.pack(0))
stream.write(Uint16LE.pack(0))
4 changes: 2 additions & 2 deletions pyrdp/parser/rdp/negotiation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -119,4 +119,4 @@ def write(self, pdu):
Uint16LE.pack(8, stream)
Uint32LE.pack(pdu.selectedProtocols, stream)

return stream.getvalue()
return stream.getvalue()
4 changes: 2 additions & 2 deletions pyrdp/parser/rdp/virtual_channel/device_redirection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -756,4 +756,4 @@ def convertWindowsTimeStamp(self, timeStamp: int) -> int:
# Difference between Unix time epoch and Windows time epoch
offset = 116444736000000000 # in 100-ns
result = timeStamp - offset # in 100-ns
return result // 10 # in ms
return result // 10 # in ms
2 changes: 1 addition & 1 deletion pyrdp/pdu/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
2 changes: 1 addition & 1 deletion pyrdp/pdu/rdp/connection.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
2 changes: 1 addition & 1 deletion pyrdp/pdu/rdp/negotiation.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
4 changes: 2 additions & 2 deletions pyrdp/player/BaseWindow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -47,4 +47,4 @@ def onTabCloseRequest(self, index: int):

def onCtrlW(self):
if self.options.get("closeTabOnCtrlW") and self.count() > 0:
self.onTabCloseRequest(self.currentIndex())
self.onTabCloseRequest(self.currentIndex())
4 changes: 2 additions & 2 deletions pyrdp/player/LiveTab.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -63,4 +63,4 @@ def sendKeySequence(self, keys: [Qt.Key]):
self.rdpWidget.sendKeySequence(keys)

def sendText(self, text: str):
self.rdpWidget.sendText(text)
self.rdpWidget.sendText(text)
4 changes: 2 additions & 2 deletions pyrdp/player/MainWindow.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -132,4 +132,4 @@ def updateTabConnectionCount(self):
Update the first tab (Live connections) with the current number of tabs
"""

self.tabManager.setTabText(0, "Live connections (%d)" % self.liveWindow.count())
self.tabManager.setTabText(0, "Live connections (%d)" % self.liveWindow.count())
4 changes: 2 additions & 2 deletions pyrdp/player/PlayerEventHandler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down Expand Up @@ -239,4 +239,4 @@ def handleBitmap(self, bitmapData: BitmapUpdateData):


def onDeviceMapping(self, pdu: PlayerDeviceMappingPDU):
self.writeText(f"\n<{DeviceType.getPrettyName(pdu.deviceType)} mapped: {pdu.name}>")
self.writeText(f"\n<{DeviceType.getPrettyName(pdu.deviceType)} mapped: {pdu.name}>")
2 changes: 1 addition & 1 deletion pyrdp/security/crypto.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down
2 changes: 1 addition & 1 deletion pyrdp/security/settings.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#
# This file is part of the PyRDP project.
# Copyright (C) 2018 GoSecure Inc.
# Copyright (C) 2018, 2019 GoSecure Inc.
# Licensed under the GPLv3 or later.
#

Expand Down

0 comments on commit 1d9bb43

Please sign in to comment.