#Access to result of successful metalib.overflow()
1 messages · Page 1 of 1 (latest)
Fr have it return on the metaib or actual shell/file/computer objects like obj.user_perm —> root/user/guest/null or just leave it as a string that we can slice cause 100 lines of code to determine that I am guest is annoying
15 lines*
Share pls
It's open source
assortment of scripts for grey hack. Contribute to cloverrfoxx/greyhack development by creating an account on GitHub.
rfile=get_shell.host_computer.File("/home")
if rfile then
for user in rfile.get_folders
if user.name == "guest" then continue // I honestly don't understand why this line is here
if user.has_permission("w") then ruser=user.name
end for
end if
its there because i just decided to have it there ig
I'm just trying to figure it out, I'm not saying this line shouldn't be there
actually it might be because guest tends to be the last user in /home/ so if you do find a user then its also gonna find /home/guest with write perms and say "oh its guest actually"
so its to prevent it from being wrong
thanks for the explanation
¯_(ツ)_/¯
yeah but doesn't it all fall apart when someone changes the permissions of files using chmod?