Welcome to World of IPTV

Join us now to get access to all our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, and so, so much more. It's also quick and totally free, so what are you waiting for?

Forum Rules

Our Rules: Read to avoid getting banned!

Advertising

Introduce Yourself to the World with Us!

Resource Database

Find the newest resources around IPTV!

Account upgrade

Upgrade your account to unlock more benefits!

Tutorial EXPLOIT FIX for XtreamUI

Professor

Basic Member
Basic Member
Joined
Oct 21, 2022
Messages
29
Reaction score
689
Points
89
Location
Spain
Open the functions.php file in the admin folder

search for:
function called: hasPermissions($rType, $rID)

in the end code find:
if ((count($rPermissions["advanced"]) > 0) && ($rUserInfo["member_group_id"] <> 1)) {

return in_array($rID, $rPermissions["advanced"]);

} else {

return true;

}

replace it with:
if ((count($rPermissions["advanced"]) > 0) && ($rUserInfo["member_group_id"] >= 1)) {

return in_array($rID, $rPermissions["advanced"]);

}

Do not forget set the correct permissions after editing the file !
 
Last edited by a moderator:
Open the functions.php file in the admin folder

search for:


in the end code find:


replace it with:
And what do this fix do? Yes it locks you out of the admin panel?

And what do this fix do? Yes it locks you out of the admin panel?
Yes works if you have admin profile on ID 1 and correct permissions
 
Last edited:
shape1
shape2
shape3
shape4
shape5
shape6
Back
Top