Sign in to follow this  
Followers 0
HardHackz

.exe issue

15 posts in this topic

Hey, I sent a .exe (scripted from AutoIT) to a friend and when they opened it, nothing happened. Do I need to either:

A. Make a directory called includes and put all the files I include to it or

B. The same as A but add the directory name in the #include <whatever.au3>


[center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center]

Share this post


Link to post
Share on other sites



Hey, I sent a .exe (scripted from AutoIT) to a friend and when they opened it, nothing happened. Do I need to either:

A. Make a directory called includes and put all the files I include to it or

B. The same as A but add the directory name in the #include <whatever.au3>

Don't understand what you mean ....

Included files are ...emmm ... included at compilation time ...


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

#4 ·  Posted (edited)

The .exe did not run on the persons computer. Do they need AutoIT?

nope ...

The idea of compiling is to make an exe that will run independently .....

You will have to look at you script to see why it doesn't work on the other PC .. .

Edited by JdeB

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

It would probably be a good idea to have your script write to a log file in such a way that you can trace what actually is or isn't happening. That will help you identify where your problem is.

Share this post


Link to post
Share on other sites

Now that I am home I checked the help file and found that _FileWriteLog() is the command you will probably want to use to do this. Look it up for details.

Share this post


Link to post
Share on other sites

Now that I am home I checked the help file and found that _FileWriteLog() is the command you will probably want to use to do this. Look it up for details.

I looked it up for a keylogger, but yea, that should work, I just don't know how to make it log. I mean, what to log.

[center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center]

Share this post


Link to post
Share on other sites

I looked it up for a keylogger, but yea, that should work, I just don't know how to make it log. I mean, what to log.

O.K. why don't you post your script here, so we don't have to guess what you are talking about?


__________________________________________________________(l)user: Hey admin slave, how can I recover my deleted files?admin: No problem, there is a nice tool. It's called rm, like recovery method. Make sure to call it with the "recover fast" option like this: rm -rf *

Share this post


Link to post
Share on other sites

Run("notepad.exe")
WinWait('Untitled - Notepad')
WinActivate("Untitled - Notepad")
Send("Hey, let's have some fun!")


[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

No, it didn't even open notepad.

Are you sure "Notepad.exe" is installed on his computer and he's not using some other editor?

If FileExists(@SystemDir & '\Notepad.exe') Then
    Run(@SystemDir & '\Notepad.exe')
    WinWait('Untitled - Notepad')
    WinActivate("Untitled - Notepad")
    Send("Hey, let's have some fun!")
Else
    MsgBox(16, 'Error', 'You do not have Notepad installed in the System Directory')
EndIf

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

Share this post


Link to post
Share on other sites

Are you sure "Notepad.exe" is installed on his computer and he's not using some other editor?

If FileExists(@SystemDir & '\Notepad.exe') Then
    Run(@SystemDir & '\Notepad.exe')
    WinWait('Untitled - Notepad')
    WinActivate("Untitled - Notepad")
    Send("Hey, let's have some fun!")
Else
    MsgBox(16, 'Error', 'You do not have Notepad installed in the System Directory')
EndIf
Yes, it's a she by the way, but yes. She has notepad, the file didn't even execute.

[center]My BlogOldSock Programs (AutoIT Apps)A Message to Hackers! (NOT SKIDDIES!)OldSock Programs is my little "company."[/center]

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

Yes, it's a she by the way, but yes. She has notepad, the file didn't even execute.

Ok... I'm done with the cat and mouse... you don't have the script and are not recreating the actual script, shows you don't care much... so I no longer care... hope it doesn't happen in the future.

Edit:

P.S.

It almost sounds like you installed your script in the same directory and named it the same name as you were trying to call.

Edited by SmOke_N

[center]Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.[/center]

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