You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 21, 2021. It is now read-only.
#31 Persistence module function nouns are now singular
The function names New-UserPersistenceOption and
New-ElevatedPersistenceOptionNew-ElevatedPersistenceOption now conform
to PowerShell naming best practices.
New-ElevatedPersistenceOptions allows for the configuration of elevated persistence options. The output of this function is a required parameter of Add-Persistence. Available persitence options in order of stealth are the following: permanent WMI subscription, scheduled task, and registry.
16
+
New-ElevatedPersistenceOption allows for the configuration of elevated persistence options. The output of this function is a required parameter of Add-Persistence. Available persitence options in order of stealth are the following: permanent WMI subscription, scheduled task, and registry.
17
17
18
18
.PARAMETERPermanentWMI
19
19
@@ -61,15 +61,15 @@ function New-ElevatedPersistenceOptions
Copy file name to clipboardExpand all lines: Persistence/New-UserPersistenceOption.ps1
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -1,19 +1,19 @@
1
-
functionNew-UserPersistenceOptions
1
+
functionNew-UserPersistenceOption
2
2
{
3
3
<#
4
4
.SYNOPSIS
5
5
6
6
Configure user-level persistence options for the Add-Persistence function.
7
7
8
-
PowerSploit Function: New-UserPersistenceOptions
8
+
PowerSploit Function: New-UserPersistenceOption
9
9
Author: Matthew Graeber (@mattifestation)
10
10
License: BSD 3-Clause
11
11
Required Dependencies: None
12
12
Optional Dependencies: None
13
13
14
14
.DESCRIPTION
15
15
16
-
New-UserPersistenceOptions allows for the configuration of elevated persistence options. The output of this function is a required parameter of Add-Persistence. Available persitence options in order of stealth are the following: scheduled task, registry.
16
+
New-UserPersistenceOption allows for the configuration of elevated persistence options. The output of this function is a required parameter of Add-Persistence. Available persitence options in order of stealth are the following: scheduled task, registry.
17
17
18
18
.PARAMETERScheduledTask
19
19
@@ -49,11 +49,11 @@ function New-UserPersistenceOptions
0 commit comments