schlatterbeck / snxvpn

Command-line utility to connect to a Checkpoint SSL VPN
Other
67 stars 59 forks source link

No RSA javascript file found, cannot login #30

Open mattvx opened 2 years ago

mattvx commented 2 years ago

Hello There, I'm getting this error. I think it's more related to the server I'm trying to connect to rather than a snxconnect issue. If there is some way i can fix it? Some suggestions i can give to who admins checkpoint in my workplace?
With the old snx cli i manage to get to the auth phase but it blocks when the server asks for 2fa.

matt@warmachine:~$ snxconnect -H vpn.r*******a.it -U m******i -D
Password: 
sslvpn/Login/Login
https://vpn.r**********a.it/sslvpn/Login/BrowserSupport
No RSA javascript file found, cannot login
ruyrybeyro commented 2 years ago

Also having the same exact error. I suspect it is due to a new Checkpoint version... SNX 800008210

Cavva79 commented 2 years ago

Hi all, the issue is caused by User-Agent filtering of some new versions of checkpoint mobile. I found this fork (michel-kraemer/snxvpn) working except for this specific problem. I added Firefox useragent as an http header in the request and everything worked out

@schlatterbeck I'll try to open a PR to your repo