Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 930262f

Browse files
committed
minor update related to the last commit
1 parent 1c5427b commit 930262f

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

lib/core/option.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,9 +277,10 @@ def __parseBurpLog(content):
277277
getPostReq &= re.search(conf.scope, host) is not None
278278

279279
if getPostReq and (params or cookie):
280+
if not port and scheme == "https":
281+
port = "443"
282+
280283
if not url.startswith("http"):
281-
if not port and scheme == "https":
282-
port = "443"
283284
url = "%s://%s:%s%s" % (scheme or "http", host, port or "80", url)
284285
scheme = None
285286
port = None

0 commit comments

Comments
 (0)