Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Information collection method and system for remotely and instantly compiling and executing encrypted script in memory

A technology of compiling and executing and information collection, which is applied in the field of network information, can solve the problems of scripts not being able to be encrypted, poor string manipulation ability, script syntax differences, etc., and achieve the effect of protecting security and copyright

Pending Publication Date: 2021-08-24
中电福富信息科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The main disadvantages of this method are: 1. The platform compatibility of scripts, the scripts executed on different platforms are not the same, so it is necessary to maintain the scripts of multiple platforms
Moreover, the script syntax of each platform is quite different, especially the Bat script under the Windows platform, which has poor ability to operate strings and is stretched for many string operations.
2. The script cannot be encrypted. Since it needs to be interpreted and executed by the system's script interpreter, the script can only be stored in plain text

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Information collection method and system for remotely and instantly compiling and executing encrypted script in memory
  • Information collection method and system for remotely and instantly compiling and executing encrypted script in memory
  • Information collection method and system for remotely and instantly compiling and executing encrypted script in memory

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.

[0026] In the present invention, the server sends the encrypted C# source code to the client, and the virtual machine of the client decrypts the encrypted source code in the memory, and compiles the decrypted source code into an assembly directly in the memory using the Mono kernel. This compilation process is different from the traditional compilation of source code into executable programs. Since the Mono kernel is directly invoked, no executable programs or dynamic libraries related to scripts will be generated during memory compilation. It is also different from general script parsing and execution. Memory compilation is a managed language that is compil...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses an information acquisition system for remote instant memory compilation and execution of an encrypted script. The encrypted script is issued to a client through a script issuing center; the client decrypts the script and sends the script to the compiler; the compiler compiles the script, and the compiled result exists in a program domain in the form of a program set in a memory; the program set in the memory is loaded to an operating system kernel to run, and an entry function of the program set is called; the operating system kernel is used as an interface of the application layer and the operating system layer when running, and an API (Application Program Interface) of the operating system is accessed through a script, so that the script realizes a bottom layer function. According to the method, the source code of the encrypted script is compiled and executed by using the instant memory, and the executable code can be effectively protected from being cracked, so that the security and copyright of the script are protected.

Description

technical field [0001] The invention relates to the field of network information technology, in particular to an information collection method and system for compiling and executing encrypted scripts in remote real-time memory. Background technique [0002] The main function of the information collection client is to collect information on the machine where the client is located by sending an executable script from the server to the client, and the client executes it and reports the execution result to the server. The solution used by the horizontally compared products is that the server sends the corresponding platform script to the client (Bat under Windows, Shell script under Linux), and the client reports the execution result to the server after executing the script. The main disadvantages of this method are: 1. The platform compatibility of the script, the scripts executed on different platforms are different, so it is necessary to maintain the scripts of multiple platf...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/30G06F8/41G06F21/60
CPCG06F8/37G06F8/31G06F8/44G06F21/602
Inventor 郑炎王子超林朗杰
Owner 中电福富信息科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products