mrwalt 34 Posted April 6, 2014 Report Share Posted April 6, 2014 I was curious if anyone knew how to run a define from your server(cpanel) and if so how would you do it as far as commands/code. Any feedback would be greatly very much appreciated. mrwalt Quote Link to post Share on other sites
Bot-Factory 602 Posted April 6, 2014 Report Share Posted April 6, 2014 You mean downloading ubot code from an external source? Yes, that can be done. but not out of the box .You need one of those plugins who is able to execute external code. Dan Quote Link to post Share on other sites
mrwalt 34 Posted April 6, 2014 Author Report Share Posted April 6, 2014 Hi Dan, Thank you for your feedback. Do you know what plugin would work for this? Quote Link to post Share on other sites
pftg4 102 Posted April 6, 2014 Report Share Posted April 6, 2014 mj's plugin Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Hi Homer, Thank you for your feedback but which plugin you are talking about? Quote Link to post Share on other sites
pftg4 102 Posted April 7, 2014 Report Share Posted April 7, 2014 http://www.ubotstudio.com/forum/index.php?/topic/15993-sell-ultimate-ubot-plugin-all-in-one/?hl=ultimate%20plugin Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Maybe I'm blind but what option is that within the plugin that would allow for this? Again thank you for your help but I just want to make surethat I know exactly. Quote Link to post Share on other sites
pftg4 102 Posted April 7, 2014 Report Share Posted April 7, 2014 Crypto Functions 1 Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Thank you very much for your help on this. Quote Link to post Share on other sites
Bot-Factory 602 Posted April 7, 2014 Report Share Posted April 7, 2014 Here's a free alternative:http://www.ubotstudio.com/forum/index.php?/topic/14197-howtorun-external-scripts/ Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Hey Dan, I appreciate that but what about it running from your server as in the example it only looks like it canrun from your computer not your server? Is it possible with this free to run a command from yoursever and do you have a quick example of how you would set that up? If so great I would greatly appreciate it if not I still thank you for your time. Quote Link to post Share on other sites
the_way 52 Posted April 7, 2014 Report Share Posted April 7, 2014 are you meaning that you would like to make a call to a specific function that would go to a database, which would have the actual code, and then download it into local memory, and then run it from within ubot? Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Hi Quite_interesting, Very close to what you are saying but instead of a database just a regular html, .txt, or.php file in a folder sitting on your server which would have the actual code, and then download it into local memory, and then run it from within ubot. Quote Link to post Share on other sites
Bot-Factory 602 Posted April 7, 2014 Report Share Posted April 7, 2014 Here's a quick example. navigate("https://dl.dropboxusercontent.com/u/10322/x.txt", "Wait")set(#command, $scrape attribute(<style="word-wrap: break-word; white-space: pre-wrap;">, "innertext"), "Global")plugin command("Open.Framework.dll", "Run Ubot Script", #command) Can be done a little bit smarter with hiding the browser or downloading via HTTP get and so on. But I think you get the idea :-) Dan 1 Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Hi Dan, Thank you so much as I will definitely check this out as this looks like a lifesaver. Again thank you. Quote Link to post Share on other sites
Kreatus (Ubot Ninja) 422 Posted April 7, 2014 Report Share Posted April 7, 2014 Hi Quite_interesting, Very close to what you are saying but instead of a database just a regular html, .txt, or.php file in a folder sitting on your server which would have the actual code, and then download it into local memory, and then run it from within ubot. You can do that without any plugin. Just use ubot read file function. Here's a sample code: set(#dataVar, $read file("http://www.website.com/file.txt"), "Global") That will read the file.txt in your server and transfer it to a variable. 2 Quote Link to post Share on other sites
Bot-Factory 602 Posted April 7, 2014 Report Share Posted April 7, 2014 You can do that without any plugin. Just use ubot read file function. Here's a sample code: set(#dataVar, $read file("http://www.website.com/file.txt"), "Global") That will read the file.txt in your server and transfer it to a variable.Argh.. read file yeah.. There are always some commands I forget :-) Simplified code based on read file: set(#command, $read file("https://dl.dropboxusercontent.com/u/10322/x.txt"), "Global")plugin command("Open.Framework.dll", "Run Ubot Script", #command) Dan 1 Quote Link to post Share on other sites
mrwalt 34 Posted April 7, 2014 Author Report Share Posted April 7, 2014 Wow you guys are great. Thank you both. Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.