From 36376e10bedf7688c7868aa27b53bbf7559e77ca Mon Sep 17 00:00:00 2001 From: HD Moore Date: Sat, 22 Mar 2008 07:13:47 +0000 Subject: [PATCH] Add sigs for iphone usage git-svn-id: file:///home/svn/framework3/trunk@5455 4d416f70-5f16-0410-b530-b9f4589650da --- modules/auxiliary/server/capture/http.rb | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/modules/auxiliary/server/capture/http.rb b/modules/auxiliary/server/capture/http.rb index 051db897bd..5298e985b7 100644 --- a/modules/auxiliary/server/capture/http.rb +++ b/modules/auxiliary/server/capture/http.rb @@ -127,6 +127,29 @@ class Auxiliary::Server::Capture::HTTP < Msf::Auxiliary print_status("HTTP REQUEST #{cli.peerhost} > #{hhead}:#{@myport} #{req.method} #{req.resource}") + + # The google maps / stocks view on the iPhone + if (req['Host'] == 'iphone-wu.apple.com') + case req.resource + when '/glm/mmap' + print_status("HTTP #{cli.peerhost} is using Google Maps on the iPhone") + when '/dgw' + print_status("HTTP #{cli.peerhost} is using Stocks/Weather on the iPhone") + else + print_status("HTTP #{cli.peerhost} is request #{req.resource} via the iPhone") + end + end + + # The itunes store on the iPhone + if(req['Host'] == 'phobos.apple.com') + print_status("HTTP #{cli.peerhost} is using iTunes Store on the iPhone") + # GET /bag.xml + end + + + + # SMB MITM / RELAY + data = "Connecting..." res = "HTTP/1.1 200 OK\r\n" +