Waraxe IT Security Portal
Login or Register
November 24, 2024
Menu
Home
Logout
Discussions
Forums
Members List
IRC chat
Tools
Base64 coder
MD5 hash
CRC32 checksum
ROT13 coder
SHA-1 hash
URL-decoder
Sql Char Encoder
Affiliates
y3dips ITsec
Md5 Cracker
User Manuals
AlbumNow
Content
Content
Sections
FAQ
Top
Info
Feedback
Recommend Us
Search
Journal
Your Account
User Info
Welcome, Anonymous
Nickname
Password
(Register)

Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144

People Online:
Visitors: 72
Members: 0
Total: 72
Full disclosure
APPLE-SA-11-19-2024-5 macOS Sequoia 15.1.1
Local Privilege Escalations in needrestart
APPLE-SA-11-19-2024-4 iOS 17.7.2 and iPadOS 17.7.2
APPLE-SA-11-19-2024-3 iOS 18.1.1 and iPadOS 18.1.1
APPLE-SA-11-19-2024-2 visionOS 2.1.1
APPLE-SA-11-19-2024-1 Safari 18.1.1
Reflected XSS - fronsetiav1.1
XXE OOB - fronsetiav1.1
St. Poelten UAS | Path Traversal in Korenix JetPort 5601
St. Poelten UAS | Multiple Stored Cross-Site Scripting in SEH utnserver Pro
Apple web content filter bypass allows unrestricted access to blocked content (macOS/iOS/iPadOS/visionO S/watchOS)
SEC Consult SA-20241112-0 :: Multiple vulnerabilities in Siemens Energy Omnivise T3000 (CVE-2024-38876, CVE-2024-38877, CVE-2024-38878, CVE-2024-38879)
Security issue in the TX Text Control .NET Server for ASP.NET.
SEC Consult SA-20241107-0 :: Multiple Vulnerabilities in HASOMED Elefant and Elefant Software Updater
Unsafe eval() in TestRail CLI
Log in Register Forum FAQ Memberlist Search
IT Security and Insecurity Portal

www.waraxe.us Forum Index -> Newbies corner -> Linux shell help no access
Post new topicReply to topic View previous topic :: View next topic
Linux shell help no access
PostPosted: Sun Jan 18, 2009 10:23 am Reply with quote
yama420
Beginner
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
View user's profile Send private message
PostPosted: Sun Jan 18, 2009 10:49 am Reply with quote
pexli
Valuable expert
Valuable expert
Joined: May 24, 2007
Posts: 665
Location: Bulgaria




If experience is 0 (zero) forget it.
View user's profile Send private message
PostPosted: Sun Jan 18, 2009 10:59 am Reply with quote
yama420
Beginner
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.
View user's profile Send private message
PostPosted: Sun Jan 18, 2009 12:19 pm Reply with quote
pexli
Valuable expert
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.
View user's profile Send private message
PostPosted: Sun Jan 18, 2009 5:49 pm Reply with quote
Henderson
Valuable expert
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
View user's profile Send private message
PostPosted: Mon Jan 19, 2009 10:57 pm Reply with quote
one23
Advanced user
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 ^^
View user's profile Send private message
PostPosted: Mon Jan 19, 2009 11:17 pm Reply with quote
waraxe
Site admin
Site admin
Joined: May 11, 2004
Posts: 2407
Location: Estonia, Tartu




Find out kernel version:

Code:

cat /proc/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 Smile
View user's profile Send private message Send e-mail Visit poster's website
Linux shell help no access
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

Post new topicReply to topic


Powered by phpBB © 2001-2008 phpBB Group



Space Raider game for Android, free download - Space Raider gameplay video - Zone Raider mobile games
All logos and trademarks in this site are property of their respective owner. The comments and posts are property of their posters, all the rest (c) 2004-2024 Janek Vind "waraxe"
Page Generation: 0.042 Seconds