PHPackages                             ichtrojan/laravel-frustration - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. ichtrojan/laravel-frustration

ActiveLibrary[Security](/categories/security)

ichtrojan/laravel-frustration
=============================

A package to frustrate URL attackers

v1.0.0(5y ago)43102MITPHPCI failing

Since May 15Pushed 5y ago2 watchersCompare

[ Source](https://github.com/ichtrojan/laravel-frustration)[ Packagist](https://packagist.org/packages/ichtrojan/laravel-frustration)[ RSS](/packages/ichtrojan-laravel-frustration/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (4)Versions (2)Used By (0)

Laravel Frustration
===================

[](#laravel-frustration)

[![hero](https://camo.githubusercontent.com/868eab8c9c43abb9dd25d2206565033ab75fba8df1ae4040cf09fccdbd4ab63e/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f69636874726f6a616e2f696d6167652f75706c6f61642f76313538393535383536382f66727374726174696f6e5f64646e7630302e706e67)](https://camo.githubusercontent.com/868eab8c9c43abb9dd25d2206565033ab75fba8df1ae4040cf09fccdbd4ab63e/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f69636874726f6a616e2f696d6167652f75706c6f61642f76313538393535383536382f66727374726174696f6e5f64646e7630302e706e67)

Introduction
------------

[](#introduction)

This 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.

Use case
--------

[](#use-case)

This 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.

Installation
------------

[](#installation)

To install this package run:

```
composer install ichtrojan/laravel-frustration
```

This will install the madness in this repo.

Next, export the config file by running:

```
php artisan vendor:publish --tag=frustration
```

This will publish the default config in `config/frustration.php`.

Usage
-----

[](#usage)

The only source of truth is `frustration.php`, here's what it looks like:

```
