lib/ronin/vulns/reflected_xss/test_string.rb in ronin-vulns-0.1.1 vs lib/ronin/vulns/reflected_xss/test_string.rb in ronin-vulns-0.1.2
- old
+ new
@@ -1,7 +1,6 @@
# frozen_string_literal: true
-# frozen_string_literal: true
#
# ronin-vulns - A Ruby library for blind vulnerability testing.
#
# Copyright (c) 2022-2023 Hal Brodigan (postmodern.mod3 at gmail.com)
#
@@ -65,10 +64,10 @@
' ' => ['+', '%20', ' '],
'=' => ['%3D'],
'/' => ['%2F'],
'<' => ['%3C', '<'],
'>' => ['%3E', '>'],
- '&' => ['%26', '&'],
+ '&' => ['%26', '&']
}
#
# Builds a test string from a mapping of characters and their HTML
# escaped equivalents.