├── proxy-backend ├── app │ ├── mailers │ │ ├── .keep │ │ ├── application_mailer.rb │ │ └── user_mailer.rb │ ├── models │ │ ├── .keep │ │ ├── concerns │ │ │ └── .keep │ │ ├── person.rb │ │ ├── entry.rb │ │ ├── proxy.rb │ │ └── proxy_domain.rb │ ├── assets │ │ ├── images │ │ │ └── .keep │ │ ├── stylesheets │ │ │ ├── people.scss │ │ │ ├── proxy.scss │ │ │ ├── entries.scss │ │ │ ├── proxy_domain.scss │ │ │ ├── application.css │ │ │ └── scaffolds.scss │ │ └── javascripts │ │ │ ├── people.coffee │ │ │ ├── proxy.coffee │ │ │ ├── entries.coffee │ │ │ ├── proxy_domain.coffee │ │ │ └── application.js │ ├── controllers │ │ ├── concerns │ │ │ └── .keep │ │ ├── entries_controller.rb │ │ ├── application_controller.rb │ │ ├── proxy_domain_controller.rb │ │ └── people_controller.rb │ ├── views │ │ ├── layouts │ │ │ ├── mailer.text.erb │ │ │ ├── mailer.html.erb │ │ │ └── application.html.erb │ │ ├── people │ │ │ ├── show.json.jbuilder │ │ │ ├── new.html.erb │ │ │ ├── edit.html.erb │ │ │ ├── index.json.jbuilder │ │ │ ├── show.html.erb │ │ │ ├── _form.html.erb │ │ │ └── index.html.erb │ │ ├── user_mailer │ │ │ └── noproxy_email.html.slim │ │ ├── proxy_domain │ │ │ └── index.html.erb │ │ ├── proxy │ │ │ └── list.html.erb │ │ └── entries │ │ │ └── sign_in.html.erb │ └── helpers │ │ ├── proxy_helper.rb │ │ ├── entries_helper.rb │ │ ├── people_helper.rb │ │ ├── application_helper.rb │ │ └── proxy_domain_helper.rb ├── current ├── test │ ├── fixtures │ │ ├── .keep │ │ ├── people.yml │ │ ├── entries.yml │ │ ├── proxies.yml │ │ └── proxy_domains.yml │ ├── helpers │ │ └── .keep │ ├── mailers │ │ ├── .keep │ │ ├── user_mailer_test.rb │ │ └── previews │ │ │ └── user_mailer_preview.rb │ ├── models │ │ ├── .keep │ │ ├── entry_test.rb │ │ ├── person_test.rb │ │ ├── proxy_test.rb │ │ └── proxy_domain_test.rb │ ├── controllers │ │ ├── .keep │ │ ├── proxy_controller_test.rb │ │ ├── entries_controller_test.rb │ │ ├── proxy_domain_controller_test.rb │ │ └── people_controller_test.rb │ ├── integration │ │ └── .keep │ └── test_helper.rb ├── shared │ └── config │ │ └── database.yml ├── config │ ├── initializers │ │ ├── proxy_dict.rb │ │ ├── cookies_serializer.rb │ │ ├── session_store.rb │ │ ├── mime_types.rb │ │ ├── filter_parameter_logging.rb │ │ ├── backtrace_silencers.rb │ │ ├── assets.rb │ │ ├── wrap_parameters.rb │ │ └── inflections.rb │ ├── boot.rb │ ├── environment.rb │ ├── database.yml │ ├── application.yml │ ├── application.example.yml │ ├── locales │ │ └── en.yml │ ├── secrets.yml │ ├── application.rb │ ├── environments │ │ ├── test.rb │ │ └── development.rb │ ├── routes.rb │ └── deploy.rb ├── proxy.import.txt ├── bin │ ├── bundle │ ├── rake │ ├── rails │ ├── spring │ └── setup ├── config.ru ├── db │ ├── migrate │ │ ├── 20150505064404_add_index_to_proxies.rb │ │ ├── 20150528012446_change_banned_type.rb │ │ ├── 20150505064417_add_index_to_proxy_domains.rb │ │ ├── 20150528012742_add_banned_default_value.rb │ │ ├── 20150527030533_create_items.rb │ │ ├── 20150628011705_rename_in_use_in_proxy.rb │ │ ├── 20150527015120_add_country.rb │ │ ├── 20150414075002_create_entries.rb │ │ ├── 20150414090857_create_people.rb │ │ ├── 20150528013108_change_in_use_type.rb │ │ ├── 20150430035310_add_banned_to_proxy_domains.rb │ │ ├── 20150416062648_create_proxy_domains.rb │ │ ├── 20150416062846_create_proxies.rb │ │ └── 20150416092261_change_column_default.rb │ ├── seeds.rb │ └── schema.rb ├── .travis.yml ├── spec │ ├── supports │ │ ├── helper.rb │ │ └── factory_girl.rb │ ├── factories │ │ ├── items.rb │ │ └── proxy_domains.rb │ ├── controllers │ │ ├── proxy_controller_spec.rb │ │ └── proxy_domain_controller_spec.rb │ └── rails_helper.rb ├── Rakefile ├── README.rdoc ├── .gitignore └── Gemfile ├── proxyspiders ├── ipool │ ├── __init__.py │ ├── spiders │ │ ├── __init__.py │ │ ├── usproxy.py │ │ └── proxylis.py │ ├── pipelines.py │ ├── items.py │ ├── settings.py │ └── middlewares.py └── scrapy.cfg ├── proxy-frontend ├── .idea │ ├── .name │ ├── vcs.xml │ ├── jsLibraryMappings.xml │ ├── modules.xml │ ├── proxy-web.iml │ ├── libraries │ │ └── proxy_web_node_modules.xml │ └── misc.xml ├── app │ └── bower_components │ │ ├── reactable │ │ ├── .npmignore │ │ ├── bower_components │ │ │ ├── jquery │ │ │ │ ├── src │ │ │ │ │ ├── outro.js │ │ │ │ │ ├── selector.js │ │ │ │ │ ├── var │ │ │ │ │ │ ├── arr.js │ │ │ │ │ │ ├── rnotwhite.js │ │ │ │ │ │ ├── strundefined.js │ │ │ │ │ │ ├── push.js │ │ │ │ │ │ ├── slice.js │ │ │ │ │ │ ├── class2type.js │ │ │ │ │ │ ├── concat.js │ │ │ │ │ │ ├── indexOf.js │ │ │ │ │ │ ├── pnum.js │ │ │ │ │ │ ├── toString.js │ │ │ │ │ │ ├── hasOwn.js │ │ │ │ │ │ └── support.js │ │ │ │ │ ├── ajax │ │ │ │ │ │ ├── var │ │ │ │ │ │ │ ├── rquery.js │ │ │ │ │ │ │ └── nonce.js │ │ │ │ │ │ ├── parseJSON.js │ │ │ │ │ │ ├── parseXML.js │ │ │ │ │ │ ├── script.js │ │ │ │ │ │ ├── load.js │ │ │ │ │ │ └── jsonp.js │ │ │ │ │ ├── css │ │ │ │ │ │ ├── var │ │ │ │ │ │ │ ├── rmargin.js │ │ │ │ │ │ │ ├── cssExpand.js │ │ │ │ │ │ │ ├── rnumnonpx.js │ │ │ │ │ │ │ ├── getStyles.js │ │ │ │ │ │ │ └── isHidden.js │ │ │ │ │ │ ├── hiddenVisibleSelectors.js │ │ │ │ │ │ ├── swap.js │ │ │ │ │ │ ├── addGetHookIf.js │ │ │ │ │ │ ├── curCSS.js │ │ │ │ │ │ ├── defaultDisplay.js │ │ │ │ │ │ └── support.js │ │ │ │ │ ├── data │ │ │ │ │ │ ├── var │ │ │ │ │ │ │ ├── data_priv.js │ │ │ │ │ │ │ └── data_user.js │ │ │ │ │ │ └── accepts.js │ │ │ │ │ ├── manipulation │ │ │ │ │ │ ├── var │ │ │ │ │ │ │ └── rcheckableType.js │ │ │ │ │ │ ├── _evalUrl.js │ │ │ │ │ │ └── support.js │ │ │ │ │ ├── core │ │ │ │ │ │ ├── var │ │ │ │ │ │ │ └── rsingleTag.js │ │ │ │ │ │ ├── parseHTML.js │ │ │ │ │ │ ├── access.js │ │ │ │ │ │ └── ready.js │ │ │ │ │ ├── traversing │ │ │ │ │ │ ├── var │ │ │ │ │ │ │ └── rneedsContext.js │ │ │ │ │ │ └── findFilter.js │ │ │ │ │ ├── event │ │ │ │ │ │ ├── support.js │ │ │ │ │ │ └── alias.js │ │ │ │ │ ├── attributes.js │ │ │ │ │ ├── deprecated.js │ │ │ │ │ ├── effects │ │ │ │ │ │ └── animatedSelector.js │ │ │ │ │ ├── selector-sizzle.js │ │ │ │ │ ├── queue │ │ │ │ │ │ └── delay.js │ │ │ │ │ ├── jquery.js │ │ │ │ │ ├── exports │ │ │ │ │ │ ├── global.js │ │ │ │ │ │ └── amd.js │ │ │ │ │ ├── attributes │ │ │ │ │ │ ├── support.js │ │ │ │ │ │ └── prop.js │ │ │ │ │ ├── intro.js │ │ │ │ │ ├── wrap.js │ │ │ │ │ └── dimensions.js │ │ │ │ ├── bower.json │ │ │ │ ├── .bower.json │ │ │ │ └── MIT-LICENSE.txt │ │ │ ├── chai-jquery │ │ │ │ ├── .travis.yml │ │ │ │ ├── .gitignore │ │ │ │ ├── .bower.json │ │ │ │ ├── test │ │ │ │ │ ├── jquery-inspect-spec.js │ │ │ │ │ └── index.html │ │ │ │ ├── package.json │ │ │ │ ├── History.md │ │ │ │ └── LICENSE │ │ │ ├── react │ │ │ │ ├── bower.json │ │ │ │ ├── .bower.json │ │ │ │ ├── PATENTS │ │ │ │ └── LICENSE │ │ │ ├── es5-shim │ │ │ │ ├── shims.json │ │ │ │ ├── component.json │ │ │ │ ├── Makefile │ │ │ │ ├── LICENSE │ │ │ │ ├── bower.json │ │ │ │ ├── .bower.json │ │ │ │ ├── CONTRIBUTORS.md │ │ │ │ └── package.json │ │ │ └── chai │ │ │ │ ├── bower.json │ │ │ │ ├── karma.conf.js │ │ │ │ ├── .bower.json │ │ │ │ ├── package.json │ │ │ │ ├── karma.sauce.js │ │ │ │ ├── component.json │ │ │ │ └── sauce.browsers.js │ │ ├── .jshintrc │ │ ├── src │ │ │ └── reactable.global.js │ │ ├── build │ │ │ └── .module-cache │ │ │ │ └── manifest │ │ │ │ └── fcf0a1449e059bf673190ccebbcf9f88c23c163d.json │ │ ├── .travis.yml │ │ ├── bower.json │ │ ├── .gitignore │ │ ├── .bower.json │ │ ├── LICENSE │ │ ├── Gruntfile.js │ │ ├── test.html │ │ ├── package.json │ │ └── karma.conf.js │ │ └── react │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── PATENTS │ │ └── LICENSE ├── .gitignore ├── .bowerrc ├── gulp │ ├── tasks │ │ ├── default.js │ │ ├── watch.js │ │ ├── html.js │ │ ├── build.js │ │ ├── styles.js │ │ ├── uglify.js │ │ ├── server.js │ │ └── browserify.js │ └── config.js ├── bower.json ├── .editorconfig ├── src │ ├── js │ │ ├── components │ │ │ └── ProxyList.jsx │ │ ├── constants │ │ │ └── AppConstants.js │ │ ├── stores │ │ │ └── BaseStore.js │ │ ├── dispatchers │ │ │ └── AppDispatcher.js │ │ ├── actions │ │ │ └── TodoActionCreators.js │ │ └── index.jsx │ ├── index.html │ └── styles │ │ └── main.scss ├── .jshintrc ├── gulpfile.js ├── README.md └── package.json ├── .gitignore ├── LICENSE ├── README.md ├── how-to-use.md └── config └── deploy.rb /proxy-backend/app/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/app/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/current: -------------------------------------------------------------------------------- 1 | releases/1 -------------------------------------------------------------------------------- /proxy-backend/test/fixtures/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/test/helpers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/test/mailers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/test/models/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxyspiders/ipool/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/images/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/test/controllers/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/test/integration/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-frontend/.idea/.name: -------------------------------------------------------------------------------- 1 | proxy-web -------------------------------------------------------------------------------- /proxy-backend/app/models/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/shared/config/database.yml: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/app/controllers/concerns/.keep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /proxy-backend/config/initializers/proxy_dict.rb: -------------------------------------------------------------------------------- 1 | $proxy_dict = {} -------------------------------------------------------------------------------- /proxy-backend/app/views/layouts/mailer.text.erb: -------------------------------------------------------------------------------- 1 | <%= yield %> 2 | -------------------------------------------------------------------------------- /proxy-backend/app/helpers/proxy_helper.rb: -------------------------------------------------------------------------------- 1 | module ProxyHelper 2 | end 3 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/.npmignore: -------------------------------------------------------------------------------- 1 | test.html 2 | -------------------------------------------------------------------------------- /proxy-backend/app/helpers/entries_helper.rb: -------------------------------------------------------------------------------- 1 | module EntriesHelper 2 | end 3 | -------------------------------------------------------------------------------- /proxy-backend/app/helpers/people_helper.rb: -------------------------------------------------------------------------------- 1 | module PeopleHelper 2 | end 3 | -------------------------------------------------------------------------------- /proxy-frontend/.gitignore: -------------------------------------------------------------------------------- 1 | /bower_components/ 2 | /dist/ 3 | /node_modules/ 4 | -------------------------------------------------------------------------------- /proxy-frontend/.bowerrc: -------------------------------------------------------------------------------- 1 | { 2 | "directory": "app/bower_components" 3 | } 4 | -------------------------------------------------------------------------------- /proxy-backend/app/helpers/application_helper.rb: -------------------------------------------------------------------------------- 1 | module ApplicationHelper 2 | end 3 | -------------------------------------------------------------------------------- /proxy-backend/app/helpers/proxy_domain_helper.rb: -------------------------------------------------------------------------------- 1 | module ProxyDomainHelper 2 | end 3 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/outro.js: -------------------------------------------------------------------------------- 1 | })); 2 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/chai-jquery/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | -------------------------------------------------------------------------------- /proxy-backend/app/views/people/show.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.extract! @person, :id, :name, :created_at, :updated_at 2 | -------------------------------------------------------------------------------- /proxy-backend/proxy.import.txt: -------------------------------------------------------------------------------- 1 | http://user1:pass1@23.247.255.67:80 2 | http://user2:pass2@23.247.255.67:90 3 | -------------------------------------------------------------------------------- /proxy-backend/app/views/layouts/mailer.html.erb: -------------------------------------------------------------------------------- 1 | 2 | 3 | <%= yield %> 4 | 5 | 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/.jshintrc: -------------------------------------------------------------------------------- 1 | { 2 | "browser" : true, 3 | "loopfunc": true 4 | } 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/selector.js: -------------------------------------------------------------------------------- 1 | define([ "./selector-sizzle" ]); 2 | -------------------------------------------------------------------------------- /proxy-frontend/gulp/tasks/default.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | gulp.task('default', ['build', 'watch', 'server']); -------------------------------------------------------------------------------- /proxy-backend/app/views/user_mailer/noproxy_email.html.slim: -------------------------------------------------------------------------------- 1 | p sorry to notify that no valid proxy exists at this moment! 2 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/arr.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return []; 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/src/reactable.global.js: -------------------------------------------------------------------------------- 1 | window.Reactable = require('../build/reactable.common'); 2 | -------------------------------------------------------------------------------- /proxy-backend/app/views/people/new.html.erb: -------------------------------------------------------------------------------- 1 |

New Person

2 | 3 | <%= render 'form' %> 4 | 5 | <%= link_to 'Back', people_path %> 6 | -------------------------------------------------------------------------------- /proxy-backend/app/views/proxy_domain/index.html.erb: -------------------------------------------------------------------------------- 1 |

ProxyDomain#index

2 |

Find me in app/views/proxy_domain/index.html.erb

3 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/chai-jquery/.gitignore: -------------------------------------------------------------------------------- 1 | .settings.xml 2 | node_modules/ 3 | .DS_Store 4 | *.swp 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/ajax/var/rquery.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\?/); 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/rnotwhite.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/\S+/g); 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/css/var/rmargin.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^margin/); 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-frontend/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "proxy", 3 | "version": "0.1.0", 4 | "dependencies": { 5 | "reactable": "~0.10.1" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/react/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react", 3 | "version": "0.12.2", 4 | "main": "react.js", 5 | "ignore": [] 6 | } -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/strundefined.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return typeof undefined; 3 | }); 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *.log 2 | .sass-cache 3 | *.pyc 4 | .idea 5 | .keep 6 | flask-backend-api/ 7 | dump.rdb 8 | proxy-backend/releases/* 9 | proxy-backend/vendor/* 10 | -------------------------------------------------------------------------------- /proxy-backend/bin/bundle: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 3 | load Gem.bin_path('bundler', 'bundle') 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/push.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.push; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/slice.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.slice; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-backend/app/mailers/application_mailer.rb: -------------------------------------------------------------------------------- 1 | class ApplicationMailer < ActionMailer::Base 2 | default from: "noreply.test@gmail.com" 3 | layout 'mailer' 4 | end 5 | -------------------------------------------------------------------------------- /proxy-backend/config/boot.rb: -------------------------------------------------------------------------------- 1 | ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__) 2 | 3 | require 'bundler/setup' # Set up gems listed in the Gemfile. 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/class2type.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // [[Class]] -> type pairs 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/concat.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.concat; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/indexOf.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./arr" 3 | ], function( arr ) { 4 | return arr.indexOf; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/build/.module-cache/manifest/fcf0a1449e059bf673190ccebbcf9f88c23c163d.json: -------------------------------------------------------------------------------- 1 | {".js":"fcf0a1449e059bf673190ccebbcf9f88c23c163d.js"} -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/css/var/cssExpand.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return [ "Top", "Right", "Bottom", "Left" ]; 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/pnum.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/).source; 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-backend/app/views/people/edit.html.erb: -------------------------------------------------------------------------------- 1 |

Editing Person

2 | 3 | <%= render 'form' %> 4 | 5 | <%= link_to 'Show', @person %> | 6 | <%= link_to 'Back', people_path %> 7 | -------------------------------------------------------------------------------- /proxy-backend/app/views/people/index.json.jbuilder: -------------------------------------------------------------------------------- 1 | json.array!(@people) do |person| 2 | json.extract! person, :id, :name 3 | json.url person_url(person, format: :json) 4 | end 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/data/var/data_priv.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/data/var/data_user.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../Data" 3 | ], function( Data ) { 4 | return new Data(); 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/manipulation/var/rcheckableType.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return (/^(?:checkbox|radio)$/i); 3 | }); 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/react/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react", 3 | "version": "0.12.2", 4 | "main": "react.js", 5 | "ignore": [] 6 | } -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/ajax/var/nonce.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core" 3 | ], function( jQuery ) { 4 | return jQuery.now(); 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-backend/config.ru: -------------------------------------------------------------------------------- 1 | # This file is used by Rack-based servers to start the application. 2 | 3 | require ::File.expand_path('../config/environment', __FILE__) 4 | run Rails.application 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - 0.10 4 | before_script: 5 | - export DISPLAY=:99.0 6 | - sh -e /etc/init.d/xvfb start 7 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/es5-shim/shims.json: -------------------------------------------------------------------------------- 1 | { 2 | "Object": { 3 | "prototype": {}, 4 | "keys": "object-keys" 5 | } 6 | } 7 | 8 | -------------------------------------------------------------------------------- /proxy-backend/config/initializers/cookies_serializer.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | Rails.application.config.action_dispatch.cookies_serializer = :json 4 | -------------------------------------------------------------------------------- /proxy-backend/test/mailers/user_mailer_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class UserMailerTest < ActionMailer::TestCase 4 | # test "the truth" do 5 | # assert true 6 | # end 7 | end 8 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/toString.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.toString; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-backend/app/mailers/user_mailer.rb: -------------------------------------------------------------------------------- 1 | class UserMailer < ApplicationMailer 2 | def noproxy_email 3 | mail(to: ENV['RECEIVE_EMAIL'], subject: "no more valid proxy exists") 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150505064404_add_index_to_proxies.rb: -------------------------------------------------------------------------------- 1 | class AddIndexToProxies < ActiveRecord::Migration 2 | def change 3 | add_index :proxies, :proxy, unique: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /proxy-backend/test/mailers/previews/user_mailer_preview.rb: -------------------------------------------------------------------------------- 1 | # Preview all emails at http://localhost:3000/rails/mailers/user_mailer 2 | class UserMailerPreview < ActionMailer::Preview 3 | 4 | end 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/core/var/rsingleTag.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // Match a standalone tag 3 | return (/^<(\w+)\s*\/?>(?:<\/\1>|)$/); 4 | }); 5 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/hasOwn.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./class2type" 3 | ], function( class2type ) { 4 | return class2type.hasOwnProperty; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/var/support.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | // All support tests are defined in their respective modules. 3 | return {}; 4 | }); 5 | -------------------------------------------------------------------------------- /proxy-backend/config/environment.rb: -------------------------------------------------------------------------------- 1 | # Load the Rails application. 2 | require File.expand_path('../application', __FILE__) 3 | 4 | # Initialize the Rails application. 5 | Rails.application.initialize! 6 | -------------------------------------------------------------------------------- /proxy-backend/config/initializers/session_store.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | Rails.application.config.session_store :cookie_store, key: '_proxy-manage_session' 4 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150528012446_change_banned_type.rb: -------------------------------------------------------------------------------- 1 | class ChangeBannedType < ActiveRecord::Migration 2 | def change 3 | change_column :proxy_domains, :banned, :boolean 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /proxy-backend/app/views/proxy/list.html.erb: -------------------------------------------------------------------------------- 1 |

Proxy#index

2 |

Find me in app/views/proxy/index.html.erb

3 | <% for i in 1..@count %> 4 |

fuck

5 | <% end %> 6 |

<%= @count %> fuck

7 | -------------------------------------------------------------------------------- /proxy-frontend/.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /proxy-backend/bin/rake: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | begin 3 | load File.expand_path("../spring", __FILE__) 4 | rescue LoadError 5 | end 6 | require_relative '../config/boot' 7 | require 'rake' 8 | Rake.application.run 9 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150505064417_add_index_to_proxy_domains.rb: -------------------------------------------------------------------------------- 1 | class AddIndexToProxyDomains < ActiveRecord::Migration 2 | def change 3 | add_index :proxy_domains, :proxy, unique: true 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /proxy-frontend/gulp/tasks/watch.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var config = require('../config').watch; 3 | 4 | gulp.task('watch', ['build'], function() { 5 | gulp.watch(config.src, config.tasks); 6 | }); 7 | -------------------------------------------------------------------------------- /proxyspiders/ipool/spiders/__init__.py: -------------------------------------------------------------------------------- 1 | # This package will contain the spiders of your Scrapy project 2 | # 3 | # Please refer to the documentation for information on how to create and manage 4 | # your spiders. 5 | -------------------------------------------------------------------------------- /proxy-backend/config/initializers/mime_types.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Add new mime types for use in respond_to blocks: 4 | # Mime::Type.register "text/richtext", :rtf 5 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150528012742_add_banned_default_value.rb: -------------------------------------------------------------------------------- 1 | class AddBannedDefaultValue < ActiveRecord::Migration 2 | def change 3 | change_column_default :proxy_domains, :banned, false 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150527030533_create_items.rb: -------------------------------------------------------------------------------- 1 | class CreateItems < ActiveRecord::Migration 2 | def change 3 | create_table :items do |t| 4 | 5 | t.timestamps null: false 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150628011705_rename_in_use_in_proxy.rb: -------------------------------------------------------------------------------- 1 | class RenameInUseInProxy < ActiveRecord::Migration 2 | def change 3 | change_column :proxy_domains, :in_use, :integer, :default => 0 4 | end 5 | end 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/css/var/rnumnonpx.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../var/pnum" 3 | ], function( pnum ) { 4 | return new RegExp( "^(" + pnum + ")(?!px)[a-z%]+$", "i" ); 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/gulp/tasks/html.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var config = require('../config').html; 3 | 4 | gulp.task('html', function() { 5 | return gulp.src(config.src) 6 | .pipe(gulp.dest(config.dest)); 7 | }); 8 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/stylesheets/people.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the People controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/stylesheets/proxy.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the proxy controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150527015120_add_country.rb: -------------------------------------------------------------------------------- 1 | class AddCountry < ActiveRecord::Migration 2 | def change 3 | add_column :proxy_domains, :country, :string 4 | add_column :proxies, :country, :string 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/stylesheets/entries.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the entries controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/css/var/getStyles.js: -------------------------------------------------------------------------------- 1 | define(function() { 2 | return function( elem ) { 3 | return elem.ownerDocument.defaultView.getComputedStyle( elem, null ); 4 | }; 5 | }); 6 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/traversing/var/rneedsContext.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../../core", 3 | "../../selector" 4 | ], function( jQuery ) { 5 | return jQuery.expr.match.needsContext; 6 | }); 7 | -------------------------------------------------------------------------------- /proxy-backend/.travis.yml: -------------------------------------------------------------------------------- 1 | language: ruby 2 | rvm: 3 | - 2.2.2p95 4 | # uncomment this line if your project needs to run something other than `rake`: 5 | # script: bundle exec rspec spec 6 | before_script: 7 | - bundle exec rake db:migrate 8 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/stylesheets/proxy_domain.scss: -------------------------------------------------------------------------------- 1 | // Place all the styles related to the ProxyDomain controller here. 2 | // They will automatically be included in application.css. 3 | // You can use Sass (SCSS) here: http://sass-lang.com/ 4 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150414075002_create_entries.rb: -------------------------------------------------------------------------------- 1 | class CreateEntries < ActiveRecord::Migration 2 | def change 3 | create_table :entries do |t| 4 | t.string :name 5 | t.timestamps null: false 6 | end 7 | end 8 | end 9 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150414090857_create_people.rb: -------------------------------------------------------------------------------- 1 | class CreatePeople < ActiveRecord::Migration 2 | def change 3 | create_table :people do |t| 4 | t.string :name 5 | 6 | t.timestamps null: false 7 | end 8 | end 9 | end 10 | -------------------------------------------------------------------------------- /proxy-backend/test/controllers/proxy_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ProxyControllerTest < ActionController::TestCase 4 | test "should get index" do 5 | get :index 6 | assert_response :success 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/event/support.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "../var/support" 3 | ], function( support ) { 4 | 5 | support.focusinBubbles = "onfocusin" in window; 6 | 7 | return support; 8 | 9 | }); 10 | -------------------------------------------------------------------------------- /proxy-backend/app/views/people/show.html.erb: -------------------------------------------------------------------------------- 1 |

<%= notice %>

2 | 3 |

4 | Name: 5 | <%= @person.name %> 6 |

7 | 8 | <%= link_to 'Edit', edit_person_path(@person) %> | 9 | <%= link_to 'Back', people_path %> 10 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150528013108_change_in_use_type.rb: -------------------------------------------------------------------------------- 1 | class ChangeInUseType < ActiveRecord::Migration 2 | def change 3 | change_column :proxy_domains, :in_use, :boolean 4 | change_column_default :proxy_domains, :in_use, false 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/javascripts/people.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/javascripts/proxy.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /proxy-backend/config/initializers/filter_parameter_logging.rb: -------------------------------------------------------------------------------- 1 | # Be sure to restart your server when you modify this file. 2 | 3 | # Configure sensitive parameters which will be filtered from the log file. 4 | Rails.application.config.filter_parameters += [:password] 5 | -------------------------------------------------------------------------------- /proxy-backend/test/controllers/entries_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class EntriesControllerTest < ActionController::TestCase 4 | test "should get sign_in" do 5 | get :sign_in 6 | assert_response :success 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/javascripts/entries.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /proxy-backend/bin/rails: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env ruby 2 | begin 3 | load File.expand_path("../spring", __FILE__) 4 | rescue LoadError 5 | end 6 | APP_PATH = File.expand_path('../../config/application', __FILE__) 7 | require_relative '../config/boot' 8 | require 'rails/commands' 9 | -------------------------------------------------------------------------------- /proxy-backend/db/migrate/20150430035310_add_banned_to_proxy_domains.rb: -------------------------------------------------------------------------------- 1 | class AddBannedToProxyDomains < ActiveRecord::Migration 2 | def change 3 | add_column :proxy_domains, :banned, :string 4 | add_column :proxy_domains, :banned_time, :datetime 5 | end 6 | end 7 | -------------------------------------------------------------------------------- /proxy-backend/spec/supports/helper.rb: -------------------------------------------------------------------------------- 1 | def check_json(json_str, key, expected) 2 | unless json_str.kind_of?(JSON) 3 | json_str = JSON.parse(json_str) 4 | end 5 | 6 | result = json_str[key.to_sym] || json_str[key.to_s] 7 | expect(result).to be(expected) 8 | end 9 | -------------------------------------------------------------------------------- /proxy-backend/test/controllers/proxy_domain_controller_test.rb: -------------------------------------------------------------------------------- 1 | require 'test_helper' 2 | 3 | class ProxyDomainControllerTest < ActionController::TestCase 4 | test "should get index" do 5 | get :index 6 | assert_response :success 7 | end 8 | 9 | end 10 | -------------------------------------------------------------------------------- /proxy-backend/app/assets/javascripts/proxy_domain.coffee: -------------------------------------------------------------------------------- 1 | # Place all the behaviors and hooks related to the matching controller here. 2 | # All this logic will automatically be available in application.js. 3 | # You can use CoffeeScript in this file: http://coffeescript.org/ 4 | -------------------------------------------------------------------------------- /proxy-backend/Rakefile: -------------------------------------------------------------------------------- 1 | # Add your own tasks in files placed in lib/tasks ending in .rake, 2 | # for example lib/tasks/capistrano.rake, and they will automatically be available to Rake. 3 | 4 | require File.expand_path('../config/application', __FILE__) 5 | 6 | Rails.application.load_tasks 7 | -------------------------------------------------------------------------------- /proxy-backend/app/controllers/entries_controller.rb: -------------------------------------------------------------------------------- 1 | class EntriesController < ApplicationController 2 | def sign_in 3 | @name = params[:visitor_name] 4 | if !@name.blank? then 5 | @entry = Entry.create({:name => @name}) 6 | end 7 | @entries = Entry.all 8 | 9 | end 10 | end 11 | -------------------------------------------------------------------------------- /proxy-frontend/gulp/tasks/build.js: -------------------------------------------------------------------------------- 1 | var gulp = require('gulp'); 2 | var connect = require('gulp-connect'); 3 | var config = require('../config').watch; 4 | 5 | gulp.task('build', ['browserify', 'compress', 'styles', 'html'], function() { 6 | gulp.src(config.src).pipe(connect.reload()); 7 | }); 8 | -------------------------------------------------------------------------------- /proxy-frontend/.editorconfig: -------------------------------------------------------------------------------- 1 | # http://editorconfig.org 2 | root = true 3 | 4 | [*] 5 | indent_style = space 6 | indent_size = 2 7 | end_of_line = lf 8 | charset = utf-8 9 | trim_trailing_whitespace = true 10 | insert_final_newline = true 11 | 12 | [*.md] 13 | trim_trailing_whitespace = false 14 | -------------------------------------------------------------------------------- /proxy-backend/app/controllers/application_controller.rb: -------------------------------------------------------------------------------- 1 | class ApplicationController < ActionController::Base 2 | # Prevent CSRF attacks by raising an exception. 3 | # For APIs, you may want to use :null_session instead. 4 | #protect_from_forgery with: :exception 5 | #protect_from_forgery with: :null_session 6 | end 7 | -------------------------------------------------------------------------------- /proxy-frontend/.idea/jsLibraryMappings.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | -------------------------------------------------------------------------------- /proxy-frontend/.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /proxyspiders/scrapy.cfg: -------------------------------------------------------------------------------- 1 | # Automatically created by: scrapy startproject 2 | # 3 | # For more information about the [deploy] section see: 4 | # http://doc.scrapy.org/en/latest/topics/scrapyd.html 5 | 6 | [settings] 7 | default = ipool.settings 8 | 9 | [deploy] 10 | #url = http://localhost:6800/ 11 | project = ipool 12 | -------------------------------------------------------------------------------- /proxy-frontend/app/bower_components/reactable/bower_components/jquery/src/attributes.js: -------------------------------------------------------------------------------- 1 | define([ 2 | "./core", 3 | "./attributes/attr", 4 | "./attributes/prop", 5 | "./attributes/classes", 6 | "./attributes/val" 7 | ], function( jQuery ) { 8 | 9 | // Return jQuery for attributes-only inclusion 10 | return jQuery; 11 | }); 12 | -------------------------------------------------------------------------------- /proxyspiders/ipool/spiders/usproxy.py: -------------------------------------------------------------------------------- 1 | # -*- coding: utf-8 -*- 2 | import scrapy 3 | 4 | 5 | class UsproxySpider(scrapy.Spider): 6 | name = "usproxy" 7 | allowed_domains = ["usproxy.com"] 8 | start_urls = ( 9 | 'http://www.usproxy.com/', 10 | ) 11 | 12 | def parse(self, response): 13 | pass 14 | -------------------------------------------------------------------------------- /proxy-backend/app/models/person.rb: -------------------------------------------------------------------------------- 1 | # == Schema Information 2 | # 3 | # Table name: people 4 | # 5 | # id :integer not null, primary key 6 | # name :string(255) 7 | # created_at :datetime not null 8 | # updated_at :datetime not null 9 | # 10 | 11 | class Person < ActiveRecord::Base 12 | end 13 | -------------------------------------------------------------------------------- /proxy-backend/app/views/entries/sign_in.html.erb: -------------------------------------------------------------------------------- 1 |

Hello <%= @name %>

2 | <%= form_tag :action => 'sign_in' do %> 3 |

Enter your name: 4 | <%= text_field_tag 'visitor_name', @name %>

5 | <%= submit_tag 'Sign in' %> <% end %> 6 | 7 |

Previous visitors:

8 |