Jump to content
UBot Underground

Can You Run A Define From Your Server?


Recommended Posts

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

Link to post
Share on other sites

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

Link to post
Share on other sites

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 sure

that I know exactly.

Link to post
Share on other sites

Hey Dan,

 

I appreciate that but what about it running from your server as in the example it only looks like it can

run from your computer not your server?   Is  it possible with this free to run a command from your

sever 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.

Link to post
Share on other sites

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?

Link to post
Share on other sites

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.

Link to post
Share on other sites

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

  • Like 1
Link to post
Share on other sites

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.

  • Like 2
Link to post
Share on other sites

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

  • Like 1
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...