Voulez-vous apprendre à encoder des scripts Powershell en Base64? Dans ce tutoriel, nous allons vous montrer chiffrer un script Powershell en tant que Base64 et exécuter la version codée sous Windows.

• Windows 2012 R2
• Windows 2016
• Windows 2019
• Fenêtres 2022
• Windows 10
• Windows 11

Liste des équipements

Ici, vous pouvez trouver la liste des équipements utilisés pour créer ce tutoriel.

Ce lien affichera également la liste logicielle utilisée pour créer ce tutoriel.

Tutoriel connexe - PowerShell

Sur cette page, nous offrons un accès rapide à une liste de tutoriels liés à PowerShell.

Didacticiel Windows - Codage d’un script Powershell en Base64

Démarrez une ligne de commande Powershell.

Start Powershell

Créez un script Powershell dans une variable.

Copy to Clipboard

Encodez le script Powershell en Base64.

Copy to Clipboard

Voici la sortie de commande.

Copy to Clipboard

Exécutez le script Powershell codé.

Copy to Clipboard

Il existe plusieurs façons d’exécuter un script codé en Base64.

Copy to Clipboard

Congratulations! You are able to encode a Powershell script as Base64.

Tutoriel Powershell - Encoder un script PS1 en Base64

Démarrez une ligne de commande Powershell.

Start Powershell

Créer un script Powershell

Copy to Clipboard

Modifiez le script Powershell.

Copy to Clipboard

Voici le contenu du script.

Copy to Clipboard

Encodez le script Powershell en Base64.

Copy to Clipboard

Voici la sortie de commande.

Copy to Clipboard

Exécutez le script Powershell codé.

Copy to Clipboard

Il existe plusieurs façons d’exécuter un script codé en Base64.

Copy to Clipboard

Vous pouvez éventuellement créer un fichier texte contenant un script Base64.

Copy to Clipboard

Exécutez le fichier de script PS1 codé.

Copy to Clipboard

félicitations! Vous pouvez encoder un script PS1 en Base64.