Jump to content
Sign in to follow this  
zutto

run()

Recommended Posts

zutto

Hello.

I am working with run() and i am basicly trying to execute a function from other script.

but apparently run() cant execute any non-internal functions, is there ANY workarounds for that?

example of what i am trying to do ->

run(@ScriptDir & '\breakup.exe /AutoIt3Executeline "_stringencrypt(0, ''DEFE6E517D7D34D5FC2845B06E4101AEC615929AAFD91148D3DE28E5EE42092C8C2C693873DB0F49'', ''hello'', 1)"')
Edited by zutto

Share this post


Link to post
Share on other sites
zutto

You have a second AutoIt script that is running, but you want this script to perform commands to control the other script. Am I correct on what you want to do?

in short, yes.

Share this post


Link to post
Share on other sites
Piyush

i don't this exactly but tyr using shellexecute instead of run. sorry if i am wrong...!


[font="Comic Sans MS"][size="7"]Piyush.....[/size][/font][font="Palatino Linotype"][size="2"]Some Of My Scripts...Cool Font Generator Train Searcher and Tracer[/size][/font]

Share this post


Link to post
Share on other sites
zutto

i don't this exactly but tyr using shellexecute instead of run. sorry if i am wrong...!

shellexecute will do no good either :blink:

Share this post


Link to post
Share on other sites
zutto

Things to try:

You could use an INI file to write commands to so the other script could read instructions.

Provide a gui that is hidden and have the second script send commands to the GUI.

This is just a couple of ideas. You can also search the forum for more ways to do what you have in mind.

It would also be helpful to see your script you want to control. We may be able to see a way to do what you have in mind with just the one script.

i'll explain the whole situation now.

I'm using this program what has these 'profiles' what execute lines from ini files, line by line.

The program is obfuscated, except for few functions they have built.

right now i am trying to figure out way to use functions from string lib what is included with autoit.

since the functions in the string lib are obfuscated too, i cant use them, and thats why i am trying to use 'bypass' like this.

Edited by zutto

Share this post


Link to post
Share on other sites
Bert

Things to try:

You could use an INI file to write commands to so the other script could read instructions.

Provide a gui that is hidden and have the second script send commands to the GUI.

This is just a couple of ideas. You can also search the forum for more ways to do what you have in mind.

It would also be helpful to see your script you want to control. We may be able to see a way to do what you have in mind with just the one script.

Share this post


Link to post
Share on other sites
Jos

i'll explain the whole situation now.

I'm using this program what has these 'profiles' what execute lines from ini files, line by line.

The program is obfuscated, except for few functions they have built.

right now i am trying to figure out way to use functions from string lib what is included with autoit.

since the functions in the string lib are obfuscated too, i cant use them, and thats why i am trying to use 'bypass' like this.

You are being very vague here and making it sound you are using a script that isn't yours.

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

Share this post


Link to post
Share on other sites
zutto

You are being very vague here and making it sound you are using a script that isn't yours.

That is correct.

I can see that i am asking here something that is(maybe?) security issue for autoit ("FileCopy(@AutoItexe,'Dumped.exe')" anyone?)

But however, i am not trying to be malicious with my purposes. I am simply trying to handle strings better in these so called 'profiles', mostly decrypthing them down for the script.

If theres no real solution, i'm screw'd up then :blink:.

Edited by zutto

Share this post


Link to post
Share on other sites
zutto

This is not making it any clearer...

Let me know what you need to know and i'll provide you with much material as i can.

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.