You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The particular vpn I am connecting to is redirecting /Login/Login to /ICS/scanPage
The problem is:
snxconnect.py , Line 172 shows self.purl to be .../ICS/scanPage instead of /Login/Login.
This version of checkpoint is redirecting /Login/Login to /ICS/scanPage. So client does not have access to /Login/Login.
The code where it fails:
def login (self) :
if self.has_cookies :
self.debug ("has cookie")
self.nextfile = 'Portal/Main'
self.open ()
self.debug (self.purl)
if self.purl.endswith ('Portal/Main') :
self.open ('sslvpn/SNX/extender')
self.parse_extender ()
self.generate_snx_info ()
return True
else :
# Forget Cookies, otherwise we get a 400 bad request later
self.jar.clear ()
self.next_file (self.purl)
self.debug (self.nextfile)
self.open ()
self.debug (self.purl) <-- self.purl is .../ICS/scanPage instead of .../Login/Login.
The RSA javascript file can easily be obtained from the server. That is not a problem.
My question is, can a form be generated in snxconnect.py and submit the 'loginForm' data back to the server without having to have access to /Login/Login:
if 'id' in form.attrs and form ['id'] == 'loginForm' : <-- this is if you have access to /Login/Login
Thank You
The text was updated successfully, but these errors were encountered:
The particular vpn I am connecting to is redirecting /Login/Login to /ICS/scanPage
The problem is:
snxconnect.py , Line 172 shows self.purl to be .../ICS/scanPage instead of /Login/Login.
This version of checkpoint is redirecting /Login/Login to /ICS/scanPage. So client does not have access to /Login/Login.
The code where it fails:
def login (self) :
if self.has_cookies :
self.debug ("has cookie")
self.nextfile = 'Portal/Main'
self.open ()
self.debug (self.purl)
if self.purl.endswith ('Portal/Main') :
self.open ('sslvpn/SNX/extender')
self.parse_extender ()
self.generate_snx_info ()
return True
else :
# Forget Cookies, otherwise we get a 400 bad request later
self.jar.clear ()
self.next_file (self.purl)
self.debug (self.nextfile)
self.open ()
self.debug (self.purl) <-- self.purl is .../ICS/scanPage instead of .../Login/Login.
The RSA javascript file can easily be obtained from the server. That is not a problem.
My question is, can a form be generated in snxconnect.py and submit the 'loginForm' data back to the server without having to have access to /Login/Login:
if 'id' in form.attrs and form ['id'] == 'loginForm' : <-- this is if you have access to /Login/Login
Thank You
The text was updated successfully, but these errors were encountered: