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:
HD Moore 2009-07-25 14:11:55 +00:00
parent 6ab7bee149
commit 5e74e80c89
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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