Jump to content

Script for opening html page


solarsnail

Recommended Posts

Assuming Windows as OS Target, Twin Duck Firmware (with SD labeled as "DUCKY") ,and the HTML page on the root of SD as "page.html":

DELAY 1000
GUI R
DELAY 100
STRING cmd
DELAY 100
ENTER
DELAY 150
STRING for /f "tokens=3 delims= " %A in ('echo list volume ^| diskpart ^| findstr "DUCKY"') do (set DUCKYdrive=%A:)
ENTER
STRING "C:\Program Files\Internet Explorer\iexplore.exe" %DUCKYdrive%\page.html & exit
ENTER
DELAY 1000
F11

Remember adjust the delay time to work properly on the target machine.

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...