Giter Site home page Giter Site logo

swiperproxy's Introduction

swiperproxy

Build Status

SwiperProxy is a very easy to use HTTP and HTTPS web proxy.

SwiperProxy Screenshot

License

SwiperProxy is licensed under the MIT license. See the COPYING.md file in /doc/.

Download

See https://swiperproxy.github.io/download.html for releases and git checkout instructions.

Create a clone of this repository

Clone the repo by running: $ git clone https://github.com/SwiperProxy/swiperproxy.git

Support

Commercial installation and support is not available. For general community support, see https://swiperproxy.github.io/contact.html.

swiperproxy's People

Contributors

abrioso avatar rexdf avatar techwolf12 avatar the-compiler avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swiperproxy's Issues

Is this repo dead?

Been years since the last commit, i'm guessing it's not maintained anymore?

403 Forbidden for many assets

On almost any website, I'm getting several 403 errors for different types of assets, pages, etc. The response body says the following:

Error code 403.

Message: Access denied.

Error code explanation: 403 = Request forbidden -- authorization will not help. 

image

I also see that requests are made using HTTP/1.0. Might that be an issue, because the target webservers don't support version 1 anymore or so?

Error after installing / ImportError: libstreamhtmlparser.so.0

Hi, thanks for great web proxy script. I wanted to give it a try, but i couldn't. I downloaded and tried to install as mentioned in documents. I installed requirements. I also built and installed streamhtmlparser in the include directory. These steps is passed without any error. But at last, when I tried to run, I got following error:

Traceback (most recent call last):
  File "Proxy.py", line 38, in <module>
    from Page import Page
  File "/opt/SwiperProxy/swiperproxy/Page.py", line 23, in <module>
    from streamhtmlparser import *
ImportError: libstreamhtmlparser.so.0: cannot open shared object file: No such file or directory

I should say, I am a little bit new at python. So I may miss something obvious. If so, sorry for taking time. Thanks.

Google Search Captcha input form.

<form action="https://example.com/https/ipv4.google.com/CaptchaRedirect" method="get">
<input type='hidden' name='q' value='CGMSBMDx4cMY5ZaTuQUi***xp4NLdnq9H38h7YSH2i5Mj0GVEjqA86w'>
<input type="hidden" name="continue" value="https://www.google.com/search?sclient=psy-ab&amp;site=&amp;source=hp&amp;q=test&amp;btnK=Google+Search">
<input type="hidden" name="id" value="42233***65382745006">
<input type="text" name="captcha" value="" id="captcha"

Orginal page is <form action="CaptchaRedirect" method="get">

Orginal URL is https:///ipv4.google.com/sorry/IndexRedirect?continue=https://www.google.com/search%3Fsclient%3Dpsy-ab%26site%3D%26source%3Dhp%26q%3Dtest%26btnK%3DGoogle%2BSearch&q=CGMSBMDx4cMY5ZaTuQUi***xp4NLdnq9H38h7YSH2i5Mj0GVEjqA86w

Is there anything like filter to avoid converting CaptchaRedirect to https://example.com/https/ipv4.google.com/CaptchaRedirect.

SysV Init script logic errors

When running the proxy as a daemon, you can override the directory it is by changing the defaults.

Only problem is, the defaults are loaded AFTER the check for the Proxy.py. See the diff below:

diff include/init/sysvinit.sh /etc/init.d/swiperproxy 
16d15
< 
25,27d23
< # Exit if the package is not installed
< [ -x "$DAEMON" ] || exit 0
< 
30a27,29
> # Exit if the package is not installed
> [ -x "$DAEMON" ] || exit 0
> 
37a37
>   echo "Starting"

So the lines look like this

# Read default configuration variable file if it is present
[ -r /etc/default/$NAME ] && . /etc/default/$NAME

# Exit if the package is not installed
[ -x "$DAEMON" ] || exit 0

Also, the start of the file where the hashbang is located has an extra space, not sure if it makes any difference.

Any idea about support watch youtube?

When we click on youtube page, it will redirect to www.example.com/watch?v=XXXXX but not www.example.com/www.youtube.com/watch?v=XXXXX. If we directly visit www.example.com/www.youtube.com/watch?v=XXXXX, the video is still can't be load in youtube blocked country. js of youtube will load many address like www.example.com/api/stats and some are just raw url like https:\/\/s.ytimg.com/yts/jsbin etc.

How about a plugin system supporting customizing filter?

Invalid response error?

I'm not sure if anyone even still uses this - but anyways, I've been trying to set this up for the last hour and whenever I try to enter a URL - it just crashes on me with "ip" sent an invalid response. Any help?

cookies required

Hi! I have successfully install swiperproxy and it works like charm! However, when I try to login into my facebook or my gmail account I got an error says

Cookies Required. Cookies are not enabled on your browser. 
Please enable cookies in your browser preferences to continue.

Of course cookies are enabled in my browser and I can login to those accounts when not using swiperproxy. I didn't find a conf option to enable or disable cookies. Did I miss anything? How shall I enable cookies in swiperproxy? Thanks!

Proxy server always return Access Denied 403

screen
I set up the firefox using foxyproxy and my proxy server running on localhost listening on port 8001 for http. The port for rewrite URL is 80. But whenever I tried to request some http webpage, it returns Access Denied 403 error. Although it does seems that requests went through to the remote server. any idea why?

Truncate http(s):// from pasted URL in the textbox

Step 1: Copy URL that you want to visit using the Swiperproxy
Step 2: Click bookmark for Swiperproxy
Step 3: Ctrl+V
Step 4: Enter
Step 5: ????
Step 6: Profit

A simple copy/paste would improve user experience, so this would be a valuable enhancement.

.htaccess files

Hello Guys,
is it possible to use .htaccess files to Limit the Access to the site only to the IP Address from cloudflare because i dont want that someone Access the Proxy without using cloudflare.

I already tried placing a .htaccess file in the htdocs direclty but it dont gets loades.

Thank you in advance.

ImportError: No module named streamhtmlparser

# python -V
Python 2.7.3

# python Proxy.py
Traceback (most recent call last):
  File "./Proxy.py", line 38, in <module>
    from Page import Page
  File "/mnt/work/python/swiperproxy/Page.py", line 23, in <module>
    from streamhtmlparser import *
ImportError: No module named streamhtmlparser

No details about installing streamhtmlparser in either Quickstart or Sysadmin pages.

support `srcset` attribute

eg. <img src="/image/1.png" srcset="/image/2.png, /image/3.png" />

there are many more tag attribute holding URLs, maybe worth to gather a full list of them.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.