A Visual Studio Code extension for AXS (AdaptixC2 Scripting Language) with intelligent autocompletion and syntax highlighting.
- Smart Autocompletion - Full
ax.,form.,menu.object support - JavaScript Syntax - Complete JS highlighting and language features
- BOF Integration - Built-in support for Beacon Object Files
- Form Dialogs - UI creation with form widgets and layouts
- Extensible - Easy to add new AXS API functions
- Install the extension
- Open any
.axsfile - Type
ax.to see all available functions - Use
Tabto navigate through parameters
// Create a BOF command
var cmd = ax.create_command("screenshot", "Take screenshot", "screenshot -p 1234");
cmd.addArgInt("pid", true);
cmd.setPreHook(function(id, cmdline, parsed_json) {
let pid = parsed_json["pid"];
let bof_params = ax.bof_pack("int", [pid]);
let bof_path = ax.script_dir() + "_bin/screenshot.o";
ax.execute_alias(id, cmdline, `execute bof ${bof_path} ${bof_params}`, "Screenshot");
});
// Create form dialog
let dialog = form.create_dialog("Settings");
let label = form.create_label("Enter value:");
let input = form.create_textline();
form.connect(input, "textChanged", function(text) {
ax.log("Input changed: " + text);
});MIT License - See LICENSE file
