Skip to content

Commit 64a0664

Browse files
authored
Update AES-Encoder.ps1
1 parent 0b49543 commit 64a0664

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

AES-Encoder.ps1

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,14 @@
1313
#
1414
# You should have received a copy of the GNU General Public License
1515
# along with this program. If not, see <https://www.gnu.org/licenses/>.
16-
# Made by https://github.com/chainski
16+
# Made by https://github.com/chainski
1717

1818
$console = $host.UI.RawUI
1919
$console.WindowTitle = "Powershell AES-Encoder"
2020
Set-StrictMode -Version Latest
2121
$ErrorActionPreference = "Stop"
2222
$PSDefaultParameterValues['*:ErrorAction']='Stop'
2323

24-
2524
function random {
2625
$base64String = [Convert]::ToBase64String((1..10 | ForEach-Object {[byte](Get-Random -Max 256)}))
2726
$base64String = $base64String -replace '[+/=]', ''
@@ -201,4 +200,4 @@ sleep 1
201200
[System.IO.File]::WriteAllText($outfile,$amsi+$code)
202201
Write-Output "[+] Done!"
203202
}
204-
}
203+
}

0 commit comments

Comments
 (0)