Skip to content

Commit

Permalink
Update modules/exploits/linux/http/magento_xxe_to_glibc_buf_overflow.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Julien Voisin <[email protected]>
  • Loading branch information
jheysel-r7 and jvoisin authored Oct 10, 2024
1 parent 44b33b8 commit 3be4eae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def get_regions
raise ProcSelfMapsError, '/proc/self/maps was unable able to be downloaded' if maps.blank?

maps = maps.force_encoding('UTF-8')
pattern = /^([a-f0-9]+)-([a-f0-9]+)\b.*\s([-rwx]{3}[ps])\s(.*)/
pattern = /^([a-f0-9]+)-([a-f0-9]+)\b.*\s([-rwx]{3}[ps])\s(.+)$/
regions = []

# Example lines from: /proc/self/maps
Expand Down

0 comments on commit 3be4eae

Please sign in to comment.