Exploit database

GH-e19a96fa624ea4ab9de156192006552e

adewale/rogue_planet

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2009-2937

2 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files8
adewale/rogue_planetRevision 569d25dc60e0

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

pkg/normalizer/interface.go

Go · 820 bytes
package normalizer

import (
	"context"
	"time"
)

// FeedNormalizer defines the interface for feed parsing and content normalization.
// This interface enables dependency injection and makes testing easier by allowing
// mock implementations to be used in place of the concrete Normalizer.
//
// Methods accept context.Context to enable cancellation of long-running parsing operations.
type FeedNormalizer interface {
	// Parse parses and normalizes a feed from raw bytes
	// Returns feed metadata, normalized entries, and any parsing errors
	// The context can be used to cancel parsing of large feeds
	Parse(ctx context.Context, feedData []byte, feedURL string, fetchTime time.Time) (*FeedMetadata, []Entry, error)
}

// Ensure Normalizer implements FeedNormalizer interface
var _ FeedNormalizer = (*Normalizer)(nil)