Sign in to follow this  
Followers 0
Shifthappens

Is it possible to load an external autoit file not on the computer?

11 posts in this topic

Okay so here's my situation.

I'm working on a tool to host a server for clients to send information to via autoit.

The PC running the server will also be hosting a minecraft server.

It's basically to simplify commands.

Here's where my issue arises.

As we know, autoit is very easy to decompile, and if someone was to decompile the script, they would be able to send data to the server for servers that they aren't supposed to be able to access.

Is there any way it is possible to have a script load a script sent through my server and run it so that the .au3 can't be accessed to be decompiled or is this not possible? 

Also, before it is suggested, I already know about obfuscation, I just prefer not to go that route.

Thanks, and if this doesn't make sense please let me know and i'll try to clarify any confusion.

Share this post


Link to post
Share on other sites



I cant think of a way you could "send" this file that would make it difficult to capture.  Also, is there a reason everything else is exposed in the script and why simplifying commands couldnt be done purely on the client side with their existing connection settings?

If we are going into the grey area of game interaction might as well do so with both feet.


,-. .--. ________ .-. .-. ,---. ,-. .-. .-. .-.
|(| / /\ \ |\ /| |__ __||| | | || .-' | |/ / \ \_/ )/
(_) / /__\ \ |(\ / | )| | | `-' | | `-. | | / __ \ (_)
| | | __ | (_)\/ | (_) | | .-. | | .-' | | \ |__| ) (
| | | | |)| | \ / | | | | | |)| | `--. | |) \ | |
`-' |_| (_) | |\/| | `-' /( (_)/( __.' |((_)-' /(_|
'-' '-' (__) (__) (_) (__)

Share this post


Link to post
Share on other sites

boththose,

 

the grey area of game interaction

Nothing even remotely grey about that subject in this forum. ;)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

I cant think of a way you could "send" this file that would make it difficult to capture.  Also, is there a reason everything else is exposed in the script and why simplifying commands couldnt be done purely on the client side with their existing connection settings?

If we are going into the grey area of game interaction might as well do so with both feet.

I think I may be able to make it so nothing would be exposed in terms of player's rewriting/abusing the client but the only issue i'm seeing is in the case that I fail to fullproof the system I wanted to know if it was possible that I could just had done this method with the file being sent/ran but not be accessed outside of that(for decompiling).

I appreciate your responses though. Thanks for taking the time to read.

Share this post


Link to post
Share on other sites

Shifthappens,

I was obviously too oblique in my earlier post, so let me ask a direct question: are you asking for help with a script that involves interaction with the Minecraft game or the Minecraft game server in relation to gaming? :huh:

Your initial comment "the server will also be hosting a minecraft server" is a little ambiguous - please clarify exactly what you want this script to do. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Shifthappens,

I was obviously too oblique in my earlier post, so let me ask a direct question: are you asking for help with a script that involves interaction with the Minecraft game or the Minecraft game server in relation to gaming? :huh:

Your initial comment "the server will also be hosting a minecraft server" is a little ambiguous - please clarify exactly what you want this script to do. :)

M23

It is going to be interacting with the SERVER, there will be NO INTERACTION WITH THE MINECRAFT GAME.

 

Here is an image to help explain what i'm making.

opj5.png

As it is in the game, if I wanted to spawn for example, a Wooden Pickaxe/Axe/Hoe/Sword/Shovel, I would have to type in the following commands

/Give <playername> 290

/give <Playername> 268

/give <Playername> 270

/give <Playername> 271

/give <Playername> 269

With my program though, I'll be able to just check the quality of the item I want + the specific items I want and click a button, the script will then send the commands through the server prompt.

 
 
Does this make more sense?
 
Edit: What I meant by the server will also be hosting a minecraft server.
I will be running a server.au3 program for other clients to connect to spawn items on the server/do administrator commands.
They will download a client.au3 program to connect to the server and it will be what is displayed in the image after they log in.
 
Edit2: I have no difficulty in making the program do what I want. I just wanted clarification that it's not possible to hide the .au3 source for the client to make it unmodifiable.
Edited by Shifthappens

Share this post


Link to post
Share on other sites

Shifthappens,

 

I have no difficulty in making the program do what I want

Good, because you would have received no help had you required it. ;)

 

I just wanted clarification that it's not possible to hide the .au3 source for the client to make it unmodifiable

As long as the thread remains limited to that topic alone I am happy to leave it open. :)

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______My UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Share this post


Link to post
Share on other sites

Does a client not have to be on the client side?

I'm a bit confused here, if so, then there is no way to hide it.

The client must be ran client side. Here was what I was wondering. Is it possible that the client side login .au3 could receive a seperate .au3 to load/run from the server once the user has successfully logged in but without the user being able to access the file otherwise?

Share this post


Link to post
Share on other sites

You could have the main .au3 file on an FTP server or something and have a seperate "client" script that first copies it locally before executing as JohnOne suggested, then delete before exit. This would make updates easier as well.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0