C Mock Login C Mock Click for Help. 5

Updated on technology 2024-03-31
8 answers
  1. Anonymous users2024-02-07

    It's just 5 points, a little less, hehe

    Let's talk about simulated login first, C development, the easiest and most direct way is to use the webbrowser control, step1] load the login page, analyze the page**, find the ID of the html control used by the username and password

    Step 2] Reference MSHTML

    Step 3] Fill in the data into the control.

    Example: Email

    htmlelement he = "email"];

    value", "");

    Login password password

    he = "password"];

    value", "wang00001");

    Step 4] Inject a script into the page and submit the form.

    About mouse simulation clicks: Look at this.

  2. Anonymous users2024-02-06

    If you want to have a practical effect, you have to connect with the database, which is to use ADO technology, which is actually to write SQL statements in Visual. Of course, this is theoretical, and the following will judge whether the login is successful and give a few sentences**:

    sqlcommand cmd = new sqlcommand("select * from user1 where username='" + "'and password='" + "'", sqlcon);;

    object obj = ;

    if (obj != null)

    Login successful", "Prompt message");

    Login failed", "Prompt message");

    To be honest, this question is 5 points, which is really a little less ......

  3. Anonymous users2024-02-05

    Eliminate old habits in one dry and two clean, five stresses and four beautiful trees and new winds, horizontal criticism: say goodbye to the old and welcome spring.

  4. Anonymous users2024-02-04

    Simulates mouse clicks and mouse movements** I have.

  5. Anonymous users2024-02-03

    Enumerating the window and sending a mouseclick message to the window is actually more complex than MFC.

  6. Anonymous users2024-02-02

    With the hook function, this open source library is very good, and the hook mouse and keyboard are encapsulated.

  7. Anonymous users2024-02-01

    Find the element of the hyperlink and add the onclick event.

  8. Anonymous users2024-01-31

    Use FindWindow to find this messagebox and send a BM click message.

Related questions
34 answers2024-03-31

PS2 emulator does not support the following graphics cards, such as x800, r9800, etc., directx is the patch of the graphics card driver, copy all the contents of the compressed package to c: windows system32! >>>More

3 answers2024-03-31

Wrote about this the other day, 6-1Simple calculator (20). >>>More

8 answers2024-03-31

Pay attention to the hint - Application Interface Support Library - > System Processing is the command that comes with the easy language itself, if you don't have this command, you can see if there are many support libraries in the above tool support library configuration to see if there are many support libraries that are not checked, if not, select him to the above point OK. >>>More

15 answers2024-03-31

C17300 leaded beryllium copper alloy is a free-cutting beryllium copper alloy >>>More

5 answers2024-03-31

1.Cancel the restore of the C drive (right-click on My Computer -> Properties -> System Restore -> select the C drive -> Close Restore). >>>More