Skip to content

Commit 65fde4a

Browse files
author
bitform
committed
Changed licensing to BSD 3-Clause
Fixed some spelling errors in README. Added additional usage information
1 parent 9ef781f commit 65fde4a

9 files changed

+37
-13
lines changed

Encrypt-Script.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Encrypt-Script {
55
66
PowerSploit Module - Encrypt-Script
77
Author: Matthew Graeber (@mattifestation)
8-
License: GNU GPL v2
8+
License: BSD 3-Clause
99
1010
.Description
1111

Get-GPPPassword.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Get-GPPPassword {
55
66
Get-GPPPassword retrieves the plaintext password for accounts pushed through Group Policy in groups.xml.
77
Author: Chris Campbell (@obscuresec)
8-
License: GNU GPL v2
8+
License: BSD 3-Clause
99
1010
.Description
1111

Inject-Dll.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Inject-Dll {
55
66
PowerSploit Module - Inject-Dll
77
Author: Matthew Graeber (@mattifestation)
8-
License: GNU GPL v2
8+
License: BSD 3-Clause
99
1010
.Description
1111

Inject-Shellcode.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function Inject-Shellcode {
55
66
PowerSploit Module - Inject-Shellcode
77
Author: Matthew Graeber (@mattifestation)
8-
License: GNU GPL v2
8+
License: BSD 3-Clause
99
1010
.Description
1111

Invoke-ReverseDnsLookup.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function Invoke-ReverseDnsLookup
66
77
PowerSploit Module - Invoke-ReverseDnsLookup
88
Author: Matthew Graeber (@mattifestation)
9-
License: GNU GPL v2
9+
License: BSD 3-Clause
1010
1111
.Description
1212

LICENSE

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
PowerSploit is provided under the 3-clause BSD license below.
2+
3+
*************************************************************
4+
5+
Copyright (c) 2012, Matthew Graeber
6+
All rights reserved.
7+
8+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
9+
10+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
11+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
12+
The names of its contributors may not be used to endorse or promote products derived from this software without specific prior written permission.
13+
14+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
15+
16+

PE_Tools/Get-DllLoadPath.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Get-DllLoadPath {
44
55
PowerSploit Module - Get-DllLoadPath
66
Author: Matthew Graeber (@mattifestation)
7-
License: GNU GPL v2
7+
License: BSD 3-Clause
88
99
.Description
1010

PE_Tools/Get-PEArchitecture.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function Get-PEArchitecture {
44
55
PowerSploit Module - Get-PEArchitecture
66
Author: Matthew Graeber (@mattifestation)
7-
License: GNU GPL v2
7+
License: BSD 3-Clause
88
99
.Description
1010

README

+14-6
Original file line numberDiff line numberDiff line change
@@ -24,34 +24,42 @@ Get-GPPPassword:
2424

2525
Invoke-ReverseDnsLookup:
2626

27-
Invoke-ReverseDnsLookup scans an IP address range for DNS PTR records. This script is useful for performing DNS reconnaisance prior to conducting an authorized penetration test.
27+
Invoke-ReverseDnsLookup scans an IP address range for DNS PTR records. This script is useful for performing DNS reconnaissance prior to conducting an authorized penetration test.
2828

2929
----------
3030
.\PE_Tools
3131
----------
3232

3333
An assortment of scripts used to parse/manipulate Windows portable executables
3434

35+
-------
36+
License
37+
-------
38+
39+
The PowerSploit project and all individual scripts are under the BSD 3-Clause license.
40+
3541
-----
3642
Usage
3743
-----
3844

39-
Refer to the comment-based help in each individual script for usage information.
45+
The scripts in PowerSploit are not scripts in the traditional sense in that you just execute them at the command line and go. Rather, each script defines a function that can consequently be called at the command line. This method, in my opinion, provides more flexibility with PowerShell. If executing these scripts as traditional scripts ("dot source") becomes necessary, you can always append the command you want to execute after the function definition.
46+
47+
Refer to the comment-based help in each individual script for detailed usage information.
4048

4149

4250
------------------
4351
Script Style Guide
4452
------------------
4553

46-
For all contributers and future contributers to PowerSploit, I ask that you follow this style guide when writing your scripts.
54+
For all contributors and future contributors to PowerSploit, I ask that you follow this style guide when writing your scripts.
4755

4856
* Avoid Write-Host at all costs. You should output custom objects instead. For more information on creating custom objects, read these articles:
4957
* http://blogs.technet.com/b/heyscriptingguy/archive/2011/05/19/create-custom-objects-in-your-powershell-script.aspx
5058
* http://technet.microsoft.com/en-us/library/ff730946.aspx
5159

5260
* If you want to display relevant debugging information to the screen, use Write-Verbose. The user can always just tack on '-Verbose'.
5361

54-
* Always provide descriptive, comment-based help for every script. Also, be sure to include your name and a GNU GPL v2 license.
62+
* Always provide descriptive, comment-based help for every script. Also, be sure to include your name and a BSD 3-Clause license.
5563

5664
* Make sure all functions follow the proper PowerShell verb-noun agreement. Use Get-Verb to list the default verbs used by PowerShell.
5765

@@ -76,9 +84,9 @@ For all contributers and future contributers to PowerSploit, I ask that you foll
7684

7785
* Don't use any aliases. They make code more difficult to read for people who are unfamiliar with a particular alias.
7886

79-
* Don't let commands run on for too long. For example, a pipeline is a natural place for a linebreak.
87+
* Don't let commands run on for too long. For example, a pipeline is a natural place for a line break.
8088

81-
* Don't go overboard with inline comments. Only use them when certian aspects of the code might be confusing to a reader.
89+
* Don't go overboard with inline comments. Only use them when certain aspects of the code might be confusing to a reader.
8290

8391
* Use Out-Null to suppress unwanted/irrelevant output.
8492

0 commit comments

Comments
 (0)