{ "description": "2023 South Korea OSS Contest Test Profile for WelsonJS", "updated_on": "2023-10-30", "dependencies": { "welsonjs": "0.2.7" }, "authors": [ "Namhyeon Go " ], "references": [ "https://github.com/gnh1201/welsonjs", "https://catswords.social/@catswords_oss", "https://www.oss.kr/dev_competition_activities/show/544723e6-850a-4956-9194-79640420c19a" ], "tags": [ "javascript", "microsoft", "coffeescript", "windows", "typescript", "html5", "js", "uri", "desktop", "ie", "es5", "jscript", "wsh", "mshtml", "lolbins", "lolbas", "rescript", "mshta", "chatgpt" ], "schema": { "version": "0.2" }, "tests": [ { "id": "es5_polyfills", "description": "Checks whether polyfills above the ES5 level run successfully (using Windows' built-in engine).", "tags": [ "JavaScript Engine", "ECMAScript Polyfills" ] }, { "id": "registry_find_provider", "description": "Find registry provider", "tags": [ "Windows Systems", "Registry Control" ] }, { "id": "registry_write", "description": "Write registry values", "tags": [ "Windows Systems", "Registry Control" ] }, { "id": "registry_read", "description": "Read registry values", "tags": [ "Windows Systems", "Registry Control" ] }, { "id": "wmi_create_object", "description": "Create WMI object", "tags": [ "Windows Systems", "WMI (Windows Management Instrumentation)" ] }, { "id": "wmi_execute_query", "description": "Execute WMI query", "tags": [ "Windows Systems", "WMI (Windows Management Instrumentation)" ] }, { "id": "wmi_result_query", "description": "Retrieve WMI query results", "tags": [ "Windows Systems", "WMI (Windows Management Instrumentation)" ] }, { "id": "shell_create_object", "description": "Create Shell object", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_build_command_line", "description": "Build command line (input: Array, output: unescaped command string)", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_set_charset", "description": "Set character encoding", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_working_directory", "description": "Set working directory", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_create_process", "description": "Create a new process", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_execute", "description": "Execute shell command (returns stdout/stderr)", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_run", "description": "Run shell command (fork, does not wait for output)", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_run_as", "description": "Run shell command with administrator privileges", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_find_my_documents", "description": "Retrieve 'My Documents' path", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "shell_release", "description": "Release shell object", "tags": [ "Windows Systems", "Windows Shell" ] }, { "id": "powershell_set_command", "description": "Set PowerShell command to execute", "tags": [ "Windows Systems", "Windows PowerShell" ] }, { "id": "powershell_set_file", "description": "Set PowerShell script file (*.ps1) to execute", "tags": [ "Windows Systems", "Windows PowerShell" ] }, { "id": "powershell_set_uri", "description": "Set command using a URI", "tags": [ "Windows Systems", "Windows PowerShell" ] }, { "id": "powershell_execute", "description": "Execute PowerShell command (user mode)", "tags": [ "Windows Systems", "Windows PowerShell" ] }, { "id": "powershell_run_as", "description": "Execute PowerShell command (administrator mode)", "tags": [ "Windows Systems", "Windows PowerShell" ] }, { "id": "system_resolve_env", "description": "Verify whether environment variables are resolved correctly", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_check_as", "description": "Check if the current process is running as administrator", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_os_version", "description": "Get OS version", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_architecture", "description": "Get system architecture", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_uuid", "description": "Retrieve UUID of current device", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_working_directory", "description": "Retrieve current working directory", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_script_directory", "description": "Retrieve script directory", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_network_interfaces", "description": "Retrieve network interface information", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_process_list", "description": "Retrieve active process list", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_get_process_list_by_name", "description": "Find active process by name", "tags": [ "Windows Systems", "System Information" ] }, { "id": "system_register_uri", "description": "Register URI and execute command associated with it", "tags": [ "Windows Systems", "URI Registration" ] }, { "id": "system_pipe_ipc", "description": "Inter-process communication between two or more processes", "tags": [ "Windows Systems", "IPC (Inter-Process Communication)" ] }, { "id": "vhid_find_window", "description": "Find active window handle", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_send_click", "description": "Send virtual click", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_send_keys", "description": "Send virtual text input (a–z, A–Z, 0–9)", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_send_key_enter", "description": "Send virtual Enter key", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_send_key_functions", "description": "Send virtual function key", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_alert", "description": "Show alert message when API is called", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_confirm", "description": "Show confirm dialog when API is called (Yes/No)", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "vhid_prompt", "description": "Show prompt dialog and receive user input", "tags": [ "Human Interface", "Virtual Human Interface" ] }, { "id": "network_http_get", "description": "Send HTTP GET request", "tags": [ "Network", "HTTP Communication" ] }, { "id": "network_http_post", "description": "Send HTTP POST request", "tags": [ "Network", "HTTP Communication" ] }, { "id": "network_http_extended", "description": "Send HTTP extended methods (FETCH, PUT, etc.)", "tags": [ "Network", "HTTP Communication" ] }, { "id": "network_attach_debugger", "description": "Attach HTTP debugger (e.g., Fiddler)", "tags": [ "Network", "HTTP Communication" ] }, { "id": "network_detect_charset", "description": "Detect charset from HTTP response body", "tags": [ "Network", "HTTP Communication" ] }, { "id": "network_detect_http_ssl", "description": "Detect whether SSL is enabled on a target website", "tags": [ "Network", "HTTP Communication" ] }, { "id": "network_send_icmp", "description": "Send ICMP (PING)", "tags": [ "Network", "ICMP" ] }, { "id": "extramath_dtm", "description": "Create a Document-Term Matrix (DTM) from two or more sentences", "tags": [ "Advanced String Manipulation", "Natural Language Processing" ] }, { "id": "extramath_cosine_similarity", "description": "Calculate cosine similarity between two sentences", "tags": [ "Advanced String Manipulation", "Natural Language Processing" ] }, { "id": "base64_encode", "description": "BASE64 encoding", "tags": [ "Advanced String Manipulation", "BASE64" ] }, { "id": "base64_decode", "description": "BASE64 decoding", "tags": [ "Advanced String Manipulation", "BASE64" ] }, { "id": "chromium_run", "description": "Run Chromium-based browser", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_create_profile", "description": "Create browser profile", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_run_incognito", "description": "Run browser in incognito mode", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_navigate", "description": "Navigate to a given URL", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_get_active_pages", "description": "Retrieve list of active pages", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_find_page_by_id", "description": "Find page by its original ID", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_find_pages_by_title", "description": "Find pages by their title", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_move_focused", "description": "Change window focus", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_adjust_window_size", "description": "Adjust window size", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_get_element_position", "description": "Find position of element matching CSS selector", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_get_mapreduced_element_position", "description": "Find best-matching element position among multiple CSS selector matches (map-reduce)", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_set_value_to_textbox", "description": "Set value in text-based input element (textarea/input)", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_send_click", "description": "Send virtual click", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_send_keys", "description": "Send virtual keystrokes", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "chromium_auto_scroll_until_end", "description": "Automatically scroll until reaching the bottom (vertical scroll)", "tags": [ "Web Browser Control", "Chromium-Based Browser" ] }, { "id": "grpc_run_server", "description": "Run gRPC server", "tags": [ "gRPC" ] }, { "id": "grpc_receive_command", "description": "Receive commands sent to the gRPC script", "tags": [ "gRPC" ] }, { "id": "gui_check", "description": "Verify that Windows Shell and WMI functions operate correctly in a WebView (GUI) environment.", "tags": [ "WebView" ] } ] }