Jump to content
Sign in to follow this  
Marlo

Rapidshare links to SSL

Recommended Posts

Marlo

For whatever reason my ISP has blocked access to the rapidshare.com website so I can;t download anything from there which sucks as I use it a lot but I have discovered that if you use the secure HTTP protocol (HTTPS) then the links work o_0 anyway I'm far too lazy to add the extra S to the protocol for each file I download so I made this little script :idea:

Dim $sOldClip, $sNewClip, $sLink
$sOldClip = ClipGet()
While True
    $sNewClip = ClipGet()
    If $sNewClip <> $sOldClip Then
        If StringInStr($sNewClip, "rapidshare.com") Then
            $sLink = StringReplace($sNewClip, "http", "https", 1)
            ShellExecute($sLink)
        EndIf
        $sOldClip = $sNewClip
    EndIf
    sleep(50)
WEnd

It just watches your clipboard for rapidshare links and converts them to SSL before opening it.

Hope that somebody finds it useful

Regards

~Marlo

Edited by Marlo

Click here for the best AutoIt help possible.Currently Working on: Autoit RAT

Share this post


Link to post
Share on other sites
wraithdu

There are far better ways to watch the clipboard than that. Look into _ClipBoard_SetViewer and related functions. That sort of implementation might make a worthwhile example.

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  

×