'get std_output from thread TCPproxy module and add in DockArea'

def get_TCPproxy_output(self, data):

    if self.FSettings.Settings.get_setting('accesspoint', 'statusAP', format=bool):
        if hasattr(self, 'dockAreaList'):
            if (data.keys()[0] == 'urlsCap'):
                if self.PumpSettingsTAB.dockInfo['HTTP-Requests']['active']:
                    self.dockAreaList['HTTP-Requests'].writeModeData(data)
                    self.LogUrlMonitor.info('[    {0[src]}    >    {0[dst]}    ]    {1[Method]}    {1[Host]}{1[Path]}'.format(data['urlsCap']['IP'], data['urlsCap']['Headers']))
            elif (data.keys()[0] == 'POSTCreds'):
                if self.PumpSettingsTAB.dockInfo['HTTP-Authentication']['active']:
                    self.dockAreaList['HTTP-Authentication'].writeModeData(data)
                    self.LogCredsMonitor.info('URL:    {}'.format(data['POSTCreds']['Url']))
                    self.LogCredsMonitor.info('UserName:    {}'.format(data['POSTCreds']['User']))
                    self.LogCredsMonitor.info('UserName:    {}'.format(data['POSTCreds']['Pass']))
                    self.LogCredsMonitor.info('Packets:    {}'.format(data['POSTCreds']['Destination']))
            elif (data.keys()[0] == 'image'):
                self.ImageCapTAB.SendImageTableWidgets(data['image'])
            else:
                self.PacketSnifferTAB.tableLogging.writeModeData(data)
                self.LogTcpproxy.info('[{}]    {}'.format(data.keys()[0], data[data.keys()[0]]))
