Jump to content

pb powershell variable


denisit

Recommended Posts

Hi,
I have a problem to set a variable in powershell. So, to find where is the pb I wrote this script :

DELAY 2000
GUI r
DELAY 500
STRING powershell
ENTER
DELAY 500
STRING ="K0cj0mKMchAAAAAAAAAAC0MHOM6B-qtOB9zszza03NGx21eRsaKiurS"

For info my variable in powershell w

Link to comment
Share on other sites

Just now, denisit said:

Hi,
I have a problem to set a variable in powershell. So, to find where is the pb I wrote this script :

DELAY 2000
GUI r
DELAY 500
STRING powershell
ENTER
DELAY 500
STRING ="K0cj0mKMchAAAAAAAAAAC0MHOM6B-qtOB9zszza03NGx21eRsaKiurS"

For info my variable in powershell was $variable="K0cj0mKMchAAAAAAAAAAC0MHOM6B-qtOB9zszza03NGx21eRsaKiurS"
When I run the Usb rubber ducky this is the result in the powershell console :
="K0cj0mKMch03NGx21eRsaKiurS"HOM6B-qtOB9zszza03NGx21eRsaKiurS"

I think it's maybe the hyphen but I don't know how to escape it (my keyboard is FR ).
Any ideas ?

Thanks

 

 

Link to comment
Share on other sites

anyone can help me ? I cannot change this variable because it-s the api key to use dropbox (not the real key of course). I try to use keylogger payload which upload keystrokes directly to dropbox. The powershell script work well, the pb just come from the rubber ducky.
Thanks.

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