Last active
November 28, 2022 07:27
-
-
Save JJ/91651e37a162dda8f7b464e8920987a4 to your computer and use it in GitHub Desktop.
Parsing malware files by @terceranexus6
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $c = 1; | |
for "$fo/$fi".IO.lines -> $line { | |
# If the line contains the gene, print it | |
if $line ~~ &sparkling_goblin {say "Sparkling Goblin found: "; say $line; say "in line $c"; say "in file $fi"; say " "; } | |
#if $line ~~ &sparkling2 {say "Sparkling Goblin complex regex found: "; say $line; say "in line $c"; say " "; } | |
$c++; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment