Basic-Modules (2024)

Basic modules are those that send altered or entirely new requests to the crawler and register callbacks to handle the responses. The callbacks can generate alerts, store information in the knowledge base, or schedule additional requests. Basic modules are written in Javascript.

Introduction

The Vega crawler analyzes pages, extracting URIs and processing forms. Vega decomposes the path structure of URIs and analyzes them to determine if they are directories or files. Each path part is stored with identified type information, as a PathState node, in a tree-like data structure. URIs that accept GET or POST parameters are further decomposed into derivative path state nodes, one for each parameter, and each with a parameter index.

Basic modules that have been selected to run are run once on each path state node.

Every basic module must declare two things: a module object, and an initialize() function. Callback functions must be defined if requests are submitted to the Vega crawler.

Module Object

 var module = { name: "Shell Injection Checks", category: "Injection Modules" };

The module object contains has two properties:

name A string name for the module. category A string name for the category it is to be grouped in.

Initialization Function

The function initialize() is the entry point for the module. Modules are invoked by Vega on path state nodes.

 initialize(ctx)

The initialize() function is passed one parameter, the context object. The context includes the path state and exposes the Vega API. Basic modules create requests and submit them to the crawler, along with the callback function that will run when the response is returned.

Context

The Vega API for modules is exposed through the Basic Module Context Object object, which also serves to store information about the instance of a module per path-state node, i.e. across multiple requests and responses. This includes:

  • Sending requests
  • Tracking responses
  • Comparing page similarity
  • Generating alerts

Design of a Basic Module

Basic modules can queue additional requests to be sent and register callbacks to handle the responses. These can be entirely new requests or fuzzing of parametric or non-parametric path state nodes. The API for this is documented in the BasicModule Context wiki page. The callback functions perform the analysis of the vulnerability check and can generate an alert, if appropriate to do so.

Home > API > Basic-Modules

Have feedback on Vega? Our documentation? Please tell us.

Basic-Modules (2024)

FAQs

What are the three types of modules? ›

Modules are of three types:
  • Core Modules.
  • local Modules.
  • Third-party Modules.
Apr 6, 2023

What is a basic module? ›

Basic modules are those that send altered or entirely new requests to the crawler and register callbacks to handle the responses.

What are the modules? ›

A module is a distinct assembly of components that can be easily added, removed or replaced in a larger system. Generally, a module is not functional on its own. In computer hardware, a module is a component that is designed for easy replacement.

What are the modules in a project? ›

Modules. A module is a collection of source files and build settings that let you divide your project into discrete units of functionality. Your project can have one or many modules, and one module can use another module as a dependency. You can independently build, test, and debug each module.

What are five examples of modules? ›

Adobe Workfront Fusion distinguishes five types of modules: action modules, search modules, trigger modules, aggregators, and iterators. Aggregators and Iterators are for advanced scenarios.

What is common modules? ›

Common modules are modules frequently used in the content editor. You can add common modules to posts and pages created with most theme templates or coded templates that include drag and drop areas.

What is an example of a module? ›

Imagine you are building a business model for an airline. The causal loop diagram for the model (the “dynamic hypothesis”) might look like this: This is the top level of the model, which comprises five modules (Customers, Fleet, Reputation, Quality, and Service).

What is another word for module? ›

What is another word for module?
partcomponent
lumpparcel
part and parcelplug-in
extensionarea
subsectionarticle
148 more rows

What is the purpose of a module? ›

Modules are used to organize course content by weeks, units, or a different organizational structure. Modules essentially create a one-directional linear flow of what students should do in a course. Each module can contain files, discussions, assignments, quizzes, and other learning materials.

What are the core modules? ›

Core Modules Information

Processor core modules are computer boards or integrated circuits (ICs) that are populated with electronic components and used in embedded applications. Processor core modules are mounted on user-designed motherboards and other systems for quick integration in custom designs.

What are the two types of modules? ›

A module may contain functions, classes, lists, etc. Modules in Python can be of two types: Built-in Modules. User-defined Modules.

What is a learning module? ›

• A Learning Module is a logically structured collection of course content. Conceptually, it is similar to a chapter in a. textbook. • A Learning Module may consist of several sections and activities. Faculty members can add folders and sub-folders.

What should be included in a module? ›

Each learning module should encompass course content, concepts, assignments, relevant resources and applicable assessments focused on a particular theme. They should contain module objectives relevant to expected student outcomes for that part of the course.

What is the difference between a module and a program? ›

Consequently, a module does not contains statements to be executed as in a program. A module can only contain declarations and functions to be used by other modules and programs. This is perhaps one of the most important difference.

What are the main parts of a module definition? ›

Answer: The two main components of a module definition in most programming languages are the "Interface" and the "Implementation." The Interface provides a contract describing the functionalities offered by the module, while the Implementation contains the actual code that performs these functionalities, fulfilling the ...

What are modules and their types? ›

Make distinguishes five types of modules: Actions, Searches, Triggers, Aggregators and Iterators. The two latter ones are intended for advanced scenarios.

How many types of modular are there? ›

There are many types of modular buildings: mobile offices, modular offices, portable offices, prefabricated booths, modular equipment buildings, prefabricated shelters, prefabricated garages, portable buildings, and prefabricated buildings, modular classrooms, modular clinics, and modular housing.

What are modules in school? ›

Modules are used to organize course content by weeks, units, or a different organizational structure. Modules essentially create a one-directional linear flow of what students should do in a course. Each module can contain files, discussions, assignments, quizzes, and other learning materials.

Top Articles
Latest Posts
Article information

Author: Aracelis Kilback

Last Updated:

Views: 5762

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Aracelis Kilback

Birthday: 1994-11-22

Address: Apt. 895 30151 Green Plain, Lake Mariela, RI 98141

Phone: +5992291857476

Job: Legal Officer

Hobby: LARPing, role-playing games, Slacklining, Reading, Inline skating, Brazilian jiu-jitsu, Dance

Introduction: My name is Aracelis Kilback, I am a nice, gentle, agreeable, joyous, attractive, combative, gifted person who loves writing and wants to share my knowledge and understanding with you.