Skip to content

Commit

Permalink
Update __init__.py
Browse files Browse the repository at this point in the history
  • Loading branch information
wh0am1i authored Feb 6, 2024
1 parent f1b1fd2 commit df84742
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pocsuite3/lib/yaml/nuclei/protocols/http/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,13 +353,14 @@ def execute_http_request(request: HttpRequest, dynamic_values, interactsh) -> Un
import traceback
traceback.print_exc()
response = None

resp_data = http_response_to_dsl_map(response)
if response is not None:
resp_data['duration'] = resp_time

if response:
response.close()

extractor_res = http_extract(request, resp_data)
for k, v in extractor_res['internal'].items():
if v == UNRESOLVED_VARIABLE and k in dynamic_values:
Expand Down

0 comments on commit df84742

Please # to comment.