Skip to content

Commit

Permalink
sanitize filenames
Browse files Browse the repository at this point in the history
  • Loading branch information
zardus committed Nov 15, 2024
1 parent e13a793 commit e7c0bdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pwnshop/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,8 @@ def build_compiler_cmd(self):
if self.OPTIMIZATION_FLAG:
cmd.append(self.OPTIMIZATION_FLAG)

cmd.append(f"-ffile-prefix-map={self.work_dir}=/challenge")

cmd.append("-w")

cmd.append(self.src_path)
Expand Down

0 comments on commit e7c0bdf

Please sign in to comment.