Skip to content

Instantly share code, notes, and snippets.

@lomotech
Last active May 21, 2020 03:19
Show Gist options
  • Save lomotech/3c3f86c80f5dbbad2fad44237c970142 to your computer and use it in GitHub Desktop.
Save lomotech/3c3f86c80f5dbbad2fad44237c970142 to your computer and use it in GitHub Desktop.
Laravel scriptkiddies redirect route
<?php
Route::redirect('admin/.env', 'url_here');
Route::redirect('administrator/.env', 'url_here');
Route::redirect('ads.txt', 'url_here');
Route::redirect('atom.xml', 'url_here');
Route::redirect('config/.env', 'url_here');
Route::redirect('core/Database/.env', 'url_here');
Route::redirect('core/app/.env', 'url_here');
Route::redirect('cron/.env', 'url_here');
Route::redirect('cronlab/.env', 'url_here');
Route::redirect('data/admin/allowurl.txt', 'url_here');
Route::redirect('database/.env', 'url_here');
Route::redirect('dbadmin', 'url_here');
Route::redirect('en/.env', 'url_here');
Route::redirect('.env', 'url_here');
Route::redirect('intro.jsp', 'url_here');
Route::redirect('laravel/.env', 'url_here');
Route::redirect('locale', 'url_here');
Route::redirect('myadmin', 'url_here');
Route::redirect('mysql', 'url_here');
Route::redirect('openserver/phpmyadmin', 'url_here');
Route::redirect('locale', 'url_here');
Route::redirect('password', 'url_here');
Route::redirect('php-my-admin', 'url_here');
Route::redirect('phpmyadmin', 'url_here');
Route::redirect('phpMyAdmin', 'url_here');
Route::redirect('phpmyadmin2', 'url_here');
Route::redirect('phpMyAdmin2', 'url_here');
Route::redirect('phpMyAdmin-2', 'url_here');
Route::redirect('PMA', 'url_here');
Route::redirect('pma', 'url_here');
Route::redirect('public/.env', 'url_here');
Route::redirect('tools/.env', 'url_here');
Route::redirect('sitemap_index.xml', 'url_here');
Route::redirect('sitemap.xml.gz', 'url_here');
Route::redirect('sitemaps.xml', 'url_here');
Route::redirect('user-auth', 'url_here');
Route::redirect('web/.env', 'url_here');
Route::redirect('wordpress', 'url_here');
Route::redirect('wp-login.php', 'url_here');
Route::redirect('wp-admin', 'url_here');
Route::redirect('v1/.env', 'url_here');
Route::redirect('vendor/.env', 'url_here');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment