saintcrossbow Posted August 25, 2022 Share Posted August 25, 2022 Hey Hak5 team: Think I may have happened on something that may cause future issues. When using STRING in functions with specific characters, an extra space will be added. I've seen it on open parenthesis, dashes, and pipes - which will throw off PowerShell. Wanted to ensure you guys saw it as well as anyone working to developed advanced payloads. To reproduce: FUNCTION ATTACK_IN_FUNC() DELAY 2000 GUI r DELAY 300 STRINGLN notepad DELAY 1000 STRING This sentence has extra spaces on (s and -s and |s END_FUNCTION REM Main() ATTACKMODE HID STORAGE WAIT_FOR_BUTTON_PRESS DELAY 2000 GUI r DELAY 300 STRINGLN notepad DELAY 1000 STRING This sentence types normally for (s and -s and |s WAIT_FOR_BUTTON_PRESS ATTACK_IN_FUNC() Quote Link to comment Share on other sites More sharing options...
dark_pyrro Posted August 25, 2022 Share Posted August 25, 2022 Seems to be related to indented text in payloads Quote Link to comment Share on other sites More sharing options...
saintcrossbow Posted August 25, 2022 Author Share Posted August 25, 2022 Ah yes you're right - good call! I first experienced this before that post and didn't even check to see if someone else had it since that time. Thanks! Quote Link to comment Share on other sites More sharing options...
Korben Posted August 26, 2022 Share Posted August 26, 2022 PayloadStudio 1.1.0 is out and addresses this issue. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.