Well, it is that special time when all young newbies must learn file permissions, they are not that hard, so dont worry!
d = directory
r = readable
w = writable
x = executable
lets take this example:
-rwxrwxrwx that is a file permission! Beautiful, aint it? :-)
the first part of any file permission is the user, second is group and third is other (everyone).
another example:
-rwxr--r--
this is readable, writable, and executable for the user, but only readable by the group, and other.
see, not so hard, is it?
if you ever see a c in a file permission, it means that it is a character special file, and a b means it is a block special file.
brw---------
this one is a block special file that is only readable by the user. The user, by the way, is the person who owns the file, the group is the group owner of the file, and other is everyone.
OK, you want to use rlogin? well, i am gonna tell you how and some secrets about it also!
the shell you want to rlogin to must have a file in the users home directory called .rhosts, this file is VERY important, and I will tell you why in a moment, right now
lets just learn how to user rlogin
ok, type in rlogin -l username host.com i think that is the correct format..i am not sure i never use it much myself, i am a telnet man! :-D
If you are doing this on a shell account you hacked, or just hacked into a shell account and saw the .rhosts file, get back in there and change it!
To ensure that you can get in without even knowing the password if the person changes it but overlooks the .rhosts file, go in and erase everything and type in a + + that is a plus space plus in the
.rhosts file, then save the file and there you have it! you can rlogin to the shell without a passwd now unless someone changes it back.
Ok, you dont want to use rlogin or cant use rlogin, telnet, your faithful friend, is always there to make
everything better. To use telnet in a unix/linux shell, many people say to type in telnet yourhost port number example: telnet nowhere.com 23
DONT DO IT! If you are using bash, or sh might be just a link to bash, it will log where you telneted to in the history and if the root dude at nowhere.com (the place you hacked)
contacts your root dude and tells him, root will be snooping around and see that and bye bye Mr. Hacker!
Just type in telnet and enter
then open hostcomputer portnumber example:
telnet <enter>
open nowhere.com 23
and there you have it, just login there under your cracked account.
Note: You will want to telnet thru 2 or more hosts before going into your cracked
account so your IP will be hidden by the other hosts, they can still track you down, but it is unlikely they
will if you didnt cause any problems, they probably wont go thru all the trouble if you go in, dont harm anything, and leave quietly.
Thats about it for now, keep an eye out for other texts i will write about unix hacking ( i know this hasnt been the best unix hacking text in the world, but it wasnt ment to be,
this was just to teach you about unix, not really about hacking unix! :-) that will come later)
Knowledge is Power, and with power comes a responsibility.
Darksoul
http://homepages.hack-net.com/theden/darksoul/
darksouls_domain@hotmail.com
This article can be distributed as many times as you want just as long as you leave this section here (that includes my name and email addy) and please dont change anything on this text without