parent
a5fdff64fb
commit
0bbe7c69a5
@ -1,2 +1,4 @@
|
||||
wappalyzer-chrome.zip
|
||||
wappalyzer-firefox.xpi
|
||||
.windows_zip/*
|
||||
!.windows_zip/Download 7-Zip.hta
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,75 @@
|
||||
<script type='text/javascript'>
|
||||
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>
|
@ -1,29 +0,0 @@
|
||||
7-Zip Command line version
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
License for use and distribution
|
||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||
|
||||
7-Zip Copyright (C) 1999-2010 Igor Pavlov.
|
||||
|
||||
7za.exe is distributed under the GNU LGPL license
|
||||
|
||||
Notes:
|
||||
You can use 7-Zip on any computer, including a computer in a commercial
|
||||
organization. You don't need to register or pay for 7-Zip.
|
||||
|
||||
|
||||
GNU LGPL information
|
||||
--------------------
|
||||
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
This library 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
|
||||
Lesser General Public License for more details.
|
||||
|
||||
You can receive a copy of the GNU Lesser General Public License from
|
||||
http://www.gnu.org/
|
@ -1,41 +0,0 @@
|
||||
7-Zip Command line version 9.20
|
||||
-------------------------------
|
||||
|
||||
7-Zip is a file archiver with high compression ratio.
|
||||
7za.exe is a standalone command line version of 7-Zip.
|
||||
|
||||
7-Zip Copyright (C) 1999-2010 Igor Pavlov.
|
||||
|
||||
Features of 7za.exe:
|
||||
- High compression ratio in new 7z format
|
||||
- Supported formats:
|
||||
- Packing / unpacking: 7z, xz, ZIP, GZIP, BZIP2 and TAR
|
||||
- Unpacking only: Z, lzma
|
||||
- Highest compression ratio for ZIP and GZIP formats.
|
||||
- Fast compression and decompression
|
||||
- Strong AES-256 encryption in 7z and ZIP formats.
|
||||
|
||||
7za.exe is a free software distributed under the GNU LGPL.
|
||||
Read license.txt for more information.
|
||||
|
||||
Source code of 7za.exe and 7-Zip can be found at
|
||||
http://www.7-zip.org/
|
||||
|
||||
7za.exe can work in Windows 95/98/ME/NT/2000/2003/2008/XP/Vista/7.
|
||||
|
||||
There is also port of 7za.exe for POSIX systems like Unix (Linux, Solaris, OpenBSD,
|
||||
FreeBSD, Cygwin, AIX, ...), MacOS X and BeOS:
|
||||
|
||||
http://p7zip.sourceforge.net/
|
||||
|
||||
|
||||
This distributive packet contains the following files:
|
||||
|
||||
7za.exe - 7-Zip standalone command line version.
|
||||
readme.txt - This file.
|
||||
license.txt - License information.
|
||||
7-zip.chm - User's Manual in HTML Help format.
|
||||
|
||||
|
||||
---
|
||||
End of document
|
Reference in new issue