Skip to main content

Bypass Symlink 100%

             Bypass Symlink 100%

Hello my friends today i will explain how to bypass any server even the security is 100000000% ^_^

so this method is private but i decided to make it public ^_^


So no need ".htaccess" or "ini.php" or "php.ini" to bypass ^_^

First let me explain some tricks °_°

We know that php use html code , It's a language that can be executed in the command line
So in linux System the users privilege can execute many command in php and we can bypass the configuration ^_^.

As we know in the cpanel server we have an option called "cron job" in the control panel to execute many commands.

For example let's make a file called file.php

CODE:

<?php
phpinfo();
?>

Secondly Go to the cpanel in the server and select "cron job" and add this command :

/usr/local/bin/php -d open_basedir= /home/user/public_html/file.php

As you can see : "/usr/local/bin/php"  It's the command line in php for the user

Note: in some servers it's installed in : "/usr/bin/php"

-d <<<< put the config you want to execute in that file ^_^

open_basedir= <<<< here you put open_basedir empty to Bypass config in "file.php"

/home/user/public_html/file.php <<< here is the path of php file that you want to execute ^_^


Other Bypass example: /usr/local/bin/php -d disable_functions= /home/user/public_html/file.php


Advanced method :

Create a file example "hacks001.php"

CODE:

#!/usr/local/bin/php -d open_basedir=
<?php
phpinfo();
?>

Then just execute the file ^_^

Command: php mauritania.php

Another method to bypass is to execute a perl file and you can read the file easily !

CODE:


#!/usr/bin/perl
symlink ("/home/user/public_html/config.php","/home/user/public_html/test.txt");


So that mean that the admin didn't run php as :

*CGI module
*SUPHP module .
*apache module.
*enable open_basedir and safe_mode .

*"Chmod 000 /bin/ln" =========>>>  the perl file still have the ability to create the links O.o hahaha :D

but even if the admin runs that shit you still can bypass the system ^_^ perl is powerful <3

and if the admin try to disable "/usr/bin/perl" and chmod it to "0700" or less :p it will broke the cpanel ^_^

As it requires to be at "0755" for proper operations, since it is used by customers as well when it suexec into the user when they log into cPanel.

So we cannot change it to that setting "700" , since it breaks the entire system ^_^

*So as you learned today "open_basedir" is the responsible of the mobility between the websites in the shell ^_^
So there is an option Called "Sec info sometimes "Sec" depends of the shell you are using ^_^ Example : C99 shell


We have this that mean that the open base dir is disabled :

"Open base dir: /home/user:/usr/lib/php:/usr/local/lib/php:/tmp"

Okey in some servers you can bypass the security with jumping method , some hackers use

php scanner to scan the whole paths in the server °_° that is wasting of time :3 by putting

url before Linux : serverurl/~user/folder/shell.php °_° very old :s

So i hope you understand  now i uploaded for you a simple tool to bypass "Open Base_dir" :

Comments

Popular posts from this blog

10 Best Forum Software For Webmasters

10 Best Forum Software For Webmasters Do you want to create your online discussion forum or online community where people can discuss about their favorite topics? In this article, you can see 10 best forum software (scripts for setting up discussion forums) that can be used free of cost. Although some scripts are paid but rest of these forum scripts are free to use.You only need to buy hosting space and domain name for your website and after then you can install any of these forum scripts to start your own discussion forums on the internet. Online discussion forums generate huge page views because thousands of people want to join online discussion forums to ask questions or share knowledge. Some of online marketers join forums to discuss about their products with community members. You don't need to acquire any kind of technical skill to run a professional discussion forums because these days, almost all web hosting providers offer one click script installer which h...

|Bypass Symlink on 2013 Server With Different .htaccess and Methods by Sen Haxor |

Hi, Guys,  Please a wonderfull tutorial provided bt Sem;\  Today I gonna Explain how to bypass Symlink on 2013 Server With Different .htaccess and Methods. So let's Get Started :) Note: This method is not applicable for Godaddy, Bluehost, Hostgator and Hostmonstor Servers. For This First You Need the Following Files : 1 -> Sen Haxor CGI Shell 2 -> sen.zip 3 -> passwd-bypass.php 4 -> Turbo Brute force Cpanel 5 - > Port.py First Before Starting to symlink we need to create php.ini and ini.php to Disable Safe mode and Disabled Functions on the server . Use the Following Code : Make a php.ini with the following code safe_mode=Off And ini.php with <? echo ini_get("safe_mode"); echo ini_get("open_basedir"); include($_GET["file"]); ini_restore("safe_mode"); ini_restore("open_basedir"); echo ini_get("safe_mode"); echo...

How to Hack WhatsApp using just a GIF

A picture is worth a thousand words, but a GIF is worth a thousand pictures. Today, the short looping clips, GIFs are everywhere—on your social media, on your message boards, on your chats, helping users perfectly express their emotions, making people laugh, and reliving a highlight. But what if an innocent-looking GIF greeting with Good morning, Happy Birthday, or Merry Christmas message hacks your smartphone? Well, not a theoretical idea anymore. WhatsApp has recently patched a critical security vulnerability in its app for Android, which remained unpatched for at least 3 months after being discovered, and if exploited, could have allowed remote hackers to compromise Android devices and potentially steal files and chat messages. WhatsApp Remote Code Execution Vulnerability The vulnerability, tracked as  CVE-2019-11932 , is a double-free memory corruption bug that doesn't actually reside in the WhatsApp code itself, but in an open-source GIF image parsing library that What...