Jump to content
UBot Underground

Praney Behl

Fellow UBotter
  • Content Count

    2328
  • Joined

  • Last visited

  • Days Won

    94

Posts posted by Praney Behl

  1. Ok now here is a sample code to give you an idea on how this can be done is.

    Sample script

     

    Ok now in this I have used 3 variables: a, b, & c.

     

    Ok to my experience it can be done by choosing by position.

     

    Variables a,b,c are position variables,

     

    Now first we clicked on the: "Click here to Choose Category" link by selecting the choose by attribute.

     

    then click it.

     

    ->Arts & History

    Commerce

    Computers & Internet

    Health

    Hobbies

    Home & Living

    Media

    Music & Movies

    Outdoors

    Regional

    Religion

    Science & Technology

    Social Networking

    Society

    Sports

     

    Now these link start at position 11 and last is 25.

     

    Thus, we set 'a' = rand(11,25);

     

    Now we click(select) a random main category; lets say it selected 14: "Health"

    It has 20 sub-cats. :

    Alternative Health

    Anatomy

    Asthma

    Beauty

    Bodybuilding

    Brain Disorders

    Cancer

    Eating Disorders

    Ergonomics

    Fitness

    Learning Disorders

    Medical Science

    Mental Health

    Nursing

    Nutrition

    Psychiatry

    Self Improvement

    Sexual Health

    Substance Abuse

    Weight Loss

     

    And all have different positions, so we need to check the position of the first and the last sub-cat.

     

    Right click the first sub-cat and choose by pos. note the no. and do same with last.

     

    Ok now varibles 'b' and 'c': 'b' is the value of the first sub-cat and 'c' is the value of the last sub-cat.

     

    This needs to be done manually as they all have diff no. of sub-cats. Its a pain in the butt..

     

    Now that we have all the values of all sub-cats. of all cats.

     

    we run a check using if statements checking if the value of 'a' is "sumthing" then set 'b' = first sub-cat pos. of that cat. and same with the 'c'.

     

    Hey in the sample script above I have done the first 4 IF Statement for you but as there were 16 so I have left the other 12 for you to do..

     

    Enjoy...

     

    Get back to me if you have any doubt I think that it may not be the case after this huge explaination... :P

     

    Cheers!!

     

    Praney

    • Like 4
  2. Hey Pftg4,

     

    Yes I am sure it is returning the right captcha, I have checked it again and again, with decaptcher service is pretty reliable for recaptcha solving as they are quite clear to read..

     

    I just put a delay of 4 secs. after the resolve and before it submits it to make sure its solving the captcha properly.

     

    Apart from that if the captcha is incorrect then it gives an error message but in this case it is not even working with manually decoding captcha.

     

    I have put my script please review it.

     

    Cant attach it here so just added a link to it..

     

    http://hotfile.com/dl/54671036/264f2ad/facebook.ubot.html

     

     

    Cheers!

     

    Thanks for your time..

     

    Praney

  3. Hey there, :)

     

    Been trying to solve the Facebook account creation catpcha..

    I m using decaptcher[dot]com service.

    Tried without brute force didn't work, then tried with brute force...

     

    What exactly is happening is takes up the captcha image and the machine just waits for response for the captcha to solved, and after that it types the resolved captcha in the captcha field, and it just goes and submits the form...

     

    then I don't get any error but It asks for captcha again.

     

    this doesn't happen if I do it manually it works.

     

    Any suggestions..

     

    Thanks,

     

    Praney

     

    http://hotfile.com/dl/54671036/264f2ad/facebook.ubot.html

  4. Hi All,

     

    I am just wondering if there is a way to hide the browser so that its not visible whats going on in the browser...

     

    If its possible using javascript or something..

     

    Anyone please help!!

     

    Thanks

     

    Praney

  5. Yes, but if the mainthread with all the threads in it runs out, then all the threads started will shutdown.

     

    Thanks ALCR,

    Thats a great tip.

     

    But I tried to put a 50sec delay at the end of my sample script above and all the 4 sub open, the first 3 just say at google but the last i.e. 4th window actually starts working and navigates to all the websites and when done shuts down that is exactly what I want it to do.

     

    I believe it is the delay but trying to fix this;

    if I put a delay after every thread, then it will work BUT all the 4 sub-window will not open and work simultaneous(Multi-Threading).

     

    Any tips how is that possible?

     

    Cheers,

     

    Praney

  6. Hey afallison,

     

    I have tried compiling the bot all is still the same - still only processes 1 line of code only..

     

    The big guys are quite I don't why but seems like no one wanna respond to this..

     

    I am still waiting for seth's reply on this...

     

    Praney

  7. Hi all,

    Please mods, admins, and advanced users, correct me if I am wrong.

    I hope that I am wrong.

    Of what I have experienced with Threads is that anything you put in a thread is only going to execute the first command in the thread and then the thread dies off.. unfortunately.. its not like programming in .NET or similar where you can run multiple commands using multiple threads working simultaneously..

     

    But with Ubot my experience is as stated above.

     

    Sample: Using threading sample

     

    For example,

    I made a sample script to demonstrate it..

    This script tries to start 3 threads all in sub window, tries to navigate to 3 different websites(i.e.more than 1 task.

     

    We run the script it tries to open three sub-windows, then 1 or 2 windows crashes and close and the other/s only browse to the first website and stop. No second command or process is executed..

     

    I would strongly like to request an introduction to proper threading/multi-threading feature into UBot Studio will permit user and developers to reach new heights.

     

    Please the GURUS out there correct me if I am wrong.

     

    Praney

  8. Hi Kurt,

     

    With my experience, I use all the UIs in the main script and and refer/point to the same UI variable through other scripts in the bot. But remember to clear any values in the variable if you don't want to reuse the same value from previous script. Use the $nothing variable for it.

     

    Cheers, hope that will help ya..!

     

    Praney :D

    • Like 1
  9. Thanks Seth,

     

    you should be able to use the "in sub window" command inside a thread, which will, in theory. give you any number of browsers simultaneous, from which you can do anything you want.

     

    In theory it should work, thats what I thought but I have tries to run a thread in sub window and vise versa but it just goes blank.

     

    Thats why I am still scratching my head.

    :lol:

     

    Well its a lil late here in Aus. 5 am feeling sleepy will try other thing with it tomorrow.

     

    Thank for that,

     

    Praney :D

×
×
  • Create New...