capJS - Online CAP 2 HCWPAX Tool

imzersradio

Member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
22
Reaction score
2
Credits
234
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

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

hashC.co.uk

Active member
Contributor
Feedback: 231 / 0 / 0
Joined
Dec 30, 2019
Messages
1,455
Reaction score
129
Credits
493
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

Member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
22
Reaction score
2
Credits
234
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

Member
Feedback: 0 / 0 / 0
Joined
Dec 23, 2020
Messages
22
Reaction score
2
Credits
234
[ATTACH type="full"]17023[/ATTACH]
 

Attachments

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

hashC.co.uk

Active member
Contributor
Feedback: 231 / 0 / 0
Joined
Dec 30, 2019
Messages
1,455
Reaction score
129
Credits
493
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
 

hashC.co.uk

Active member
Contributor
Feedback: 231 / 0 / 0
Joined
Dec 30, 2019
Messages
1,455
Reaction score
129
Credits
493
probably a php memory limit error, i'm checking this now..
 
Top