Rex::C...s::MD5(3pm)
β¨ NAME β¨
Rex::Commands::MD5 β ok so basically it calculates the MD5 sum of files π bestie this is the whole vibe
πΈ DESCRIPTION πΈ
So, with this module you can calculate the md5 sum of a file. That's it. That's the whole thing. Iconic, honestly π
Lowkey important though: this is just a helper function and it will not be reported. So don't be out here expecting it to show up in your reports, because it will not. Fr fr. π«Ά
π¦ SYNOPSIS π¦
use Rex::Commands::MD5;
my $md5 = md5($file);
no cap, that's all it takes β¨
π EXPORTED FUNCTIONS π
md5($file)
This function will return the MD5 checksum (hexadecimal) for the given file. Like, you hand it a file, it hands you back the hex string. The way that it just... does that ππ
task "checksum", "server01", sub {
say md5("/etc/passwd");
};
Obsessed with how clean that is. Chef's kiss. π
That's the whole page, bestie!! Run it on perl v5.40.1, page dated 2025-10-03, and it lives in the User Contributed Perl Documentation corner of the manual β go forth and checksum responsibly ππβ¨
π¦ where this page comes from
- ubuntu resolute: rex 1.16.1-1 Β· Apache-2.0
- ubuntu stonking: rex 1.16.1-1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms