fcavallarin / htcap

htcap is a web application scanner able to crawl single page application (SPA) recursively by intercepting ajax calls and DOM changes.
GNU General Public License v2.0
610 stars 114 forks source link

Overwritten "setTimeout" and "setInterval" do not transmit provided arguments. #23

Closed GuilloOme closed 5 years ago

GuilloOme commented 7 years ago

During JS crawling, the page script containing setTimeout and setInterval do not receive the provided arguments. The signature of the function should be (since the delay is removed): var intervalID = scope.setInterval(func[, param1, param2, ...]); but actually is:
var intervalID = scope.setInterval(func);

GuilloOme commented 7 years ago

Proposed PR: #24