Jump to content

Strange quacking behaviour. Bug?


Recommended Posts

I have this strange quacking behaviour:

 

When i output to notepad,

This line is quacking just fine:
Q STRING ipconfig /all \> f:\\loot\\test.doc

This line is not quacking at all:
Q STRING ipconfig /all \> f:\\loot\\test.txt

Is this a bug, or am I totally overlooking something?


This is my simple test script:

LED SETUP
ATTACKMODE HID
DUCKY_LANG no
Q STRING ipconfig all \> f:\\loot\\test.doc
Q ENTER
Q STRING ipconfig all \> f:\\loot\\test.txt
Q ENTER
LED G 100

I am on version : 1.3_267

Any help would be greatly appreciated.

 

 

Edited by s_o_r_c_e_r_e_r
Link to post
Share on other sites

 

Ok, this just make no sense at all. To me it seems like it is the ending "txt" that is the problem, because "doc" works fine, and even "tx" will work.

I am totally lost here. Of cause I could just go with another file extension than "txt", but this is not how it should work.

 

Here are the results of the different suggestions you made:

 

LED SETUP
ATTACKMODE HID
DUCKY_LANG no
Q STRING ipconfig all \> f:\\loot\\test.doc
Q ENTER
Q STRING ipconfig all \> f:\\loot\\test.txt
Q ENTER
LED G 1000
 
Result:
ipconfig all > f:\loot\test.doc

 


LED SETUP
ATTACKMODE HID
DUCKY_LANG no
Q STRING ipconfig all \> f:\\loot\\test.txt
Q ENTER
Q STRING ipconfig all \> f:\\loot\\test.doc
Q ENTER
LED G 1000

 

Result:

ipconfig all > f:\loot\test.doc

 


LED SETUP
ATTACKMODE HID
DUCKY_LANG no
Q STRING "ipconfig all \> f:\\loot\\test.txt"
Q ENTER
Q STRING "ipconfig all \> f:\\loot\\test.doc"
Q ENTER
LED G 1000
 
Result:
ipconfig all \> f:\loot\test.doc

 

 
 
 
Link to post
Share on other sites

Try putting them in the ' quotes, father than ". ' means that anything inside them is "escaped" as a bash character. It could be that it thinks your exiting the command, and if so putting them in the singluar quotation marks ( ' ' ) should help escape them.

Link to post
Share on other sites

Try 2 more things if you will:
1. remove the line with the .doc in it completely and the next Q ENTER, see if it prints anything.
2. try adding a delay after the first Q ENTER and before the ipconfig second line

Link to post
Share on other sites

Ok. I did a new test and put every line in single quotes, but the line ending with ".txt" is still not showing?

 

LED SETUP
ATTACKMODE HID
DUCKY_LANG no
Q STRING 'test.tx'
Q ENTER
Q STRING 'test.xt'
Q ENTER
Q STRING 'test.txt'
Q ENTER
Q STRING 'test.doc'
Q ENTER
LED G 1000

 

Result:

test.tx
test.xt

test.doc

 

Link to post
Share on other sites

just thought about a temporary fix you could try until the real fix comes:

LED SETUP
ATTACKMODE HID
DUCKY_LANG no
Q STRING ipconfig all > f:\loot\test.doc
Q ENTER
Q STRING ipconfig all > f:\loot\test.tx
Q STRING t
Q ENTER
LED G 100


it's worth a try anyway
  • Like 1
Link to post
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.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...