Skip to content

Commit

Permalink
Removed unnecessary field from transactions
Browse files Browse the repository at this point in the history
  • Loading branch information
viyatb committed Dec 10, 2015
1 parent f6ad7db commit 1e0a2b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 1 addition & 2 deletions framework/db/transaction_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -176,8 +176,7 @@ def DeriveTransaction(self, trans):
trans.raw_request,
trans.response_headers,
len(response_body),
response_body,
trans.session_tokens)
response_body)
return owtf_transaction
return (None)

Expand Down
4 changes: 1 addition & 3 deletions framework/http/transaction.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,7 @@ def SetTransactionFromDB(self,
raw_request,
response_headers,
response_size,
response_body,
session_tokens):
response_body):
self.ID = id
self.New = False # Flag NOT new transaction.
self.URL = url
Expand All @@ -108,7 +107,6 @@ def SetTransactionFromDB(self,
self.ResponseHeaders = response_headers
self.ResponseSize = response_size
self.ResponseContents = response_body
self.RawCookies = session_tokens

def GetSessionTokens(self):
cookies = []
Expand Down

0 comments on commit 1e0a2b7

Please sign in to comment.