sixes99 Posted January 5, 2008 Share Posted January 5, 2008 Hi all, I thought id ask for a little bit of help (alot actually) Im after info / guidance or to be pointed in the right direction for a script or something that will fix the problem I have. I have a car which has an EFI computer. The computer is locked with a program called EFILive. It is locked with an alphanumeric code consisting of 4, possibly 5 characters. The reason it is lock is because of a custom tuner has put a lock on it so no one else can edit the tune which is fine if the car doesnt get altered. I want to edit the tune due to factors of changing the components within the motor therefore the current tune will not work so I need to edit it. The tuner will not give me the code and I am now stuck (after paying $1000 to have it tuned in the first place) I have the software to edit the tune (efilive.com). The software uses a black box connected from the laptop to the car via the OBD2 connection port. I purchased the software and black box / cable so I can edit the tune. Im seeking a script of some sort that will enter the 4 character code into the dialogue box in the menu screen. If it doesnt work, it will then need to cancel the shutdown and try again. aaaa, aaab, aaac etc im guessing will be they way to run it. If the code works, It should be able to log what code did work so I can then start to edit the tune to they way I would like it. I realise this may take days but I have the time to wait as this is a "must have" If anyone can help or put me in the right direction, it would be greatly appreciated. I can provide plenty more information on request. I have bugger all knowledge on setting up scripting so I apologise for the request and really didnt know where else I could try. Regards Link to comment Share on other sites More sharing options...
Swift Posted January 5, 2008 Share Posted January 5, 2008 (edited) Try _StringSplit()Does it use numbers?then...try this password generater put 4into the box..it will generate passwords with 4 letters...I need more information to help make this...but you would probably wantsomething...that will generater a password...using a-z and 0-9 and try it until it logs in.so maybe...[s]While 1 $the = _StringSplit(abcdefghijklmnopqrstuvwxyz0123456789) Sleep(1000) Send($the) WEnd[/s]That might work...havnt tried..and im not very experiencdedhere:password generaterexpandcollapse popup#include <GUIConstants.au3> $GUI = GUICreate("Password Generator", 350, 255, -1, -1) $Label_1 = GUICtrlCreateLabel("Generated Password:", 10, 10, 130, 15) $Input_1 = GUICtrlCreateInput("", 10, 30, 100, 20, BitOR($ES_AUTOHSCROLL,$ES_READONLY)) $Button_1 = GUICtrlCreateButton("Generate Pass", 10, 61, 90, 30) $Button_2 = GUICtrlCreateButton("Clear", 100, 61, 40, 30) $Button_3 = GUICtrlCreateButton("Copy", 140, 61, 40, 30) $Credits = GUICtrlCreateButton("Credits", 120, 28, 60, 24) $Label_2 = GUICtrlCreateLabel("How many chars should the password be?", 10, 95, 170, 30) $Input_2 = GUICtrlCreateInput("7", 10, 130, 170, 20) $Edit_1 = GUICtrlCreateEdit("", 190, 30, 150, 185, BitOR($ES_AUTOVSCROLL, $ES_READONLY)) $Label_3 = GUICtrlCreateLabel("Passwords", 190, 10, 50, 15) $Label_4 = GUICtrlCreateLabel("Include this special chars:", 10, 155) $Checkbox_1 = GUICtrlCreateCheckbox("!", 10, 170) $Checkbox_2 = GUICtrlCreateCheckbox("@", 10, 190) $Checkbox_3 = GUICtrlCreateCheckbox("#", 10, 210) $Checkbox_4 = GUICtrlCreateCheckbox("$", 10, 230) $Checkbox_5 = GUICtrlCreateCheckbox("%", 50, 170) $Checkbox_6 = GUICtrlCreateCheckbox("*", 50, 190) $Checkbox_7 = GUICtrlCreateCheckbox("(", 50, 210) $Checkbox_8 = GUICtrlCreateCheckbox(")", 50, 230) $Checkbox_9 = GUICtrlCreateCheckbox("-", 90, 170) $Checkbox_10 = GUICtrlCreateCheckbox("=", 90, 190) $Checkbox_11 = GUICtrlCreateCheckbox("+", 90, 210) $Checkbox_12 = GUICtrlCreateCheckbox("[", 90, 230) $Checkbox_13 = GUICtrlCreateCheckbox("]", 130, 170) $Checkbox_14 = GUICtrlCreateCheckbox("\", 130, 190) $Checkbox_15 = GUICtrlCreateCheckbox("/", 130, 210) $Checkbox_16 = GUICtrlCreateCheckbox("?", 130, 230) $Button_4 = GUICtrlCreateButton("Save History", 190, 221, 151) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Select Case $nMsg = $GUI_EVENT_CLOSE Exit Case $nMsg = $Button_1 $Read_Char = GUICtrlRead($Input_2) _Randomize($Read_Char) GUICtrlSetData($Edit_1, _Randomize($Read_Char) & @CRLF, "|") Case $nMsg = $Button_2 $Check_Yes_No = MsgBox(4, "Clear History", "Clear History?") If $Check_Yes_No = 6 Then GUICtrlSetData($Edit_1, "", "") EndIf Case $nMsg = $Button_3 $READ = GUICtrlRead($Input_1) ClipPut($READ) Case $nMsg = $Credits _Credits() Case $nMsg = $Button_4 $EDIT_READ = GUICtrlRead($Edit_1) IniWriteSection(@ScriptDir & "\Passwords.ini", "Passwords", $EDIT_READ) EndSelect WEnd Func _Randomize($Length) $AddSpecial = "" $SpecialChars = StringSplit("!@#$%*()-=+[]\/?", "") For $X = 1 to $specialChars[0] If GUICtrlRead(Eval("Checkbox_" & $X)) = 1 Then $AddSpecial &= $SpecialChars[$X] EndIf Next $Array = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789" & $AddSpecial,"") $Pass = "" For $X = 1 to $Length $Pass &= $Array[Random (1, $Array[0], 1)] Next GUICtrlSetData($Input_1, $Pass) Return $Pass EndFunc Func _Credits() GUISetState(@SW_HIDE, $GUI) $AboutWindow = GUICreate("Credits", 250, 200) $ProgramName = GUICtrlCreateLabel("Password Generator", 85, 26) $ProgramDescription = GUICtrlCreateEdit("Credits:" & @CRLF & @CRLF & "Scripter: Swift" & @CRLF & "Idea: Swift", 20, 60, 210, 126, BitOR($ES_READONLY, $ES_WANTRETURN)) GUISetState(@SW_SHOW) While 2 $nMsg2 = GUIGetMsg() Select Case $nMsg2 = $GUI_EVENT_CLOSE ExitLoop EndSelect WEnd GUIDelete($AboutWindow) GUISetState(@SW_SHOW, $GUI) EndFunc GUISetState() Edited January 5, 2008 by Swift Link to comment Share on other sites More sharing options...
JustinReno Posted January 5, 2008 Share Posted January 5, 2008 Here is a password generator: Func _PasswordGenerator($Length) $Password = "" $String = StringSplit("ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz123456789") For $I = 1 to $Length $Password &= $String[Random(1, 61, 1)] Next Return $Password EndFunc Link to comment Share on other sites More sharing options...
DirtDBaK Posted January 5, 2008 Share Posted January 5, 2008 Instead of random maybe you should have things accend because that way you will find the number sooner or later.... [center][/center] Link to comment Share on other sites More sharing options...
Swift Posted January 5, 2008 Share Posted January 5, 2008 How? Link to comment Share on other sites More sharing options...
DirtDBaK Posted January 5, 2008 Share Posted January 5, 2008 I may get around to writing you something tonight but don't count on it... I'm sure others could help you [center][/center] Link to comment Share on other sites More sharing options...
sixes99 Posted January 5, 2008 Author Share Posted January 5, 2008 That would be great, I can wait as its been 6 months since I started dealing with the person who tuned the car. Ill post up some screen shots of the program so you all get an idea of what im after. Thanks Link to comment Share on other sites More sharing options...
sixes99 Posted January 5, 2008 Author Share Posted January 5, 2008 This is the screen I am working with, In the main box is shown "Key" (above the black area) This is the box where the pass goes into. The START button is then clicked and the program on the laptop communicates with the computer in the car and checks is the pass is correct or not. This takes about 6 seconds;This is the next box to be shown. A passwork of "aaaa" was used and the program tells me that its incorrect. The OK button is then clicked;After that, the shutdown screen appears and the STOP button is clicked. The program will give 15 seconds and will restart but it can be interrupted by using the STOP button. When that is clicked, it will go back to looking the same as the first pic to enter in a new password. Link to comment Share on other sites More sharing options...
DirtDBaK Posted January 5, 2008 Share Posted January 5, 2008 can you use the AutoIt information tool to find information on all the buttons I will need to use. Also provide the titles of each window. I will try to help as much as possible. But tommorrow during the morning and maybe afternoon I have to deal with scavanging through what is left of my home. It burnt down on the 2nd so just be patient with me. Thanks!!! [center][/center] Link to comment Share on other sites More sharing options...
sixes99 Posted January 5, 2008 Author Share Posted January 5, 2008 (edited) Mate, this is the last thing you need to worry about. Get your stuff sorted out first!! Hope all gets worked out for the best. I lost all my stuff too a few years ago so I know how you must be.Thanks again for your help, it is appreciated.Main window (as above)>>>> Window <<<<Title: EFILive Tune V7.4Class: TfMainTunePosition: -4, -4Size: 1288, 778Style: 0x1FCF0000ExStyle: 0x00010100Handle: 0x00060460>>>> Control <<<<Class: MDIClientInstance: 1ClassnameNN: MDIClient1ID: Text: Position: 281, 56Size: 999, 649ControlClick Coords: 38, 23Style: 0x56030001ExStyle: 0x00000200Handle: 0x001104CE>>>> Mouse <<<<Position: 319, 125Cursor ID: 0Color: 0x808080>>>> StatusBar <<<<>>>> Visible Text <<<<RoadRunnertbHelptbFlashEditFileSelect calibrations from the navigator in the left hand panel of the main window.Or enter one or more search terms and click [search].The navigator may be closed when not in use. Press Ctrl+F1 to redisplay the navigator if it has been hidden.Calibrations?(All)XSearch>>>> Hidden Text <<<<FavoritesKey (Password box)>>>> Window <<<<Title: Read PCM calibrationsClass: TfUploadPosition: 324, 115Size: 640, 540Style: 0x96000000ExStyle: 0x00010000Handle: 0x00230510>>>> Control <<<<Class: TLabeledEditInstance: 1ClassnameNN: TLabeledEdit1ID: 329140Text: Position: 40, 12Size: 65, 24ControlClick Coords: 33, 11Style: 0x540100C0ExStyle: 0x00000200Handle: 0x000505B4>>>> Mouse <<<<Position: 401, 142Cursor ID: 0Color: 0xFFFFFF>>>> StatusBar <<<<>>>> Visible Text <<<<StopStartCloseCheck status99+ GEN-IIIUse high speed>>>> Hidden Text <<<<14OK Button in the error box>>>> Window <<<<Title: ErrorClass: TMessageFormPosition: 407, 273Size: 466, 253Style: 0x96C80000ExStyle: 0x00000101Handle: 0x001F0580>>>> Control <<<<Class: TButtonInstance: 1ClassnameNN: TButton1ID: 984594Text: OKPosition: 198, 185Size: 63, 23ControlClick Coords: 30, 11Style: 0x54010001ExStyle: 0x00000000Handle: 0x000F0612>>>> Mouse <<<<Position: 638, 498Cursor ID: 0Color: 0x000000>>>> StatusBar <<<<>>>> Visible Text <<<<OK>>>> Hidden Text <<<<START Button>>>> Window <<<<Title: Read PCM calibrationsClass: TfUploadPosition: 324, 115Size: 640, 540Style: 0x9E000000ExStyle: 0x00010000Handle: 0x00230510>>>> Control <<<<Class: TButtonInstance: 2ClassnameNN: TButton2ID: 329106Text: StartPosition: 4, 499Size: 89, 29ControlClick Coords: 43, 14Style: 0x5C010000ExStyle: 0x00000000Handle: 0x00050592>>>> Mouse <<<<Position: 375, 632Cursor ID: 0Color: 0xF5F4EA>>>> StatusBar <<<<>>>> Visible Text <<<<16:42:48.562: Scanning for EFILive FlashScan V1 USB16:42:48.593: Current protocol set to: "SAE J1850 VPW"16:42:49.000: Interface firmware version: 1.2.1716:42:49.046: Interface firmware model: FSP16:42:49.062: Interface firmware version: 1.2.1716:42:49.078: Interface firmware date: Jan 18, 200516:42:49.093: FlashScan serial number: 16:42:49.109: Disconnecting ...16:42:49.140: Disconnected16:42:49.656: Scanning for EFILive FlashScan V1 USB16:42:49.687: Current protocol set to: "SAE J1850 VPW"16:42:50.093: Interface firmware version: 1.2.1716:42:50.656: Current protocol: "SAE J1850 VPW"16:42:50.687: Interface firmware model: FSP16:42:50.703: Interface firmware version: 1.2.1716:42:50.718: Interface firmware date: Jan 18, 200516:42:50.750: FlashScan serial number: 16:42:50.843: Getting status...16:42:50.890: Status: OK.16:42:51.796: Bootloader version: LS1B_v1.6R (04D2-6318)16:42:51.796: Preparing PCM for reading flash...16:42:51.843: PCM seed is: $0A6916:42:52.218: Disconnecting ...16:42:52.250: Disconnected16:43:28.296: Done!16:46:58.859: Scanning for EFILive FlashScan V1 USB16:46:58.906: Current protocol set to: "SAE J1850 VPW"16:46:59.312: Interface firmware version: 1.2.1716:46:59.343: Interface firmware model: FSP16:46:59.359: Interface firmware version: 1.2.1716:46:59.375: Interface firmware date: Jan 18, 200516:46:59.390: FlashScan serial number: 16:46:59.421: Disconnecting ...16:46:59.437: DisconnectedStopStartCloseCheck status99+ GEN-III9Use high speed>>>> Hidden Text <<<<13STOP Button>>>> Window <<<<Title: Read PCM calibrationsClass: TfUploadPosition: 324, 115Size: 640, 540Style: 0x9E000000ExStyle: 0x00010000Handle: 0x00230510>>>> Control <<<<Class: TButtonInstance: 1ClassnameNN: TButton1ID: 329108Text: StopPosition: 104, 499Size: 89, 29ControlClick Coords: 43, 14Style: 0x54010000ExStyle: 0x00000000Handle: 0x00050594>>>> Mouse <<<<Position: 475, 632Cursor ID: 0Color: 0xF3F3EF>>>> StatusBar <<<<>>>> Visible Text <<<<16:42:48.562: Scanning for EFILive FlashScan V1 USB16:42:48.593: Current protocol set to: "SAE J1850 VPW"16:42:49.000: Interface firmware version: 1.2.1716:42:49.046: Interface firmware model: FSP16:42:49.062: Interface firmware version: 1.2.1716:42:49.078: Interface firmware date: Jan 18, 200516:42:49.093: FlashScan serial number: 16:42:49.109: Disconnecting ...16:42:49.140: Disconnected16:42:49.656: Scanning for EFILive FlashScan V1 USB16:42:49.687: Current protocol set to: "SAE J1850 VPW"16:42:50.093: Interface firmware version: 1.2.1716:42:50.656: Current protocol: "SAE J1850 VPW"16:42:50.687: Interface firmware model: FSP16:42:50.703: Interface firmware version: 1.2.1716:42:50.718: Interface firmware date: Jan 18, 200516:42:50.750: FlashScan serial number: 16:42:50.843: Getting status...16:42:50.890: Status: OK.16:42:51.796: Bootloader version: LS1B_v1.6R (04D2-6318)16:42:51.796: Preparing PCM for reading flash...16:42:51.843: PCM seed is: $0A6916:42:52.218: Disconnecting ...16:42:52.250: Disconnected16:43:28.296: Done!16:46:58.859: Scanning for EFILive FlashScan V1 USB16:46:58.906: Current protocol set to: "SAE J1850 VPW"16:46:59.312: Interface firmware version: 1.2.1716:46:59.343: Interface firmware model: FSP16:46:59.359: Interface firmware version: 1.2.1716:46:59.375: Interface firmware date: Jan 18, 200516:46:59.390: FlashScan serial number: 16:46:59.421: Disconnecting ...16:46:59.437: DisconnectedStopStartCloseCheck status99+ GEN-III9Use high speed>>>> Hidden Text <<<<13 Edited January 5, 2008 by sixes99 Link to comment Share on other sites More sharing options...
sixes99 Posted January 12, 2008 Author Share Posted January 12, 2008 How is it all with the house? Hope all is working out as best can be Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now