The first script "Hello world! "

Source: Internet
Author: User

Open notepad and edit the script. Rem is equivalent to the annotation, which is the same as the script language.

Rem Hello worldgui rdelay 300 string notepadenterdelay 1000 string Hello world !!

Here, the GUI is equivalent to the Windows key, so the first command is win + R, which is equivalent to opening and running

Next, the latency is 300 milliseconds. String is the analog input string notepad.

Then press Enter.

In this way, the notepad is opened, and then input Hello world in the simulated string !!

This is the execution process, but it cannot be edited. It also needs to be converted to the corresponding binary file. duckencode is officially provided. jar is a Java program that must run to install the Java Virtual Machine or directly install JDK.

Let's look at this program.

The basic command is duckencode-I export source file .txt]. Then, you can compile and generate inject. bin in the current directory.

If-O is used to specify the output file, the following are some key descriptions. You can see that the last windows button is equivalent to the GUI.

Enter Java-jar duckencode. jar-I Hello world.txt to see that an inject. Bin is generated in the source directory.

Copy this to the SD card and insert rubber ducky to automatically run it !!!

The first script "Hello world! "

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.