Update psnuffle modules to use payload_data
git-svn-id: file:///home/svn/framework3/trunk@6899 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
6ab7bee149
commit
5e74e80c89
|
@ -28,7 +28,7 @@ class SnifferFTP < BaseProtocolParser
|
|||
matched = nil
|
||||
matches = nil
|
||||
|
||||
if(pkt[:tcp].payload =~ self.sigs[k])
|
||||
if(pkt[:tcp].payload_data =~ self.sigs[k])
|
||||
matched = k
|
||||
matches = $1
|
||||
end
|
||||
|
|
|
@ -21,7 +21,7 @@ class SnifferURL < BaseProtocolParser
|
|||
matched = nil
|
||||
matches = nil
|
||||
|
||||
if(pkt[:tcp].payload =~ self.sigs[k])
|
||||
if(pkt[:tcp].payload_data =~ self.sigs[k])
|
||||
matched = k
|
||||
matches = $1
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue