Jump to content

[BugReport] pt.properties appears to have errors


loco870

Recommended Posts

Hello Guys! I'm Brazilian, work as IT Security, I want learn DUCKY for incremental PenTest and I learned so much in this forum! Great forum! I try to encode using this command java -jar encoder.jar -l resources/pt.properties -i source.txt -o inject.bin but when I plug my ducky this code "for /f %d in ('wmic volume get driveletter^, label ^| findstr "DUCKY"') do set myd=%d" but the command print like this "for &f %d in *-wmic volume get driveletter}, label }" findstr @DUCKY@-( do set myd)%d" Someone can I help me?

Link to comment
Share on other sites

looks like there are some mistakes in the pt.properties file, you just need to edit this file

  • swap " and @
  • swap } and ^ (likely { needs to be swapped with another char)
  • swap & and /

If you can all the mistakes and post back a correct pt.properties I'll make sure it goes into the main code base.

Link to comment
Share on other sites

your command is correct for unix systems.

for windows:

java -jar encoder.jar -l resources\pt.properties -i source.txt -o inject.bin

what version of the encoder are you using?

Edited by midnitesnake
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...