Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // this is an excerpt of the script tags in the original JS file
- // mainly to focus on the 'body' of the JS
- mTop = top;
- mSelf = self;
- submited = false;
- function submit() {
- if (submited) {
- return false;
- }
- submited = true;
- // perform javascript eval()
- eval( // broken down for ease of viewing
- // this function accepts six input values, and the results of those values appear to be dependent upon one another
- function(p,a,c,k,e,d){
- e=function(c){
- return c.toString(36)
- };
- if(!''.replace(/^/,String)){
- while(c--){
- d[c.toString(a)]=k[c]||c.toString(a)
- }
- k=[function(e){
- return d[e]
- }];
- e=function(){
- return'\\w+'
- };
- c=1
- };
- while(c--){
- if(k[c]){
- p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])
- }
- }
- return p
- } // end of function 'packed'
- // below are in the input parameters for the function
- // each occupying a single line to show what input belongs to which parameter
- ('c a;c b;c 6;l(9 4.k!=\'8\'){a=4.k;b=4.m}i l(9 3.5!=\'8\'&&9 3.5.7!=\'8\'&&3.5.7!=0){a=3.5.7;b=3.5.g}i{a=3.j(\'h\')[0].7;b=3.j(\'h\')[0].g}o{6=4.n!==4.q?1:0}p(e){6=2}3.d(\'a\').f=a;3.d(\'b\').f=b;3.d(\'6\').f=6;',
- 27,
- 27,
- '|||document|window|documentElement|ix|clientWidth|undefined|typeof|||var|getElementById||value|clientHeight|body|else|getElementsByTagName|innerWidth|if|innerHeight|self|try|catch|top'.split('|'),
- 0,
- {}) // this is the end of the input parameters
- ); // end the eval() statement
- var flash = 0;
- try {
- var FlashDetect=new function(){
- var self=this;
- self.installed=false;
- self.raw="";
- self.major=-1;
- self.minor=-1;
- self.revision=-1;
- self.revisionStr="";
- var activeXDetectRules=[
- // activeXDetection rules
- // looks like an structure of arrays that hold dictionary key-value pairs for "name" and "version"
- {"name":"ShockwaveFlash.ShockwaveFlash.7","version":function(obj){return getActiveXVersion(obj);}},
- {"name":"ShockwaveFlash.ShockwaveFlash.6","version":function(obj){var version="6,0,21";try{obj.AllowScriptAccess="always";version=getActiveXVersion(obj);}catch(err){}
- return version;}},
- {"name":"ShockwaveFlash.ShockwaveFlash","version":function(obj){return getActiveXVersion(obj);}}
- ];
- // this method will take input of the activeXObj and the return value would be the version of activeX in use
- var getActiveXVersion=function(activeXObj){
- var version=-1;
- try{
- version=activeXObj.GetVariable("$version");
- }catch(err){}
- return version;
- }; // end getActiveXVersion function
- // this method would be used to obtain the activeXObj given the input name
- var getActiveXObject=function(name){
- var obj=-1;
- try{
- obj=new ActiveXObject(name);
- }catch(err){
- obj={activeXError:true};
- }
- return obj;
- }; // end getActiveXObject function
- // this is a method to parse out the ActiveXVersion that is in use, given a string input
- // return an array of dictionary key-value pairs major version, minor version, revision number, and revision string
- var parseActiveXVersion=function(str){
- var versionArray=str.split(",");
- return{"raw":str,"major":parseInt(versionArray[0].split(" ")[1],10),"minor":parseInt(versionArray[1],10),"revision":parseInt(versionArray[2],10),"revisionStr":versionArray[2]}; // end return
- }; // end parseActiveXVersion function
- // this method is used to parse the standard version, given a string input
- // the return value is an array of dictionary key-value pairs major, minor, revision string, and revision number
- var parseStandardVersion=function(str){
- var descParts=str.split(/ +/);
- var majorMinor=descParts[2].split(/\./);
- var revisionStr=descParts[3];
- return{"raw":str,"major":parseInt(majorMinor[0],10),"minor":parseInt(majorMinor[1],10),"revisionStr":revisionStr,"revision":parseRevisionStrToInt(revisionStr)}; // end return
- }; // end parseStandardVersion function
- // this method is to parse the revision string, given a string input
- // the return value is either parsed out or the current class revision value
- var parseRevisionStrToInt=function(str){
- return parseInt(str.replace(/[a-zA-Z]/g,""),10)||self.revision;
- }; // end parseRevisionsStrToInt function
- // accepts the version as input
- // returns true if the class' major version is greater than or equal to the input version, otherwise false
- self.majorAtLeast=function(version){
- return self.major>=version;
- }; // end majorAtLeast function
- // accepts the version as input
- // returns true if the class' minor version is greater than or equal to the input version, otherwise false
- self.minorAtLeast=function(version){
- return self.minor>=version;
- }; // end minorAtLeast function
- // accepts the version as input
- // returns true if the class' revision number is greater than or equal to the input version, otherwise false
- self.revisionAtLeast=function(version){
- return self.revision>=version;
- }; // end revisionAtLeast function
- // accepts the major version as input
- self.versionAtLeast=function(major){
- // creates a list of the major version, minor version, and version number
- var properties=[self.major,self.minor,self.revision];
- // compares the length of the lists 'properties' and 'arguments' for which is shorter
- var len=Math.min(properties.length,arguments.length);
- // iterate through the the lists (stopping condition is the shorter list's length)
- for(i=0;i<len;i++){
- // tests if the value at each index of the list 'properties' si greater than or equal to the value at each index of 'arguments'
- if(properties[i]>=arguments[i]){
- // if the versions match and we haven't run off the array, current for-loop iteration ends and proceed with the next
- if(i+1<len&&properties[i]==arguments[i]){
- continue;
- // this indicates the indexed value at 'properties' is greater than 'arguments' breakout and return true
- } else {
- return true;
- } // end inner if-else statement
- // otherwise the indexed value at 'properties' is greater than 'arguments' breakout and return false
- } else {
- return false;
- } // end outer if-else statement
- } // end for-loop
- }; // end versionAtLeast function
- self.FlashDetect=function(){
- if(navigator.plugins&&navigator.plugins.length>0){
- var type='application/x-shockwave-flash';
- var mimeTypes=navigator.mimeTypes;
- if(mimeTypes&&mimeTypes[type]&&mimeTypes[type].enabledPlugin&&mimeTypes[type].enabledPlugin.description){
- var version=mimeTypes[type].enabledPlugin.description;
- var versionObj=parseStandardVersion(version);
- self.raw=versionObj.raw;
- self.major=versionObj.major;
- self.minor=versionObj.minor;
- self.revisionStr=versionObj.revisionStr;
- self.revision=versionObj.revision;
- self.installed=true;
- }
- } else if(navigator.appVersion.indexOf("Mac")==-1&&window.execScript){
- var version=-1;
- for(var i=0;i<activeXDetectRules.length&&version==-1;i++){
- var obj=getActiveXObject(activeXDetectRules[i].name);
- if(!obj.activeXError){
- self.installed=true;
- version=activeXDetectRules[i].version(obj);
- if(version!=-1){
- var versionObj=parseActiveXVersion(version);
- self.raw=versionObj.raw;
- self.major=versionObj.major;
- self.minor=versionObj.minor;
- self.revision=versionObj.revision;
- self.revisionStr=versionObj.revisionStr;
- } // of if statement for 'version != -1'
- } // end of if statement for 'not activeXError'
- } // end of for-loop
- } // end of outermost if-elseif statement
- }(); // end FlashDetect constructor, no input parameters are passed
- }; // end the FlashDetect class
- if (FlashDetect.major > 0) {
- flash = 1;
- }
- } catch (e) {
- flash = 2;
- } // end major try-catch block
- window.document.getElementById("fs").value=flash;
- // perform javascript eval()
- eval( // broken down for ease of viewing
- function(p,a,c,k,e,d){
- e=function(c){
- return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))
- };
- if(!''.replace(/^/,String)){
- while(c--){
- d[e(c)]=k[c]||e(c)
- }
- k=[function(e){
- return d[e]
- }];
- e=function(){
- return'\\w+'
- };
- c=1
- };
- while(c--){
- if(k[c]){
- p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])
- }
- }
- return p
- } // end of function 'packed'
- // below are in the input parameters for the function
- // each occupying a single line to show what input belongs to which parameter
- ('b 4={};8{4.17=n.1b.1p;4.R=n.1b.1p}5(e){4.17=-1;4.R=-1}8{4.S=n.1u;4.X=n.1r}5(e){4.S=-1;4.X=-1}8{4.V=n.1O;4.T=n.1N}5(e){4.V=-1;4.T=-1}8{4.Q=n.1M;4.14=n.1K}5(e){4.Q=-1;4.14=-1}8{4.Y=n.1B.1C.z}5(e){4.Y=-1}8{4.15=f.1D.1A}5(e){4.15=\'-\'}8{4.1j=f.1z}5(e){4.1j=\'-\'}8{4.19=(!(v.G 1w 1x)||v.G.z==0)?0:1}5(e){4.19=-1}8{4.18=n.1y||n.1E}5(e){4.18=\'-\'}8{4.11=1k(v.1F)==="h"?1:0}5(e){4.11=-1}8{4.P=1k(v.1v)!=="1J"?1:0}5(e){4.P=-1}4.H=0;8{b 13=1f h(){b 9=1G;9.N=1c;9.w="";9.p=-1;9.s=-1;9.q=-1;9.r="";b L=[{"C":"A.A.7","c":h(l){m K(l)}},{"C":"A.A.6","c":h(l){b c="6,0,21";8{l.1H="1I";c=K(l)}5(O){}m c}},{"C":"A.A","c":h(l){m K(l)}}];b K=h(1e){b c=-1;8{c=1e.1t("$c")}5(O){}m c};b 1i=h(C){b l=-1;8{l=1f 1q(C)}5(O){l={1n:F}}m l};b 1l=h(t){b D=t.I(",");m{"w":t,"p":B(D[0].I(" ")[1],10),"s":B(D[1],10),"q":B(D[2],10),"r":D[2]}};b 1g=h(t){b 1a=t.I(/ +/);b 16=1a[2].I(/\\./);b r=1a[3];m{"w":t,"p":B(16[0],10),"s":B(16[1],10),"r":r,"q":1o(r)}};b 1o=h(t){m B(t.1s(/[a-1L-Z]/g,""),10)||9.q};9.2f=h(c){m 9.p>=c};9.2g=h(c){m 9.s>=c};9.2e=h(c){m 9.q>=c};9.2d=h(p){b J=[9.p,9.s,9.q];b 12=2a.2b(J.z,M.z);1m(i=0;i<12;i++){u(J[i]>=M[i]){u(i+1<12&&J[i]==M[i]){2i}W{m F}}W{m 1c}}};9.13=h(){u(v.G&&v.G.z>0){b E=\'1P/x-2c-2h\';b y=v.y;u(y&&y[E]&&y[E].U&&y[E].U.1d){b c=y[E].U.1d;b o=1g(c);9.w=o.w;9.p=o.p;9.s=o.s;9.r=o.r;9.q=o.q;9.N=F}}W u(v.2k.2j("29")==-1&&n.1V){b c=-1;1m(b i=0;i<L.z&&c==-1;i++){b l=1i(L[i].C);u(!l.1n){9.N=F;c=L[i].c(l);u(c!=-1){b o=1l(c);9.w=o.w;9.p=o.p;9.s=o.s;9.q=o.q;9.r=o.r}}}}}()};u(13.p>0){4.H=1}}5(e){4.H=2}8{1h(4)}5(e){};h 1h(d){8{f.k(\'1Y\').j=d.17}5(e){}8{f.k(\'1Z\').j=d.R}5(e){}8{f.k(\'26\').j=d.S}5(e){}8{f.k(\'27\').j=d.X}5(e){}8{f.k(\'25\').j=d.V}5(e){}8{f.k(\'24\').j=d.T}5(e){}8{f.k(\'20\').j=d.Q}5(e){}8{f.k(\'22\').j=d.14}5(e){}8{f.k(\'23\').j=d.Y}5(e){}8{f.k(\'1S\').j=d.15}5(e){}8{f.k(\'1R\').j=d.19}5(e){}8{f.k(\'1Q\').j=d.18}5(e){}8{f.k(\'1T\').j=d.11}5(e){}8{f.k(\'1U\').j=d.P}5(e){}8{f.k(\'1X\').j=d.1W}5(e){}8{f.k(\'28\').j=d.H}5(e){}};',
- 62,
- 145,
- '||||QC|catch|||try|self||var|version|||document||function||value|getElementById|obj|return|window|versionObj|major|revision|revisionStr|minor|str|if|navigator|raw||mimeTypes|length|ShockwaveFlash|parseInt|name|versionArray|type|true|plugins|CF|split|properties|getActiveXVersion|activeXDetectRules|arguments|installed|err|NG|WIW|SH|WX|WH|enabledPlugin|WW|else|WY|WFC|||NB|len|FlashDetect|WIH|PL|majorMinor|SW|PT|NP|descParts|screen|false|description|activeXObj|new|parseStandardVersion|QCDone|getActiveXObject|RF|typeof|parseActiveXVersion|for|activeXError|parseRevisionStrToInt|width|ActiveXObject|screenY|replace|GetVariable|screenX|geolocation|instanceof|PluginArray|callPhantom|referrer|href|top|frames|location|_phantom|sendBeacon|this|AllowScriptAccess|always|undefined|innerHeight|zA|innerWidth|outerHeight|outerWidth|application|ci_PT|ci_NP|ci_PL|ci_NB|ci_NG|execScript|DM|ci_DM|ci_SW|ci_SH|ci_WIW||ci_WIH|ci_WFC|ci_WH|ci_WW|ci_WX|ci_WY|ci_CF|Mac|Math|min|shockwave|versionAtLeast|revisionAtLeast|majorAtLeast|minorAtLeast|flash|continue|indexOf|appVersion'.split('|'),
- 0,
- {}) // end of FlashFunction input parameters
- ) // end of second eval() function
- // submit the form element data
- window.document.getElementById("submit-form").submit();
- } // end function submit()
- // function that sets the timeout value to true and sends the form data
- function submitByTimeout(){
- window.document.getElementById("timeout").value=1;
- submit();
- }
- // call the submit() function
- submit();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement