Changeset 5497

Show
Ignore:
Timestamp:
04/26/08 13:10:41 (3 weeks ago)
Author:
egypt
Message:

Send 404 when we can't exploit a mozilla browser so client doesn't hang.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/modules/exploits/windows/browser/ani_loadimage_chunksize.rb

    r5496 r5497  
    164164                                if datastore['SRVPORT'].to_i != 80 || datastore['URIPATH'] != '/' 
    165165                                        print_status("Mozilla request received from #{cli.peerhost}. To exploit Mozilla browsers, SRVPORT must be set to 80 and URIPATH must be '/'") 
     166                                        cli.send_response(create_response(404, "File not found")) 
    166167                                        return 
    167168                                end