C# Class Potato.NBNSSpoofer

Inheritance: Spoofer
ファイルを表示 Open project: brandonprry/Potato Class Usage Examples

Public Properties

Property Type Description
doneSpoof bool
doneUdp bool

Public Methods

Method Description
ByteArrayToString ( byte ba ) : string
checkSpoof ( String host ) : void
exhaustUdpPorts ( int leave ) : void
startSpoofing ( String localIp, String spoof_host, bool disableExhaust ) : void

Private Methods

Method Description
DnsFlushResolverCache ( ) : UInt32
createNbnsResponse ( String host ) : byte[]

Method Details

ByteArrayToString() public static method

public static ByteArrayToString ( byte ba ) : string
ba byte
return string

checkSpoof() public method

public checkSpoof ( String host ) : void
host String
return void

exhaustUdpPorts() public method

public exhaustUdpPorts ( int leave ) : void
leave int
return void

startSpoofing() public method

public startSpoofing ( String localIp, String spoof_host, bool disableExhaust ) : void
localIp String
spoof_host String
disableExhaust bool
return void

Property Details

doneSpoof public_oe static_oe property

public static bool doneSpoof
return bool

doneUdp public_oe static_oe property

public static bool doneUdp
return bool