Jump to content
UBot Underground

nepzworld

Members
  • Content Count

    15
  • Joined

  • Last visited

Posts posted by nepzworld

  1. here is my socket code but its not working

     

    but it returns no value at all

    ui open file("Browse Captcha",#captchalocation)
    plugin command("SocketCommands.dll", "socket container") {
    plugin command("SocketCommands.dll", "socket set header", "User-Agent", "Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0
    ")
    plugin command("SocketCommands.dll", "socket add parameter", "file", #captchalocation)
    plugin command("SocketCommands.dll", "socket add parameter", "source_url", "")
    plugin command("SocketCommands.dll", "socket add parameter", "captcha_platform", "")
    plugin command("SocketCommands.dll", "socket add parameter", "action", "Submit")
    plugin command("SocketCommands.dll", "socket navigate", "POST", "http://127.0.0.1/gsa_test.gsa")
    load html($plugin function("SocketCommands.dll", "$socket page html"))
    
    alert($plugin function("SocketCommands.dll", "$socket page html"))
    set(#valueofcaptcha,$find regular expression($plugin function("SocketCommands.dll", "$socket page html"),"(?<=captcha_result">).*?(?=<)"),"Global")
    alert($plugin function("SocketCommands.dll", "$socket page html"))
    alert(#valueofcaptcha)
    }
    
  2. ok check this:

     

    ui open file("Accounts",#login)
    clear list(%login)
    add list to list(%login,$list from text($read file(#login),$new line),"Delete","Global")
    set list position(%login,0)
    ui drop down("Thread Count","1,2,3,4,5,6,7,8,9,10",#num threads)
    set(#used threads,0,"Global")
    loop($list total(%login)) {
        loop while($comparison(#used threads,">=",#num threads)) {
            wait(1)
        }
        loop process()
    }
    define loop process {
        increment(#used threads)
        registration procedure()
    }
    define registration procedure {
        thread {
            in new browser {
                registration code here()
                decrement(#used threads)
            }
        }
    }
    define registration code here {
        add list to list(%local,$list from text($next list item(%login),$new line),"Delete","Local")
        if($comparison(#num created,"<=",$list total(%login))) {
            then {
                set(#cur account position,#account position,"Local")
                increment(#account position)
                set(#url,$list item(%local,0),"Local")
                set(#username,$list item(%local,1),"Local")
                set(#password,$list item(%local,2),"Local")
                alert("{#url}:{#username}:{#password}")
            }
            else {
            }
        }
    }
     
    my csv file is in format: 
    https://www.youtube.com/,username1,password1
    https://www.google.com/,username2,password2
    https://in.yahoo.com/?p=us,username3,password3
     
     
    and when i run the program, it displays: 
    https://www.youtube.com/,username1,password1::
     
    but it should have displayed: 
    https://www.youtube.com:username1:password1
  3. I can't help without see your code why this error occurs so can you show your code?

     

    thank you for your quick reply, here you go

     

    login file is in the format:

     

    domain name1,username1,password1

    domain name 2,username2,passwrod2

    .

    .

    .

     

     

     

    ui open file("Login File",#loginfile)
    clear table(&login)
    create table from file(#loginfile,&login)
    set(#thread_counter,0,"Global")
    set(#row,0,"Global")
    loop($table total rows(&login)) {
        increment(#thread_counter)
        thread {
            Run Script($table cell(&login,#row,0), $table cell(&login,#row,1), $table cell(&login,#row,2))
            decrement(#thread_counter)
            if($comparison(#thread_counter,"= Equals",0)) {
                then {
                    alert("DONE!!")
                }
                else {
                }
            }
        }
    wait(2)
        increment(#row)
    }
    define Run Script(#url, #email, #password) {
        in new browser {
            plugin command("SocketCommands.dll", "socket container") {
                plugin command("SocketCommands.dll", "socket set header", "User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0")
                set cookie("xg_cookie_check",1)
                 plugin command("SocketCommands.dll", "socket add parameter", "emailAddress", #email)
                plugin command("SocketCommands.dll", "socket add parameter", "password", #password)
                plugin command("SocketCommands.dll", "socket navigate", "POST", "{#url}/signin")
                wait(5)
            }
        }
    }
    
  4. Help me Guys, Multi threading in Socket is not working . I was trying to login to the list of site that is stored in a .csv file like this:

     

    domain name1,username1,password1

    domain name 2,username2,passwrod2

    .

    .

    .

     

     

    there are 30-50 rows with different domain and different userid and password. I wanted to use multithreading but it is not working as it is supposed to. Different thread should pick up different domain but threads are picking same domain multiple times. So, anyone ? who have been to this issue before and solved it? please help me here

     

    Thank you

×
×
  • Create New...