🦈🏠🐜 Initial Commit 🐜🦈🏠

This commit is contained in:
Jason
2022-02-15 09:55:45 -05:00
commit b096089188
322 changed files with 62596 additions and 0 deletions

View File

@@ -0,0 +1,179 @@
<html>
<head>
<title>Downloading -FILENAME- (-FILESIZE- bytes)</title>
<script language="javascript">
<!--
var scanned = 1;
var fs = -FILESIZE-;
function timestring(seconds) {
var hours = Math.floor(seconds/3600);
var minutes = Math.floor((seconds/60) - (hours*3600));
var seconds = seconds - (minutes*60) - (hours*3600);
var string = "";
if (hours > 0) {
if (hours < 10)
string = "0"+hours;
else
string = hours;
string += ":";
}
if (minutes > 0) {
if (minutes < 10)
string += "0"+minutes;
else
string += minutes;
} else {
string += "00";
}
string += ":";
if (seconds > 0) {
if (seconds < 10)
string += "0"+seconds;
else
string += seconds;
} else {
string += "00";
}
return string;
}
function filesizestring(bytes) {
var gb = Math.floor(bytes/1073741824);
if (gb > 0)
return gb.toString()+" Gb";
var mb = Math.floor(bytes/1048576);
if (mb > 0)
return mb.toString()+" Mb";
var kb = Math.floor(bytes/1024);
if (kb > 0)
return kb.toString()+" Kb";
return bytes.toString()+" bytes";
}
function progressupdate(got, speed) {
var msg;
if (fs > 0) {
var sofar = (got/fs)*16;
for (var i = 1; i <=sofar; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
msg = Math.round((got/-FILESIZE-)*100)+"%, time remaining: "+timestring(Math.round((fs-got)/speed))+"; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
} else {
msg = "Time remaining: unknown; "+filesizestring(speed)+"/s; total downloaded: "+filesizestring(got);
}
document.getElementById('message1').innerHTML = msg;
}
function nowscanning() {
for (var i = 1; i <=16; i++)
document.getElementById('progress'+i).style.backgroundColor = 'blue';
if (scanned == 1) {
var msg = "Download complete! Now scanning...";
document.getElementById('message1').innerHTML = msg;
}
}
function downloadlink(rawlink, prettylink, type) {
if (type == 0)
var msg = "File scanned";
else if (type == 1)
var msg = "File downloaded, but not scanned due to size";
else if (type == 2)
var msg = "File too large to cache, please download directly";
document.getElementById('message1').innerHTML = msg;
if (type != 2)
document.getElementById('message2').innerHTML = "<a href='"+rawlink+"'>"+prettylink+"</a>";
else
document.getElementById('message2').innerHTML = "<a href='"+prettylink+"'>"+prettylink+"</a>";
document.write("</body></html>");
}
function downloadwarning(sizelimit) {
scanned = 0;
document.getElementById('message2').innerHTML = "Warning: File too large for content scanning. If you suspect that this file is larger than "+filesizestring(sizelimit)+", refresh this page to download directly.";
}
//-->
</script>
</head>
<body>
<script language="javascript">
<!--
document.write(
unescape(
"\
<table align='center'><tr><td>\
<div style='font-size:8pt;padding:2px;border:solid black 1px'>\
<span id='progress1'>%26nbsp; %26nbsp;</span> \
<span id='progress2'>%26nbsp; %26nbsp;</span> \
<span id='progress3'>%26nbsp; %26nbsp;</span> \
<span id='progress4'>%26nbsp; %26nbsp;</span> \
<span id='progress5'>%26nbsp; %26nbsp;</span> \
<span id='progress6'>%26nbsp; %26nbsp;</span> \
<span id='progress7'>%26nbsp; %26nbsp;</span> \
<span id='progress8'>%26nbsp; %26nbsp;</span> \
<span id='progress9'>%26nbsp; %26nbsp;</span> \
<span id='progress10'>%26nbsp; %26nbsp;</span> \
<span id='progress11'>%26nbsp; %26nbsp;</span> \
<span id='progress12'>%26nbsp; %26nbsp;</span> \
<span id='progress13'>%26nbsp; %26nbsp;</span> \
<span id='progress14'>%26nbsp; %26nbsp;</span> \
<span id='progress15'>%26nbsp; %26nbsp;</span> \
<span id='progress16'>%26nbsp; %26nbsp;</span> \
</div>\
</td></tr></table>\
<center><p><tt id='message1'></tt></p><p id='message2' style='color: #600;'></p></center>"
)
);
//-->
</script>
<!--
The available variables are as follows:
- FILENAME- gives the name of the file being downloaded
- FILESIZE- gives the size of the file in bytes
- FILESIZE- of zero indicates that file size is not known
You need to remove the space between the - and the variable to use them
in your HTML. They are there above so extra processing is not required.
The following JavaScript functions must be defined:
progressupdate(got, speed)
This is called when the page is initially displayed (i.e. after
initialtrickledelay has passed), and periodically afterwards to
update progress (once every trickledelay seconds).
Parameters:
got - how much of the file we have downloaded, in bytes.
speed - current estimate of download speed, in bytes per second.
nowscanning()
This is called once downloading is complete, and scanning has
begun. (Note: scanning has not actually begun if downloadwarning()
has been called at some point.)
downloadlink(rawlink, prettylink, type)
This is called after scanning has completed, and the file is
ready to be sent to the user.
Parameters:
rawlink - the URL from which the scanned file can be grabbed
prettylink - the original URL which triggered the fancy download manager
type - the status of the download/scan:
0 - downloaded & scanned
1 - downloaded, but too big to have been scanned
2 - too big to be completely downloaded
codes 1 and 2 can only be encountered on files for which the content
length is not known in advance. "rawlink" should be ignored for code 2.
downloadwarning(sizelimit)
This is called when a file with unknown content-length has exceeded
the configured maxcontentfilecachescansize. Used to warn the user
that the fancy DM may not be able to retrieve the entire file,
and that they should download directly (refresh the page; the URL will
have been added to DG's clean cache) if they know it to be larger
than sizelimit.
sizelimit - the value of the fancy DM's maxdownloadsize. If a file
exceeds this limit also, the fancy DM cannot continue
(will trigger downloadlink status type 2).
Please note that the fancy download manager also outputs content contained in
<noscript> tags, for browsers which disable or do not support javascript. If you
customise this template, you may wish to test its behaviour and appearance in
such circumstances.
-->
</body>
</html>

View File

@@ -0,0 +1,117 @@
# e2guardian messages file in UK English
"0","Message number absent"
"1","Access Denied"
"10","IP limit exceeded. There is a "
"11"," IP limit set."
"50"," in "
"51","TRUSTED"
"52","DENIED"
"53","INFECTED"
"54","SCANNED"
"55","CONTENTMOD"
"56","URLMOD"
"57","HEADERMOD"
"58","HEADERADD"
"59","NETERROR"
"70","SSL SITE"
"71","IP Limit"
"72","Content scanning"
"100","Your IP address is not allowed to web browse: "
"101","Your IP address is not allowed to web browse."
"102","Your username is not allowed to web browse: "
"103","Banned Client IP"
"104","Banned Location"
"105","Banned User"
"110","Proxy authentication error"
"121","Only limited access allowed from your location"
"150","Certificate supplied by server was not valid"
"151","Could not open ssl connection"
"152","Failed to get ssl certificate"
"153","Failed to load ssl private key"
"154","Failed to negotiate ssl connection to client"
"155","No SSL certificate supplied by server"
"156","Servers SSL certificate does not match domain name"
"157","Unable to create tunnel through local proxy"
"158","Opening tunnel failed"
"159","Could not connect to proxy server"
"160","Failed to nogotiate ssl connection to server"
"200","The requested URL is malformed."
"201","Unable to get response from upstream proxy (timeout)"
"202","Unable to connect to upstream proxy (network error)"
"203","The site requested is not responding"
"204"," - Please try again later"
"205","Upstream proxy is not responding (network error)"
"206"," - Please try again later"
"207","The site requested does not exist"
"208","The site requested does not have an IPv4 address"
"209","Temporary DNS service failure - please try again"
"210","DNS service failure - please try again later"
"300","Banned phrase found: "
"301","Banned phrase found."
"400","Banned combination phrase found: "
"401","Banned combination phrase found."
"402","Content Check limit of "
"403","Blocked by Content Checking."
"450","Banned search term found: "
"451","Banned search term found."
"452","Banned combination search term found: "
"453","Banned combination search term found."
"454","Weighted search term limit of "
"455","Weighted search term limit exceeded."
"456","Exception combination search term found: "
"457","Exception search term found: "
"500","Blocked site: "
"501","Blocked URL: "
"502","Walled Garden is on and the site is not available to you."
"503","Banned pattern matched URL: "
"504","Blocked URL."
"505","Access to sites by IP address is not allowed."
"506","HTTPS access is only allowed to trusted sites."
"507","HTTPS access by IP address is not allowed."
"508","Access not allowed using this browser (or app): "
"509","Access not allowed using this browser (or app)."
"510","Blocked IP site "
"511","Tranparent https connection is not TLS: "
"512","Tranparent https connection does not have SNI: "
"520","Blocked HTTPS site: "
"521","Banned Search Words: "
"522","Blocked User-Agent: "
"560","Blocked site (local): "
"561","Blocked URL (local): "
"580","Blocked HTTPS site (local): "
"581","Banned Search Words (local): "
"600","Client IP match."
"601","Client user match."
"602","Site match: "
"603","URL match: "
"604","Phrase found: "
"605","Combination phrase found: "
"606","Bypass URL."
"607","Bypass cookie."
"608","Scan bypass URL."
"609","URL pattern match: "
"610","User-Agent pattern match: "
"620","Referer match: "
"630","URL match in "
"631"," location allow list"
"632","Location overide allow list matched"
"662","Site (local): "
"663","URL (local): "
"700","Web upload is banned."
"701","Web upload limit exceeded."
"750","Blanket file download is active and this MIME type is not on the white list: "
"751","Blanket file download is active and this file is not matched by the white lists."
"800","Banned MIME file type: "
"900","Banned file extension: "
"1100","Virus or bad content detected."
"1101","Advert blocked"
"1200","Please wait - downloading file for scanning..."
"1201","Warning: file too large to scan. If you suspect that this file is larger than "
"1202",", then refresh this page to download directly."
"1203","WARNING: Could not perform content scan!"
"1210","Download Complete. Starting scan..."
"1220","Scan complete.</p><p>Click here to download: "
"1221","Download complete; file not scanned.</p><p>Click here to download: "
"1222","File too large to cache.</p><p>Click here to re-download, bypassing scan: "
"1230","File no longer available"
"9999","Dummy so master always has higher number"

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long