File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
lib/ronin/vulns/core_ext/uri Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -278,15 +278,15 @@ Finds all vulnerabilities for a given URI:
278278``` ruby
279279require ' ronin/vulns/core_ext'
280280
281- URI (' https ://example. com/page .php?lang=en ' ).vulns
281+ URI (' http ://testphp.vulnweb. com/listproducts .php?cat=1 ' ).vulns
282282# => [#<Ronin::Vulns::RFI: ...>, ...]
283283
284284```
285285
286286Check if a URI contains any vulnerabilities:
287287
288288``` ruby
289- URI (' https ://example. com/page .php?lang=en ' ).has_vulns?
289+ URI (' http ://testphp.vulnweb. com/listproducts .php?cat=1 ' ).has_vulns?
290290# => true
291291```
292292
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ class HTTP
4242 # All discovered Web vulnerabilities
4343 #
4444 # @example
45- # URI('https ://testphp.vulnweb.com/').vulns
45+ # URI('http ://testphp.vulnweb.com/listproducts.php?cat=1 ').vulns
4646 # # => [#<Ronin::Vulns::RFI: ...>, ...]
4747 #
4848 # @see Ronin::Vulns::URLScanner.scan
@@ -63,7 +63,7 @@ def vulns(**kwargs)
6363 # @return [Boolean]
6464 #
6565 # @example
66- # URI('https ://testphp.vulnweb.com/').has_vulns?
66+ # URI('http ://testphp.vulnweb.com/listproducts.php?cat=1 ').has_vulns?
6767 # # => true
6868 #
6969 # @see Ronin::Vulns::URLScanner.test
You can’t perform that action at this time.
0 commit comments