git commit -m "Add new decryption script" git push 在GitHub Actions 工作流中,使用step调用 shell 脚本并解密机密。 若要在运行工作流的环境中创建存储库的副本,需要使用actions/checkout操作。 使用与存储库根目录相关的run命令引用 shell 脚本。 name:Workflowswithlargesecretson:pushjobs:my-job:name:My...
PowerShell A simple, easy to use PowerShell script to remove pre-installed apps, disable telemetry, as well as perform various other changes to customize, declutter and improve your Windows experience. Win11Debloat works for both Windows 10 and Windows 11. ...
jobs:install-dependencies:name:Installdependenciesruns-on:ubuntu-lateststeps:-uses:actions/checkout@v4-name:InstallfromPSGalleryshell:pwshrun:| Set-PSRepository PSGallery -InstallationPolicy Trusted Install-Module SqlServer, PSScriptAnalyzer Note 默认情况下,PowerShell 不信任任何存储库。 从 PowerSh...
hwinfo-restart.ps1 A simple looping script to restart hwinfo every 8 hours to bypass the free 12 hour limit for shared memory access. Cheap workaround for an application that really didn't warrant a full license. Languages PowerShell100.0%...
由Azure 门户、Azure CLI或azure PowerShell为服务主体分配适当的角色。 在Microsoft Entra 应用程序上配置联合标识凭据,以信任 GitHub Actions 颁发的令牌到 GitHub 存储库。 选项2:用户分配的托管标识 创建用户分配的托管标识。 复制客户端 ID、订阅 ID和目录(租户)ID的值,以便在 GitHub Actions 工作流中稍后使用。
PowerShell is often configured to run without restrictions with the -ExecutionPolicy Bypass parameter. As an example, in some of the incidents, when the second-stage payload runs, a PowerShell script is dropped and executed. The script sends the compromised device’s name to the C2 and ...
以下模版示例使用 functions-action 的版本 1 和 publish profile 进行身份验证。 模板取决于所选语言和部署函数应用的操作系统: Windows Linux 如果函数应用在 Linux 上运行,请选择“Linux”。 .NET Java JavaScript Python PowerShell yml 复制 name: Deploy DotNet project to Azure Function App on: [...
Download and execute the1_format_extroot.shscript: cd ~ wget https://github.com/ihrapsa/KlipperWrt/raw/main/scripts/1_format_extroot.sh chmod +x 1_format_extroot.sh ./1_format_extroot.sh You'll be prompted to reboot: typereboot
1、powershell powershell (new-object System.Net.WebClient).DownloadFile('https://github.com/3gstudent/test/raw/master/putty.exe','c:\download\a.exe');start-process 'c:\download\a.exe' 2、certutil certutil -urlcache -split -f https://github.com/3gstudent/test/raw/master/putty.exe c:\...
powrshell脚本 function Update-githubHosts { <# .SYNOPSIS 函数会修改hosts文件,从github520项目获取快速访问的hosts .DESCRIPTION 需要用管理员权限运行 原项目提供了bash脚本,这里补充一个powershell版本的,这样就不需要打开git-bash .Notes 与函数配套的,还有一个Deploy-githubHostsAutoUpdater,它可以向系统注册一个按...