Benign ruby Download

lib/dommy/document.rb

Ruby dynamically invokes a method with sendRuby loads a relative source module
SHA-256f25500efdf12db52a3838ba1bf17e252b3c523c65a0a4a2871090f081b55f4ef
MaleculeH₂(DbOs)

Evidence

Ruby loads a relative source module lines 1–7
1# frozen_string_literal: true
2
3require "uri"
4
5require_relative "internal/node_wrapper_cache"
6require_relative "internal/mutation_coordinator"
7require_relative "internal/shadow_root_registry" …
Ruby dynamically invokes a method with send lines 329–332
329:4… qn = qualified_name.to_s
330 unless qn.empty?
331 el = doc.send(:create_element_ns, namespace, qualified_name)
332 Backend.set_document_root(doc.backend_doc, el.__dommy_backend_node__ …
Contains an HTML document string literal lines 369–371
369:10… = Document.new(nil, backend_doc: Backend.parse("<!DOCTYPE html><html><head></head><body></body></html>"))
370 doc.title = title.to_s unless title.nil? || title.equal?(Bridge::UNDEFINED)
371 doc
HTTP protocol prefix lines 742–746
742:16… pond_to?(:namespace_uri) && c.namespace_uri == "http://www.w3.org/1999/xhtml"
743 end
744 end
745
746 # Resolve `body` fresh from the tree (not memoized …
Ruby rebinds a method with alias_method lines 757–764
757:22… _tree
758 Internal::AccessibilityTree.build(self)
759 end
760 alias_method :aria_tree, :accessibility_tree
761
762 # A Playwright-compatible ARIA snapshot of the document.
763 def aria_snapshot
764 Inter …

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.