Skip to content

Strange Code #42

@phsantiago

Description

@phsantiago

Days ago, I had some WordPress projects hacked.
Then I've been looking for malicious code, and I saw this:

    function testBasicParsing() {
        $url = new SimpleUrl('https://www.lastcraft.com/test/');
        $this->assertEqual($url->getScheme(), 'https');
        $this->assertEqual($url->getHost(), 'www.lastcraft.com');
        $this->assertEqual($url->getPath(), '/test/');
    }

Check this file
LastCraft Archive

Why does the CCTM has this code?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions