⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 an indepth guide in hacking unix and the concept of basic net.txt

📁 黑客培训教程
💻 TXT
📖 第 1 页 / 共 3 页
字号:
Mail can be sent to several users,just by entering more login name afterissuing the mail command Using mailx is the same format:(This I'll describe very briefly)$mailx johnsubject:(this lets you enter the subject)(line #1)(line #2)(After you finish enter (~.) not the brackets offcourse ,more commands areavailable like ~p,~r,~v,~m,~h,~b etc.)Receiving:----------After you log on to the system you will the account may have mail waiting.You will be notified "you have mail".   To read this enter:       $mail(line #1)(line #2)(line #3)?       $After the message you will be prompted with a question mark.Here you have achoice to delete it by entering d,saving it to view it later s,or just pressenter to view the next message.(DONT BE A SAVANT AND DELETE THE POOR GUYS MAIL)Super user commands:--------------------$sysadm adduser - will take you through a routine to add a user                 (may not last long)Enter this:$ sysadm adduserpassword:(this is what you will see)/--------------------------------------------------------------------------\  Process running succommmand `adduser`       USER MANAGMENT  Anytime you want to quit, type "q".  If you are not sure how to answer any prompt, type "?" for help  If a default appears in the question,press <RETURN> for the default.  Enter users full name [?,q]: (enter the name you want)                  Enter users login ID [?,q]:(the id you want to use)  Enter users ID number (default 50000) [?,q) [?,q]:( press return )  Enter group ID number or group name:(any name from /etc/group)  Enter users login home directory:(enter /usr/name)      This is the information for the new login:  Users name: (name)  login ID:(id)  users ID:50000  group ID or name:       home directory:/usr/name Do you want to install,edit,skip [i,e,s,q]? (enter your choice if "i" then) Login installed Do you want to give the user a password?[y,n] (its better to enter one) New password: Re-enter password:    Do you want to add another login?\----------------------------------------------------------------------------/This is the proccess to add a user.Since you hacked into a super user accountyou can make a super user account by doing the following by entering 0 as anuser and a group ID and enter the home directory as /usr/admin.This will giveyou as much access as the account sysadm**Caution** - Do not use login names like Hacker,Cracker,Phreak etc .This isa total give away.                                                           The process of adding a user wont last very long the S.A will know when hechecks out the /etc/passwd file$sysadm moduser - This utility allows one to modify users.DO NOT ABUSE!!!Password:This is what you'll see:/----------------------------------------------------------------------------\MODIFYING USER'S LOGIN1)chgloginid  (This is to change the login ID)2)chgpassword (Changing password)3)chgshell (Changing directory DEFAULT = /bin/sh)ENTER A NUMBER,NAME,INITIAL PART OF OF NAME,OR ? OR <NUMBER>? FOR HELP,Q TO QUIT ?\----------------------------------------------------------------------------/Try every one of them out.Do not change someones password.It creates a havoc.If you do decide to change it.Please write the original one down somewhereand change back.Try not to leave to many traces after you had your fun.In choice number 1 you will be asked for the login and then the new one.In choice number 2 you will asked for the login and then supplied by it correctpassword and enter a new one.In choice 3 this is used to a pchange the login shell ** Use full **The above utilites can be used separatly for eg( To change a password onecoulfd enter: $sysadm chgpasswd not chapassword ,The rest are same)$sysadm deluser - This is an obviously to delete a userpassword:    This will be the screen output:/---------------------------------------------------------------------------\Running subcommand 'deluser' from menu 'usermgmt'USER MANAGEMENT  This fuction completely removes the user,their mail file,home directoryand all files below their home directory from the machine.Enter login ID you wish to remove[q]:      (eg.cathy)'cathy' belongs to 'Cathy Franklin'whose home directory is /usr/cathyDo you want to remove this login ID 'cathy' ? [y,n,?,q] : /usr/cathy and all files under it have been deleted.Enter login ID you wish to remove [q]:\--------------------------------------------------------------------------/ This command deletes everthing owned by the user.Dont use it even if you haveaccess to it.other super user commands:--------------------------wall [text] control-d  - to send an anouncement to users logged in(will                          override mesg -n command).Execute only from /     /etc/newgrp - is used to become a member of a groupsysadm [program name]        delgroup - delets groups        whoson - self explanatory        lsgroup - Lists group        mklineset -hunts various sequences        lsuser -lists all the users & their logins namesOther commands may require file system to be mounted.                         Basic Networking utility(BNU)                       -----------------------------The BNU is a unique feature in UNIX.Some systems may not have this installed.What BNU does is allow other remote UNIXes communicate with yours withoutlogging off the present one.BNU also allowes file transfer between computers.Most UNIX systems V will have this feature installed.The user program like cu,uux etc are located in the /usr/bin directoryBasic Networking Files:-----------------------/usr/lib/uucp/[file name]  [file name] systems - cu command to establishes link.Contains info on remote computers           name,time it can be reached,login Id,password,telephone numbers devices - inter connected with systems files(Automatic call unit same in two           entries)also cantains baud rate,port tty1 etc.                 dialers - where asscii converation must be made before file tranfers etc. dialcodes - contains abreiviations for phone numbers that can be used in             systems file other files are sysfiles,permissions,poll,devconfigB.N.U Aministrative files:--------------------------There are 5 admnistrative files present.These are files are created in the/usr/spool directory .These A.Files are responsible for various BNU procceseslike kepping records data ,files tranfers bettwenn remote and local and alsousefull to lock devices.TM - This file used to hold temporary data .When tranfering the files from a       remote to local the /usr/spool/uucp/[name of the remote computer ] creates     this in the format of as of below:            TM[Process Identification Number].[ddd]     The ddd is the a 3 digit number (sequential) starting with "0"     Here a typical eg: TM322.012     Then this file is moved into the path defined by the C.sysnxxx fileX.[Execute files] - Created in the /usr/spool before you execute the commands                    in remote.                    The format used to name this file is X.sysnxxx                    where sys stand for the remote name and n is the priority                    level the xxxx is a sequence assingned by the uucp.These                    files always contain the Name of the file ,Comuter & file                    name to recieve,Persons login & computer name and the                    command string.LCK - The lock file created in the /usr/spool/locks directory.The is used when      devices are being used.Prevent usage of the same calling device.           Format used: LCK.str wher the str is a device name.The Lock file contains     the PID needed to lockC.sysnxxx - created in the usr/spool directory.These are the work files.Used              when work is in line,remote execeutions.Format is same as the                 X.sysnxxxx.The works files contain the full path name of the file            to be sent,path name of the destination (TM Transfers),Remote login            name to be notified after the file transmision is complete,Users            login name and the name of the programs used eg.uucp,uupick etc.          D - The data files.Format used is  D.systmxxxxyyy.These files are created when    specified in a command to copy to the spool directory.Eg. By the usage of    uucp -C this will be true.           The systm is the remote name,xxxx is the the 4 digits seq assingned by    the uucp.The yyy is a sub sequence number.Logining on to remote and sending+receiving files------------------------------------------------- cu - This command allows one to log on to the local as well as the remote      Unix (or a non unix)without haveing to hang up so you can transfer files.      Usage:[options]  $ cu [-s baud rate][-o odd parity][-e even parity][-l name of comm line]       telephone number | systemname  To view system names that you can communicate with use the 'unname' command:  Eg. of output of names:   ATT01  ATT02  ATT03  ATT04$ cu -s300 3=9872344 (9872344 is the tel#) connected login: password:local strings:--------------<~.> - will log you off the remote terminal but not the local~! - out you on the local withiout disconnecting the line from remote<control-d> - puts you back on the remote unix~%take [file name] - takes a copy of the file name and copies it to the                     local(the directory which you are in)"%put [file name] - reverse of above~$[command] - allows the execution of a command to the local from remotect         --         ct allows local to connect to remote.Initiates a getty on a remote terminal.Usefull when using a remote terminal.BNU has call back feature that allowsthe user on the remote who can execute a call back meaning the local can callthe remote.[   ] are options$ ct [-h prevent automatic hang up][-s bps rate][-wt set a time to call back     abbrieviated t mins] telephone numberuux          ---        To execute commands on a remote (unix to unix)       usage:[  ] are options$ uux [- use standard output][-n prevent mail notification][-p also use      standard output] command-string                        uucp                              ----             uucp copies files from ones computer to the home directoryof a user in remote system.This also works when copying files from onedirectory to another in the remote.The remote user will be notified by mail.This command becomes use full when copying files from a remote to your localsystem.The uucp requires the uucico daemon will call up the remote and will performfile login sequence,file transfer and notify the user by mail.Daemons are programs runining in the background.The 3 daemons in a Unix areuucico,uusched,uuxqt. Daemons Explained:[nows a good time to explain the 3 daemons] ------------------ uuxqt - Remote execution.This daemon is executed by uudemon.hour started by         cron.UUXQT searchs in the spool directory for executable file         named X.file sent from the remote system.When it finds a file X.file         where it obtains process which are to be executed.The next step is          to find weather the processes are available at the time.The if              available it checks permission and if everthing is o.k it proceeds         the background proccess. uucico - This Daemon is very immportant for it is responsible in establishing          a connection to the remote also checks permission,performs login          procedures,transfers + executes files and also notifies the user          by mail.This daemon is called upon by uucp,uuto,uux commands. uusched - This is executed by the shell script called uudemon.hour           This daemons acts as a randomizer before the UUCICO daemon is           called.Usage of uucp command:$ uucp [options] [first full path name!] file [destination path!] fileexample:$ uucp -m -s bbss hackers unix2!/usr/todd/hackersWhat this would do is send the file hackers from your computer to the remotes/usr/todd/hackers making hackers offcourse as file.todd would mail thata file has been sent to him.The unix2 is the name of the remote.Options for uucp:(Dont forget to type in remotes name unix2 in case)         -c  dont copy files to spool directory-C  copy to spool-s[file name] - this file will contain the file status(above is bbss)-r  Dont start the comm program(uucico) yet-j  print job number(for above eg.unix2e9o3)-m  send mail when file file is completeNow suppose you wanted to receive file called kenya which is in the usr/dan/usa to your home directory /usr/john assuming that the local systems name isATT01 and you are currently working in /usr/dan/usa,you would type in:$uucp kenya ATT01!/usr/john/kenyauuto         ----          The uuto command allows one to send file to remote user and can also be usedto send files locally.Usage:$ uuto [file name] [system!login name]( omit systen name if local)Conclusion:-----------Theres always more one can say about the UNIX but its time to stop.I hope you have enjoyed the article.I apologize for the lenght. I hope Imade the UNIX operating system more familiar.Remember do not abuse any systems you hack into for a true hacker doesn't liketo reck but to learn.I can be reached at (718)358/9209 - Hackers Den88 [2600 BBS #5]Watch for my new article on using PANAMAC airline computers coming soon.                           Red Knight                             P/HUN!                             <<T.S.A.N>>Leached off SSC (713) 497-2312[13] [UNIX system specifics (all versions)](98) Minutes Remaining(G-Files Menu) Command <?-Help>: [X-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-X Another file downloaded from:                     The NIRVANAnet(tm) Seven & the Temple of the Screaming Electron   Taipan Enigma        510/935-5845 Burn This Flag                           Zardoz               408/363-9766 realitycheck                             Poindexter Fortran   510/527-1662 Lies Unlimited                           Mick Freen           801/278-2699 The New Dork Sublime                     Biffnix              415/864-DORK The Shrine                               Rif Raf              206/794-6674 Planet Mirth                             Simon Jester         510/786-6560                          "Raw Data for Raw Nerves"X-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-X

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -