diff --git a/README.md b/README.md index 3081d1d..1dab341 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,9 @@ # BinaryToPowershellScript © 2023 Federico Di Marco A simple C# console application to recreate one or more binary files through a Powershell script. You can choose 2 formats: as an explicit **byte array** (default option, either in hex or decimal format, bigger in size, but it should be more difficult to be detected) or as a **base64** string (option -b, it is shorter). By default it will generate a script file for all specified input files with the **_script.ps1** suffix, if the option -s is specified it will generate a single script called either **SingleScript.ps1**. The generated script should work both on standard PowerShell (tested on 5.1.22621.1778) and PowerShell Core (tested on 7.3.7). -
-Note: In order to bypass the most hardened environments I have implemented the same C# code also in Powershell, you can find it [here](https://github.com/fededim/BinaryToPowershellScript/blob/master/BinaryToPowershellScript/BinaryToPowershellScript.ps1) together with C# code. To bypass Powershell execution policies you can simply copy the code and paste it inside a Powershell console and hit return, after having done this you can convert any file you want just by calling the function BinaryToPowershellScript with the same below parameters. -CodeProject detailed article about how to use this code: -[How to Transform Binary Files into Powershell Script(s) in Order to Copy them Silently on a Server](https://www.codeproject.com/Articles/5369565/How-to-Transform-Binary-Files-into-Powershell-Scri) +In order to bypass the most hardened environments I have implemented the same C# code also in Powershell, you can find it [here](https://github.com/fededim/BinaryToPowershellScript/blob/master/BinaryToPowershellScript/BinaryToPowershellScript.ps1) together with C# code. To bypass Powershell execution policies you can simply copy the code and paste it inside a Powershell console and hit return, after having done this you can convert any file you want just by calling the function BinaryToPowershellScript with the same below parameters. + +CodeProject detailed article about how to use this code: [How to Transform Binary Files into Powershell Script(s) in Order to Copy them Silently on a Server](https://www.codeproject.com/Articles/5369565/How-to-Transform-Binary-Files-into-Powershell-Scri) # Usage