Click here to Skip to main content
15,844,498 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello Guys i have a website that i want to login to it with a program so i made a class which will get payload .
:


But the question is everytime the ssid change randomly so i don't know what to do for that ??

What I have tried:

<pre> 

The paylod from the website is this ==>
<pre>userID: 
Ashkan1231231
password: 
dads
accountType: 
userTypeCode: 
C
pm_fp: 
version=1&pm_fpua=mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/107.0.0.0 safari/537.36|5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36|Win32&pm_fpsc=24|1920|1080|1040&pm_fpsw=&pm_fptz=3.5&pm_fpln=lang=en-US|syslang=|userlang=&pm_fpjv=0&pm_fpco=1
currentFormId: 
login
rememberOption: 
on
link: 
intcpt: 
ssid: 
4508513f-adae-424a-9d23-a31a656092f-1668367304029




and my C# class is this :

public class LoginDetails
        {
            public string userID { get; set; }
            public string password { get; set; }
            public string currentFormId { get; set; }
            public string ssid { get; set; }
            public string userTypeCode { get; set; }
            public string pm_fp {get;set;}
        
            public string accountType { get; set; }
                        public string link { get; set; }

                        public string intcpt { get; set; }

        
           
          


        }





C#
<pre>LoginDetails loginDetails = new LoginDetails {
 userID = email,
                password = password,
                accountType = "",
                userTypeCode = "c",
                pm_fp = "version=1&pm_fpua=mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/107.0.0.0 safari/537.36|5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36|Win32&pm_fpsc=24|1920|1080|1038&pm_fpsw=&pm_fptz=3.5&pm_fpln=lang=en-US|syslang=|userlang=&pm_fpjv=0&pm_fpco=1",

                currentFormId = "login",
                link = "",
               intcpt = "",
**               ssid = "7f5fa66c-c082-406f-bb16-d6d459ea7ae-1668352313847"
**              }
Posted
Updated 15-Nov-22 1:57am
v2

1 solution

Talk to the people who wrote the site. They are the only ones who can assist you.

But the chances are that this random value is specifically intended to prevent people from scraping their site with a bot, as you are trying to do. In which case, there is nothing you can do. And nobody here is going to help you "hack" a third-party site by circumventing its security mechanisms.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900