├── version.txt ├── app ├── Listeners │ └── .gitkeep ├── Policies │ └── .gitkeep ├── Services │ ├── Data │ │ └── LinkDataServices.php │ ├── UrlServices.php │ └── MetaDataService.php ├── Events │ └── Event.php ├── Http │ ├── Requests │ │ └── Request.php │ ├── Middleware │ │ ├── EncryptCookies.php │ │ ├── VerifyCsrfToken.php │ │ ├── AjaxMiddleware.php │ │ ├── RedirectIfAuthenticated.php │ │ └── Authenticate.php │ ├── routes.php │ ├── Controllers │ │ ├── HomeController.php │ │ ├── Controller.php │ │ ├── RedirectController.php │ │ ├── ShortenLinkController.php │ │ └── Auth │ │ │ └── AuthController.php │ └── Kernel.php ├── Models │ ├── Link.php │ └── User.php ├── Jobs │ └── Job.php ├── Console │ ├── Commands │ │ └── Inspire.php │ └── Kernel.php ├── Providers │ ├── AuthServiceProvider.php │ ├── EventServiceProvider.php │ ├── AppServiceProvider.php │ └── RouteServiceProvider.php ├── Exceptions │ └── Handler.php └── Helpers │ └── Helpers.php ├── database ├── seeds │ ├── .gitkeep │ └── DatabaseSeeder.php ├── .gitignore ├── migrations │ ├── .gitkeep │ ├── 2000_01_11_000000_install_or_update_database_tables.php │ ├── 2016_03_14_211254_create_user_tables.php │ ├── 2016_03_14_204223_create_system_tables.php │ └── 2016_03_15_095138_create_new_links_table.php └── factories │ └── ModelFactory.php ├── resources ├── views │ ├── .gitkeep │ ├── errors │ │ ├── 404.blade.php │ │ ├── 403.blade.php │ │ ├── 503.blade.php │ │ └── error.blade.php │ ├── layouts │ │ ├── section │ │ │ ├── header.blade.php │ │ │ └── footer.blade.php │ │ └── base.blade.php │ ├── anonymous.blade.php │ └── home.blade.php ├── assets │ ├── sass │ │ ├── app.scss │ │ └── anon.to.scss │ └── js │ │ └── app.js └── lang │ └── en │ ├── pagination.php │ ├── auth.php │ ├── passwords.php │ └── validation.php ├── bootstrap ├── cache │ └── .gitignore ├── autoload.php └── app.php ├── storage ├── debugbar │ └── .gitignore ├── logs │ └── .gitignore ├── app │ ├── public │ │ └── .gitignore │ └── .gitignore └── framework │ ├── cache │ └── .gitignore │ ├── views │ └── .gitignore │ ├── sessions │ └── .gitignore │ └── .gitignore ├── public ├── robots.txt ├── favicon.ico ├── favicon.png ├── fonts │ ├── glyphicons-halflings-regular.eot │ ├── glyphicons-halflings-regular.ttf │ ├── glyphicons-halflings-regular.woff │ └── glyphicons-halflings-regular.woff2 ├── .htaccess ├── web.config ├── index.php └── js │ ├── html5shiv.respond.min.js │ └── app.js ├── .gitattributes ├── package.json ├── bower.json ├── .gitignore ├── tests ├── ExampleTest.php └── TestCase.php ├── server.php ├── .env.example ├── readme.md ├── compile.sh ├── compile.bat ├── phpunit.xml ├── gulpfile.js ├── config ├── compile.php ├── services.php ├── view.php ├── broadcasting.php ├── filesystems.php ├── cache.php ├── queue.php ├── auth.php ├── mail.php ├── database.php ├── session.php └── app.php ├── artisan └── composer.json /version.txt: -------------------------------------------------------------------------------- 1 | 1458302446 -------------------------------------------------------------------------------- /app/Listeners/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/Policies/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /database/seeds/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /resources/views/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /database/.gitignore: -------------------------------------------------------------------------------- 1 | *.sqlite 2 | -------------------------------------------------------------------------------- /database/migrations/.gitkeep: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /app/Services/Data/LinkDataServices.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /bootstrap/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/debugbar/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /storage/logs/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /public/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: 3 | -------------------------------------------------------------------------------- /storage/app/public/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/app/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !public/ 3 | !.gitignore 4 | -------------------------------------------------------------------------------- /storage/framework/cache/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/views/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /storage/framework/sessions/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore 3 | -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | *.css linguist-vendored 3 | *.less linguist-vendored 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derekcsm/anon.to/master/public/favicon.ico -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/derekcsm/anon.to/master/public/favicon.png -------------------------------------------------------------------------------- /app/Events/Event.php: -------------------------------------------------------------------------------- 1 | getMessage() }} 8 | @endsection 9 | -------------------------------------------------------------------------------- /app/Http/Requests/Request.php: -------------------------------------------------------------------------------- 1 | call(UsersTableSeeder::class); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "anon.to", 3 | "version": "1.0.0", 4 | "license": "MIT", 5 | "dependencies": { 6 | "jquery": "latest", 7 | "bootstrap-sass": "latest", 8 | "bootswatch": "latest", 9 | "fontawesome": "latest", 10 | "sweetalert": "latest", 11 | "Respond": "latest", 12 | "html5shiv": "latest" 13 | } 14 | } 15 | -------------------------------------------------------------------------------- /resources/views/errors/403.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors.error') 2 | 3 | @section('page_title') 4 | @endsection 5 | 6 | @section('error_title') 7 | Error 403: {{ $exception->getMessage() }} 8 | @endsection 9 | 10 | @section('message') 11 |
You shall not pass! Unauthorized access to this page is prohibited.
12 | @endsection 13 | -------------------------------------------------------------------------------- /app/Http/Middleware/EncryptCookies.php: -------------------------------------------------------------------------------- 1 | ['web']], function () { 4 | Route::get('csrf', function () { 5 | return csrf_token(); 6 | })->middleware(['ajax']);; 7 | 8 | Route::post('shorten', 'ShortenLinkController@shorten')->middleware(['ajax', 'throttle:20,1']); 9 | }); 10 | 11 | Route::get('/{key}', 'RedirectController@redirect')->where('key', '[A-Za-z0-9]{6}'); 12 | Route::get('/', 'HomeController@index'); -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Ignore files # 2 | /vendor 3 | /node_modules 4 | /bower_components 5 | Homestead.yaml 6 | Homestead.json 7 | schema.sql 8 | composer.phar 9 | composer.lock 10 | .env 11 | *.map 12 | 13 | # OS generated files # 14 | .DS_Store 15 | .DS_Store? 16 | ._* 17 | .Spotlight-V100 18 | .Trashes 19 | ehthumbs.db 20 | Thumbs.db 21 | *.TMP 22 | 23 | # IDE generated files # 24 | /.idea 25 | /.phpstorm.meta.php 26 | /_ide_helper.php 27 | /_ide_helper_models.php 28 | -------------------------------------------------------------------------------- /resources/views/errors/503.blade.php: -------------------------------------------------------------------------------- 1 | @extends('errors.error') 2 | 3 | @section('page_title') 4 | @endsection 5 | 6 | @section('content') 7 |The hamsters powering our server are taking a break. They should be back in couple of minutes.
12 |The requested URL was not found on this server. Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly.
14 | @show 15 |16 | Go Back 17 | Go to Home Page 18 |
19 |Create a secure anonymous short link from your url which also hides http referer!
11 | {!! Form::open(['files'=>false, 'url'=>url('shorten'), 'id'=>'form_shortener', 'class' => '', 'role'=>'form']) !!} 12 |Do you want to link anonymously to other web sites without sending any referrer?
32 |Use {{ parse_url(env('APP_URL'), PHP_URL_HOST) }} to de-referer or null-referer your links.
33 |Just put {{ env('APP_URL') }}/? in front of your links. Eg: 34 | {{ env('APP_URL') }}/?http://www.google.com
35 |We are SSL Secured.
43 |We don't keep logs.
49 |We hide your original referrer.
55 |