News for hackers. Stuff that matters.
Re:Linx – Reveals invisible links within JavaScript files by mgdlbp on Monday June 27, 2022 @08:42AM (#31893758)
Also: the Internet Archive's crawler (Heritrix) implements link extractors for HTML, XML, CSS, JS, PDF, Word document, and even Shockwave Flash.

Heritrix extractor Javadocs: https://www.javadoc.io/doc/org.archive.heritrix/heritrix-mod...

Source of the JavaScript extractor: https://github.com/internetarchive/heritrix3/blob/master/mod...

A script is included for running the extractors from the command line: https://github.com/internetarchive/heritrix3/blob/master/dis...

Re:Linx – Reveals invisible links within JavaScript files by tyingq on Monday June 27, 2022 @07:03AM (#31892865)
Says it's inspired by "LinkFinder", which was useful in dredging up what the original purpose of the tool was: https://gerbenjavado.com/discovering-hidden-content-using-li...
Re:Linx – Reveals invisible links within JavaScript files by dspillett on Monday June 27, 2022 @09:23AM (#31894248)
If it isn't a bit late, you might want to reconsider the name as it clashes with an existing web project: https://en.wikipedia.org/wiki/Links_(web_browser)

Not a commonly used one in my experience, but still actively maintained.

Re:Linx – Reveals invisible links within JavaScript files by makeworld on Monday June 27, 2022 @10:29AM (#31895057)
Which ironically also clashes with https://en.wikipedia.org/wiki/Lynx_(web_browser
Re:Linx – Reveals invisible links within JavaScript files by dspillett on Monday June 27, 2022 @11:11AM (#31895661)
I seem to recall that one was actually deliberate, though I can't find a reference that says that ATM.
Re:Linx – Reveals invisible links within JavaScript files by woojoo666 on Monday June 27, 2022 @12:48PM (#31897226)
Its spelled differently and in a different market/domain, I think it should be fine
Re:Linx – Reveals invisible links within JavaScript files by badrabbit on Monday June 27, 2022 @09:42AM (#31894486)
What does "invisible links" mean? Obfuscated JS? An example would be helpful in the readme.
Re:Linx – Reveals invisible links within JavaScript files by jffry on Monday June 27, 2022 @11:44AM (#31896178)
It says it's inspired by LinkFinder which describes itself as:

"LinkFinder is a python script written to discover endpoints and their parameters in JavaScript files. This way penetration testers and bug hunters are able to gather new, hidden endpoints on the websites they are testing."

Re:Linx – Reveals invisible links within JavaScript files by badrabbit on Monday June 27, 2022 @11:48AM (#31896231)
Thanks, It said inspired by, I didn't know if it did more than that.
Re:Linx – Reveals invisible links within JavaScript files by usrn on Monday June 27, 2022 @11:57AM (#31896383)
It's probably confusing "links" and "URLs."
Re:Linx – Reveals invisible links within JavaScript files by r1z4 on Monday June 27, 2022 @09:27AM (#31894298)
Thanks a lot for the suggestions, the ratings make me very happy! I approach all comments positively, I will consider them all. <3
Re:Linx – Reveals invisible links within JavaScript files by nixcraft on Monday June 27, 2022 @08:21AM (#31893511)
Do we have a FF or Chrome extension that can reveal invisible links within HTML pages?
Re:Linx – Reveals invisible links within JavaScript files by mh0pe on Monday June 27, 2022 @10:57PM (#31903592)
I would absolutely use this if it existed.
Re:Linx – Reveals invisible links within JavaScript files by thrdbndndn on Monday June 27, 2022 @07:34AM (#31893116)
Cool! I was looking for something exactly like this before when reverse-engineering some website's API.

A few suggestions:

The current algorithm seems to have way too many false positives, it got things like "YYYY/M/D", "Asia/Hong_Kong|Hongkong", "video/x-matroska" etc. Not a deal breaker.

The main pain point when using it is the way it presents the result.

It firstly has quotes around each result, making copy them quite annoying (double click would select these quotes too).

Secondly, I wish it would automatically attempt to generate a link using relative path so I can directly click and test. It can be a separate column with <a>.

Re:Linx – Reveals invisible links within JavaScript files by einpoklum on Monday June 27, 2022 @09:46AM (#31894534)
Lynx/Links is a browser. Name's taken...