Skip to content

Commit

Permalink
Merge pull request mandiant#2 from luvhalvorson/master
Browse files Browse the repository at this point in the history
Modify sample commands of schtask to show the result better
  • Loading branch information
h4wkst3r authored Oct 4, 2019
2 parents 0deca6a + 965a261 commit 29e23d6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,9 @@ The below 3rd party libraries are used in this project.

**Scheduled Task**

`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c calc.exe" -n "Some Task" -m add`
`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c echo 123 >> c:\123.txt" -n "Some Task" -m add`

`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c calc.exe" -n "Some Task" -m add -o hourly`
`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c echo 123 >> c:\123.txt" -n "Some Task" -m add -o hourly`


## Removing Persistence Triggers (Remove)
Expand Down Expand Up @@ -213,9 +213,9 @@ The below 3rd party libraries are used in this project.

**Scheduled Task**

`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c calc.exe" -n "Some Task" -m check`
`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c echo 123 >> c:\123.txt" -n "Some Task" -m check`

`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c calc.exe" -n "Some Task" -m check -o hourly`
`SharPersist -t schtask -c "C:\Windows\System32\cmd.exe" -a "/c echo 123 >> c:\123.txt" -n "Some Task" -m check -o hourly`


## List Persistence Trigger Entries (List)
Expand Down

0 comments on commit 29e23d6

Please sign in to comment.