katana version:
1.0.4
Current Behavior:
katana loses results from JS files on iteration when maximum depth is reached.
Expected Behavior:
katana will print results to stdout/etc
Steps To Reproduce:
As example we can use the following file https://goldapple.ru/_assets/66d5209.js . This file has a lot of urls on same domain (so they are in scope)
The easiest way to see issue is to use depth 1. Running katana:
katana -u https://goldapple.ru/_assets/66d5209.js -d 1 -jc
The output prints just one https://goldapple.ru/_assets/66d5209.js url. The problem is that program doesnt output results on last iteration. Image below will show that we just go in continue condition (nr.Depth == s.Options.Options.MaxDepth == 1) and don't print reqUrl to user

Anything else:
katana version:
1.0.4
Current Behavior:
katana loses results from JS files on iteration when maximum depth is reached.
Expected Behavior:
katana will print results to stdout/etc
Steps To Reproduce:
As example we can use the following file
https://goldapple.ru/_assets/66d5209.js. This file has a lot of urls on same domain (so they are in scope)The easiest way to see issue is to use depth
1. Running katana:The output prints just one

https://goldapple.ru/_assets/66d5209.jsurl. The problem is that program doesnt output results on last iteration. Image below will show that we just go incontinuecondition (nr.Depth==s.Options.Options.MaxDepth==1) and don't print reqUrl to userAnything else: