123456789101112131415161718192021222324252627282930313233343536 |
- package QuickVerifyCrap;
- import java.io.FileOutputStream;
- import java.io.PrintStream;
- public class PWNAManagerGrabScriptGenerator {
- public static void main(String[] args) throws Exception {
- PrintStream ps = new PrintStream(new FileOutputStream("C:\\lmaa\\scriptgen.txt"));
- ps.println("#!/bin/bash");
- for(int i=1;i<=4;i++)
- {
- for(int j=0;j<10;j++)
- {
- for(int k=0;k<25;k++)
- {
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaBluetoothDeviceManagerForWindows-v"+i+"."+j+"."+k+"-setup.exe");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaBluetoothDeviceManagerForWindows-v"+i+"."+j+"."+k+"-setup_x64.exe");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SENABluetoothDeviceManagerForMAC-v"+i+"."+j+"."+k+".pkg");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SENADeviceManagerForMAC-v"+i+"."+j+"."+k+".pkg");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaDeviceManagerForWindows-v"+i+"."+j+"."+k+"-setup_x64.exe");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaDeviceManagerForWindows-v"+i+"."+j+"."+k+"-setup.exe");
- if(k==0)
- {
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaBluetoothDeviceManagerForWindows-v"+i+"."+j+"-setup.exe");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaBluetoothDeviceManagerForWindows-v"+i+"."+j+"-setup_x64.exe");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SENABluetoothDeviceManagerForMAC-v"+i+"."+j+".pkg");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SENADeviceManagerForMAC-v"+i+"."+j+".pkg");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaDeviceManagerForWindows-v"+i+"."+j+"-setup_x64.exe");
- ps.println("wget -nc https://firmware.sena.com/senabluetoothmanager/SenaDeviceManagerForWindows-v"+i+"."+j+"-setup.exe");
- }
- }
- }
- }
- ps.close();
- }
- }
|