[RP] [Jammy] XSS Exploit Corporation Fix

Ari

Member
Sep 29, 2010
320
48
1. delete jobs_index.php

2. open jobs_create.php

3. find:
Code:
$corp_name = $input->FilterText($_POST['corp_name']);

4. Add under that:
Code:
$corp_name = preg_replace("/[^a-zA-Z0-9\s]/", "", $corp_name);

This is a simple one line code -.-
 

Sledmore

Chaturbate Livestreamer
Staff member
FindRetros Moderator
Jul 24, 2010
5,194
3,901
Rofl, why not just use:

PHP:
 $corp_name = strip_tags($input->FilterText($_POST['corp_name']));
Effect:

Or:

PHP:
 $corp_name = htmlentities($input->FilterText($_POST['corp_name']));
Effect :

- Thanks.
 

Ari

Member
Sep 29, 2010
320
48
Rofl, why not just use:

PHP:
 $corp_name = strip_tags($input->FilterText($_POST['corp_name']));

Or:

PHP:
 $corp_name = htmlentities($input->FilterText($_POST['corp_name']));

- Thanks.
that is better way i'm noob at php -.-
 

Users who are viewing this thread

Top