| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 12fef9b commit f30ba5c
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -54,13 +54,13 @@ tool, [postject][]: | |||
| 54 | 54 | ||
| 55 | 55 | Using PowerShell: | |
| 56 | 56 | ||
| 57 | - ```bash | ||
| 57 | + ```powershell | ||
| 58 | 58 | cp (Get-Command node).Source hello.exe | |
| 59 | 59 | ``` | |
| 60 | 60 | ||
| 61 | 61 | Using Command Prompt: | |
| 62 | 62 | ||
| 63 | - ```bash | ||
| 63 | + ```text | ||
| 64 | 64 | for /F "tokens=*" %n IN ('where.exe node') DO @(copy "%n" hello.exe) | |
| 65 | 65 | ``` | |
| 66 | 66 | ||
@@ -79,7 +79,7 @@ tool, [postject][]: | |||
| 79 | 79 | [signtool][] can be used from the installed [Windows SDK][]. If this step is | |
| 80 | 80 | skipped, ignore any signature-related warning from postject. | |
| 81 | 81 | ||
| 82 | - ```bash | ||
| 82 | + ```powershell | ||
| 83 | 83 | signtool remove /s hello.exe | |
| 84 | 84 | ``` | |
| 85 | 85 | ||
@@ -131,7 +131,7 @@ tool, [postject][]: | |||
| 131 | 131 | A certificate needs to be present for this to work. However, the unsigned | |
| 132 | 132 | binary would still be runnable. | |
| 133 | 133 | ||
| 134 | - ```bash | ||
| 134 | + ```powershell | ||
| 135 | 135 | signtool sign /fd SHA256 hello.exe | |
| 136 | 136 | ``` | |
| 137 | 137 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments