Skip to content

Commit

Permalink
V1.6.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Anof-cyber committed Aug 30, 2022
1 parent aebdf2c commit 63e460b
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions PentestMapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ def registerExtenderCallbacks(self, callbacks):

# Creating a output after loading
callbacks.printOutput("Author: AnoF")
callbacks.printOutput("Version: 1.6.3")
callbacks.printOutput("Version: 1.6.4")
callbacks.printOutput("https://github.com/Anof-cyber/Pentest-Mapper")

callbacks.registerContextMenuFactory(self)
Expand Down Expand Up @@ -73,8 +73,9 @@ def registerExtenderCallbacks(self, callbacks):
# adding the import button with onclick action which refers to the function below
self.ChecklistbuttonPanel.add(JButton(
"Import CheckList", actionPerformed=self.importchecklist))
self.ChecklistbuttonPanel.add(JButton(
"Create CheckList", actionPerformed=self.createtestcases))
self.createchecklistbutton = JButton("Create CheckList", actionPerformed=self.createtestcases)
#self.ChecklistbuttonPanel.add(JButton("Create CheckList", actionPerformed=self.createtestcases))
self.ChecklistbuttonPanel.add(self.createchecklistbutton)
self.firstTab.add(self.ChecklistbuttonPanel, BorderLayout.PAGE_START)


Expand Down Expand Up @@ -933,14 +934,15 @@ def sendRepeaterItem(self,event):
# function will handle, delete the row from api mapper
def deleterow(self,event):
row = self.logTable.getSelectedRows()
for rows in row:

for rows in sorted(row, reverse=True):
self._log.pop(rows)
self.fireTableDataChanged()

# delete row from the vulnerability table
def deletevuln(self,e):
totalvulnrows = self.table3.getSelectedRows()
for rows in totalvulnrows:
for rows in sorted(totalvulnrows, reverse=True):
self.dataModel2.removeRow(rows)


Expand Down Expand Up @@ -1177,6 +1179,7 @@ def importchecklist(self, e):

# creating a function that will be called when user clicks on the create button this function will show the input field in UI for checklist taB
def createtestcases(self, e):
self.createchecklistbutton.setEnabled(False)
self.textfield1 = JTextField('', 15)
self.ChecklistbuttonPanel.add(self.textfield1)
self.ChecklistbuttonPanel.add(JButton(
Expand Down

0 comments on commit 63e460b

Please sign in to comment.