diff --git a/PentestMapper.py b/PentestMapper.py index 19dffbb..6b90969 100644 --- a/PentestMapper.py +++ b/PentestMapper.py @@ -55,7 +55,7 @@ def registerExtenderCallbacks(self, callbacks): # Creating a output after loading callbacks.printOutput("Author: Sourav Kalal Aka AnoF") - callbacks.printOutput("Version: 1.7.2") + callbacks.printOutput("Version: 1.7.3") callbacks.printOutput("https://github.com/Anof-cyber/Pentest-Mapper") callbacks.registerContextMenuFactory(self) @@ -310,9 +310,9 @@ def registerExtenderCallbacks(self, callbacks): #comboColumn.setCellEditor(DefaultCellEditor(self.comboBox)) - editor = AutocompleteTableCellEditor(self.combolist,self.table3) + self.editor = AutocompleteTableCellEditor(self.combolist,self.table3) comboColumn = self.table3.getColumnModel().getColumn(2) - comboColumn.setCellEditor(editor) + comboColumn.setCellEditor(self.editor) @@ -745,7 +745,7 @@ def registerExtenderCallbacks(self, callbacks): #self.comboBox.addItem(str(title)) self.combolist.append(str(title)) combo_model = DefaultComboBoxModel(self.combolist) - editor.comboBox.setModel(combo_model) + self.editor.comboBox.setModel(combo_model) f.close() self.Checklistfilepath.setText(self.checklistpath) @@ -1223,7 +1223,7 @@ def importchecklist(self, e): self.comboBox.addItem(str(title)) self.combolist.append(str(title)) combo_model = DefaultComboBoxModel(self.combolist) - editor.comboBox.setModel(combo_model) + self.editor.comboBox.setModel(combo_model) f.close() @@ -1245,7 +1245,7 @@ def addrow(self, e): self.comboBox.addItem(str(title)) self.combolist.append(str(title)) combo_model = DefaultComboBoxModel(self.combolist) - editor.comboBox.setModel(combo_model) + self.editor.comboBox.setModel(combo_model) self.dataModel.addRow(obj) if not self.checklistpath == None: # Writing the new entry in file diff --git a/pentestmapper/autosave.py b/pentestmapper/autosave.py index 63949c2..38c77df 100644 --- a/pentestmapper/autosave.py +++ b/pentestmapper/autosave.py @@ -49,8 +49,8 @@ def run(self): paramter = self._handlingoutput.dataModel2.getValueAt(int(row),1) Vulnerability = self._handlingoutput.dataModel2.getValueAt(int(row),2) Severity = self._handlingoutput.dataModel2.getValueAt(int(row),3) - Request = self._handlingoutput.dataModel2.getValueA(int(row),4) - Response = self._handlingoutput.dataModel2.getValueA(int(row),5) + Request = self._handlingoutput.dataModel2.getValueAt(int(row),4) + Response = self._handlingoutput.dataModel2.getValueAt(int(row),5) #self.callbacks.printOutput(str(url)) #self.callbacks.printOutput(str(logEntry._sr))