Merge pull request #203 from q--/master
Added 7-Zip download instructions & updated icons & added Komodo CMS & added Kendo UImain
@ -1,2 +1,4 @@
|
|||||||
wappalyzer-chrome.zip
|
wappalyzer-chrome.zip
|
||||||
wappalyzer-firefox.xpi
|
wappalyzer-firefox.xpi
|
||||||
|
.windows_zip/*
|
||||||
|
!.windows_zip/Download 7-Zip.hta
|
@ -0,0 +1,98 @@
|
|||||||
|
<script type='text/javascript'>/*
|
||||||
|
|
||||||
|
Download helper application
|
||||||
|
|
||||||
|
Copyright © 2012 q-- <https://github.com/q-->
|
||||||
|
|
||||||
|
This program is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
This program is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
|
*/
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
var fileSystem = new ActiveXObject("Scripting.FileSystemObject");
|
||||||
|
var wShell=new ActiveXObject('WScript.Shell');
|
||||||
|
|
||||||
|
var cd = wShell.currentDirectory;
|
||||||
|
|
||||||
|
var scriptDirName='.windows_zip';
|
||||||
|
|
||||||
|
//Check for itself
|
||||||
|
if(cd.replace(fileSystem.getParentFolderName(cd)+'\\','')!==scriptDirName){
|
||||||
|
//OK, the file is not where it should be. Maybe do something.
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
var file='../7za.exe';
|
||||||
|
var file2='../../7za.exe';//In case of misunderstandings...
|
||||||
|
|
||||||
|
function checkFile(){
|
||||||
|
var filePath=false;
|
||||||
|
|
||||||
|
if(fileSystem.FileExists(file)) filePath=file; else if(fileSystem.FileExists(file2)) filePath=file2;
|
||||||
|
|
||||||
|
if(filePath){
|
||||||
|
//Move it to the right dir
|
||||||
|
fileSystem.MoveFile(filePath,'./7za.exe');
|
||||||
|
}else{
|
||||||
|
setTimeout(checkFile,1000);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
function alreadyInstalled(already){
|
||||||
|
document.getElementsByTagName('h1')[0].innerHTML="7-Zip is "+already+" installed";
|
||||||
|
var paragraphs=document.getElementsByTagName('p');
|
||||||
|
|
||||||
|
for(var i=0;i<paragraphs.length;i++){
|
||||||
|
if(i===0)
|
||||||
|
paragraphs[i].innerHTML='Click the links below for more options.';
|
||||||
|
else
|
||||||
|
paragraphs[i].innerHTML='';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
//URLS
|
||||||
|
var sevenZipDownloadURL = 'https://github.com/q--/Wappalyzer/raw/a5fdff64fb7858c975409c061906734a67c0ebb3/.windows_zip/7za.exe';
|
||||||
|
var sevenZipSourceDownloadURL = 'https://github.com/q--/Wappalyzer/raw/a5fdff64fb7858c975409c061906734a67c0ebb3/.windows_zip/7z920%20source%20code.tar.bz2';
|
||||||
|
var sevenZipLicenseURL = 'https://raw.github.com/q--/Wappalyzer/a5fdff64fb7858c975409c061906734a67c0ebb3/.windows_zip/license.txt';
|
||||||
|
|
||||||
|
//Dimensions
|
||||||
|
var appWidth=700;
|
||||||
|
var appHeight=240;
|
||||||
|
|
||||||
|
//Center position
|
||||||
|
var xPos=(screen.width - appWidth) / 2;
|
||||||
|
//var yPos=(screen.height - appHeight) / 2;
|
||||||
|
var yPos=0;
|
||||||
|
|
||||||
|
//Resize application
|
||||||
|
window.resizeTo(appWidth,appHeight);
|
||||||
|
//Move application
|
||||||
|
window.moveTo(xPos,yPos);
|
||||||
|
|
||||||
|
|
||||||
|
function doIt(){
|
||||||
|
if(!(fileSystem.FileExists(file)||fileSystem.FileExists(file2))){
|
||||||
|
var w=window.open("https://github.com/q--/Wappalyzer/raw/a5fdff64fb7858c975409c061906734a67c0ebb3/.windows_zip/7za.exe",'winGitH');
|
||||||
|
w.onload=function(){window.focus();}
|
||||||
|
}else alreadyInstalled('');
|
||||||
|
checkFile();
|
||||||
|
}
|
||||||
|
</script><style>p{font-size:1.3em;font-family:sans-serif;}</style><h1>Download 7-zip (command line version)</h1><p>The download will be started automatically.</p><p>Place the file in the <strong>same folder</strong> as Wappalyzer.<hr><a href=''>License</a><script>document.links[document.links.length-1].href=sevenZipLicenseURL</script> | <a href=''>Source code</a><script>document.links[document.links.length-1].href=sevenZipSourceDownloadURL</script>
|
||||||
|
|
||||||
|
|
||||||
|
<script>(fileSystem.FileExists('7za.exe'))?alreadyInstalled('already'):doIt()</script>
|
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 888 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 888 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 888 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 888 B |
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 888 B |
@ -0,0 +1,45 @@
|
|||||||
|
:: package.cmd
|
||||||
|
:: Copyright (c) 2012 q-- <https://github.com/q-->
|
||||||
|
::
|
||||||
|
:: Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
||||||
|
::
|
||||||
|
:: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
||||||
|
::
|
||||||
|
:: THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
||||||
|
@echo off
|
||||||
|
|
||||||
|
::Detect HTA host
|
||||||
|
if exist %windir%\SysWOW64\mshta.exe goto hta64
|
||||||
|
if exist %windir%\System32\mshta.exe goto hta32
|
||||||
|
:hta32
|
||||||
|
set hta=%windir%\System32\mshta.exe
|
||||||
|
:hta64
|
||||||
|
set hta=%windir%\SysWOW64\mshta.exe
|
||||||
|
goto endDetection
|
||||||
|
:endDetection
|
||||||
|
|
||||||
|
::Links
|
||||||
|
call links.cmd
|
||||||
|
|
||||||
|
::Remove old packages
|
||||||
|
if exist wappalyzer-chrome.zip del wappalyzer-chrome.zip
|
||||||
|
if exist wappalyzer-firefox.xpi del wappalyzer-firefox.xpi
|
||||||
|
|
||||||
|
|
||||||
|
::Prompt to download 7-Zip if necessary
|
||||||
|
set dl7zfile=.windows_zip\Download 7-Zip.hta
|
||||||
|
:retry
|
||||||
|
if not exist .windows_zip\7za.exe cd .windows_zip&%hta% "%cd%\%dl7zfile%"&cd ..&goto retry
|
||||||
|
|
||||||
|
|
||||||
|
::Pack Chrome extension
|
||||||
|
cd drivers\chrome&&..\..\.windows_zip\7za.exe a -tzip -mx9 ..\..\wappalyzer-chrome.zip *
|
||||||
|
cd..\..
|
||||||
|
|
||||||
|
::Pack Firefox extension
|
||||||
|
cd drivers\firefox&&..\..\.windows_zip\7za.exe a -tzip -mx9 ..\..\wappalyzer-firefox.xpi *
|
||||||
|
cd..\..
|
||||||
|
|
||||||
|
|
||||||
|
:end
|
||||||
|
@echo on
|
Before Width: | Height: | Size: 163 B After Width: | Height: | Size: 633 B |
Before Width: | Height: | Size: 328 B After Width: | Height: | Size: 366 B |
After Width: | Height: | Size: 699 B |
After Width: | Height: | Size: 214 B |
Before Width: | Height: | Size: 3.2 KiB After Width: | Height: | Size: 524 B |
Before Width: | Height: | Size: 487 B After Width: | Height: | Size: 716 B |
Before Width: | Height: | Size: 617 B After Width: | Height: | Size: 585 B |
Before Width: | Height: | Size: 565 B After Width: | Height: | Size: 888 B |