Mar-04-2025, 09:30 PM
I'm trying to build an automated solution for accessing a captcha‐protected website (specifically IRCTC) using HTTP requests instead of a full browser. I want to display the live captcha image—i.e. the one generated for the current session by the server—in my application (for example, in a Tkinter GUI) so that a user can manually enter the captcha and submit the form. I've tried fetching the captcha from a dedicated endpoint and even by "pinging" the live signup page using different headers for each action (session initialization, captcha fetching, form submission), but I end up with a mismatch: the captcha I display isn't what the server expects when I submit the form.
I'm also curious if this approach (fetching and displaying the live captcha for manual solving) can be implemented in other languages like .NET/C# or C++.
I'm also curious if this approach (fetching and displaying the live captcha for manual solving) can be implemented in other languages like .NET/C# or C++.