salah kai

editing autoit script & compile it without access harddisk

18 posts in this topic

#1 ·  Posted

Hey all autoit  forum users ..

i am working on autoit script 

i need to editing .au3 script and compile it without access to harddisk file cause i want no one when used the programme seen the .au3 file and thanks all .. sry for  bad english

Share this post


Link to post
Share on other sites



#2 ·  Posted

Hey all autoit  forum users ..

i am working on autoit script 

i need to editing .au3 script and compile it without access to harddisk file cause i want no one when used the programme seen the .au3 file and thanks all .. sry for  bad english

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

You don't want anyone to see the .au3 file and just to run the compiled  .exe file?  Compile on a different machine and copy the .exe to the target machine.

Edited by aleph01

Meds.  They're not just for breakfast anymore. :'(

Share this post


Link to post
Share on other sites

#4 ·  Posted (edited)

Please stick to one thread

Edited by JLogan3o13

√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

Gotcha, JLogan3o13, but it seems I'm in for a dollar at this point.  Point taken, never again.

Edited by aleph01

Meds.  They're not just for breakfast anymore. :'(

Share this post


Link to post
Share on other sites

#6 ·  Posted

Just now, aleph01 said:

You don't want anyone to see the .au3 file and just to run the compiled  .exe file?  Compile on a different machine and copy the .exe to the target machine.

bro i mean when users use my programme , they build a .au3 file and compile it and user can steal the code i need directly compile without harddisk

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

It is still not making much sense to me. Why would the user need to compile it anyways? 
Do you need to make changes to the script for each user or something?
Which change do you need to make and can't they be stored in the Registry of INI file?

Jos

Edited by Jos
1 person likes this

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#8 ·  Posted

Just now, Jos said:

It is still not making much sense to me. Why would the user need to compile it anyways? 
Do you need to make changes to the script for each user or something?
Which change do you need to make and can't they be stored in the Registry of INI file?

Jos

yeah , i need to make changes to the script for each user 

i need to edit something on every user script & ty

Share this post


Link to post
Share on other sites

#9 ·  Posted

.. and what about you share the exact details of what you want so we can try to help you?

Jos

1 person likes this

Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#10 ·  Posted

Just now, Jos said:

.. and what about you share the exact details of what you want so we can try to help you?

Jos

i am working on rdp auto login software by one click 

each  has ip and user name and password 

i want user to build file without access the harddisk for example

the user run the originale builder.exe and put rdp information and now will click on build button the programme will make .au3 file and edit it and  creat autordplogin.exe but i want the programme build autordplogin.exe without making an  .au3 file i hope u understand and sry for bad english

 

Share this post


Link to post
Share on other sites

#11 ·  Posted

I still fail to see why you want to do it that way, plus the fact that RDP has a userid/password prompt for a reason.
RDP will autologin when the client PC and Server are part of the same AD or else you get the prompt for security reasons.
anyway: I still fail to understand the part about access to the harddisk en compilation. Why is that is that so important and why not simply store information you want to save encrypted in an INI file or Registry?

Jos


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#12 ·  Posted

@salah kai Do want to make a builder which builds a version of you au3 script with the custom RDP login details so that the built EXE would always connect to the same RDP without any prompt?


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#13 ·  Posted

On 6/24/2017 at 8:43 PM, aleph01 said:

Gotcha, JLogan3o13, but it seems I'm in for a dollar at this point.  Point taken, never again.

I was talking to the OP and his double post


√-1 2^3 ∑ π, and it was delicious!

Share this post


Link to post
Share on other sites

#14 ·  Posted

On 6/25/2017 at 2:14 AM, TheDcoder said:

@salah kai Do want to make a builder which builds a version of you au3 script with the custom RDP login details so that the built EXE would always connect to the same RDP without any prompt?

yeah  this is it , but i dont want the au3 fil created in hardisk i thing i need another idea to buid it in memory or somthing 

Share this post


Link to post
Share on other sites

#15 ·  Posted

https://www.autoitscript.com/forum/topic/96783-dllcall-for-cryptunprotectdata/
https://www.autoitscript.com/forum/topic/96783-dllcall-for-cryptunprotectdata/?do=findComment&comment=695769
https://msdn.microsoft.com/en-us/library/windows/hardware/dn567648(v=vs.85).aspx
https://www.donkz.nl/overview-rdp-file-settings/
https://technet.microsoft.com/en-us/library/ff393699(v=ws.10).aspx

Use the above links to get what you need.
All you need is to build the RDP file, that's all.
And you can change your frame of mind / criteria, and build something more efficient. Like a user client that get the info from a server master that send the data in a encrypted string via TCP (or UDP), or a thousand different ideas other than what you believe to be best based in your experience.

Anyway, the above links will open your horizons.

1 person likes this

Share this post


Link to post
Share on other sites

#16 ·  Posted

8 hours ago, salah kai said:

but i dont want the au3 fil created in hardisk i thing i need another idea to buid it in memory or somthing

You can create a base EXE and you can use the ResourcesEx UDF in the builder to embed information into your base EXE ;)

 


AutoIt.4.Life Clubrooms - Life is like a Donut (secret key)

Spoiler

My contributions to the AutoIt Community

Some messages & Apologizes:

If I hurt you, Please accept my apologies, I never (regardless of the situation) mean to hurt anybody!!!

Also, I am very busy with my project so I will appear in the last row of the online list, if you want to contact me: Email@TheDcoder.xyz

Or you can have a nice chat with me in freenode, I use the same nick on freenode too!

3fHNZJ.gif

PLEASE JOIN ##AutoIt AND HELP THE IRC AUTOIT COMMUNITY!

Share this post


Link to post
Share on other sites

#17 ·  Posted

you might be able to use 'exe from memory' funcs, and include aut2exe, have not tested myself though.


What is what? What is what.

Share this post


Link to post
Share on other sites

#18 ·  Posted (edited)

On 6/26/2017 at 0:18 PM, argumentum said:
https://www.autoitscript.com/forum/topic/96783-dllcall-for-cryptunprotectdata/
https://www.autoitscript.com/forum/topic/96783-dllcall-for-cryptunprotectdata/?do=findComment&comment=695769
https://msdn.microsoft.com/en-us/library/windows/hardware/dn567648(v=vs.85).aspx
https://www.donkz.nl/overview-rdp-file-settings/
https://technet.microsoft.com/en-us/library/ff393699(v=ws.10).aspx

Use the above links to get what you need.
All you need is to build the RDP file, that's all.
And you can change your frame of mind / criteria, and build something more efficient. Like a user client that get the info from a server master that send the data in a encrypted string via TCP (or UDP), or a thousand different ideas other than what you believe to be best based in your experience.

Anyway, the above links will open your horizons.

Ty bro that what i searching for :) 

Edited by salah kai

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