Jump to content
UBot Underground

Multiple subs writing to the same file


Recommended Posts

Hi Everyone, I am still poking around with Ubot and making some good progress... I have a question about creating lists and writing to a file.

 

I am working on an account creation bot that creates a single account from a list of websites. Each site has its own sub. The idea is that I run the first sub, it creates an account and writes the username and pw to a list and then I save the list to file. I then run the next sub and it does the exact same thing; it writes the username and pw to a list and ideally it would append this data to the same file created in sub 1. Of course this is not working for me, sub 2 writes over the data from sub 1 when I save to file.

 

Any words of wisdom as to how one would go about taking data from multiple subs and writing it to the same file?

 

Thanks,

Gene

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...