Sign in to follow this  
Followers 0
Ghastly_MIB

My own downloader

10 posts in this topic

Hey,

is it posible to chance my default downloader?

So i can create my own one and use's this to download files from the web?

Thanks,

Ghastly MIB

Share this post


Link to post
Share on other sites



Hey,

is it posible to chance my default downloader?

So i can create my own one and use's this to download files from the web?

Thanks,

Ghastly MIB

yes it's possible. i know people have made some scripts to perform like download accelerator pro, i'm not sure if they included code to make it the default downloader, but would definitely be something to search for in scripts and scraps. also worst case scenario you could get a freeware or shareware downloader, and see what registry entries it changes (i can't do that on my work machine to give you the keys myself)

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

I installer DAP and uninstall it.

I've been scaned the registry with RegMon (systernals)

But i'm don't know :P:mad2:

Please help me ;)

I have included my log

download.rar

Edited by Ghastly_MIB

Share this post


Link to post
Share on other sites

Forget regmon. Use InstallRite instead:

Download and install "InstallRite" from here:

http://www.epsilonsquared.com/installrite.htm

Start InstallRite.

Click on [Create a manual snapshot of your PC]

When it is finished with the snapshot, start the installation of whatever program you want.

If InstallRite says that it needs to do something during the installation, just click cancel.

When the installation of the program is finished, Click on [Perform an "Analysis" of the changes since the last "Snapshot"]

When it asks you for a name, type in the name of your program.

Click [Review Installations]

Click the [+] beside the name of your program

Click on "Registry"

Right-click on "Registry" and click on "Export Registry"

Click on New.

Save this file as a .reg

Upload the file to here and let us look at it.


Who else would I be?

Share this post


Link to post
Share on other sites

Here is how DAP is doing it:

HKEY_CLASSES_ROOT\PROTOCOLS\Name-Space Handler\HTTP\ZDA
HKEY_CLASSES_ROOT\PROTOCOLS\Name-Space Handler\ftp\ZDA

With that entry, DAP is causing Internet Explorer to ask DAP first before opening anything from an http:// or ftp:// page. The handler in

HKEY_CLASSES_ROOT\CLSID\{5BFA1DAF-5EDC-11D2-959E-00C00C02DA5E}
is a dll that is being called when internet explorer is opened. That type of download accelerator is beyond the scope of autoit, but there is another entry that may be of use to you.

The following entries

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\&Download with &DAP]


[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\&Download with &DAP]
"contexts"=dword:00000022

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\&Download with &DAP]
@="C:\\PROGRA~1\\DAP\\dapextie.htm"

will allow an entry called Download with DAP to be shown in internet explorer's right-click menu. When you right-click on a link in a page, anything specified here will come up. I recommend http://msdn.microsoft.com/library/default....als/context.asp for good reading on how to add a custom item here and possibly launch your download accelerator.


Who else would I be?

Share this post


Link to post
Share on other sites

I don't get it... :P

Could you please give me an example what I should add tho the registry to run:

C:\My Downloader.exe "%1"

I'm sorry that i'm so stupid ;)

Thanks till so far anyway

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

I don't get it... :P

Could you please give me an example what I should add tho the registry to run:

C:\My Downloader.exe "%1"

I'm sorry that i'm so stupid ;)

Thanks till so far anyway

Its not very simple, you should make a DLL that checks the extension and if this is a extension is a extension to download run your program and block the download window of Internet Explorer.

In HKEY_CLASSES_ROOT\PROTOCOLS\Name-Space Handler\HTTP\ZDA and HKEY_CLASSES_ROOT\PROTOCOLS\Name-Space Handler\ftp\ZDA you must put your CLSID, and create that CLSID, example:

HKEY_CLASSES_ROOT\CLSID\{5BFA1DAF-5EDC-11D2-959E-00C00C02DA5E}

Make that CLSID run your DLL.

From now on every thing that was been downloaded by Internet Explorer is firstly been checked by your DLL, and if its a file to download it runs you program.

Dont ask me more, a DLL must been programmed in C, C++ or something and i dont know that programming languages.

Edited by svennie

Sorry for my English, I'm Dutch... =DMedia UDFINet Adv UDF

Share this post


Link to post
Share on other sites

#9 ·  Posted (edited)

@Ghastly_MIB, I have thrown together a simple html page that can do what you require.

Save this as C:\download.htm

<script>
var srcEvent = external.menuArguments.event;
var srcDoc = external.menuArguments.document;
var srcElement = srcDoc.elementFromPoint(srcEvent.clientX, srcEvent.clientY);
var srcAnchor = srcElement;
var sURL = "";

while(srcAnchor.tagName!="A" && srcAnchor.tagName!="AREA" && srcAnchor.tagName!="HTML") {srcAnchor=srcAnchor.parentElement;}

if(srcEvent.type=="MenuExtUnknown" || srcEvent.type=="MenuExtImage" || srcEvent.type=="MenuExtAnchor")
{
 if(srcAnchor.tagName=="A" || srcAnchor.tagName=="AREA") {sURL = srcAnchor.href;}
}
wsh=new ActiveXObject("WScript.Shell")
wsh.Run('cmd.exe /c echo "' + sURL + '"&pause', 1, 0)
</script>

Save this as install.reg

REGEDIT4

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\testing...]

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\testing...]
"contexts"=dword:00000022

[HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\testing...]
@="C:\\download.htm"

Open install.reg and import it.

Open internet explorer, right-click a link, and click testing...

You should see a command window open with the target of the link displayed.

You will need to modify this script and reg file for your needs.

Edited by this-is-me

Who else would I be?

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

IT WORKS!!!!!! ;):P:oops::mad2:

THANKS!

Your the best!!!

Edited by Ghastly_MIB

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0