PWN::SAST::LocationHash
SAST Module used to identify any location.hash function/method declarations within source code in an effort to determine if XSS is possible
When to use
Call PWN::SAST::LocationHash from pwn_eval when the task needs this module.
Do not reimplement it in shell.
Methodologies
Generated from pwn/sast/location_hash.rb. Prefer the public class methods below.
Class methods take (opts = {}) and read opts.
How to call
PWN::SAST::LocationHash.help
PWN::SAST::LocationHash.scan(opts)
Public methods
scansecurity_referencesauthorshelp
References
references/security.md— CWE / NIST mappingreferences/urls.md— URLs from source
Source
pwn/sast/location_hash.rb
Verification
PWN::SAST::LocationHash.respond_to?(:scan) after the
module is loaded. Read the source for parameter names.