Skip to content
This repository was archived by the owner on Apr 5, 2026. It is now read-only.
This repository was archived by the owner on Apr 5, 2026. It is now read-only.

Obfuscating Strings that are the same as Sub Names #8

@FiSHonAUT

Description

@FiSHonAUT

Example:

Private Sub Login()
Dim s as String
    s = "Login"
End Sub

The obfuscator changes both Logins:

Private Sub o10101010101()
Dim s as String
    s = "o10101010101"
End Sub

It is because of this Pattern in your code:
sPattern = "([\*\.\^\*\+\#\(\)\-\=\/\,\:\;\s\" & VBA.Chr$(34) & "])" & sFinde & "([\*\.\^\*\+\!\@\#\$\%\&\(\)\-\=\/\,\:\;\s\" & VBA.Chr$(34) & "]|$)"
Why exactly is there this VBA.Chr$(34)? Because of that Strings get obfuscated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions