Jump to content

Recommended Posts

First of all I would like to apologize for being a complete noob to this. I have a specific need, to create a VERY simple payload which will refresh a screen overnight in order to not log out of a program. What I need is a 10 second delay when the duck is plugged in, followed by the F5 key, followed by a 10 second delay, followed by the F5 key etc, etc, ... This sequence would need to be repeated for 12 continuous hours until I was able to return to the terminal. Can anyone please help me to generate a payload (my first) to run such a program? is it possible? Keep in mind that I am a humble sales guy with basic computer skills. Thank you for any help you could provide. Examples welcome.

Link to post
Share on other sites
Guest spazi

I believe the script is like this:

DELAY 10000

F5

REPEAT 43200

I can't test it to see if I'm 100% percent correct since I'm at work right now. Will test later :)

basically it waits 10000 milliseconds (10 sec) and presses F5, then repeats 43200 times, with the 10 second pauses it's actually 12 hours.

I can recommend a program called Auto-IT
A friend of mine uses it a lot to automate work stuff for him, and sometimes programmed macros to auto-fill forms for him hehe :)

Link to post
Share on other sites

Thank you spazi. My only concern was that it would only repeat F5 without the delay. If that is not the case my problem was uber simple and I will try and run this tomorrow. Thank you for your time and attention to my noobie question.

Edited by camroncook79
Link to post
Share on other sites

I think I have missed a major step. I transferred the file that came with the micro sd to my laptop leaving it blank, then created the simple payload discussed earlier, downloaded the .bin file, and transferred it to the micro sd. After inserting it into the duck I plugged the duck into the usb and got a red light saying that it could not read the file. I also tried this with the original file on the sd which produced the manufacturers preloaded introductory sentence thus confirming that it is my error. As new as this is to me I need to know what needs to be done to the file so that it can be recognized and run as written. Thank you for your patience.

Link to post
Share on other sites

I'm pretty sure the REPEAT command only repeats the last command issued. It looks like that script will only repeat the F5 key and not the delay. Maybe this will work but I could be wrong. The DEFAULTDELAY command will delay 10 seconds between every command that's issued. Not sure if it applies to the REPEAT command. You can give this a shot.

DEFAULTDELAY 10000

F5

REPEAT 43200

Link to post
Share on other sites

One thing that might be possible in this case would be developing custom firmware expressly for this purpose. Also, the repeat command only repeats the last command issued. I wish we could repeat more commands, but we can't yet. I think that any payload that you write for this purpose would eventually end after merely a few hours. The spammer firmware has a perpetual repetitive action built into it. In this case your payload would look simply like this:

DELAY 10000
F5

You may have to tweak the spammer delay in the firmware. It is coded in C, not that hard to understand.

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...