Skip to content

Commit efa74ac

Browse files
committed
add IsValidURL
1 parent 002186c commit efa74ac

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

lib/cuckoo/common/network_utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
"internetopenurlw",
3838
"httpopenrequesta",
3939
"httpopenrequestw",
40+
"isvalidurl",
4041
}
4142

4243

modules/processing/behavior.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,7 @@ def event_apicall(self, call, process):
12681268
_add_http_host(self.http_host_map, host, pinfo, sock=sock)
12691269

12701270
if api in HTTP_HINT_APIS:
1271-
url = _get_arg_any(args_map, "url", "lpszUrl", "lpUrl", "uri", "pszUrl", "pUrl")
1271+
url = _get_arg_any(args_map, "URL", "url", "lpszUrl", "lpUrl", "uri", "pszUrl", "pUrl")
12721272
if isinstance(url, str) and url.strip():
12731273
u = _extract_first_url(url) or url.strip()
12741274
host = _host_from_url(u)

0 commit comments

Comments
 (0)