Clone wiki

packetdata / How to test HTTP Header Enrichment with Firefox

To test how a web service responds to header enrichment with the Firefox browser you can install the Modify Headers add-on which allows you to manually configure your browser to send headers that are commonly added by header enrichment systems to used by mobile focused web services for subscriber identification.

The most common header in use is the X-MSISDN header which is typically in the format of a full length international mobile telephone number (without a leading plus sign). If you try to set this header when connected via a mobile network it will often be stripped or overwritten (If the operator is smart) however if a web service has been poorly implemented you can often trick it into charging someone else for your access simply by setting this header and accessing the service from a non-mobile internet connection.