Skip to content
 
 

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Proxy Bypasser

Provides a HTTP server which serves a directory of files, which can be downloaded via JavaScript. They will be zipped. Indicated filetype is PDF (not really relevant).

Proxies are blind for this technique.

Usage

$ pip install -r requirements.txt
$ python3 proxybypasser.py --path /mnt/data

What?

Content of file is in {{filecontent}} inside a javascript variable inside a html. No HTTP request to the file is being performed, its all in the browser.

download.html:

<script>
    function download() {
        const linkSource = `data:application/pdf;base64,{{filecontent}}`;
        const downloadLink = document.createElement('a');
        document.body.appendChild(downloadLink);
    
        downloadLink.href = linkSource;
        downloadLink.target = '_self';
        downloadLink.download = "{{filename}}";
        downloadLink.click(); 
    }
</script>

About

Bypass proxy download restrictions with JavaScript download

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages