Comments (3)
For HTMX or any javascript frontend rendering framwork, you'll probably need to use headless mode - see https://github.com/projectdiscovery/katana?tab=readme-ov-file#crawling-mode
As noted in standard mode
without any javascript or DOM rendering, potentially missing post-dom-rendered endpoints or asynchronous endpoint calls that might happen in complex web applications
But Headless runs in a headless browser you should be able to use katana with it.
from katana.
I noticed it still doesnt register all the endpoints even in headless mode. In a test app I wrote up, it has a /, /static/styles.less, and a /test path. where the /test path is activated by htmx. It doesn't seem to get that endpoint despite turning on jsl, jc, or headless/system chrome.
from katana.
@crigger61 Thanks for opening this issue. Would it be possible to provide an example of the page which is not correctly parsed? Generally headless should be able to render all compatible javascript engines, and indirectly various endpoints are captured at runtime via headless. If the endpoints instead are triggered by some particular browser events (ex. hoovering with the mouse, clicking, etc) or user interaction, katana is probably not still able to do it autonomously, so the only option is implementing a custom parser that extract these info via static analysis.
from katana.
Related Issues (20)
- Output file not created when using -kf option HOT 1
- 404 Filter not works HOT 2
- panic: runtime error: invalid memory address or nil pointer dereference [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0xe3706c] HOT 2
- Add Wayback Machine as a passive source for crawling
- Add Common Crawl as a passive source for crawling
- Add Alien Vault as a passive source for crawling
- Make go-tree-sitter optional on unsupported 386 machines HOT 3
- GLIBC version requerd HOT 1
- Crawling for thispage.domain.com HOT 6
- katana v1.0.5 segfault while crawling 400K hosts HOT 1
- [Feature request]just show the api request HOT 12
- Fix stats for passive crawling
- CLI: Silent flag doesn't work. CLI too verbose
- gcc: error: unrecognized command-line option '-marm' HOT 2
- Binary doesn't build in Windows11 HOT 1
- iqp does not work in passive mode HOT 2
- Adding urlscan passive sources is recommended HOT 2
- DSL doesn't filter status codes. HOT 3
- Flag -crawl-scope not working as expected
- Host Header OVERRIDE Problem HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from katana.