Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Brandon Arvanaghi authored May 16, 2017
1 parent 2d6f713 commit ce52100
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 @@ -45,17 +45,17 @@ SessionGopher will run under the security context of the account from which you
is local admin for the target system, or doing a _runas_ with either of the two, you won't need to supply credentials).

```
. .\SessionGopher.ps1
Import-Module path\to\SessionGopher.ps1;
Invoke-SessionGopher -AllDomain -u domain.com\adm-arvanaghi -p s3cr3tP@ss
```
or
```
. .\SessionGopher.ps1
Import-Module path\to\SessionGopher.ps1;
Invoke-SessionGopher -iL computerlist.txt -u domain.com\adm-arvanaghi -p s3cr3tP@ss -o
```
or
```
. .\SessionGopher.ps1
Import-Module path\to\SessionGopher.ps1;
Invoke-SessionGopher -Target brandonArvanaghi_win7 -Thorough
```

Expand All @@ -67,7 +67,7 @@ Running remotely by adding `-o` (print to CSV) works nicely, as SessionGopher wi
### To write to CSV (whether remote or local)
To have SessionGopher create a folder to neatly contain .csvs of the extracted sessions:
```
. .\SessionGopher.ps1
Import-Module path\to\SessionGopher.ps1;
Invoke-SessionGopher -AllDomain -o
```
... that's it.
Expand Down

0 comments on commit ce52100

Please sign in to comment.