Search This Blog

Tuesday, March 3, 2020

Simple 3rd party HTML Form autologin from your Application

1. simple copy the below script
2. change the login url in javascript
3. change the login authenticate url "when they click login submit" in the FORM action tag
4. change the text name value exactly same as their username,password field name
5. save and double click the HTML.


<html>

<head>

    <title>Crunchify Login Page</title>
    <script>
        function loginForm() {
            document.myform.submit();
            document.myform.action = "https://loginpage.url";
        }


    </script>
    <style type="text/css">
        body {
            background-image: url('https:///plus.medibuddy.in/bg.png');
        }
    </style>
</head>

<body onload="loginForm()">
    <form action="https://login-authenticate-url" name="myform" method="post">
        <input type="text" name="username" value="vijay@vijay.com">
        <input type="password" name="password" value="vijay">
        <input type="submit" value="Login">
    </form>

</body>

</html>

No comments:

Hit Counter


View My Stats