{"id":21478076,"url":"https://github.com/ichtrojan/laravel-frustration","last_synced_at":"2026-03-02T21:45:00.849Z","repository":{"id":41111934,"uuid":"264199730","full_name":"ichtrojan/laravel-frustration","owner":"ichtrojan","description":"Frustrate unusual users","archived":false,"fork":false,"pushed_at":"2020-05-15T22:23:12.000Z","size":6,"stargazers_count":43,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-17T12:14:55.112Z","etag":null,"topics":["frustrate","frustration","laravel","php","redirect"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ichtrojan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-15T13:23:34.000Z","updated_at":"2022-07-28T15:17:38.000Z","dependencies_parsed_at":"2022-08-21T12:50:44.546Z","dependency_job_id":null,"html_url":"https://github.com/ichtrojan/laravel-frustration","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Flaravel-frustration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Flaravel-frustration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Flaravel-frustration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ichtrojan%2Flaravel-frustration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ichtrojan","download_url":"https://codeload.github.com/ichtrojan/laravel-frustration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226033200,"owners_count":17563126,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["frustrate","frustration","laravel","php","redirect"],"created_at":"2024-11-23T11:16:30.454Z","updated_at":"2026-03-02T21:44:55.797Z","avatar_url":"https://github.com/ichtrojan.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Laravel Frustration\n\n![hero](https://res.cloudinary.com/ichtrojan/image/upload/v1589558568/frstration_ddnv00.png)\n\n## Introduction\n\nThis package main purpose is to \"Frustrate your enemies\". Alright, let's be serious. This package will redirect URL guessers to any of the random URL that you specify. \n\n## Use case\n\nThis is a laravel package but you will have some users that want to access `/wp-admin.php` trying to assume that your application is built on Wordpress. By default, it will return a 404 but let's not let it end there, let's frustrate them.\n\n## Installation\n\nTo install this package run:\n\n```bash\ncomposer install ichtrojan/laravel-frustration\n```\n\nThis will install the madness in this repo.\n\nNext, export the config file by running:\n\n```bash\nphp artisan vendor:publish --tag=frustration\n```\n\nThis will publish the default config in `config/frustration.php`.\n\n## Usage\n\nThe only source of truth is `frustration.php`, here's what it looks like:\n\n```php\n\u003c?php\n\nreturn [\n    'routes' =\u003e [\n        'wp-admin.php', 'index.php', 'wp-login.php'\n    ],\n\n    'redirect' =\u003e [\n        'https://www.fbi.gov/wanted',\n        'https://www.youtube.com/watch?v=pok8H_KF1FA',\n        'https://fast.com',\n        'http://www.omfgdogs.com',\n        'https://cat-bounce.com'\n    ]\n];\n```\n\nthe `routes` key is an array of forbidden routes while the `redirect` key is an array of random URLs that you decide to redirect your victims to.\n\n\u003e**NOTE**\u003cbr/\u003e\n\u003e * The forbidden routes should exist without the forward-slash `/`\n\u003e * It will be nice to sneak in pornhub in there, just saying 🤫\n\n## Conclusion\n\nI want to do more with this package, probably when I get bored next. Special thanks to Vibes and Insha-Allah. Please if you find any issue or have a cool feature idea do send in a PR.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichtrojan%2Flaravel-frustration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fichtrojan%2Flaravel-frustration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fichtrojan%2Flaravel-frustration/lists"}