|
Another Filtering Proxy
|
|
Jun. 05, 2015, 12:26 PM
(This post was last modified: Jun. 05, 2015 12:42 PM by cattleyavns.)
Post: #21
|
|||
|
|||
RE: Another Filtering Proxy
(Jun. 03, 2015 07:56 AM)whenever Wrote: Well, you found an old bug, well done! Well, I think we will need daemon, without daemon we cannot "Ctrl + C" to exit AFProxy, I feel a little bit uncomfortable when using "X" button to exit instead, and without Daemon we miss "OnExit"'s event using "atexit" module (import atexit). Do you have any idea how to make thread.daemon = True or thread.setDaemon(True) work ? I tried to recover this feature but all I got is AFProxy stop working. (Jun. 03, 2015 07:56 AM)whenever Wrote: In version 0.4, what you change via req.headers in URLFilter.py will be copied to headers via below lines in AFProxy.py. I don't think you need to do extra work. I found another bug, we should move Code: ########## Apply HeaderFilterOut ##########Right above "headers = urllib3._collections.HTTPHeaderDict()" in your quote above, otherwise we cannot change/add/remove headers. (Jun. 03, 2015 07:56 AM)whenever Wrote: Thanks, but I want AFProxy to focus on filtering. You are free to make a new proxy based on AFProxy with whatever new features you like. Great, thank you for that offer ![]() Here is my patch for AFProxy to make AFProxy work partially with socks proxy using Urllib(2) (weird, my implement look horrible, but for me better than nothing, right ?), based on version 0.4 because it is stable. Need another module: Code: pip install pySocksMy implement way had my implement way problem, for example: Code: http://prxbx.comYou might install BitviseSSHClient or AdvOr and set listen port to 10080 or change the line with "10080" with your socks proxy. Changelog: Code: - Added socks supportTest: http://ghacks.net/ip/ |
|||
|
« Next Oldest | Next Newest »
|

Search
Member List
Calendar
Help







![[-]](images/ONi/collapse.gif)