GerbenJavado / LinkFinder

A python script that finds endpoints in JavaScript files
https://gerbenjavado.com/discovering-hidden-content-using-linkfinder
MIT License
3.64k stars 588 forks source link

Unable to discover .js for a specific URL #55

Open SherlocksHat opened 5 years ago

SherlocksHat commented 5 years ago

For some reason when I search a particular URL I get the following error. Note that other URLs work fine.

The URL contains a hash - not sure if thats tripping it - www.example.com/#Login

Error:
[1846:1846:0716/002700.036506:ERROR:http_bridge.cc(110)] Not implemented reached in virtual void syncer::HttpBridgeFactory::OnSignalReceived()
[1846:1869:0716/002700.073889:ERROR:browser_process_sub_thread.cc(221)] Waited 5 ms for network service
EdOverflow commented 5 years ago

Thank you for the issue ticket, @anonymouse65. Would you be willing to share the full command you ran and what OS you are using (including exact version if possible)?

SherlocksHat commented 5 years ago

Sure -

python linkfinder.py -i https://example.com -d

Above URL forwards to below. I tried both commands.

python linkfinder.py -i https://example.com/#Login -d

Running Kali.

PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2019.2"
VERSION_ID="2019.2"
ID_LIKE=debian
EdOverflow commented 5 years ago

Does the following work?

$ python linkfinder.py -i https://example.com/#Login -o cli -d
SherlocksHat commented 5 years ago

When I run CLI version, no errors appear, however it doesn't actually report JS locations.

It reports one thing - https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css

FYI, I got around this by saving the webpage to a local folder and then having LinkFinder scan the folder for JS - that worked fine. I'm happy with this as a workaround for this particular site, even though it doesn't resolve the root cause.