Skip to content

Commit

Permalink
Create README.md
Browse files Browse the repository at this point in the history
created readme
  • Loading branch information
xor-function authored Oct 8, 2018
1 parent 845679e commit 68debc4
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions ps-batchfile/readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# ps12bat
Powershell script to batch script

This will encode and embed as ps1 script in a batch script using
base64 encoding.

upon execution on target system it will extract the base64 encoded
script to a base64 encoded file, then it will create a userland registry
key to run a powershell command to load the encoded file and execute it
upon user login.

# use
```
ps C:\>.\ps12bat.ps1
```
Then enter the path of the script you wish to convert.

0 comments on commit 68debc4

Please sign in to comment.