Vcoderz Community
We create websites that have it all, beauty & brains
Lebanon Web Design & Development - Coddict
 

Go Back   Vcoderz Community > Computer Zone > Computers & Information Technologies > E-Learning Center

Notices

E-Learning Center « E-Learning tutorials and competitions. »

Reply
 
Share Thread Tools Search this Thread
Old 06-10-2008   #21
HizbullaH
Registered Member
 
HizbullaH's Avatar
 
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Ah Eh Ghalta Matba3eyye Menne Not More


__________________
من؟ من سينزع سلاح حزب الله!؟
HizbullaH is offline   Reply With Quote
Old 06-16-2008   #22
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Also this challenge took enough time... so I will post the solution...
First of all the persons who solved this challenge are:
Tinman, polo (Only these two guys!!!)

The solution:
This challenge IS easy for those who know Unix commands...
It was straight forward, and I don't think that finding the letters behind the stars was a big problem and especially after I gave a hint...
Anyways, the three commands are respectively:

chmod a+x logs.txt
rm logs.txt
rm logs/track_logs.php

Google is offline   Reply With Quote
The Following User Says Thank You to Google For This Useful Post:
Sogelec (06-16-2008)
Old 06-17-2008   #23
HizbullaH
Registered Member
 
HizbullaH's Avatar
 
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Sorry Bro But There Is Something Wrong With Your Solution Also ( Another Than If You Don't Have Permissions On The File You Can't chmod It, I Will Ignore That )
But Let's Say You Are Able To Give It Some Permissions, As I Saw From "chmod a+x" That You Gave It Execute Permissions For User, Group, And Others! But To Delete A File You Need Write Permissions Man
Ya3ni Let's Say That The log.txt's Permissions Was -rw-r--r-- Which Means 644, If You Did That "chmod a+x logs.txt" or "chmod 755 logs.txt" (The Same) The Permissions Will Bi Like So -rwxr-xr-x, And Though You Have No Write Permissions So You Can't Delete!!
So Your First Command Must Be Even "chmod a+rwx logs.txt" or "chmod 777 logs.txt"

Thanks
__________________
من؟ من سينزع سلاح حزب الله!؟
HizbullaH is offline   Reply With Quote
Old 06-17-2008   #24
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Quote:
Originally Posted by HizbullaH View Post
Sorry Bro But There Is Something Wrong With Your Solution Also ( Another Than If You Don't Have Permissions On The File You Can't chmod It, I Will Ignore That )
But Let's Say You Are Able To Give It Some Permissions, As I Saw From "chmod a+x" That You Gave It Execute Permissions For User, Group, And Others! But To Delete A File You Need Write Permissions Man
Ya3ni Let's Say That The log.txt's Permissions Was -rw-r--r-- Which Means 644, If You Did That "chmod a+x logs.txt" or "chmod 755 logs.txt" (The Same) The Permissions Will Bi Like So -rwxr-xr-x, And Though You Have No Write Permissions So You Can't Delete!!
So Your First Command Must Be Even "chmod a+rwx logs.txt" or "chmod 777 logs.txt"

Thanks
HizbullaH my dear, don't judge things and say they are wrong without reading, checking and making sure that they are wrong...
I'm not going to reply to what you wrote because what I wrote before was so clear...

I wrote:
Ya3ne we are supposing that you have the ability to change permissions but in the same time you are not a root...
And we are supposing also that the file permission is rw- (without the execute)...
You need to change the permission of the file in order to see if your name is on the list of the most wanted (That's waht the story says )


Thanks.
Google is offline   Reply With Quote
Old 06-17-2008   #25
HizbullaH
Registered Member
 
HizbullaH's Avatar
 
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

ok ma3ash 7a etdakhal...
but the idea was totally wrong, i am not saying the idea of the challenge, but i meant the idea of changing permissions and so... you can ask any linux user here in the forum... ask xcoder
what i am telling you is to start with them from a write base...
because if you are building a house with a wrong base, it will fall down
don't take anything personally, we are here to help... that doesn't mean if i have a wrong idea and i'm sharing it that you must not come and tell me

don't take anything personal

thanks
__________________
من؟ من سينزع سلاح حزب الله!؟
HizbullaH is offline   Reply With Quote
Old 06-17-2008   #26
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Quote:
Originally Posted by HizbullaH View Post
ok ma3ash 7a etdakhal...
but the idea was totally wrong, i am not saying the idea of the challenge, but i meant the idea of changing permissions and so... you can ask any linux user here in the forum... ask xcoder
what i am telling you is to start with them from a write base...
because if you are building a house with a wrong base, it will fall down
don't take anything personally, we are here to help... that doesn't mean if i have a wrong idea and i'm sharing it that you must not come and tell me

don't take anything personal

thanks
Things to mention:

-I'm not taking anything as personal, I don't know why are you thinking that way...
And don't say "
ok ma3ash 7a etdakhal", no one is putting restrictions on you or don't want you to talk...
-The challenge was very clear, I told the user everything (cherbayne yehon bel mal3a) what he have to do...
-Like I said before, maybe the scenario wasn't clear from the beginning, but this does bot mean that the user cannot solve the challenge (2 members solved the challenge)... However I clarified the challenge story after...
-You have to stick to the rules... and what I meant by this phrase is that "this is a challenge and not a tutorial"... the challenge maker is free to put the challenge environment and rules like he want...
-So the idea of changing permissions is not wrong in this challenge...
-I'm not the one who needs to ask Unix users... I'm currently upgrading SOLARIS and writing my own changes...(Just for the info)
-About the house thing... I repeat: This is a challenge not a tutorial!

Edit:
A similar challenge is on a professional hacking site... so if you want HizbullaH I can pm you with the site URL.

Last edited by Google; 06-17-2008 at 09:12 PM.
Google is offline   Reply With Quote
Old 06-18-2008   #27
polo
Registered Member
 
polo's Avatar
 
Last Online: 03-25-2010
Join Date: May 2008
Posts: 77
Thanks: 20
Thanked 23 Times in 18 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Quote:
Originally Posted by 454447415244 View Post

A similar challenge is on a professional hacking site...
Did they copy the challenge from here ?
polo is offline   Reply With Quote
Old 06-18-2008   #28
HizbullaH
Registered Member
 
HizbullaH's Avatar
 
Last Online: 09-06-2011
Join Date: Oct 2006
Posts: 397
Thanks: 262
Thanked 215 Times in 87 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Quote:
Originally Posted by 454447415244;142444[B
A similar challenge is on a professional hacking site... so if you want HizbullaH I can pm you with the site URL.[/B]
Send Me The Link...
But Just Solve My Problem
chmod 777 logs.txt
rm logs.txt
rm logs/track_logs.php
It Is Not Working
__________________
من؟ من سينزع سلاح حزب الله!؟
HizbullaH is offline   Reply With Quote
Old 06-19-2008   #29
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Quote:
Originally Posted by HizbullaH View Post
Send Me The Link...
But Just Solve My Problem
chmod 777 logs.txt
rm logs.txt
rm logs/track_logs.php
It Is Not Working
I think that I mentioned the solution before no?
There is only one solution for this challenge!
I was clear when I mentioned to use a+x ...
So do not drift out of the challenge
This challenge took me 10 minutes to prepare, I didn't simulated a whole Unix environement... so 3amahlak 3layna
Google is offline   Reply With Quote
Old 06-19-2008   #30
Google

 
Google's Avatar
 
Last Online: 05-30-2013
Join Date: Jan 2008
Posts: 1,788
Thanks: 10,018
Thanked 1,100 Times in 651 Posts
Groans: 1
Groaned at 6 Times in 6 Posts
Default Re: Unix Saved My life... (Unix Challenge 1)

Quote:
Originally Posted by polo View Post
Did they copy the challenge from here ?
Actually they didn't...
All the challenges I posted here are typical challenges...

So If you go to other sites that provides hacking challenges, you will notice that the challenges are similar...
For example: In lebanon each school teach its students mathematics in a different book, but all these books are sharing the same points and idea...
Google is offline   Reply With Quote
Reply

  Vcoderz Community > Computer Zone > Computers & Information Technologies > E-Learning Center

Tags
challenge, life, saved, unix



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:05 AM.


Lebanon web design and development
Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Share