def __init__(self, parent=None, *args): super(PumpkinModule, self).__init__(parent) self.setWindowIcon(QIcon('rsc/icon.ico')) self.module_network = Refactor self.configure = frm_Settings() self.Ftemplates = frm_PhishingManager() self.interfaces = Refactor.get_interfaces()
def __init__(self,parent=None,*args): super(PumpkinModule, self).__init__(parent) self.setWindowIcon(QIcon('Icons/icon.ico')) self.module_network = Refactor self.configure = frm_Settings() self.Ftemplates = frm_PhishingManager() self.interfaces = Refactor.get_interfaces()
def __init__(self, parent=None): super(frm_Arp_Poison, self).__init__(parent) self.setWindowTitle('Arp Posion Attack ') self.setWindowIcon(QIcon('rsc/icon.ico')) self.Main = QVBoxLayout() self.owd = getcwd() self.control = False self.interfaces = Refactor.get_interfaces() self.configure = frm_Settings() self.Ftemplates = frm_PhishingManager() self.module_network = Refactor self.loadtheme(self.configure.XmlThemeSelected()) self.data = {'IPaddress':[], 'Hostname':[], 'MacAddress':[]} self.ThreadDirc = {'Arp_posion':[]} global threadloading self.GUI()
def __init__(self, parent=None): super(frm_Arp_Poison, self).__init__(parent) self.setWindowTitle('Arp Posion Attack ') self.setWindowIcon(QIcon('rsc/icon.ico')) self.Main = QVBoxLayout() self.owd = getcwd() self.control = False self.interfaces = Refactor.get_interfaces() self.configure = frm_Settings() self.Ftemplates = frm_PhishingManager() self.module_network = Refactor self.loadtheme(self.configure.XmlThemeSelected()) self.data = {'IPaddress': [], 'Hostname': [], 'MacAddress': []} self.ThreadDirc = {'Arp_posion': []} global threadloading self.GUI()
def __init__(self, FSettings): QWidget.__init__(self) self.FSettings = FSettings self.Ftemplates = frm_PhishingManager() self.layout = QVBoxLayout(self) self.FormLayout = QFormLayout() self.GridForm = QGridLayout() self.StatusLabel = QLabel(self) self.title = QLabel("::Server-HTTP::") self.btntemplates = QPushButton("Phishing M.") self.btnStopServer = QPushButton("Stop Server") self.btnRefresh = QPushButton("ReFresh") self.txt_IP = QLineEdit(self) self.txt_IP.setVisible(False) self.ComboIface = QComboBox(self) self.StatusServer(False) # icons self.btntemplates.setIcon(QIcon("rsc/page.png")) self.btnStopServer.setIcon(QIcon("rsc/close.png")) self.btnRefresh.setIcon(QIcon("rsc/refresh.png")) # conects self.refrash_interface() self.btntemplates.clicked.connect(self.show_template_dialog) self.btnStopServer.clicked.connect(self.StopLocalServer) self.btnRefresh.clicked.connect(self.refrash_interface) self.connect(self.ComboIface, SIGNAL("currentIndexChanged(QString)"), self.discoveryIface) # layout self.GridForm.addWidget(self.ComboIface, 0, 1) self.GridForm.addWidget(self.btnRefresh, 0, 2) self.GridForm.addWidget(self.btntemplates, 1, 1) self.GridForm.addWidget(self.btnStopServer, 1, 2) self.FormLayout.addRow(self.title) self.FormLayout.addRow(self.GridForm) self.FormLayout.addRow("Status::", self.StatusLabel) self.layout.addLayout(self.FormLayout)
def __init__(self,FSettings): QWidget.__init__(self) self.FSettings = FSettings self.Ftemplates = frm_PhishingManager() self.layout = QVBoxLayout(self) self.FormLayout = QFormLayout() self.GridForm = QGridLayout() self.StatusLabel = QLabel(self) self.title = QLabel('::Server-HTTP::') self.btntemplates = QPushButton('Phishing M.') self.btnStopServer = QPushButton('Stop Server') self.btnRefresh = QPushButton('ReFresh') self.txt_IP = QLineEdit(self) self.txt_IP.setVisible(False) self.ComboIface = QComboBox(self) self.StatusServer(False) #icons self.btntemplates.setIcon(QIcon('rsc/page.png')) self.btnStopServer.setIcon(QIcon('rsc/close.png')) self.btnRefresh.setIcon(QIcon('rsc/refresh.png')) #conects self.refrash_interface() self.btntemplates.clicked.connect(self.show_template_dialog) self.btnStopServer.clicked.connect(self.StopLocalServer) self.btnRefresh.clicked.connect(self.refrash_interface) self.connect(self.ComboIface, SIGNAL("currentIndexChanged(QString)"), self.discoveryIface) #layout self.GridForm.addWidget(self.ComboIface,0,1) self.GridForm.addWidget(self.btnRefresh,0,2) self.GridForm.addWidget(self.btntemplates,1,1) self.GridForm.addWidget(self.btnStopServer,1,2) self.FormLayout.addRow(self.title) self.FormLayout.addRow(self.GridForm) self.FormLayout.addRow('Status::',self.StatusLabel) self.layout.addLayout(self.FormLayout)