capJS - Online CAP 2 HCWPAX Tool

imzersradio

Active member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
25
Reaction score
2
Credits
285
okay, and do you navigate to the browser manually or you are using a script to automate that process?
With browser, make manually refresh page to read capture cap file, i will symlink cap file on /tmp to same dir of index2.html
 

imzersradio

Active member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
25
Reaction score
2
Credits
285
Or you can add auto refresh every x scond in index2.html, or i will manualy
 

HashRecovery

Active member
Contributor
Feedback: 0 / 0 / 0
Joined
Dec 30, 2019
Messages
1,476
Reaction score
157
Credits
671
it's not possible to make javascript read your local files automatically (for security reasons)
can you check if you can get this working, a low-resource usage nodejs-alternative:
 

imzersradio

Active member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
25
Reaction score
2
Credits
285
No more space left brother,
This CapJS work fine run on openwrt.
Maybe capjs.js can call with php or lua , this router already installed php
View attachment 17021
it's not possible to make javascript read your local files automatically (for security reasons)
can you check if you can get this working, a low-resource usage nodejs-alternative:
 

imzersradio

Active member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
25
Reaction score
2
Credits
285
[ATTACH type="full"]17023[/ATTACH]
 

Attachments

  • 1620474605285.png
    1620474605285.png
    156.8 KB · Views: 5

HashRecovery

Active member
Contributor
Feedback: 0 / 0 / 0
Joined
Dec 30, 2019
Messages
1,476
Reaction score
157
Credits
671
I have already been working on a node version, too bad it won't help you much, but perhaps someone will find it useful

Usage:
Code:
Usage:
node capjs-node.js capture_file best_only export_unauthenticated ignore_ts ignore_ie debug
low "" capjs-node.js "capture_file best_only export_unauthenticated ignore_ts ignore_ie debug"

capture_file: string
best_only: bool
export_unauthenticated: bool
ignore_ts: bool
ignore_ie: bool
debug: bool

Examples:
node capjs-node.js capture.cap true false false false false
low "" capjs-node.js "capture.cap true false false false false"


back to your case, since php is already installed and can be used i think it's much easier to find a solution that way, i will update you soon
 

HashRecovery

Active member
Contributor
Feedback: 0 / 0 / 0
Joined
Dec 30, 2019
Messages
1,476
Reaction score
157
Credits
671
probably a php memory limit error, i'm checking this now..
 

HashRecovery

Active member
Contributor
Feedback: 0 / 0 / 0
Joined
Dec 30, 2019
Messages
1,476
Reaction score
157
Credits
671
try this
 

Attachments

  • capjs-phpversion.zip
    19.8 KB · Views: 8
Top