beefproject/beef-migration-test — Issue #71: 226 - New browser tree: list browsers by external ip addresses 
Author: beefproject
Created: 2011-12-03 02:03:08+00:00
State: open

By default, browsers are divided and organised by the domain they are hooked on. One way to test for that is to set a new domain into your /etc/hosts file that points to your localhost.

We want a new view: one that lists HBs by external ip addresses. That will be used for when several HBs have the same external ip address.

To do that, the first task you need to do is adding the internal ip address to the JSON object representing the HB so it gets retrieved when BeEF UI updates the browser tree. You also need to change the current 'ip' field to 'external-ip'. So we have two fields, one 'external-ip' and one 'internal-ip'.

Second, an event needs to be added to the "external ip" button. See file ZombieTabs.js

The way the tree is updated: you have to update its configuration. The 'sub-branch' has to be set to 'external ip'. That should do most of the work.

If not, you may need to dive into ZombiesTreeList.js and figure out what code needs to be added.

Original link: http://code.google.com/p/beef/issues/detail?id=226