Skip to content

Commit

Permalink
BApp Store version v1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
volkandindar authored Jun 26, 2023
1 parent 9a7537b commit e94e5aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Agartha.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def makeHttpCall(self, urlAdd, userID):
_httpReqRes = self._callbacks.makeHttpRequest(self._helpers.buildHttpService(urlparse.urlparse(urlAdd).hostname, portNum, urlparse.urlparse(urlAdd).scheme), header)
self.httpReqRes[userID].append(_httpReqRes)

return "HTTP " + str(self._helpers.analyzeResponse(self._helpers.bytesToString(_httpReqRes.getResponse())).getStatusCode()) + " : " + format(len(self._helpers.bytesToString(_httpReqRes.getResponse())) - self._helpers.analyzeResponse(self._helpers.bytesToString(_httpReqRes.getResponse())).getBodyOffset(), ',d') + "bytes"
return "HTTP " + str(self._helpers.analyzeResponse(self._helpers.bytesToString(_httpReqRes.getResponse())).getStatusCode()) + " : " + format(len(self._helpers.bytesToString(_httpReqRes.getResponse())) - self._helpers.analyzeResponse(self._helpers.bytesToString(_httpReqRes.getResponse())).getBodyOffset(), ',d') + " bytes"
except:
return str(sys.exc_info()[1])

Expand Down Expand Up @@ -775,7 +775,6 @@ def _tabAuthUI(self):
self._cbAuthGETPOST.setSelectedIndex(0)
self._cbAuthGETPOST.setToolTipText("Which HTTP method will be used for the test.")

#self._cbSiteMapDepth = JComboBox(list(range(0, 11)))
self._cbSiteMapDepth = JComboBox(('Only current URL', 'Max crawl depth is 1', 'Max crawl depth is 2', 'Max crawl depth is 3', 'Max crawl depth is 4', 'Max crawl depth is 5', 'Max crawl depth is 6', 'Max crawl depth is 7', 'Max crawl depth is 8', 'Max crawl depth is 9', 'Max crawl depth is 10'))
self._cbSiteMapDepth.setPreferredSize(Dimension(150, 27))
self._cbSiteMapDepth.setSelectedIndex(3)
Expand Down

0 comments on commit e94e5aa

Please sign in to comment.