|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 77
Members: 0
Total: 77
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
Linux shell help no access |
|
Posted: Sun Jan 18, 2009 10:23 am |
|
|
yama420 |
Beginner |
|
|
Joined: Jan 18, 2009 |
Posts: 2 |
|
|
|
|
|
|
|
Ok so after hours of searching I found a website that I was able to upload my shell to and gained access.
Just got home and found out that I am user "nobody" and I can't read /etc/shadow file because the permission is denied. What can I do to possibly view this file or find a way to get the root password?
Yes - I did search and I found nothing helpfull that I could understand because I have 0 experience with linux systems |
|
|
|
|
Posted: Sun Jan 18, 2009 10:49 am |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
If experience is 0 (zero) forget it. |
|
|
|
|
Posted: Sun Jan 18, 2009 10:59 am |
|
|
yama420 |
Beginner |
|
|
Joined: Jan 18, 2009 |
Posts: 2 |
|
|
|
|
|
|
|
I know the basics and I can pretty much figure out what something means in a few minutes. What I meant by 0 was that I don't know the system completely and fully understand how it exactly works. |
|
|
|
|
Posted: Sun Jan 18, 2009 12:19 pm |
|
|
pexli |
Valuable expert |
|
|
Joined: May 24, 2007 |
Posts: 665 |
Location: Bulgaria |
|
|
|
|
|
|
To read /etc/shadow you need root perm and this is impossible in 99.9% of the cases. |
|
|
|
|
Posted: Sun Jan 18, 2009 5:49 pm |
|
|
Henderson |
Valuable expert |
|
|
Joined: Jul 11, 2008 |
Posts: 58 |
|
|
|
|
|
|
|
Code: | I have 0 experience with linux systems |
Then even if you had root access it would be of no use for you lol |
|
|
|
|
Posted: Mon Jan 19, 2009 10:57 pm |
|
|
one23 |
Advanced user |
|
|
Joined: Dec 12, 2008 |
Posts: 98 |
|
|
|
|
|
|
|
well , it was better to do a search on google and then ask your question
as pexli said , you need r00t permission for /etc/shadow
for getting r00t , you have some option but again as pexli said you fail
in 99% ....
1. running local r00t exploit
2. finding files that root's password stored on it ! [ example : /var/www/confixx/config.php ]
3. login in DB , mybe you got access on all db's in server and get the hash password and crack it ...
4. google.com :p
have fun ^^ |
|
|
|
|
Posted: Mon Jan 19, 2009 11:17 pm |
|
|
waraxe |
Site admin |
|
|
Joined: May 11, 2004 |
Posts: 2407 |
Location: Estonia, Tartu |
|
|
|
|
|
|
Find out kernel version:
If it's old and unpatched, then maybe you are lucky enough to find working local root exploit for specific kernel.
Second option is to look for configuration/administration weaknesses, but this needs pro level in linux |
|
|
|
|
www.waraxe.us Forum Index -> Newbies corner
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|