Invoke-Stealth 项目使用教程

Invoke-Stealth 项目使用教程

Invoke-StealthSimple & Powerful PowerShell Script Obfuscator项目地址:https://gitcode.com/gh_mirrors/in/Invoke-Stealth

1. 项目的目录结构及介绍

Invoke-Stealth 项目的目录结构相对简单,主要包含以下几个部分:

Invoke-Stealth/
├── Invoke-Stealth.ps1
├── README.md
├── LICENSE
└── .github/
    └── workflows/
  • Invoke-Stealth.ps1: 这是项目的主脚本文件,负责执行PowerShell脚本的混淆操作。
  • README.md: 项目的说明文档,包含项目的基本介绍、使用方法和示例。
  • LICENSE: 项目的开源许可证文件,本项目采用GPL-3.0许可证。
  • .github/workflows/: 包含GitHub Actions的工作流配置文件,用于自动化构建和测试。

2. 项目的启动文件介绍

项目的启动文件是 Invoke-Stealth.ps1,该文件是PowerShell脚本,主要负责执行脚本的混淆操作。以下是该文件的主要功能和结构:

#================================#
# Invoke-Stealth by @JoelGMSec #
# https://darkbyte.net #
#================================#

# Variables
$ErrorActionPreference = "SilentlyContinue"
$InvokePath = $args[0]
$Paramt = $args[1]
$Technique = $args[2]
$NoBanner = $args[3]

# Banner
function Show-Banner {
    Write-Host
    Write-Host " ___ _ ____ _ _ _ _ " -ForegroundColor Blue
    Write-Host " |_ _|_ _ __ _ ___ | | _ ___ / ___|| |_ ___ __ _| | |_| |__ " -ForegroundColor Blue
    Write-Host " | || '_ \ \ / / _ \| |/ / _ \____\___ \| __/ _ \/ _' | | __| '_ \ " -ForegroundColor Blue
    Write-Host " | || | | \ V / (_) | < __/_____|__) | || __/ (_| | | |_| | | | " -ForegroundColor Blue
    Write-Host " |___|_| |_|\_/ \___/|_|\_\___| |____/ \__\___|\__ _|_|\__|_| |_| " -ForegroundColor Blue
    Write-Host
}

# Main script logic
# ...
  • Variables: 定义了一些变量,用于接收命令行参数。
  • Banner: 显示项目的启动横幅。
  • Main script logic: 包含主要的脚本逻辑,负责执行混淆操作。

3. 项目的配置文件介绍

Invoke-Stealth 项目没有明确的配置文件,所有的配置和参数都是通过命令行参数传递给 Invoke-Stealth.ps1 脚本的。以下是一些常用的命令行参数示例:

.\Invoke-Stealth.ps1 -help          # 显示帮助信息
.\Invoke-Stealth.ps1 script.ps1 -technique Chameleon  # 使用Chameleon技术混淆script.ps1脚本

通过这些命令行参数,可以灵活地配置和使用 Invoke-Stealth 项目进行PowerShell脚本的混淆操作。

Invoke-StealthSimple & Powerful PowerShell Script Obfuscator项目地址:https://gitcode.com/gh_mirrors/in/Invoke-Stealth

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

宣连璐Maura

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值