hoppler Posted November 23, 2018 Share Posted November 23, 2018 Hello, first of all, I am a proud owner of the Bash Bunny. So far so good, but there are a problem I can not resolve. I have a payload in switch 1: ATTACKMODE HID STORAGE Q GUI r Q DELAY 500 Q DELAY 500 Q STRING cmd Q ENTER Q DELAY 500 for %d in (A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V, W, X, Y, Z) do if exist %d:/payload/switch/test.exe (start %d:/payload/switch/test.exe & exit) Q ENTER If I put this manuallz in the cmd window everzthing works fine. But if I start the BB it does not write the line for..... What do I want to achive? I placed an exe file in the payload folder. And I just want to start this exe file by inserting the BB. Because I do not know the drive I want to loop throug the availlable drives and start the exe if it was found an exit the cmd. And even this does not work. I am on Windows XP and there is no powershell availlable. So I want to use plain old DOS stuff. And besides: Yes, I upgraded the BB to the latest firmware. So now my questions: 1. Why the BB stops on the string with the loop? 2. Is there a way to find the file in drive and execute this file? 3. Are there "forbidden" commands? Any help to achive my goal would be really appreciated. Sorry for my bad english, but I am a bit rosty. Thanks in advance for help. best regards Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.