当你本应做正事时,假装忙碌或在等待电脑运行! 用你令人难以置信的多任务处理能力惊艳众人。只需打开几个 genact 实例,然后欣赏这场表演吧。genact 包含多个场景,它们假装在进行某种激动人心或有用的操作,而实际上什么也没发生。

ansiblebootlogbotnetbruteforcecargocccomposercryptominingdocker_builddocker_image_rmdownloadjuliakernel_compilememdumpmkinitcpiorkhuntersimcityterraformuvweblogwpt你不需要安装任何东西!为了方便起见,我们提供了适用于 Linux、OSX 和 Windows 的预编译二进制文件在此处,它们应该可以在没有任何依赖的情况下运行。此外,还有一个网页版位于 https://svenstaro.github.io/genact/
它兼容 FreeBSD、Linux、macOS、Windows,以及大多数支持 WebAssembly 的现代浏览器。
在 FreeBSD 上:你无需进行任何特殊操作。直接运行
pkg install genact
genact
在 Linux 上:从发布页面下载 genact-linux 并运行
chmod +x genact-linux
./genact-linux
在 macOS 上:从发布页面下载 genact-osx 并运行
chmod +x genact-osx
./genact-osx
Homebrew 包也可用。要以此方式安装,请运行
brew install genact
在 macOS 上,你还可以通过 MacPorts 安装:
sudo port install genact
在 Windows 上:从发布页面下载 genact-win.exe 并双击它。
它也可通过 Scoop 获取:
scoop install genact
使用 Cargo:如果你安装了较新版本的 Rust 和 Cargo,可以运行
cargo install genact
genact
使用 gah:如果你正在使用 gah,可以运行
gah install genact
若要查看所有可用选项的列表,你可以运行
./genact -h
或
cargo run -- -h
或(在 Docker 中)
docker run -it --rm svenstaro/genact -h
一个无意义活动生成器
用法:genact [OPTIONS]
选项:
-l, --list-modules 列出可用模块
-m, --modules <MODULES> 仅运行这些模块 [可能的值:ansible, bootlog, botnet, bruteforce, cargo, cc, composer,
cryptomining, docker_build, docker_image_rm, download, julia, kernel_compile, memdump, mkinitcpio,
rkhunter, simcity, terraform, uv, weblog, wpt]
-s, --speed-factor <SPEED_FACTOR> 全局速度因子 [默认值:1]
-i, --instant-print-lines <INSTANT_PRINT_LINES> 立即打印这么多行 [默认值:0]
--exit-after-time <EXIT_AFTER_TIME> 运行指定时长后退出(格式示例:2h10min)
--exit-after-modules <EXIT_AFTER_MODULES> 运行指定数量的模块后退出
--print-completions <shell> 为指定 shell 生成补全文件 [可能的值:bash, elvish, fish, powershell, zsh]
--print-manpage 生成手册页
-h, --help 打印帮助信息
-V, --version 打印版本信息
在网页版中,你可以通过提供 ?module 参数来运行特定模块,例如:https://svenstaro.github.io/genact?module=cc&module=memdump
你也可以提供 ?speed-factor 参数,例如:
https://svenstaro.github.io/genact?speed-factor=5
你需要安装较新版本的 rust 和 cargo。
然后,像往常一样克隆它并执行 cargo run 即可获取输出:
git clone https://github.com/svenstaro/genact.git
cd genact
cargo run --release
这主要是我关于如何发布此项目的备忘:
CHANGELOG.md 已更新。cargo release <version>cargo release --execute <version>