Hack Forums
[PHP] Fake 404 error page with FireFox support+++ (easy) - Printable Version

+- Hack Forums (https://hackforums.net)
+-- Forum: Tech (https://hackforums.net/forumdisplay.php?fid=444)
+--- Forum: Coding (https://hackforums.net/forumdisplay.php?fid=151)
+---- Forum: Web Development (https://hackforums.net/forumdisplay.php?fid=183)
+---- Thread: [PHP] Fake 404 error page with FireFox support+++ (easy) (/showthread.php?tid=5919117)



Fake 404 error page with FireFox support+++ (easy) - gigajew - Dec 14, 2018

Now supports Firefox



RE: Fake 404 error page (easy) - Bαker - Dec 14, 2018

Really HQ Thread, thank you for this.


RE: Fake 404 error page (easy) - Dotexe - Dec 14, 2018

"// hard exit script" 🤣 🤣 dead


RE: Fake 404 error page (easy) - Nachfolger - Dec 14, 2018

I was looking for a good way to fake 404 pages. Thanks dude.


RE: Fake 404 error page (easy) - gigajew - Dec 14, 2018

(Dec 14, 2018 05:46 PM)Dotexe҆ Wrote:  "// hard exit script"  🤣  🤣  dead

Some free hosts will inject their own content into pages if you don't do this


RE: Fake 404 error page (easy) - newQuery - Dec 15, 2018

(Dec 14, 2018 07:07 PM)gigajew Wrote:  Some free hosts will inject their own content into pages if you don't do this

Competent ones will check if there is an "exit"/"die" and delete it tho 😏


RE: Fake 404 error page (easy) - Nachfolger - Dec 15, 2018

(Dec 15, 2018 06:36 AM)TheZdo Wrote:  Competent ones will check if there is an "exit"/"die" and delete it tho  😏
No. A competent host would not delete a exit or die function. That could expose a giant security flaw in websites. Especially where login and authorization happens.

Besides, if any host is LQ enough to inject ads into their users websites, then you shouldn't be using that host. Free or not, that's bs.


RE: Fake 404 error page with FireFox support+++ (easy) - wheelchair - Dec 28, 2018

Wasn't really looking for one, but I guess to have it in your back pocket doesn't bother anyone.
Thanks a lot.

$browser != 'firefox'   😠


RE: Fake 404 error page with FireFox support+++ (easy) - 0xBB - Dec 28, 2018

Yeeeeeeeeeeah at line 67, you have a possible vulnerability for printing non-sanitized user input. Yes headers can be changed, further info: http://carlos.bueno.org/2008/06/host-header-injection.html