Skip to content

Commit

Permalink
fix dumped info and download link
Browse files Browse the repository at this point in the history
  • Loading branch information
Davide Arcuri committed Jan 10, 2024
1 parent 03584f6 commit 424e541
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions orochi/website/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,10 +390,24 @@ def analysis(request):
item["Offset"],
item["Base"],
)
elif plugin_index == "windows.pslist.pslist":
glob_path = "{}/pid.{}.*.dmp".format(
elif plugin_index in [
"windows.pslist.pslist",
"linux.pslist.pslist",
]:
glob_path = "{}/{}{}.*.dmp".format(
base_path,
"pid."
if plugin_index != "windows.pslist.pslist"
else "",
item["PID"],
)
elif plugin_index == "linux.proc.maps":
glob_path = "{}/pid.{}.*.{}.dmp".format(
base_path,
item["PID"],
f'{item["Start"]}-{item["End"]}'
if plugin_index == "linux.proc.maps"
else "",
)
elif plugin_index == "windows.registry.hivelist.hivelist":
glob_path = "{}/registry.*.{}.hive".format(
Expand Down

0 comments on commit 424e541

Please sign in to comment.