import os
from main_window import font_size
from PyQt4 import QtCore, QtGui

font_setting = font_size()

from PyQt4 import QtCore, QtGui

try:
    _fromUtf8 = QtCore.QString.fromUtf8
except AttributeError:
    _fromUtf8 = lambda s: s


class Ui_cookie_hijacker(object):
    def setupUi(self, cookie_hijacker):
        cookie_hijacker.setObjectName(_fromUtf8("cookie_hijacker"))
        cookie_hijacker.resize(857, 655)
        self.verticalLayout_8 = QtGui.QVBoxLayout(cookie_hijacker)
        self.verticalLayout_8.setObjectName(_fromUtf8("verticalLayout_8"))
        self.horizontalLayout_3 = QtGui.QHBoxLayout()
        self.horizontalLayout_3.setObjectName(_fromUtf8("horizontalLayout_3"))
        self.label_9 = QtGui.QLabel(cookie_hijacker)
        self.label_9.setText(_fromUtf8(""))
        self.label_9.setPixmap(QtGui.QPixmap(_fromUtf8("%s/resources/cookies-icon.png"%(os.getcwd()))))
        self.label_9.setObjectName(_fromUtf8("label_9"))
        self.horizontalLayout_3.addWidget(self.label_9)
        self.verticalLayout_7 = QtGui.QVBoxLayout()
        self.verticalLayout_7.setObjectName(_fromUtf8("verticalLayout_7"))
        self.verticalLayout = QtGui.QVBoxLayout()
        self.verticalLayout.setObjectName(_fromUtf8("verticalLayout"))
        self.label_2 = QtGui.QLabel(cookie_hijacker)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.label_2.setFont(font)
        self.label_2.setObjectName(_fromUtf8("label_2"))
        self.verticalLayout.addWidget(self.label_2)
        self.label_5 = QtGui.QLabel(cookie_hijacker)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.label_5.setFont(font)
        self.label_5.setObjectName(_fromUtf8("label_5"))
        self.verticalLayout.addWidget(self.label_5)
        self.verticalLayout_7.addLayout(self.verticalLayout)
        spacerItem = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_7.addItem(spacerItem)
        self.horizontalLayout_2 = QtGui.QHBoxLayout()
        self.horizontalLayout_2.setObjectName(_fromUtf8("horizontalLayout_2"))
        self.horizontalLayout_14 = QtGui.QHBoxLayout()
        self.horizontalLayout_14.setObjectName(_fromUtf8("horizontalLayout_14"))
        spacerItem1 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem1)
        self.verticalLayout_6 = QtGui.QVBoxLayout()
        self.verticalLayout_6.setObjectName(_fromUtf8("verticalLayout_6"))
        self.combo_interface = QtGui.QComboBox(cookie_hijacker)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.combo_interface.sizePolicy().hasHeightForWidth())
        self.combo_interface.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.combo_interface.setFont(font)
        self.combo_interface.setObjectName(_fromUtf8("combo_interface"))
        self.verticalLayout_6.addWidget(self.combo_interface)
        spacerItem2 = QtGui.QSpacerItem(177, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_6.addItem(spacerItem2)
        self.horizontalLayout_14.addLayout(self.verticalLayout_6)
        self.verticalLayout_5 = QtGui.QVBoxLayout()
        self.verticalLayout_5.setObjectName(_fromUtf8("verticalLayout_5"))
        self.refresh_button = QtGui.QPushButton(cookie_hijacker)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Ignored, QtGui.QSizePolicy.Fixed)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.refresh_button.sizePolicy().hasHeightForWidth())
        self.refresh_button.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.refresh_button.setFont(font)
        icon = QtGui.QIcon()
        icon.addPixmap(QtGui.QPixmap(_fromUtf8("%s/resources/PNG-Refresh.png-256x256.png"%(os.getcwd()))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        self.refresh_button.setIcon(icon)
        self.refresh_button.setIconSize(QtCore.QSize(22, 23))
        self.refresh_button.setObjectName(_fromUtf8("refresh_button"))
        self.verticalLayout_5.addWidget(self.refresh_button)
        spacerItem3 = QtGui.QSpacerItem(82, 20, QtGui.QSizePolicy.Fixed, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_5.addItem(spacerItem3)
        self.horizontalLayout_14.addLayout(self.verticalLayout_5)
        spacerItem4 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem4)
        spacerItem5 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_14.addItem(spacerItem5)
        self.horizontalLayout_2.addLayout(self.horizontalLayout_14)
        self.verticalLayout_7.addLayout(self.horizontalLayout_2)
        self.horizontalLayout_3.addLayout(self.verticalLayout_7)
        self.verticalLayout_8.addLayout(self.horizontalLayout_3)
        self.horizontalLayout_12 = QtGui.QHBoxLayout()
        self.horizontalLayout_12.setObjectName(_fromUtf8("horizontalLayout_12"))
        spacerItem6 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem6)
        self.horizontalLayout_11 = QtGui.QHBoxLayout()
        self.horizontalLayout_11.setObjectName(_fromUtf8("horizontalLayout_11"))
        self.horizontalLayout_10 = QtGui.QHBoxLayout()
        self.horizontalLayout_10.setObjectName(_fromUtf8("horizontalLayout_10"))
        self.horizontalLayout_4 = QtGui.QHBoxLayout()
        self.horizontalLayout_4.setObjectName(_fromUtf8("horizontalLayout_4"))
        self.monitor_interface_led = QtGui.QLabel(cookie_hijacker)
        self.monitor_interface_led.setText(_fromUtf8(""))
        self.monitor_interface_led.setPixmap(QtGui.QPixmap(_fromUtf8("%s/resources/red_led.png"%(os.getcwd()))))
        self.monitor_interface_led.setObjectName(_fromUtf8("monitor_interface_led"))
        self.horizontalLayout_4.addWidget(self.monitor_interface_led)
        self.monitor_interface_label = QtGui.QLabel(cookie_hijacker)
        self.monitor_interface_label.setEnabled(True)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.monitor_interface_label.setFont(font)
        self.monitor_interface_label.setObjectName(_fromUtf8("monitor_interface_label"))
        self.horizontalLayout_4.addWidget(self.monitor_interface_label)
        self.horizontalLayout_10.addLayout(self.horizontalLayout_4)
        self.horizontalLayout_11.addLayout(self.horizontalLayout_10)
        self.horizontalLayout_9 = QtGui.QHBoxLayout()
        self.horizontalLayout_9.setObjectName(_fromUtf8("horizontalLayout_9"))
        self.horizontalLayout_8 = QtGui.QHBoxLayout()
        self.horizontalLayout_8.setObjectName(_fromUtf8("horizontalLayout_8"))
        spacerItem7 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_8.addItem(spacerItem7)
        self.horizontalLayout_6 = QtGui.QHBoxLayout()
        self.horizontalLayout_6.setObjectName(_fromUtf8("horizontalLayout_6"))
        self.sniffing_status_led = QtGui.QLabel(cookie_hijacker)
        self.sniffing_status_led.setText(_fromUtf8(""))
        self.sniffing_status_led.setPixmap(QtGui.QPixmap(_fromUtf8("%s/resources/red_led.png"%(os.getcwd()))))
        self.sniffing_status_led.setObjectName(_fromUtf8("sniffing_status_led"))
        self.horizontalLayout_6.addWidget(self.sniffing_status_led)
        self.sniffing_status_label = QtGui.QLabel(cookie_hijacker)
        self.sniffing_status_label.setEnabled(True)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.sniffing_status_label.setFont(font)
        self.sniffing_status_label.setObjectName(_fromUtf8("sniffing_status_label"))
        self.horizontalLayout_6.addWidget(self.sniffing_status_label)
        self.horizontalLayout_8.addLayout(self.horizontalLayout_6)
        self.horizontalLayout_9.addLayout(self.horizontalLayout_8)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName(_fromUtf8("horizontalLayout"))
        spacerItem8 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout.addItem(spacerItem8)
        self.horizontalLayout_5 = QtGui.QHBoxLayout()
        self.horizontalLayout_5.setObjectName(_fromUtf8("horizontalLayout_5"))
        self.cookie_detection_led = QtGui.QLabel(cookie_hijacker)
        self.cookie_detection_led.setText(_fromUtf8(""))
        self.cookie_detection_led.setPixmap(QtGui.QPixmap(_fromUtf8("%s/resources/red_led.png"%(os.getcwd()))))
        self.cookie_detection_led.setObjectName(_fromUtf8("cookie_detection_led"))
        self.horizontalLayout_5.addWidget(self.cookie_detection_led)
        self.cookie_detection_label = QtGui.QLabel(cookie_hijacker)
        self.cookie_detection_label.setEnabled(True)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.cookie_detection_label.setFont(font)
        self.cookie_detection_label.setObjectName(_fromUtf8("cookie_detection_label"))
        self.horizontalLayout_5.addWidget(self.cookie_detection_label)
        self.horizontalLayout.addLayout(self.horizontalLayout_5)
        self.horizontalLayout_9.addLayout(self.horizontalLayout)
        self.horizontalLayout_11.addLayout(self.horizontalLayout_9)
        self.horizontalLayout_12.addLayout(self.horizontalLayout_11)
        spacerItem9 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_12.addItem(spacerItem9)
        self.verticalLayout_8.addLayout(self.horizontalLayout_12)
        self.mitm_activated_label = QtGui.QLabel(cookie_hijacker)
        self.mitm_activated_label.setEnabled(False)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.mitm_activated_label.setFont(font)
        self.mitm_activated_label.setObjectName(_fromUtf8("mitm_activated_label"))
        self.verticalLayout_8.addWidget(self.mitm_activated_label)
        self.horizontalLayout_17 = QtGui.QHBoxLayout()
        self.horizontalLayout_17.setObjectName(_fromUtf8("horizontalLayout_17"))
        spacerItem10 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_17.addItem(spacerItem10)
        self.ethernet_mode_radio = QtGui.QRadioButton(cookie_hijacker)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.ethernet_mode_radio.setFont(font)
        self.ethernet_mode_radio.setChecked(True)
        self.ethernet_mode_radio.setObjectName(_fromUtf8("ethernet_mode_radio"))
        self.horizontalLayout_17.addWidget(self.ethernet_mode_radio)
        spacerItem11 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_17.addItem(spacerItem11)
        self.passive_mode_radio = QtGui.QRadioButton(cookie_hijacker)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.passive_mode_radio.setFont(font)
        self.passive_mode_radio.setObjectName(_fromUtf8("passive_mode_radio"))
        self.horizontalLayout_17.addWidget(self.passive_mode_radio)
        spacerItem12 = QtGui.QSpacerItem(40, 20, QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_17.addItem(spacerItem12)
        self.verticalLayout_8.addLayout(self.horizontalLayout_17)
        self.horizontalLayout_16 = QtGui.QHBoxLayout()
        self.horizontalLayout_16.setObjectName(_fromUtf8("horizontalLayout_16"))
        self.verticalLayout_4 = QtGui.QVBoxLayout()
        self.verticalLayout_4.setObjectName(_fromUtf8("verticalLayout_4"))
        self.groupBox_2 = QtGui.QGroupBox(cookie_hijacker)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Preferred)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.groupBox_2.sizePolicy().hasHeightForWidth())
        self.groupBox_2.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.groupBox_2.setFont(font)
        self.groupBox_2.setTitle(_fromUtf8(""))
        self.groupBox_2.setObjectName(_fromUtf8("groupBox_2"))
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.groupBox_2)
        self.verticalLayout_2.setObjectName(_fromUtf8("verticalLayout_2"))
        self.horizontalLayout_7 = QtGui.QHBoxLayout()
        self.horizontalLayout_7.setObjectName(_fromUtf8("horizontalLayout_7"))
        self.label = QtGui.QLabel(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.label.setFont(font)
        self.label.setObjectName(_fromUtf8("label"))
        self.horizontalLayout_7.addWidget(self.label)
        self.horizontalLayout_15 = QtGui.QHBoxLayout()
        self.horizontalLayout_15.setObjectName(_fromUtf8("horizontalLayout_15"))
        self.wep_key_edit = QtGui.QLineEdit(self.groupBox_2)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.wep_key_edit.setFont(font)
        self.wep_key_edit.setObjectName(_fromUtf8("wep_key_edit"))
        self.horizontalLayout_15.addWidget(self.wep_key_edit)
        self.channel_label = QtGui.QLabel(self.groupBox_2)
        self.channel_label.setObjectName(_fromUtf8("channel_label"))
        self.horizontalLayout_15.addWidget(self.channel_label)
        self.channel_combo = QtGui.QComboBox(self.groupBox_2)
        self.channel_combo.setObjectName(_fromUtf8("channel_combo"))
        self.horizontalLayout_15.addWidget(self.channel_combo)
        self.horizontalLayout_7.addLayout(self.horizontalLayout_15)
        self.verticalLayout_2.addLayout(self.horizontalLayout_7)
        spacerItem13 = QtGui.QSpacerItem(20, 6, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Fixed)
        self.verticalLayout_2.addItem(spacerItem13)
        self.verticalLayout_4.addWidget(self.groupBox_2)
        self.horizontalLayout_16.addLayout(self.verticalLayout_4)
        self.verticalLayout_8.addLayout(self.horizontalLayout_16)
        self.treeWidget = QtGui.QTreeWidget(cookie_hijacker)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Expanding, QtGui.QSizePolicy.Expanding)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.treeWidget.sizePolicy().hasHeightForWidth())
        self.treeWidget.setSizePolicy(sizePolicy)
        self.treeWidget.setObjectName(_fromUtf8("treeWidget"))
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        item_0.setFont(0, font)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        icon1 = QtGui.QIcon()
        icon1.addPixmap(QtGui.QPixmap(_fromUtf8("%s/resources/green_led.png"%(os.getcwd()))), QtGui.QIcon.Normal, QtGui.QIcon.Off)
        item_1.setIcon(0, icon1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_1.setIcon(0, icon1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        item_0 = QtGui.QTreeWidgetItem(self.treeWidget)
        font = QtGui.QFont()
        font.setPointSize(10)
        item_0.setFont(0, font)
        item_1 = QtGui.QTreeWidgetItem(item_0)
        item_1.setIcon(0, icon1)
        item_2 = QtGui.QTreeWidgetItem(item_1)
        self.verticalLayout_8.addWidget(self.treeWidget)
        self.verticalLayout_3 = QtGui.QVBoxLayout()
        self.verticalLayout_3.setObjectName(_fromUtf8("verticalLayout_3"))
        self.cookies_captured_label = QtGui.QLabel(cookie_hijacker)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.cookies_captured_label.setFont(font)
        self.cookies_captured_label.setObjectName(_fromUtf8("cookies_captured_label"))
        self.verticalLayout_3.addWidget(self.cookies_captured_label)
        spacerItem14 = QtGui.QSpacerItem(20, 17, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_3.addItem(spacerItem14)
        self.horizontalLayout_13 = QtGui.QHBoxLayout()
        self.horizontalLayout_13.setObjectName(_fromUtf8("horizontalLayout_13"))
        spacerItem15 = QtGui.QSpacerItem(1, 40, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        self.horizontalLayout_13.addItem(spacerItem15)
        self.start_sniffing_button = QtGui.QPushButton(cookie_hijacker)
        sizePolicy = QtGui.QSizePolicy(QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Ignored)
        sizePolicy.setHorizontalStretch(0)
        sizePolicy.setVerticalStretch(0)
        sizePolicy.setHeightForWidth(self.start_sniffing_button.sizePolicy().hasHeightForWidth())
        self.start_sniffing_button.setSizePolicy(sizePolicy)
        font = QtGui.QFont()
        font.setPointSize(font_setting)
        self.start_sniffing_button.setFont(font)
        self.start_sniffing_button.setObjectName(_fromUtf8("start_sniffing_button"))
        self.horizontalLayout_13.addWidget(self.start_sniffing_button)
        self.verticalLayout_3.addLayout(self.horizontalLayout_13)
        spacerItem16 = QtGui.QSpacerItem(20, 17, QtGui.QSizePolicy.Minimum, QtGui.QSizePolicy.Minimum)
        self.verticalLayout_3.addItem(spacerItem16)
        self.verticalLayout_8.addLayout(self.verticalLayout_3)

        self.retranslateUi(cookie_hijacker)
        QtCore.QMetaObject.connectSlotsByName(cookie_hijacker)

    def retranslateUi(self, cookie_hijacker):
        cookie_hijacker.setWindowTitle(QtGui.QApplication.translate("cookie_hijacker", "Fern - Cookie Hijacker", None, QtGui.QApplication.UnicodeUTF8))
        self.label_2.setText(QtGui.QApplication.translate("cookie_hijacker", "Fern Cookie Hijacker is an Ethernet and WIFI based session Hijacking tool able to clone remote online web sessions by sniffing and capturing session cookie", None, QtGui.QApplication.UnicodeUTF8))
        self.label_5.setText(QtGui.QApplication.translate("cookie_hijacker", "packets from remote hosts by leveraging various internal MITM attacks with routing capabilities", None, QtGui.QApplication.UnicodeUTF8))
        self.refresh_button.setText(QtGui.QApplication.translate("cookie_hijacker", "Refresh", None, QtGui.QApplication.UnicodeUTF8))
        self.monitor_interface_label.setText(QtGui.QApplication.translate("cookie_hijacker", "Ethernet Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.sniffing_status_label.setText(QtGui.QApplication.translate("cookie_hijacker", "Sniffing Status", None, QtGui.QApplication.UnicodeUTF8))
        self.cookie_detection_label.setText(QtGui.QApplication.translate("cookie_hijacker", "Cookie Detection Buffer", None, QtGui.QApplication.UnicodeUTF8))
        self.mitm_activated_label.setText(QtGui.QApplication.translate("cookie_hijacker", "Internal MITM Engine Activated", None, QtGui.QApplication.UnicodeUTF8))
        self.ethernet_mode_radio.setToolTip(QtGui.QApplication.translate("cookie_hijacker", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:7pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Use this option if you are currently connected to the ethernet gateway/access point</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.ethernet_mode_radio.setText(QtGui.QApplication.translate("cookie_hijacker", "Ethernet Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.passive_mode_radio.setToolTip(QtGui.QApplication.translate("cookie_hijacker", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:7pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Use this option if you are not connected to access point</p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.passive_mode_radio.setText(QtGui.QApplication.translate("cookie_hijacker", "Passive Mode", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("cookie_hijacker", "Gateway IP Address / Router IP Address:", None, QtGui.QApplication.UnicodeUTF8))
        self.channel_label.setText(QtGui.QApplication.translate("cookie_hijacker", "Channel:", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.headerItem().setText(0, QtGui.QApplication.translate("cookie_hijacker", " ", None, QtGui.QApplication.UnicodeUTF8))
        __sortingEnabled = self.treeWidget.isSortingEnabled()
        self.treeWidget.setSortingEnabled(False)
        self.treeWidget.topLevelItem(0).setText(0, QtGui.QApplication.translate("cookie_hijacker", "192.168.0.1", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(0).child(0).setText(0, QtGui.QApplication.translate("cookie_hijacker", "www.google.com", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(0).child(0).child(0).setText(0, QtGui.QApplication.translate("cookie_hijacker", "HTTP response", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(0).child(1).setText(0, QtGui.QApplication.translate("cookie_hijacker", "www.twitter.com", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(0).child(1).child(0).setText(0, QtGui.QApplication.translate("cookie_hijacker", "HTTP over", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(1).setText(0, QtGui.QApplication.translate("cookie_hijacker", "198.178.23.1", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(1).child(0).setText(0, QtGui.QApplication.translate("cookie_hijacker", "www.gmail.com", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.topLevelItem(1).child(0).child(0).setText(0, QtGui.QApplication.translate("cookie_hijacker", "respose server", None, QtGui.QApplication.UnicodeUTF8))
        self.treeWidget.setSortingEnabled(__sortingEnabled)
        self.cookies_captured_label.setText(QtGui.QApplication.translate("cookie_hijacker", "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0//EN\" \"http://www.w3.org/TR/REC-html40/strict.dtd\">\n"
"<html><head><meta name=\"qrichtext\" content=\"1\" /><style type=\"text/css\">\n"
"p, li { white-space: pre-wrap; }\n"
"</style></head><body style=\" font-family:\'MS Shell Dlg 2\'; font-size:8.25pt; font-weight:400; font-style:normal;\">\n"
"<p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\"><span style=\" font-weight:600; color:#008000;\">5 Cookies Captured</span></p></body></html>", None, QtGui.QApplication.UnicodeUTF8))
        self.start_sniffing_button.setText(QtGui.QApplication.translate("cookie_hijacker", "   Start Sniffing   ", None, QtGui.QApplication.UnicodeUTF8))

