Jump to content
Ketarin forum

Ketarin 1.0.3 (beta)


floele
 Share

Recommended Posts

Target? What in particular can you think of? In any case, I'm quite sure that they can't win that "I'll try to lock you out" race ;)

Working solutions would be captcha or Javascript, but those would block way more than just Ketarin users.

Ketarin users are LUCKY that you are developer and not me as I would wither under the pressure! ;)
Link to comment
Share on other sites

I have now fixed the "}" for regular expressions. You can use "}" within function parameters if you escape it with "\}". With "\\" you can use "\", so "\\\}" results in "\}" (the usual scheme). Please test this change thoroughly, it is quite likely that some variables are no longer processed correctly.

 

Make use of functions, multiple combined variables and whatever crazy stuff you can think of :)

Link to comment
Share on other sites

So far so good. =)

 

26-02-2009 00:09:55: Update started with 1 application(s)
26-02-2009 00:09:55: VersionTracker: Replacing {app1} in '{app1:regex:.*?id=([\d]{4\})&.*?lnk=(.+?\%3A.*?\.exe):2}
' with 'http://www.versiontracker.com/php/dlpage.php?id=9679&db=win&pid=10008952&kind=&lnk=http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:55: VersionTracker: Replacing {app2} in '{app2:replace:%2F:/}' with 'http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:55: VersionTracker: Replacing {dec1} in '{dec1:replace:%3A:\\:}' with 'http%3A//www.jam-software.com/treesize/TreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:55: VersionTracker: Replacing {dec2} in '{dec2:replace:%3F:?}' with 'http://www.jam-software.com/treesize/TreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:55: VersionTracker: Replacing {dec3} in '{dec3:replace:%2520: }' with 'http://www.jam-software.com/treesize/TreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:55: VersionTracker: Replacing {dec4} in '{dec4}' with 'http://www.jam-software.com/treesize/TreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:55: VersionTracker: Using referer: (none)
26-02-2009 00:09:59: VersionTracker: Server source file: /treesize/TreeSizeProfessional-Demo.exe
26-02-2009 00:09:59: VersionTracker: Determined target file name: D:\Programas\Test\TreeSizeProfessional-Demo.exe
26-02-2009 00:09:59: VersionTracker: Checking if update is required...
26-02-2009 00:09:59: VersionTracker: Update required, 'D:\Programas\Test\TreeSizeProfessional-Demo.exe' does not yet exist
26-02-2009 00:09:59: VersionTracker: Replacing {app1} in '{app1:regex:.*?id=(\d{2,4\})&.*?lnk=(.+?\%3A.*?\.exe):1}' with 'http://www.versiontracker.com/php/dlpage.php?id=9679&db=win&pid=10008952&kind=&lnk=http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe
'
26-02-2009 00:09:59: VersionTracker: Replacing {id} in 'http://www.versiontracker.com/dyn/moreinfo/win/{id}' with '9679'
26-02-2009 00:10:02: VersionTracker: Replacing {version} in '{version}' with '5.1.2'
26-02-2009 00:10:02: Update finished

 

26-02-2009 00:06:45: Update started with 1 application(s)
26-02-2009 00:06:49: MG: Replacing {redir1} in '{redir1:replace:downloadget:majorgeeks.com/downloadget}' with 'downloadget.php?id=4417&file=1&evp=b83261681fa99ef684f1ec323b4718bc'
26-02-2009 00:06:49: MG: Replacing {redir2} in 'http://{redir2}' with 'majorgeeks.com/downloadget.php?id=4417&file=1&evp=b83261681fa99ef684f1ec323b4718bc'
26-02-2009 00:06:50: MG: Replacing {download_url1} in '{download_url1:replace:URL=downloadget:majorgeeks.com/downloadget}' with 'www.majorgeeks.com/downloadget4417-1-f58e3dc74648c2b5baba6f842b531935.html'
26-02-2009 00:06:50: MG: Replacing {download_url2} in 'http://{download_url2}' with 'www.majorgeeks.com/downloadget4417-1-f58e3dc74648c2b5baba6f842b531935.html'
26-02-2009 00:06:50: MG: Using referer: http://www.majorgeeks.com/Kaspersky_Anti-Virus_Update_d4417.html
26-02-2009 00:06:51: MG: Server source file: /downloadget4417-1-f58e3dc74648c2b5baba6f842b531935.html
26-02-2009 00:06:51: MG: Determined target file name: D:\Programas\Test\av-i386-cumul.zip
26-02-2009 00:06:51: MG: Checking if update is required...
26-02-2009 00:06:51: MG: Update required, 'D:\Programas\Test\av-i386-cumul.zip' does not yet exist
26-02-2009 00:06:52: MG: Replacing {version} in '{version}' with 'February 25, 2009'
26-02-2009 00:06:52: Update finished

 

I will test other variables over the next few days. Do you have in mind any other specific functions/combinations ?

Edited by FranciscoR
Link to comment
Share on other sites

Specifically, all of them ;)

 

That's not specific. =)

 

@Flo - Try this

 

Add variable "whatever", select textual content, put {whatever} as the textual content.

 

Be prepared to use task manager to kill the process... :)

 

Flo, I can provide some of these too... sometimes I mistype something and bingo ! ;)

Link to comment
Share on other sites

Split also seems to be doing OK...

 

26-02-2009 12:42:07: Update started with 1 application(s)
26-02-2009 12:42:07: aaa: Replacing {app} in '{app:split:=:5}' with 'http://www.versiontracker.com/php/dlpage.php?id=9679&db=win&pid=10008952&kind=&lnk=http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe'
26-02-2009 12:42:07: aaa: Replacing {app2} in '{app2:replace:%2F:/}' with 'http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe'
26-02-2009 12:42:07: aaa: Replacing {app3} in '{app3:replace:http%3A:http\\:}' with 'http%3A//www.jam-software.com/treesize/TreeSizeProfessional-Demo.exe'
26-02-2009 12:42:07: aaa: Using referer: (none)
26-02-2009 12:42:08: aaa: Server source file: /treesize/TreeSizeProfessional-Demo.exe
26-02-2009 12:42:08: aaa: Determined target file name: D:\Programas\Test\TreeSizeProfessional-Demo.exe
26-02-2009 12:42:08: aaa: Checking if update is required...
26-02-2009 12:42:08: aaa: Update required, 'D:\Programas\Test\TreeSizeProfessional-Demo.exe' does not yet exist
26-02-2009 12:42:08: aaa: Replacing {app} in '{app:split:=:1}' with 'http://www.versiontracker.com/php/dlpage.php?id=9679&db=win&pid=10008952&kind=&lnk=http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe'
26-02-2009 12:42:08: aaa: Replacing {id} in '{id:split:&:0}' with '9679&db'
26-02-2009 12:42:08: aaa: Replacing {id1} in 'http://www.versiontracker.com/dyn/moreinfo/win/{id1}' with '9679'
26-02-2009 12:42:11: aaa: Replacing {version} in '{version}' with '5.1.2'
26-02-2009 12:42:11: Update finished

Link to comment
Share on other sites

No issues again (now using 12 variables w/ALL functions):

 

26-02-2009 13:55:39: Update started with 1 application(s)
26-02-2009 13:55:39: aaa: Replacing {app} in '{app:split:=:5}' with 'http://www.versiontracker.com/php/dlpage.php?id=9679&db=win&pid=10008952&kind=&lnk=http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe'
26-02-2009 13:55:39: aaa: Replacing {app2} in '{app2:replace:%2F:/}' with 'http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe'
26-02-2009 13:55:39: aaa: Replacing {app3} in '{app3:toupper}' with 'http%3A//www.jam-software.com/treesize/TreeSizeProfessional-Demo.exe'
26-02-2009 13:55:39: aaa: Replacing {app4} in '{app4:tolower}' with 'HTTP%3A//WWW.JAM-SOFTWARE.COM/TREESIZE/TREESIZEPROFESSIONAL-DEMO.EXE'
26-02-2009 13:55:39: aaa: Replacing {app5} in '{app5:replace:http%3a:http\\:}' with 'http%3a//www.jam-software.com/treesize/treesizeprofessional-demo.exe'
26-02-2009 13:55:39: aaa: Using referer: (none)
26-02-2009 13:55:41: aaa: Server source file: /treesize/treesizeprofessional-demo.exe
26-02-2009 13:55:41: aaa: Determined target file name: D:\Programas\Test\TreeSizePersonal-Demo.exe
26-02-2009 13:55:41: aaa: Checking if update is required...
26-02-2009 13:55:41: aaa: Update required, 'D:\Programas\Test\TreeSizePersonal-Demo.exe' does not yet exist
26-02-2009 13:55:41: aaa: Replacing {app} in '{app:split:=:1}' with 'http://www.versiontracker.com/php/dlpage.php?id=9679&db=win&pid=10008952&kind=&lnk=http%3A%2F%2Fwww.jam-software.com%2Ftreesize%2FTreeSizeProfessional-Demo.exe'
26-02-2009 13:55:41: aaa: Replacing {id} in '{id:regex:(\d{1,4\})(.*?):1}' with '9679&db'
26-02-2009 13:55:41: aaa: Replacing {id1} in '{id1:trimend:9}' with '9679'
26-02-2009 13:55:41: aaa: Replacing {id2} in '{id2:trimstart:9}' with '967'
26-02-2009 13:55:41: aaa: Replacing {id3} in '{id3:replace:67:9679}' with '67'
26-02-2009 13:55:41: aaa: Replacing {id4} in 'http://www.versiontracker.com/dyn/moreinfo/win/{id4}' with '9679'
26-02-2009 13:55:43: aaa: Replacing {version} in '{version}' with '5.1.2'
26-02-2009 13:55:43: Update finished

 

I think I'm done for the moment... =)

Edited by FranciscoR
Link to comment
Share on other sites

Man... it looks like I am missing some great action here! ;) This is L@@KIN GREAT Flo! FranciscoR, you are doing an EXCELLENT job testing from the way it looks! I can't wait to get back in the game! :D I am visiting long enough to fix my broken 'BetaNews FileForum Template'.

Link to comment
Share on other sites

@CybTekSol

Check the latest regexreplace function: http://ketarin.canneverbe.com/forum/viewtopic.php?pid=1638#p1638

I'm IMPRESSED and THANKS for your testing efforts! :D

 

P.S. What does doctor say ? Tell him you need to came back to 'work'. ;)
I'm struggling... so heavily medicated to mask the pain, I can hardly focus... can barely use my left arm... thankfully, it was not my right side. Unfortunately, injuries of this type are SLOWWWW to heal. When I can cut back on the hydrocodone, I'll be back full-time. ;) BTW... THANKS for asking. Edited by CybTekSol
Link to comment
Share on other sites

*More log messages

 

Great indeed ! ;)

 

27-02-2009 15:36:37: Update started with 1 application(s)
27-02-2009 15:36:37: Ccleaner: Using referer: http://www.ccleaner.com/download/builds.aspx
27-02-2009 15:36:39: Ccleaner: Server source file: /download/builds/downloadbinportable
27-02-2009 15:36:39: Ccleaner: Determined target file name: D:\Programas\Shell\ccsetup217.zip
27-02-2009 15:36:39: Ccleaner: Checking if update is required...
27-02-2009 15:36:39: Ccleaner: Update required, 'D:\Programas\Shell\ccsetup217.zip' does not yet exist
27-02-2009 15:36:39: Ccleaner: Executing command:  del /s /q c:\progra~1\ccleaner\*.* || mkdir c:\progra~1\ccleaner\
27-02-2009 15:36:39: Ccleaner: Command result: D:\Ketarin> del /s /q c:\progra~1\ccleaner\*.* || mkdir c:\progra~1\ccleaner\
Ficheiro eliminado - c:\progra~1\ccleaner\CCleaner.exe
Ficheiro eliminado - c:\progra~1\ccleaner\License.txt
Ficheiro eliminado - c:\progra~1\ccleaner\portable.dat
Ficheiro eliminado - c:\progra~1\ccleaner\unicows.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1025.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1026.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1027.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1028.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1029.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1030.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1031.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1032.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1034.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1035.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1036.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1037.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1038.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1040.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1041.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1042.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1043.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1044.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1045.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1046.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1048.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1049.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1050.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1051.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1052.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1053.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1055.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1058.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1063.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1066.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1071.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-1110.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-2052.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-2070.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-2074.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-3098.dll
Ficheiro eliminado - c:\progra~1\ccleaner\lang\lang-5146.dll

D:\Ketarin>
27-02-2009 15:36:47: Ccleaner: Replacing {version} in 'echo %DATE% %TIME% Ccleaner_{version} >> {target}\Updates.txt' with '2.17.853'
27-02-2009 15:36:47: Ccleaner: Executing command: echo %DATE% %TIME% Ccleaner_2.17.853 >> D:\Programas\Updates.txt
27-02-2009 15:36:47: Ccleaner: Command result: D:\Ketarin>echo %DATE% %TIME% Ccleaner_2.17.853 >> D:\Programas\Updates.txt

D:\Ketarin>
27-02-2009 15:36:47: Ccleaner: Executing command: c:\progra~1\7z\7z x "D:\Programas\Shell\ccsetup217.zip" -oc:\progra~1\ccleaner\ -y
27-02-2009 15:36:47: Ccleaner: Command result: D:\Ketarin>c:\progra~1\7z\7z x "D:\Programas\Shell\ccsetup217.zip" -oc:\progra~1\ccleaner\ -y

7-Zip 4.65  Copyright (c) 1999-2009 Igor Pavlov  2009-02-03

Processing archive: D:\Programas\Shell\ccsetup217.zip

Extracting  CCleaner.exe
Extracting  lang\lang-1025.dll
Extracting  lang\lang-1026.dll
Extracting  lang\lang-1027.dll
Extracting  lang\lang-1028.dll
Extracting  lang\lang-1029.dll
Extracting  lang\lang-1030.dll
Extracting  lang\lang-1031.dll
Extracting  lang\lang-1032.dll
Extracting  lang\lang-1034.dll
Extracting  lang\lang-1035.dll
Extracting  lang\lang-1036.dll
Extracting  lang\lang-1037.dll
Extracting  lang\lang-1038.dll
Extracting  lang\lang-1040.dll
Extracting  lang\lang-1041.dll
Extracting  lang\lang-1042.dll
Extracting  lang\lang-1043.dll
Extracting  lang\lang-1044.dll
Extracting  lang\lang-1045.dll
Extracting  lang\lang-1046.dll
Extracting  lang\lang-1048.dll
Extracting  lang\lang-1049.dll
Extracting  lang\lang-1050.dll
Extracting  lang\lang-1051.dll
Extracting  lang\lang-1052.dll
Extracting  lang\lang-1053.dll
Extracting  lang\lang-1055.dll
Extracting  lang\lang-1058.dll
Extracting  lang\lang-1063.dll
Extracting  lang\lang-1066.dll
Extracting  lang\lang-1071.dll
Extracting  lang\lang-1110.dll
Extracting  lang\lang-2052.dll
Extracting  lang\lang-2070.dll
Extracting  lang\lang-2074.dll
Extracting  lang\lang-3098.dll
Extracting  lang\lang-5146.dll
Extracting  License.txt
Extracting  portable.dat
Extracting  unicows.dll

Everything is Ok

Files: 41
Size:       2533338
Compressed: 938213

D:\Ketarin>
27-02-2009 15:36:47: Ccleaner: Replacing {version} in '{version}' with '2.17.853'
27-02-2009 15:36:47: Executing command: dir {target}/o:e-s /s > {target}\List.txt
27-02-2009 15:36:47: Command result: D:\Ketarin>dir {target}/o:e-s /s > {target}\List.txt

D:\Ketarin>
27-02-2009 15:36:47: Update finished

Link to comment
Share on other sites

Haven't seen that yet...and if at all, it shouldn't be new to 1.0.3.

Well, that last version I was using was 1.0.0 or something like that and it didn't have the issue.

However it seems that the issue stopped reproducing so it could be just a random bug in C# libraries, not Ketarin. If I'll be able to pinpoint the issue I'll tell you more.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.