// Detect It Easy: detection rule file format

init("protector", "FISH .NET");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (PE.isNET()) {
        if (PE.isSignatureInSectionPresent(0, "0800'FISH_NET'")) {
            sVersion = "1.X";
            bDetected = true;
        } else if (PE.isSignatureInSectionPresent(0, "'FISH.NET'")) {
            sVersion = "1.X";
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}