• Announcements

necrox

Moderators
  • Content count

    234
  • Joined

  • Last visited

About necrox

Profile Information

  • Gender
    Male
  • Location
    FR, Germany

Recent Profile Visitors

42,203 profile views
  1. Does my script work? You have exported the app from Ketarin as XML and copied the content here into the forum, right? Or have you tried to edit your XML file externally and re-import it to Ketarin? I guess that the standard encoding was not set correctly. Would it be possible to add your exported XML file as attachment?
  2. I have tried to import your XML file, but this didn't work. Is this the exported XML file or did you edit it in an editor before? I've solved the problem by removing some mispelled characters. Here is the newly created (now working) file. <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="0cd003ed-a552-432e-9adb-a31fb34a98ef"> <Category>TotalCommander</Category> <WebsiteUrl /> <UserAgent /> <UserNotes /> <LastFileSize>52931944</LastFileSize> <LastFileDate>2017-07-01T11:14:04.9876837</LastFileDate> <IgnoreFileInformation>true</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate>2016-11-19T15:38:23</DownloadDate> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>false</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?&lt;=Latest version: )[0-9.]{2,}</Regex> <Url>https://www.den4b.com/products/renamer</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent>https://www.den4b.com{download}</TextualContent> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(/download/renamer/portable?[^"]*)</Regex> <Url>https://www.den4b.com/download/renamer/portable</Url> <TextualContent /> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand /> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation /> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2017-07-01T11:14:04.9876837</LastUpdated> <TargetPath>{dir}\{category}\</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>ReNamer</Name> </ApplicationJob> </Jobs>
  3. I think this thread may help: https://ketarin.org/forum/topic/3955-update-install-doesnt-recognize-check-for-updates-only-was-run-without-actual-download/
  4. Thank you for the fix! It all works as desired!
  5. Instead of specifying the complete installation path, I would use "{startuppath}log.txt" This makes it more flexible if you want to use Ketarin from a external hard disk for example.
  6. Thank you!
  7. Some background info: Two commonly used methods for request/response communication between clients and servers are GET and POST. GET requests data and POST submits data. (For a more detailed explanation: W3Schools - HTTP Methods) Regarding Onetastic: In this case, you can reach your goal in two different ways. Method 1: Add &agree=1 to your download link and that's it! For the 32-bit version: https://getonetastic.com/downloadFile&fv=0&file=OnetasticInstaller.x86.zip&agree=1 For the 64-bit version: https://getonetastic.com/downloadFile&fv=0&file=OnetasticInstaller.x64.zip&agree=1 Method 2: Currently, downloading via ketarin only works via method 1, because there are probably also on this page problems with the TLS 1.2 protocol. I hope, floele can fix this issue. But it would work like this: First of all, we need to check which POST variables must be passed in order for the download to start. There are two ways to this. You can take a look at the source code of the web site or you can use web developer tools (like the Firefox Developer Tools, as described here). The first way: We need the web page to which the variable is passed and, of course, the variables. For this we look in the source code for the form with the variable to be passed. In this case, our required data is in line 37 and 38. In line 37 we have the page to which the variables are sent and in line 38 the variable itself (in this case by using checkboxes, which means checked=1 unchecked=0). They called the variable agree. So the value for the checked checkbox called 'agree' will be 1. In the next step we use this data in Ketarin. You can also use the main downloadpage https://getonetastic.com/downloadFile as download url to pass all the other variables instead. Which looks like this: But in this case there is no need to do this. This is just another variation for this website. The second way: The source code (and much more) can also be analyzed with the Firefox developer tools. We need the referer, and all the POST variables submitted. Here is a short video of how to do this for Onetastic.
  8. For each app, you can choose whether the template is submitted to the database or not. The database is a global collection of all apps that have been uploaded AND have been updated so far - if the 'shared' option was activated.
  9. You don't need the mediafire thing. Here is my last version (Updated on 10 April 2017 in the online database). If an app doesn't work anymore, it's best to have a look at the online database regularly for an updated version. <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="7bb5b4f4-2376-4e38-b0b6-b14768e98027"> <Category>Utilities</Category> <WebsiteUrl>https://www.freefilesync.org/download.php</WebsiteUrl> <UserAgent>{mozilla}</UserAgent> <UserNotes /> <LastFileSize>12620128</LastFileSize> <LastFileDate>2017-05-26T07:52:04.7088937</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>{referer}</HttpReferer> <SetupInstructions /> <Variables> <item> <key> <string>appcat</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:regexreplace: \(.*\):}</TextualContent> <Name>appcat</Name> </UrlVariable> </value> </item> <item> <key> <string>appfile</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:multireplace:|:(|)| :|_|_}</TextualContent> <Name>appfile</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?&lt;=Changelog.*?FreeFileSync )[0-9.]{2,}</Regex> <Url>http://freefilesync.sourceforge.net/download.php</Url> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex>Problems with the download.*?href="(.+?)"</Regex> <Url>http://www.fosshub.com/FreeFileSync.html/FreeFileSync_{version}_Windows_Setup.exe</Url> <TextualContent>http://www.freefilesync.org{download}</TextualContent> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>([^"]*Setup.exe)</Regex> <PostData /> <Url>http://www.freefilesync.org/download.php</Url> <Name>download</Name> </UrlVariable> </value> </item> <item> <key> <string>referer</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>https://www.freefilesync.org/download.php</TextualContent> <Name>referer</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>echo %date% - %time% // {appname} v{version} &gt;&gt; "{file:directory}"\history.txt</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation>P:\KETARIN\Downloads\Utilities\FreeFileSync\FreeFileSync_Setup_v9.1.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2017-05-26T07:52:04.7088937</LastUpdated> <TargetPath>{downloads}\{category}\{appcat}\{appfile}v{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>FreeFileSync (Setup)</Name> </ApplicationJob> </Jobs>
  10. It all worked great, until the website switched to HTTPS.... <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="5ac4c057-311c-4b51-8067-dd51ba993f15"> <Category>Graphic Tools</Category> <WebsiteUrl>http://www.inkscape.org/?lang=de</WebsiteUrl> <UserAgent>{mozilla}</UserAgent> <UserNotes /> <LastFileSize>75408268</LastFileSize> <LastFileDate>2017-02-16T19:12:10.03125</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer /> <SetupInstructions /> <Variables> <item> <key> <string>appcat</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:regexreplace: \(.*\):}</TextualContent> <Name>appcat</Name> </UrlVariable> </value> </item> <item> <key> <string>appfile</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:multireplace:|:(|)| :|_|_}</TextualContent> <Name>appfile</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?&lt;=Latest stable version: Inkscape )[0-9.]{2,}</Regex> <Url>https://inkscape.org/en/download/windows/</Url> <TextualContent /> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent>{download}</TextualContent> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>download</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(https[^"]*x64.msi)</Regex> <PostData>r=http%3a%2f%2fsourceforge.net%2fprojects%2finkscape%2ffiles%2flatest%2fdownload%3f_test%3dgoal</PostData> <Url>http://inkscape.org/en/download/windows/</Url> <TextualContent>{ts:urldecode:replace:7z:exe}</TextualContent> <Name>download</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>echo %date% - %time% // {appname} v{version} &gt;&gt; "{file:directory}"\history.txt</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation>P:\KETARIN\Downloads\Graphic Tools\Inkscape\Inkscape_Setup_64-bit_v0.92.1.msi</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2017-02-16T19:12:10.03125</LastUpdated> <TargetPath>{downloads}\{category}\{appcat}\{appfile}v{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>Inkscape (Setup 64-bit)</Name> </ApplicationJob> </Jobs>
  11. Inkscape and all Inkscape PlugIns for example. The download attempt terminates with the message: During the download attempt, the CPU usage increases continuously and drops immediately as soon as Ketarin jumps to the next app.
  12. What kind of details do you need? I had this problem last night while performing an update of my applications. The processor had a load of 95% over a period of about 30 seconds during the full update. After that, the processor load was normal again. I've tested it on two other computers. The problem with the high processor load also occurred on my second Windows 7 system. On my Windows 10 system everything works without problems.
  13. Wow! Thank you for all of your efforts! It looks good! I'm curious to see how the spammers behave in the future.
  14. This works for me without problems. <?xml version='1.0' encoding='utf-8'?> <Jobs> <ApplicationJob xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Guid="d745e5b3-a30e-47dc-9733-bdc624921044"> <Category>Security</Category> <WebsiteUrl>https://toolslib.net/downloads/viewdownload/1-adwcleaner/</WebsiteUrl> <UserAgent>{mozilla}</UserAgent> <UserNotes /> <LastFileSize>4089296</LastFileSize> <LastFileDate>2017-03-29T14:46:02.1947732</LastFileDate> <IgnoreFileInformation>false</IgnoreFileInformation> <DownloadBeta>Default</DownloadBeta> <DownloadDate xsi:nil="true" /> <CheckForUpdatesOnly>false</CheckForUpdatesOnly> <VariableChangeIndicator>version</VariableChangeIndicator> <HashVariable /> <HashType>None</HashType> <CanBeShared>true</CanBeShared> <ShareApplication>true</ShareApplication> <ExclusiveDownload>false</ExclusiveDownload> <HttpReferer>{referer}</HttpReferer> <SetupInstructions /> <Variables> <item> <key> <string>appcat</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:regexreplace: \(.*\):}</TextualContent> <Name>appcat</Name> </UrlVariable> </value> </item> <item> <key> <string>appfile</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>{appname:multireplace:||)| :|_|_}</TextualContent> <Name>appfile</Name> </UrlVariable> </value> </item> <item> <key> <string>version</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent>{dirtyversion:regexreplace:\&period\;:.}</TextualContent> <Name>version</Name> </UrlVariable> </value> </item> <item> <key> <string>url</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <Url /> <TextualContent>{dirtyurl}</TextualContent> <Name>url</Name> </UrlVariable> </value> </item> <item> <key> <string>dirtyversion</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>(?<=//////// .*?v)[0-9.&period;]{2,}</Regex> <Url>http://toolslib.net/downloads/viewdownload/1-adwcleaner/history/</Url> <Name>dirtyversion</Name> </UrlVariable> </value> </item> <item> <key> <string>dirtyurl</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>RegularExpression</VariableType> <Regex>It does not work.*?href="(.+?)"</Regex> <Url>http://toolslib.net/downloads/finish/1/</Url> <Name>dirtyurl</Name> </UrlVariable> </value> </item> <item> <key> <string>referer</string> </key> <value> <UrlVariable> <RegexRightToLeft>false</RegexRightToLeft> <VariableType>Textual</VariableType> <Regex /> <TextualContent>http://toolslib.net/downloads/viewdownload/1-adwcleaner/</TextualContent> <Name>referer</Name> </UrlVariable> </value> </item> </Variables> <ExecuteCommand>echo %date% - %time% // {appname} v{version} >> "{file:directory}"\history.txt</ExecuteCommand> <ExecutePreCommand /> <ExecuteCommandType>Batch</ExecuteCommandType> <ExecutePreCommandType>Batch</ExecutePreCommandType> <SourceType>FixedUrl</SourceType> <PreviousLocation>P:\KETARIN\Downloads\Security\AdwCleaner\AdwCleaner_Portable_v6.045.exe</PreviousLocation> <DeletePreviousFile>true</DeletePreviousFile> <Enabled>true</Enabled> <FileHippoId /> <LastUpdated>2017-03-29T14:46:02.1947732</LastUpdated> <TargetPath>{downloads}\{category}\{appcat}\{appfile}v{version}.{url:ext}</TargetPath> <FixedDownloadUrl>{url}</FixedDownloadUrl> <Name>AdwCleaner (Portable)</Name> </ApplicationJob> </Jobs> AdwCleaner.xml
  15. I already noticed that. I have not yet figured out what the problem is. But as workaround you can use HTTP instead of HTTPS.