Changeset 5492

Show
Ignore:
Timestamp:
04/22/08 22:44:24 (3 weeks ago)
Author:
hdm
Message:

Nuke these for now, need to rebuild

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/data/exploits/capture/http/forms/grabforms.rb

    r5490 r5492  
    4747                                # Strip out the value 
    4848                                form.search("//input") do |inp| 
    49                                         inp.attributes["value"] = '' 
     49                                 
     50                                        inp.attributes.keys.each do |ikey| 
     51                                                if (ikey.downcase == "value") 
     52                                                        inp.attributes[ikey] = "" 
     53                                                end 
     54                                                 
     55                                                if(inp.attributes[ikey] =~ /^http/i) 
     56                                                        inp.attributes[ikey] = "" 
     57                                                end 
     58                                        end 
     59 
    5060                                        res << inp.to_s 
    5161                                end