3 ms·
I own a Brother printer and was curious how the upload worked. Apparently, it is just screenscraping the CSRF token[0], and submitting the cert upload form[1] i
by captn3m0 7mo ago
I own a Brother printer and was curious how the upload worked. Apparently, it is just screenscraping the CSRF token[0], and submitting the cert upload form[1] in the printer's admin web interface. It needs the printer's admin credentials for the upload to work.
[0]: https://github.com/gregtwallace/brother-cert/blob/main/pkg/printer/csrf_token.go https://github.com/gregtwallace/brother-cert/blob/main/pkg/p...
[1]: https://github.com/gregtwallace/brother-cert/blob/main/pkg/printer/cert_upload.go https://github.com/gregtwallace/brother-cert/blob/main/pkg/p...
- huflungdung 7mo ago[dead]
- kuschku 7mo agoThat's sadly the only reliable way to do this, I actually solved it the same way last year: https://github.com/justjanne/brother-client https://github.com/justjanne/brother-client