shell bypass 403

GrazzMean Shell

Uname: Linux web3.us.cloudlogin.co 5.10.226-xeon-hst #2 SMP Fri Sep 13 12:28:44 UTC 2024 x86_64
Software: Apache
PHP version: 8.1.31 [ PHP INFO ] PHP os: Linux
Server Ip: 162.210.96.117
Your Ip: 3.134.108.150
User: edustar (269686) | Group: tty (888)
Safe Mode: OFF
Disable Function:
NONE

name : lib64.patch
--- a/installer.rb
+++ b/installer.rb
@@ -281,7 +281,7 @@
 		if install_autoconf_package('source', 'Ruby Enterprise Edition')
 			# Some installed files may have wrong permissions
 			# (not world-readable). So we fix this.
-			if sh("chmod -R g+r,o+r,o-w #{@destdir}#{@prefix}/lib/ruby")
+			if sh("chmod -R g+r,o+r,o-w #{@destdir}#{@prefix}/lib*/ruby")
 				if @using_system_allocator_library &&
 				   !sh("install source/libsystem_allocator.dylib #{@destdir}#{@prefix}/lib/")
 					return false
@@ -307,7 +307,7 @@
 	def install_rubygems
 		# We might be installing into a fakeroot, so add the fakeroot's library
 		# search paths to RUBYLIB so that gem installation will work.
-		basedir = "#{@destdir}#{@prefix}/lib/ruby"
+		basedir = "#{@destdir}#{@prefix}/lib*/ruby"
 		libdir = "#{basedir}/1.8"
 		archname = File.basename(File.dirname(Dir["#{libdir}/*/thread.#{PlatformInfo::RUBYLIBEXT}"].first))
 		extlibdir = "#{libdir}/#{archname}"
© 2025 GrazzMean