<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>technical journal of the world</title>
	<atom:link href="http://techntech.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://techntech.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Thu, 19 Feb 2009 16:45:59 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='techntech.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://0.gravatar.com/blavatar/a5fe673d22e5309ff9657078acb9345d?s=96&#038;d=http%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>technical journal of the world</title>
		<link>http://techntech.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://techntech.wordpress.com/osd.xml" title="technical journal of the world" />
	<atom:link rel='hub' href='http://techntech.wordpress.com/?pushpress=hub'/>
		<item>
		<title>A BEGINNERS GUIDE TO: H A C K I N G  U N I X</title>
		<link>http://techntech.wordpress.com/2009/02/19/a-beginners-guide-to-h-a-c-k-i-n-g-u-n-i-x/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/a-beginners-guide-to-h-a-c-k-i-n-g-u-n-i-x/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:27:24 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[computer tips and tricks]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://techntech.wordpress.com/?p=31</guid>
		<description><![CDATA[**************************************  *       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 [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=31&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>**************************************  *       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 &#8220;UNIX&#8221;.    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  &#8220;ELMOS&#8221;. 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&#8217;S.  THEIR RESULT THEY CALLED  XENIX (PRONOUNCED ZEE-NICKS).  BOTH  UNIX AND XENIX CAN BE EASILY INSTALLED<br />
ON IBM PC&#8217;S AND OFFER THE SAME FUNCTION<br />
(JUST 2 DIFFERENT VENDORS).</p>
<p>NOTE: DUE TO THE MANY DIFFERENT<br />
VERSIONS OF UNIX (BERKLEY UNIX,<br />
BELL SYSTEM III, AND SYSTEM V<br />
THE MOST POPULAR) MANY COMMANDS<br />
FOLLOWING MAY/MAY NOT WORK. I HAVE<br />
WRITTEN THEM IN SYSTEM V ROUTINES.<br />
UNIX/XENIX OPERATING SYSTEMS WILL<br />
BE CONSIDERED IDENTICAL SYSTEMS BELOW.</p>
<p>HOW TO TELL IF/IF NOT YOU ARE ON A<br />
UNIX SYSTEM:  UNIX SYSTEMS ARE QUITE<br />
COMMON SYSTEMS ACROSS THE COUNTRY.<br />
THEIR SECURITY APPEARS AS SUCH:</p>
<p>LOGIN;     (OR LOGIN;)<br />
PASSWORD:</p>
<p>WHEN HACKING ON A UNIX SYSTEM IT IS<br />
BEST TO USE LOWERCASE BECAUSE THE UNIX<br />
SYSTEM COMMANDS ARE ALL DONE IN LOWER-<br />
CASE.<br />
LOGIN; IS A 1-8 CHARACTER FIELD. IT IS<br />
USUALLY THE NAME (I.E. JOE OR FRED)<br />
OF THE USER, OR INITIALS (I.E. J.JONES<br />
OR F.WILSON).  HINTS FOR LOGIN NAMES<br />
CAN BE FOUND TRASHING THE LOCATION OF<br />
THE DIAL-UP (USE YOUR CN/A TO FIND<br />
WHERE THE COMPUTER IS).<br />
PASSWORD: IS A 1-8 CHARACTER PASSWORD<br />
ASSIGNED BY THE SYSOP OR CHOSEN BY THE<br />
USER.<br />
COMMON DEFAULT LOGINS<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
LOGIN;       PASSWORD:<br />
ROOT         ROOT,SYSTEM,ETC..<br />
SYS          SYS,SYSTEM<br />
DAEMON       DAEMON<br />
UUCP         UUCP<br />
TTY          TTY<br />
TEST         TEST<br />
UNIX         UNIX<br />
BIN          BIN<br />
ADM          ADM<br />
WHO          WHO<br />
LEARN        LEARN<br />
UUHOST       UUHOST<br />
NUUCP        NUUCP</p>
<p>IF YOU GUESS A LGIN NAME AND YOU ARE<br />
NOT ASKED FOR A PASSWORD, AND HAVE<br />
ACCESSED TO THE SYSTEM, THEN YOU HAVE<br />
WHAT IS KNOWN AS A NON-GIFTED ACCOUNT.<br />
IF YOU GUESS A CORRECT LOGIN AND PASS-<br />
WORD, THEN YOU HAVE A USER ACCOUNT.<br />
AND, IF YOU GUESS THE ROOT PASSWORD,<br />
THEN YOU HAVE A &#8220;SUPER-USER&#8221; ACCOUNT.<br />
ALL UNIX SYSTEMS HAVE THE FOLLOWING<br />
INSTALLED TO THEIR SYSTEM:<br />
ROOT, SYS, BIN, DAEMON, UUCP, ADM<br />
ONCE YOU ARE IN THE SYSTEM, YOU WILL<br />
GET A PROMPT. COMMON PROMPTS ARE:</p>
<p>$<br />
%<br />
#</p>
<p>BUT CAN BE JUST ABOUT ANYTHING THE<br />
SYSOP OR USER WANTS IT TO BE.</p>
<p>THINGS TO DO WHEN YOU ARE IN: SOME<br />
OF THE COMMANDS THAT YOU MAY WANT TO<br />
TRY FOLLOW BELOW:</p>
<p>WHO IS ON  (SHOWS WHO IS CURRENTLY<br />
LOGGED ON THE SYSTEM.)<br />
WRITE NAME (NAME IS THE PERSON YOU<br />
WISH TO CHAT WITH)<br />
TO EXIT CHAT MODE TRY CTRL-D.<br />
EOT=END OF TRANSFER.<br />
LS -A      (LIST ALL FILES IN CURRENT<br />
DIRECTORY.)<br />
DU -A      (CHECKS AMOUNT OF MEMORY<br />
YOUR FILES USE;DISK USAGE)<br />
CD\NAME    (NAME IS THE NAME OF THE<br />
SUB-DIRECTORY YOU CHOOSE)<br />
CD\        (BRINGS YOUR HOME DIRECTORY<br />
TO CURRENT USE)<br />
CAT NAME   (NAME IS A FILENAME EITHER<br />
A PROGRAM OR DOCUMENTATION<br />
YOUR USERNAME HAS WRITTEN)<br />
MOST UNIX PROGRAMS ARE WRITTEN<br />
IN THE C LANGUAGE OR PASCAL<br />
SINCE UNIX IS A PROGRAMMERS&#8217;<br />
ENVIRONMENT.<br />
ONE OF THE FIRST THINGS DONE ON THE<br />
SYSTEM IS PRINT UP OR CAPTURE (IN A<br />
BUFFER) THE FILE CONTAINING ALL USER<br />
NAMES AND ACCOUNTS. THIS CAN BE DONE<br />
BY DOING THE FOLLOWING COMMAND:</p>
<p>CAT /ETC/PASSWD</p>
<p>IF YOU ARE SUCCESSFUL YOU WILL A LIST<br />
OF ALL ACCOUNTS ON THE SYSTEM.  IT<br />
SHOULD LOOK LIKE THIS:</p>
<p>ROOT:HVNSDCF:0:0:ROOT DIR:/:<br />
JOE:MAJDNFD:1:1:JOE COOL:/BIN:/BIN/JOE<br />
HAL::1:2:HAL SMITH:/BIN:/BIN/HAL</p>
<p>THE &#8220;ROOT&#8221; LINE TELLS THE FOLLOWING<br />
INFO :<br />
LOGIN NAME=ROOT<br />
HVNSDCF   = ENCRYPTED PASSWORD<br />
0         = USER GROUP NUMBER<br />
0         = USER NUMBER<br />
ROOT DIR  = NAME OF USER<br />
/         = ROOT DIRECTORY</p>
<p>IN THE JOE LOGIN, THE LAST PART<br />
&#8220;/BIN/JOE &#8221; TELLS US WHICH DIRECTORY<br />
IS HIS HOME DIRECTORY (JOE) IS.</p>
<p>IN THE &#8220;HAL&#8221; EXAMPLE THE LOGIN NAME IS<br />
FOLLOWED BY 2 COLONS, THAT MEANS THAT<br />
THERE IS NO PASSWORD NEEDED TO GET IN<br />
USING HIS NAME.</p>
<p>CONCLUSION:  I HOPE THAT THIS FILE<br />
WILL HELP OTHER NOVICE UNIX HACKERS<br />
OBTAIN ACCESS TO THE UNIX/XENIX<br />
SYSTEMS THAT THEY MAY FIND. THERE IS<br />
STILL WIDE GROWTH IN THE FUTURE OF<br />
UNIX, SO I HOPE USERS WILL NOT ABUSE<br />
ANY SYSTEMS (UNIX OR ANY OTHERS) THAT<br />
THEY MAY HAPPEN ACROSS ON THEIR<br />
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&#8230;&#8230;..   Downloaded from P-80 Systems&#8230;&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=31&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/a-beginners-guide-to-h-a-c-k-i-n-g-u-n-i-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
		<item>
		<title>A Novice&#8217;s Guide to Hacking- 2004 edition</title>
		<link>http://techntech.wordpress.com/2009/02/19/a-novices-guide-to-hacking-2004-edition/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/a-novices-guide-to-hacking-2004-edition/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:23:09 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[hacking]]></category>

		<guid isPermaLink="false">http://techntech.wordpress.com/?p=39</guid>
		<description><![CDATA[+++++++++++++++++++++++++++++++++++++++++++++++++ &#124;              The LOD/H Presents               &#124; ++++++++++++++++                                               ++++++++++++++++ \                 A Novice&#8217;s Guide to Hacking- 2004 edition                 / \                =========================================                / \                                  by                                   / \                             The Mentor                              / \                  Legion of Doom/Legion of Hackers                 / \                                                                 / \                        December, 2004                         / \                  Merry Christmas Everyone!                  / \+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/ ********************************************************************** &#124;  The author hereby grants permission to reproduce, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=39&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>+++++++++++++++++++++++++++++++++++++++++++++++++<br />
|              The LOD/H Presents               |<br />
++++++++++++++++                                               ++++++++++++++++<br />
\                 A Novice&#8217;s Guide to Hacking- 2004 edition                 /<br />
\                =========================================                /<br />
\                                  by                                   /<br />
\                             The Mentor                              /<br />
\                  Legion of Doom/Legion of Hackers                 /<br />
\                                                                 /<br />
\                        December, 2004                         /<br />
\                  Merry Christmas Everyone!                  /<br />
\+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++/</p>
<p>**********************************************************************<br />
|  The author hereby grants permission to reproduce, redistribute,   |<br />
|  or include this file in your g-file section, electronic or print  |<br />
|  newletter, or any other form of transmission that you choose, as  |<br />
|  long as it is kept intact and whole, with no ommissions, delet-   |<br />
|  ions, or changes.  (C) The Mentor- Phoenix Project Productions    |<br />
|                                     2003,2004  XXX/XXX-XXXX        |<br />
**********************************************************************</p>
<p>Introduction: The State of the Hack<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
After surveying a rather large g-file collection, my attention was drawn to<br />
the fact that there hasn&#8217;t been a good introductory file written for absolute<br />
beginners since back when Mark Tabas was cranking them out (and almost<br />
*everyone* was a beginner!)  The Arts of Hacking and Phreaking have changed<br />
radically since that time, and as the 90&#8242;s approach, the hack/phreak community<br />
has recovered from the Summer &#8217;87 busts (just like it recovered from the Fall<br />
&#8217;85 busts, and like it will always recover from attempts to shut it down), and<br />
the progressive media (from Reality Hackers magazine to William Gibson and<br />
Bruce Sterling&#8217;s cyberpunk fables of hackerdom) is starting to take notice<br />
of us for the first time in recent years in a positive light.<br />
Unfortunately, it has also gotten more dangerous since the early 80&#8242;s.<br />
Phone cops have more resources, more awareness, and more intelligence that they<br />
exhibited in the past.  It is becoming more and more difficult to survive as<br />
a hacker long enough to become skilled in the art.  To this end this file<br />
is dedicated .  If it can help someone get started, and help them survive<br />
to discover new systems and new information, it will have served it&#8217;s purpose,<br />
and served as a partial repayment to all the people who helped me out when I<br />
was a beginner.</p>
<p>Contents<br />
~~~~~~~~<br />
This file will be divided into four parts:<br />
Part 1: What is Hacking, A Hacker&#8217;s Code of Ethics, Basic Hacking Safety<br />
Part 2: Packet Switching Networks: Telenet- How it Works, How to Use it,<br />
Outdials, Network Servers, Private PADs<br />
Part 3: Identifying a Computer, How to Hack In, Operating System<br />
Defaults<br />
Part 4: Conclusion- Final Thoughts, Books to Read, Boards to Call,<br />
Acknowledgements</p>
<p>Part One: The Basics<br />
~~~~~~~~~~~~~~~~~~~~<br />
As long as there have been computers, there have been hackers.  In the 50&#8242;s<br />
at the Massachusets Institute of Technology (MIT), students devoted much time<br />
and energy to ingenious exploration of the computers.  Rules and the law were<br />
disregarded in their pursuit for the &#8216;hack&#8217;.  Just as they were enthralled with<br />
their pursuit of information, so are we.  The thrill of the hack is not in<br />
breaking the law, it&#8217;s in the pursuit and capture of knowledge.<br />
To this end, let me contribute my suggestions for guidelines to follow to<br />
ensure that not only you stay out of trouble, but you pursue your craft without<br />
damaging the computers you hack into or the companies who own them.</p>
<p>I.    Do not intentionally damage *any* system.<br />
II.   Do not alter any system files other than ones needed to ensure your<br />
escape from detection and your future access (Trojan Horses, Altering<br />
Logs, and the like are all necessary to your survival for as long as<br />
possible.)<br />
III.  Do not leave your (or anyone else&#8217;s) real name, real handle, or real<br />
phone number on any system that you access illegally.  They *can* and<br />
will track you down from your handle!<br />
IV.   Be careful who you share information with.  Feds are getting trickier.<br />
Generally, if you don&#8217;t know their voice phone number, name, and<br />
occupation or haven&#8217;t spoken with them voice on non-info trading<br />
conversations, be wary.<br />
V.    Do not leave your real phone number to anyone you don&#8217;t know.  This<br />
includes logging on boards, no matter how k-rad they seem.  If you<br />
don&#8217;t know the sysop, leave a note telling some trustworthy people<br />
that will validate you.<br />
VI.   Do not hack government computers.  Yes, there are government systems<br />
that are safe to hack, but they are few and far between.  And the<br />
government has inifitely more time and resources to track you down than<br />
a company who has to make a profit and justify expenses.<br />
VII.  Don&#8217;t use codes unless there is *NO* way around it (you don&#8217;t have a<br />
local telenet or tymnet outdial and can&#8217;t connect to anything 800&#8230;)<br />
You use codes long enough, you will get caught.  Period.<br />
VIII. Don&#8217;t be afraid to be paranoid.  Remember, you *are* breaking the law.<br />
It doesn&#8217;t hurt to store everything encrypted on your hard disk, or<br />
keep your notes buried in the backyard or in the trunk of your car.<br />
You may feel a little funny, but you&#8217;ll feel a lot funnier when you<br />
when you meet Bruno, your transvestite cellmate who axed his family to<br />
death.<br />
IX.   Watch what you post on boards.  Most of the really great hackers in the<br />
country post *nothing* about the system they&#8217;re currently working<br />
except in the broadest sense (I&#8217;m working on a UNIX, or a COSMOS, or<br />
something generic.  Not &#8220;I&#8217;m hacking into General Electric&#8217;s Voice Mail<br />
System&#8221; or something inane and revealing like that.)<br />
X.    Don&#8217;t be afraid to ask questions.  That&#8217;s what more experienced hackers<br />
are for.  Don&#8217;t expect *everything* you ask to be answered, though.<br />
There are some things (LMOS, for instance) that a begining hacker<br />
shouldn&#8217;t mess with.  You&#8217;ll either get caught, or screw it up for<br />
others, or both.<br />
XI.   Finally, you have to actually hack.  You can hang out on boards all you<br />
want, and you can read all the text files in the world, but until you<br />
actually start doing it, you&#8217;ll never know what it&#8217;s all about.  There&#8217;s<br />
no thrill quite the same as getting into your first system (well, ok,<br />
I can think of a couple of bigger thrills, but you get the picture.)</p>
<p>One of the safest places to start your hacking career is on a computer<br />
system belonging to a college.  University computers have notoriously lax<br />
security, and are more used to hackers, as every college computer depart-<br />
ment has one or two, so are less likely to press charges if you should<br />
be detected.  But the odds of them detecting you and having the personel to<br />
committ to tracking you down are slim as long as you aren&#8217;t destructive.<br />
If you are already a college student, this is ideal, as you can legally<br />
explore your computer system to your heart&#8217;s desire, then go out and look<br />
for similar systems that you can penetrate with confidence, as you&#8217;re already<br />
familar with them.<br />
So if you just want to get your feet wet, call your local college.  Many of<br />
them will provide accounts for local residents at a nominal (under $20) charge.<br />
Finally, if you get caught, stay quiet until you get a lawyer.  Don&#8217;t vol-<br />
unteer any information, no matter what kind of &#8216;deals&#8217; they offer you.<br />
Nothing is binding unless you make the deal through your lawyer, so you might<br />
as well shut up and wait.</p>
<p>Part Two: Networks<br />
~~~~~~~~~~~~~~~~~~<br />
The best place to begin hacking (other than a college) is on one of the<br />
bigger networks such as Telenet.  Why?  First, there is a wide variety of<br />
computers to choose from, from small Micro-Vaxen to huge Crays.  Second, the<br />
networks are fairly well documented.  It&#8217;s easier to find someone who can help<br />
you with a problem off of Telenet than it is to find assistance concerning your<br />
local college computer or high school machine.  Third, the networks are safer.<br />
Because of the enormous number of calls that are fielded every day by the big<br />
networks, it is not financially practical to keep track of where every call and<br />
connection are made from.  It is also very easy to disguise your location using<br />
the network, which makes your hobby much more secure.<br />
Telenet has more computers hooked to it than any other system in the world<br />
once you consider that from Telenet you have access to Tymnet, ItaPAC, JANET,<br />
DATAPAC, SBDN, PandaNet, THEnet, and a whole host of other networks, all of<br />
which you can connect to from your terminal.<br />
The first step that you need to take is to identify your local dialup port.<br />
This is done by dialing 1-800-424-9494 (1200 7E1) and connecting.  It will<br />
spout some garbage at you and then you&#8217;ll get a prompt saying &#8216;TERMINAL=&#8217;.<br />
This is your terminal type.  If you have vt100 emulation, type it in now.  Or<br />
just hit return and it will default to dumb terminal mode.<br />
You&#8217;ll now get a prompt that looks like a @.  From here, type @c mail &lt;cr&gt;<br />
and then it will ask for a Username.  Enter &#8216;phones&#8217; for the username. When it<br />
asks for a password, enter &#8216;phones&#8217; again.  From this point, it is menu<br />
driven.  Use this to locate your local dialup, and call it back locally.  If<br />
you don&#8217;t have a local dialup, then use whatever means you wish to connect to<br />
one long distance (more on this later.)<br />
When you call your local dialup, you will once again go through the<br />
TERMINAL= stuff, and once again you&#8217;ll be presented with a @.  This prompt lets<br />
you know you are connected to a Telenet PAD.  PAD stands for either Packet<br />
Assembler/Disassembler (if you talk to an engineer), or Public Access Device<br />
(if you talk to Telenet&#8217;s marketing people.)  The first description is more<br />
correct.<br />
Telenet works by taking the data you enter in on the PAD you dialed into,<br />
bundling it into a 128 byte chunk (normally&#8230; this can be changed), and then<br />
transmitting it at speeds ranging from 9600 to 19,200 baud to another PAD, who<br />
then takes the data and hands it down to whatever computer or system it&#8217;s<br />
connected to.  Basically, the PAD allows two computers that have different baud<br />
rates or communication protocols to communicate with each other over a long<br />
distance.  Sometimes you&#8217;ll notice a time lag in the remote machines response.<br />
This is called PAD Delay, and is to be expected when you&#8217;re sending data<br />
through several different links.<br />
What do you do with this PAD?  You use it to connect to remote computer<br />
systems by typing &#8216;C&#8217; for connect and then the Network User Address (NUA) of<br />
the system you want to go to.<br />
An NUA takes the form of   031103130002520<br />
\___/\___/\___/<br />
|    |    |<br />
|    |    |____ network address<br />
|    |_________ area prefix<br />
|______________ DNIC</p>
<p>This is a summary of DNIC&#8217;s (taken from Blade Runner&#8217;s file on ItaPAC)<br />
according to their country and network name.</p>
<p>DNIC   Network Name    Country          DNIC   Network Name    Country<br />
_______________________________________________________________________________<br />
|<br />
02041   Datanet 1       Netherlands  |  03110   Telenet         USA<br />
02062   DCS             Belgium      |  03340   Telepac         Mexico<br />
02080   Transpac        France       |  03400   UDTS-Curacau    Curacau<br />
02284   Telepac         Switzerland  |  04251   Isranet         Israel<br />
02322   Datex-P         Austria      |  04401   DDX-P           Japan<br />
02329   Radaus          Austria      |  04408   Venus-P         Japan<br />
02342   PSS             UK           |  04501   Dacom-Net       South Korea<br />
02382   Datapak         Denmark      |  04542   Intelpak        Singapore<br />
02402   Datapak         Sweden       |  05052   Austpac         Australia<br />
02405   Telepak         Sweden       |  05053   Midas           Australia<br />
02442   Finpak          Finland      |  05252   Telepac         Hong Kong<br />
02624   Datex-P         West Germany |  05301   Pacnet          New Zealand<br />
02704   Luxpac          Luxembourg   |  06550   Saponet         South Africa<br />
02724   Eirpak          Ireland      |  07240   Interdata       Brazil<br />
03020   Datapac         Canada       |  07241   Renpac          Brazil<br />
03028   Infogram        Canada       |  09000   Dialnet         USA<br />
03103   ITT/UDTS        USA          |  07421   Dompac          French Guiana<br />
03106   Tymnet          USA          |</p>
<p>There are two ways to find interesting addresses to connect to.  The first<br />
and easiest way is to obtain a copy of the LOD/H Telenet Directory from the<br />
LOD/H Technical Journal #4 or 2600 Magazine.  Jester Sluggo also put out a good<br />
list of non-US addresses in Phrack Inc. Newsletter Issue 21.  These files will<br />
tell you the NUA, whether it will accept collect calls or not, what type of<br />
computer system it is (if known) and who it belongs to (also if known.)<br />
The second method of locating interesting addresses is to scan for them<br />
manually.  On Telenet, you do not have to enter the 03110 DNIC to connect to a<br />
Telenet host.  So if you saw that 031104120006140 had a VAX on it you wanted to<br />
look at, you could type @c 412 614 (0&#8242;s can be ignored most of the time.)<br />
If this node allows collect billed connections, it will say 412 614<br />
CONNECTED and then you&#8217;ll possibly get an identifying header or just a<br />
Username: prompt.  If it doesn&#8217;t allow collect connections, it will give you a<br />
message such as 412 614 REFUSED COLLECT CONNECTION with some error codes out to<br />
the right, and return you to the @ prompt.<br />
There are two primary ways to get around the REFUSED COLLECT message.  The<br />
first is to use a Network User Id (NUI) to connect.  An NUI is a username/pw<br />
combination that acts like a charge account on Telenet.  To collect to node<br />
412 614 with NUI junk4248, password 525332, I&#8217;d type the following:<br />
@c 412 614,junk4248,525332  &lt;&#8212;- the 525332 will *not* be echoed to the<br />
screen.  The problem with NUI&#8217;s is that they&#8217;re hard to come by unless you&#8217;re<br />
a good social engineer with a thorough knowledge of Telenet (in which case<br />
you probably aren&#8217;t reading this section), or you have someone who can<br />
provide you with them.<br />
The second way to connect is to use a private PAD, either through an X.25<br />
PAD or through something like Netlink off of a Prime computer (more on these<br />
two below.)<br />
The prefix in a Telenet NUA oftentimes (not always) refers to the phone Area<br />
Code that the computer is located in (i.e. 713 xxx would be a computer in<br />
Houston, Texas.)  If there&#8217;s a particular area you&#8217;re interested in, (say,<br />
New York City 914), you could begin by typing @c 914 001 &lt;cr&gt;.  If it connects,<br />
you make a note of it and go on to 914 002.  You do this until you&#8217;ve found<br />
some interesting systems to play with.<br />
Not all systems are on a simple xxx yyy address.  Some go out to four or<br />
five digits (914 2354), and some have decimal or numeric extensions<br />
(422 121A = 422 121.01).  You have to play with them, and you never know what<br />
you&#8217;re going to find.  To fully scan out a prefix would take ten million<br />
attempts per prefix.  For example, if I want to scan 512 completely, I&#8217;d have<br />
to start with 512 00000.00 and go through 512 00000.99, then increment the<br />
address by 1 and try 512 00001.00 through 512 00001.99.  A lot of scanning.<br />
There are plenty of neat computers to play with in a 3-digit scan, however,<br />
so don&#8217;t go berserk with the extensions.<br />
Sometimes you&#8217;ll attempt to connect and it will just be sitting there after<br />
one or two minutes.  In this case, you want to abort the connect attempt by<br />
sending a hard break (this varies with different term programs, on Procomm,<br />
it&#8217;s ALT-B), and then when you get the @ prompt back, type &#8216;D&#8217; for disconnect.<br />
If you connect to a computer and wish to disconnect, you can type &lt;cr&gt; @<br />
&lt;cr&gt; and you it should say TELENET and then give you the @ prompt.  From there,<br />
type D to disconnect or CONT to re-connect and continue your session<br />
uninterrupted.</p>
<p>Outdials, Network Servers, and PADs<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
In addition to computers, an NUA may connect you to several other things.<br />
One of the most useful is the outdial.  An outdial is nothing more than a modem<br />
you can get to over telenet- similar to the PC Pursuit concept, except that<br />
these don&#8217;t have passwords on them most of the time.<br />
When you connect, you will get a message like &#8216;Hayes 1200 baud outdial,<br />
Detroit, MI&#8217;, or &#8216;VEN-TEL 212 Modem&#8217;, or possibly &#8216;Session 1234 established<br />
on Modem 5588&#8242;.  The best way to figure out the commands on these is to<br />
type ? or H or HELP- this will get you all the information that you need to<br />
use one.<br />
Safety tip here- when you are hacking *any* system through a phone dialup,<br />
always use an outdial or a diverter, especially if it is a local phone number<br />
to you.  More people get popped hacking on local computers than you can<br />
imagine, Intra-LATA calls are the easiest things in the world to trace inexp-<br />
ensively.<br />
Another nice trick you can do with an outdial is use the redial or macro<br />
function that many of them have.  First thing you do when you connect is to<br />
invoke the &#8216;Redial Last Number&#8217; facility.  This will dial the last number used,<br />
which will be the one the person using it before you typed.  Write down the<br />
number, as no one would be calling a number without a computer on it.  This<br />
is a good way to find new systems to hack.  Also, on a VENTEL modem, type &#8216;D&#8217;<br />
for Display and it will display the five numbers stored as macros in the<br />
modem&#8217;s memory.<br />
There are also different types of servers for remote Local Area Networks<br />
(LAN) that have many machine all over the office or the nation connected to<br />
them.  I&#8217;ll discuss identifying these later in the computer ID section.<br />
And finally, you may connect to something that says &#8216;X.25 Communication<br />
PAD&#8217; and then some more stuff, followed by a new @ prompt.  This is a PAD<br />
just like the one you are on, except that all attempted connections are billed<br />
to the PAD, allowing you to connect to those nodes who earlier refused collect<br />
connections.<br />
This also has the added bonus of confusing where you are connecting from.<br />
When a packet is transmitted from PAD to PAD, it contains a header that has<br />
the location you&#8217;re calling from.  For instance, when you first connected<br />
to Telenet, it might have said 212 44A CONNECTED if you called from the 212<br />
area code.  This means you were calling PAD number 44A in the 212 area.<br />
That 21244A will be sent out in the header of all packets leaving the PAD.<br />
Once you connect to a private PAD, however, all the packets going out<br />
from *it* will have it&#8217;s address on them, not yours.  This can be a valuable<br />
buffer between yourself and detection.</p>
<p>Phone Scanning<br />
~~~~~~~~~~~~~~<br />
Finally, there&#8217;s the time-honored method of computer hunting that was made<br />
famous among the non-hacker crowd by that Oh-So-Technically-Accurate movie<br />
Wargames.  You pick a three digit phone prefix in your area and dial every<br />
number from 0000 &#8211;&gt; 9999 in that prefix, making a note of all the carriers<br />
you find.  There is software available to do this for nearly every computer<br />
in the world, so you don&#8217;t have to do it by hand.</p>
<p>Part Three: I&#8217;ve Found a Computer, Now What?<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
This next section is applicable universally.  It doesn&#8217;t matter how you<br />
found this computer, it could be through a network, or it could be from<br />
carrier scanning your High School&#8217;s phone prefix, you&#8217;ve got this prompt<br />
this prompt, what the hell is it?<br />
I&#8217;m *NOT* going to attempt to tell you what to do once you&#8217;re inside of<br />
any of these operating systems.  Each one is worth several G-files in its<br />
own right.  I&#8217;m going to tell you how to identify and recognize certain<br />
OpSystems, how to approach hacking into them, and how to deal with something<br />
that you&#8217;ve never seen before and have know idea what it is.</p>
<p>VMS-       The VAX computer is made by Digital Equipment Corporation (DEC),<br />
and runs the VMS (Virtual Memory System) operating system.<br />
VMS is characterized by the &#8216;Username:&#8217; prompt.  It will not tell<br />
you if you&#8217;ve entered a valid username or not, and will disconnect<br />
you after three bad login attempts.  It also keeps track of all<br />
failed login attempts and informs the owner of the account next time<br />
s/he logs in how many bad login attempts were made on the account.<br />
It is one of the most secure operating systems around from the<br />
outside, but once you&#8217;re in there are many things that you can do<br />
to circumvent system security.  The VAX also has the best set of<br />
help files in the world.  Just type HELP and read to your heart&#8217;s<br />
content.<br />
Common Accounts/Defaults:  [username: password [[,password]] ]<br />
SYSTEM:     OPERATOR or MANAGER or SYSTEM or SYSLIB<br />
OPERATOR:   OPERATOR<br />
SYSTEST:    UETP<br />
SYSMAINT:   SYSMAINT or SERVICE or DIGITAL<br />
FIELD:      FIELD or SERVICE<br />
GUEST:      GUEST or unpassworded<br />
DEMO:       DEMO  or unpassworded<br />
DECNET:     DECNET</p>
<p>DEC-10-    An earlier line of DEC computer equipment, running the TOPS-10<br />
operating system.  These machines are recognized by their<br />
&#8216;.&#8217; prompt.  The DEC-10/20 series are remarkably hacker-friendly,<br />
allowing you to enter several important commands without ever<br />
logging into the system.  Accounts are in the format [xxx,yyy] where<br />
xxx and yyy are integers.  You can get a listing of the accounts and<br />
the process names of everyone on the system before logging in with<br />
the command .systat (for SYstem STATus).  If you seen an account<br />
that reads [234,1001]   BOB JONES, it might be wise to try BOB or<br />
JONES or both for a password on this account.  To login, you type<br />
.login xxx,yyy  and then type the password when prompted for it.<br />
The system will allow you unlimited tries at an account, and does<br />
not keep records of bad login attempts.  It will also inform you<br />
if the UIC you&#8217;re trying (UIC = User Identification Code, 1,2 for<br />
example) is bad.<br />
Common Accounts/Defaults:<br />
1,2:        SYSLIB or OPERATOR or MANAGER<br />
2,7:        MAINTAIN<br />
5,30:       GAMES</p>
<p>UNIX-      There are dozens of different machines out there that run UNIX.<br />
While some might argue it isn&#8217;t the best operating system in the<br />
world, it is certainly the most widely used.  A UNIX system will<br />
usually have a prompt like &#8216;login:&#8217; in lower case.  UNIX also<br />
will give you unlimited shots at logging in (in most cases), and<br />
there is usually no log kept of bad attempts.<br />
Common Accounts/Defaults: (note that some systems are case<br />
sensitive, so use lower case as a general rule.  Also, many times<br />
the accounts will be unpassworded, you&#8217;ll just drop right in!)<br />
root:       root<br />
admin:      admin<br />
sysadmin:   sysadmin or admin<br />
unix:       unix<br />
uucp:       uucp<br />
rje:        rje<br />
guest:      guest<br />
demo:       demo<br />
daemon:     daemon<br />
sysbin:     sysbin</p>
<p>Prime-     Prime computer company&#8217;s mainframe running the Primos operating<br />
system.  The are easy to spot, as the greet you with<br />
&#8216;Primecon 18.23.05&#8242; or the like, depending on the version of the<br />
operating system you run into.  There will usually be no prompt<br />
offered, it will just look like it&#8217;s sitting there.  At this point,<br />
type &#8216;login &lt;username&gt;&#8217;.  If it is a pre-18.00.00 version of Primos,<br />
you can hit a bunch of ^C&#8217;s for the password and you&#8217;ll drop in.<br />
Unfortunately, most people are running versions 19+.  Primos also<br />
comes with a good set of help files.  One of the most useful<br />
features of a Prime on Telenet is a facility called NETLINK.  Once<br />
you&#8217;re inside, type NETLINK and follow the help files.  This allows<br />
you to connect to NUA&#8217;s all over the world using the &#8216;nc&#8217; command.<br />
For example, to connect to NUA 026245890040004, you would type<br />
@nc :26245890040004 at the netlink prompt.<br />
Common Accounts/Defaults:<br />
PRIME       PRIME or PRIMOS<br />
PRIMOS_CS   PRIME or PRIMOS<br />
PRIMENET    PRIMENET<br />
SYSTEM      SYSTEM or PRIME<br />
NETLINK     NETLINK<br />
TEST        TEST<br />
GUEST       GUEST<br />
GUEST1      GUEST</p>
<p>HP-x000-   This system is made by Hewlett-Packard.  It is characterized by the<br />
&#8216;:&#8217; prompt.  The HP has one of the more complicated login sequences<br />
around- you type &#8216;HELLO SESSION NAME,USERNAME,ACCOUNTNAME,GROUP&#8217;.<br />
Fortunately, some of these fields can be left blank in many cases.<br />
Since any and all of these fields can be passworded, this is not<br />
the easiest system to get into, except for the fact that there are<br />
usually some unpassworded accounts around.  In general, if the<br />
defaults don&#8217;t work, you&#8217;ll have to brute force it using the<br />
common password list (see below.)  The HP-x000 runs the MPE operat-<br />
ing system, the prompt for it will be a &#8216;:&#8217;, just like the logon<br />
prompt.<br />
Common Accounts/Defaults:<br />
MGR.TELESUP,PUB                      User: MGR Acct: HPONLY Grp: PUB<br />
MGR.HPOFFICE,PUB                     unpassworded<br />
MANAGER.ITF3000,PUB                  unpassworded<br />
FIELD.SUPPORT,PUB                    user: FLD,  others unpassworded<br />
MAIL.TELESUP,PUB                     user: MAIL, others<br />
unpassworded<br />
MGR.RJE                              unpassworded<br />
FIELD.HPPl89 ,HPPl87,HPPl89,HPPl96   unpassworded<br />
MGR.TELESUP,PUB,HPONLY,HP3           unpassworded</p>
<p>IRIS-      IRIS stands for Interactive Real Time Information System.  It orig-<br />
inally ran on PDP-11&#8242;s, but now runs on many other minis.  You can<br />
spot an IRIS by the &#8216;Welcome to &#8220;IRIS&#8221; R9.1.4 Timesharing&#8217; banner,<br />
and the ACCOUNT ID? prompt.  IRIS allows unlimited tries at hacking<br />
in, and keeps no logs of bad attempts.  I don&#8217;t know any default<br />
passwords, so just try the common ones from the password database<br />
below.<br />
Common Accounts:<br />
MANAGER<br />
BOSS<br />
SOFTWARE<br />
DEMO<br />
PDP8<br />
PDP11<br />
ACCOUNTING</p>
<p>VM/CMS-    The VM/CMS operating system runs in International Business Machines<br />
(IBM) mainframes.  When you connect to one of these, you will get<br />
message similar to &#8216;VM/370 ONLINE&#8217;, and then give you a &#8216;.&#8217; prompt,<br />
just like TOPS-10 does.  To login, you type &#8216;LOGON &lt;username&gt;&#8217;.<br />
Common Accounts/Defaults are:<br />
AUTOLOG1:            AUTOLOG or AUTOLOG1<br />
CMS:                 CMS<br />
CMSBATCH:            CMS or CMSBATCH<br />
EREP:                EREP<br />
MAINT:               MAINT or MAINTAIN<br />
OPERATNS:            OPERATNS or OPERATOR<br />
OPERATOR:            OPERATOR<br />
RSCS:                RSCS<br />
SMART:               SMART<br />
SNA:                 SNA<br />
VMTEST:              VMTEST<br />
VMUTIL:              VMUTIL<br />
VTAM:                VTAM</p>
<p>NOS-       NOS stands for Networking Operating System, and runs on the Cyber<br />
computer made by Control Data Corporation.  NOS identifies itself<br />
quite readily, with a banner of &#8216;WELCOME TO THE NOS SOFTWARE<br />
SYSTEM.  COPYRIGHT CONTROL DATA 1978,1987&#8242;.  The first prompt you<br />
will get will be FAMILY:.  Just hit return here.  Then you&#8217;ll get<br />
a USER NAME: prompt.  Usernames are typically 7 alpha-numerics<br />
characters long, and are *extremely* site dependent. Operator<br />
accounts begin with a digit, such as 7ETPDOC.<br />
Common Accounts/Defaults:<br />
$SYSTEM              unknown<br />
SYSTEMV              unknown</p>
<p>Decserver- This is not truly a computer system, but is a network server that<br />
has many different machines available from it.  A Decserver will<br />
say &#8216;Enter Username&gt;&#8217; when you first connect.  This can be anything,<br />
it doesn&#8217;t matter, it&#8217;s just an identifier.  Type &#8216;c&#8217;, as this is<br />
the least conspicuous thing to enter.  It will then present you<br />
with a &#8216;Local&gt;&#8217; prompt.  From here, you type &#8216;c &lt;systemname&gt;&#8217; to<br />
connect to a system.  To get a list of system names, type<br />
&#8216;sh services&#8217; or &#8216;sh nodes&#8217;.  If you have any problems, online<br />
help is available with the &#8216;help&#8217; command.  Be sure and look for<br />
services named &#8216;MODEM&#8217; or &#8216;DIAL&#8217; or something similar, these are<br />
often outdial modems and can be useful!</p>
<p>GS/1-      Another type of network server.  Unlike a Decserver, you can&#8217;t<br />
predict what prompt a GS/1 gateway is going to give you.  The<br />
default prompt it &#8216;GS/1&gt;&#8217;, but this is redifinable by the<br />
system administrator.  To test for a GS/1, do a &#8216;sh d&#8217;.  If that<br />
prints out a large list of defaults (terminal speed, prompt,<br />
parity, etc&#8230;), you are on a GS/1.  You connect in the same manner<br />
as a Decserver, typing &#8216;c &lt;systemname&gt;&#8217;.  To find out what systems<br />
are available, do a &#8216;sh n&#8217; or a &#8216;sh c&#8217;.  Another trick is to do a<br />
&#8216;sh m&#8217;, which will sometimes show you a list of macros for logging<br />
onto a system.  If there is a macro named VAX, for instance, type<br />
&#8216;do VAX&#8217;.</p>
<p>The above are the main system types in use today.  There are<br />
hundreds of minor variants on the above, but this should be<br />
enough to get you started.</p>
<p>Unresponsive Systems<br />
~~~~~~~~~~~~~~~~~~~~<br />
Occasionally you will connect to a system that will do nothing but sit<br />
there.  This is a frustrating feeling, but a methodical approach to the system<br />
will yield a response if you take your time.  The following list will usually<br />
make *something* happen.<br />
1)  Change your parity, data length, and stop bits.  A system that won&#8217;t re-<br />
spond at 8N1 may react at 7E1 or 8E2 or 7S2.  If you don&#8217;t have a term<br />
program that will let you set parity to EVEN, ODD, SPACE, MARK, and NONE,<br />
with data length of 7 or 8, and 1 or 2 stop bits, go out and buy one.<br />
While having a good term program isn&#8217;t absolutely necessary, it sure is<br />
helpful.<br />
2)  Change baud rates.  Again, if your term program will let you choose odd<br />
baud rates such as 600 or 1100, you will occasionally be able to penetrate<br />
some very interesting systems, as most systems that depend on a strange<br />
baud rate seem to think that this is all the security they need&#8230;<br />
3)  Send a series of &lt;cr&gt;&#8217;s.<br />
4)  Send a hard break followed by a &lt;cr&gt;.<br />
5)  Type a series of .&#8217;s (periods).  The Canadian network Datapac responds<br />
to this.<br />
6)  If you&#8217;re getting garbage, hit an &#8216;i&#8217;.  Tymnet responds to this, as does<br />
a MultiLink II.<br />
7)  Begin sending control characters, starting with ^A &#8211;&gt; ^Z.<br />
8)  Change terminal emulations.  What your vt100 emulation thinks is garbage<br />
may all of a sudden become crystal clear using ADM-5 emulation.  This also<br />
relates to how good your term program is.<br />
9)  Type LOGIN, HELLO, LOG, ATTACH, CONNECT, START, RUN, BEGIN, LOGON, GO,<br />
JOIN, HELP, and anything else you can think of.<br />
10) If it&#8217;s a dialin, call the numbers around it and see if a company<br />
answers.  If they do, try some social engineering.</p>
<p>Brute Force Hacking<br />
~~~~~~~~~~~~~~~~~~~<br />
There will also be many occasions when the default passwords will not work<br />
on an account.  At this point, you can either go onto the next system on your<br />
list, or you can try to &#8216;brute-force&#8217; your way in by trying a large database<br />
of passwords on that one account.  Be careful, though!  This works fine on<br />
systems that don&#8217;t keep track of invalid logins, but on a system like a VMS,<br />
someone is going to have a heart attack if they come back and see &#8217;600 Bad<br />
Login Attempts Since Last Session&#8217; on their account.  There are also some<br />
operating systems that disconnect after &#8216;x&#8217; number of invalid login attempts<br />
and refuse to allow any more attempts for one hour, or ten minutes, or some-<br />
times until the next day.<br />
The following list is taken from my own password database plus the data-<br />
base of passwords that was used in the Internet UNIX Worm that was running<br />
around in November of 1988.  For a shorter group, try first names, computer<br />
terms, and obvious things like &#8216;secret&#8217;, &#8216;password&#8217;, &#8216;open&#8217;, and the name<br />
of the account.  Also try the name of the company that owns the computer<br />
system (if known), the company initials, and things relating to the products<br />
the company makes or deals with.</p>
<p>Password List<br />
=============</p>
<p>aaa                daniel             jester             rascal<br />
academia           danny              johnny             really<br />
ada                dave               joseph             rebecca<br />
adrian             deb                joshua             remote<br />
aerobics           debbie             judith             rick<br />
airplane           deborah            juggle             reagan<br />
albany             december           julia              robot<br />
albatross          desperate          kathleen           robotics<br />
albert             develop            kermit             rolex<br />
alex               diet               kernel             ronald<br />
alexander          digital            knight             rosebud<br />
algebra            discovery          lambda             rosemary<br />
alias              disney             larry              roses<br />
alpha              dog                lazarus            ruben<br />
alphabet           drought            lee                rules<br />
ama                duncan             leroy              ruth<br />
amy                easy               lewis              sal<br />
analog             eatme              light              saxon<br />
anchor             edges              lisa               scheme<br />
andy               edwin              louis              scott<br />
andrea             egghead            lynne              scotty<br />
animal             eileen             mac                secret<br />
answer             einstein           macintosh          sensor<br />
anything           elephant           mack               serenity<br />
arrow              elizabeth          maggot             sex<br />
arthur             ellen              magic              shark<br />
asshole            emerald            malcolm            sharon<br />
athena             engine             mark               shit<br />
atmosphere         engineer           markus             shiva<br />
bacchus            enterprise         marty              shuttle<br />
badass             enzyme             marvin             simon<br />
bailey             euclid             master             simple<br />
banana             evelyn             maurice            singer<br />
bandit             extension          merlin             single<br />
banks              fairway            mets               smile<br />
bass               felicia            michael            smiles<br />
batman             fender             michelle           smooch<br />
beauty             fermat             mike               smother<br />
beaver             finite             minimum            snatch<br />
beethoven          flower             minsky             snoopy<br />
beloved            foolproof          mogul              soap<br />
benz               football           moose              socrates<br />
beowulf            format             mozart             spit<br />
berkeley           forsythe           nancy              spring<br />
berlin             fourier            napoleon           subway<br />
beta               fred               network            success<br />
beverly            friend             newton             summer<br />
bob                frighten           next               super<br />
brenda             fun                olivia             support<br />
brian              gabriel            oracle             surfer<br />
bridget            garfield           orca               suzanne<br />
broadway           gauss              orwell             tangerine<br />
bumbling           george             osiris             tape<br />
cardinal           gertrude           outlaw             target<br />
carmen             gibson             oxford             taylor<br />
carolina           ginger             pacific            telephone<br />
caroline           gnu                painless           temptation<br />
castle             golf               pam                tiger<br />
cat                golfer             paper              toggle<br />
celtics            gorgeous           password           tomato<br />
change             graham             pat                toyota<br />
charles            gryphon            patricia           trivial<br />
charming           guest              penguin            unhappy<br />
charon             guitar             pete               unicorn<br />
chester            hacker             peter              unknown<br />
cigar              harmony            philip             urchin<br />
classic            harold             phoenix            utility<br />
coffee             harvey             pierre             vicky<br />
coke               heinlein           pizza              virginia<br />
collins            hello              plover             warren<br />
comrade            help               polynomial         water<br />
computer           herbert            praise             weenie<br />
condo              honey              prelude            whatnot<br />
condom             horse              prince             whitney<br />
cookie             imperial           protect            will<br />
cooper             include            pumpkin            william<br />
create             ingres             puppet             willie<br />
creation           innocuous          rabbit             winston<br />
creator            irishman           rachmaninoff       wizard<br />
cretin             isis               rainbow            wombat<br />
daemon             japan              raindrop           yosemite<br />
dancer             jessica            random             zap</p>
<p>Part Four: Wrapping it up!<br />
~~~~~~~~~~~~~~~~~~~~~~~~~~<br />
I hope this file has been of some help in getting started.  If you&#8217;re<br />
asking yourself the question &#8216;Why hack?&#8217;, then you&#8217;ve probably wasted a lot<br />
of time reading this, as you&#8217;ll never understand.  For those of you who<br />
have read this and found it useful, please send a tax-deductible donation<br />
of $5.00 (or more!) in the name of the Legion of Doom to:<br />
The American Cancer Society<br />
90 Park Avenue<br />
New York, NY  10016</p>
<p>******************************************************************************<br />
References:<br />
1) Introduction to ItaPAC by Blade Runner<br />
Telecom Security Bulletin #1<br />
2) The IBM VM/CMS Operating System by Lex Luthor<br />
The LOD/H Technical Journal #2<br />
3) Hacking the IRIS Operating System by The Leftist<br />
The LOD/H Technical Journal #3<br />
4) Hacking CDC&#8217;s Cyber by Phrozen Ghost<br />
Phrack Inc. Newsletter #18<br />
5) USENET comp.risks digest (various authors, various issues)<br />
6) USENET unix.wizards forum (various authors)<br />
7) USENET info-vax forum (various authors)</p>
<p>Recommended Reading:<br />
1) Hackers by Steven Levy<br />
2) Out of the Inner Circle by Bill Landreth<br />
3) Turing&#8217;s Man by J. David Bolter<br />
4) Soul of a New Machine by Tracy Kidder<br />
5) Neuromancer, Count Zero, Mona Lisa Overdrive, and Burning Chrome, all<br />
by William Gibson<br />
6) Reality Hackers Magazine c/o High Frontiers, P.O. Box 40271, Berkeley,<br />
California, 94704, 415-995-2606<br />
7) Any of the Phrack Inc. Newsletters &amp; LOD/H Technical Journals you can find.</p>
<p>Acknowledgements:<br />
Thanks to my wife for putting up with me.<br />
Thanks to Lone Wolf for the RSTS &amp; TOPS assistance.<br />
Thanks to Android Pope for proofreading, suggestions, and beer.<br />
Thanks to The Urvile/Necron 99 for proofreading &amp; Cyber info.<br />
Thanks to Eric Bloodaxe for wading through all the trash.<br />
Thanks to the users of Phoenix Project for their contributions.<br />
Thanks to Altos Computer Systems, Munich, for the chat system.<br />
Thanks to the various security personel who were willing to talk to<br />
me about how they operate.<br />
</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=39&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/a-novices-guide-to-hacking-2004-edition/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
		<item>
		<title>36 Graphics &amp; Design Ebooks</title>
		<link>http://techntech.wordpress.com/2009/02/19/36-graphics-design-ebooks/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/36-graphics-design-ebooks/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:06:34 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techntech.wordpress.com/?p=27</guid>
		<description><![CDATA[36 Graphics &#38; Design Ebooks Maya, Photoshop, Macromedia, Bryce, Digital Photography, &#38; more&#8230;. Download with FlashGet f*p://195.135.232.80/Books/design/8.books.Maya.[by.KiN_www.netz.ru].rar f*p://195.135.232.80/Books/design/A.Short.Course.in.Digital.Photography.[by.KiN_www.netz.ru].rar f*p://195.135.232.80/Books/design/Adobe.Creative.Suite.Keyboard.Shortcuts.[by.KiN_www.netz.ru]_3,1.MB.rar f*p://195.135.232.80/Books/design/Adobe.Photoshop.CS.in.10.Simple.Steps.or.Less.(2004).[by.KiN_www.netz.ru]_7,84 MB.rar f*p://195.135.232.80/Books/design/Adobe.Photoshop.Tutorial.7.Day.Course.html.a.[28.84.MB_www.netz.ru].rar f*p://195.135.232.80/Books/design/Advanced.3D.Photorealism.Techniques[9,76.MB_RUS_www.netz.ru].rar f*p://195.135.232.80/Books/design/Bill.Flemming.Advanced.3D.Photorealism.Techniques.[RUS].[by.KiN_www.netz.ru]_9,75 MB.rar f*p://195.135.232.80/Books/design/Bryce.5.Manual.[by.KiN_www.netz.ru_4.01MB].rar f*p://195.135.232.80/Books/design/Corel.103.tutorials.RUS.[by.KiN_www.netz.ru].rar f*p://195.135.232.80/Books/design/Designing Secure Web-Based Applications for Windows 2000.zip f*p://195.135.232.80/Books/design/DHTML.Weekend.Crash.Course[by.KiN_www.netz.ru].rar f*p://195.135.232.80/Books/design/Digital.Photography.Hacks.[by.KiN_www.netz.ru]_11,76.MB.rar f*p://195.135.232.80/Books/design/How.To.Do.Everything.With.Illustrator.[by.KiN_www.netz.ru]_30,58.MB.rar f*p://195.135.232.80/Books/design/How.To.Do.Everything.With.Photoshop.7.[by.KiN_www.netz.ru]_9,8 MB.rar f*p://195.135.232.80/Books/design/How.To.Draw.Anime.Photoshop.Coloring.Tips.[by.KiN_www.netz.ru]_773 kB.rar f*p://195.135.232.80/Books/design/How.To.Draw.Manga.Photoshop.Techniques.[by.KiN_www.netz.ru]_343 kB.rar f*p://195.135.232.80/Books/design/How.To.Use.Adobe.Photoshop.7.[by.KiN_www.netz.ru]_14,66 MB.rar f*p://195.135.232.80/Books/design/HTML.4.01.Weekend.Crash.Course[by.KiN_www.netz.ru].rar f*p://195.135.232.80/Books/design/HTML.Complete.Course.[by.KiN_www.netz.ru]_26,79.MB.rar f*p://195.135.232.80/Books/design/Learn.How.To.Draw.[by.KiN_www.netz.ru]_1,61.MB.rar f*p://195.135.232.80/Books/design/Learn.HTML4.In.a.Weekend.[by.KiN_www.netz.ru]_11,02.MB.rar f*p://195.135.232.80/Books/design/Learning.Macromedia.FlashMX.2004[658.kB_www.netz.ru].rar f*p://195.135.232.80/Books/design/Macromedia.Dreamweaver.4.Bible[8,86.MB_www.netz.ru].rar f*p://195.135.232.80/Books/design/Macromedia.Dreamweaver.MX.2004.Web.Application.Recipes[6,5.MB_www.netz.ru].rar f*p://195.135.232.80/Books/design/Macromedia.Flash.MX.2004.ActionScript.Reference.Guide.rar f*p://195.135.232.80/Books/design/Macromedia.Flash.MX.2004.Using.Components.rar f*p://195.135.232.80/Books/design/Macromedia.Flashmx.Actionscript.Reference.Guide.2004[2,66.MB_www.netz.ru].rar [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=27&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>36 Graphics &amp; Design Ebooks</p>
<p>Maya, Photoshop, Macromedia, Bryce, Digital Photography, &amp; more&#8230;.</p>
<p>Download with FlashGet</p>
<p>f*p://195.135.232.80/Books/design/8.books.Maya.[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/A.Short.Course.in.Digital.Photography.[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Adobe.Creative.Suite.Keyboard.Shortcuts.[by.KiN_www.netz.ru]_3,1.MB.rar<br />
f*p://195.135.232.80/Books/design/Adobe.Photoshop.CS.in.10.Simple.Steps.or.Less.(2004).[by.KiN_www.netz.ru]_7,84 MB.rar<br />
f*p://195.135.232.80/Books/design/Adobe.Photoshop.Tutorial.7.Day.Course.html.a.[28.84.MB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Advanced.3D.Photorealism.Techniques[9,76.MB_RUS_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Bill.Flemming.Advanced.3D.Photorealism.Techniques.[RUS].[by.KiN_www.netz.ru]_9,75 MB.rar<br />
f*p://195.135.232.80/Books/design/Bryce.5.Manual.[by.KiN_www.netz.ru_4.01MB].rar<br />
f*p://195.135.232.80/Books/design/Corel.103.tutorials.RUS.[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Designing Secure Web-Based Applications for Windows 2000.zip<br />
f*p://195.135.232.80/Books/design/DHTML.Weekend.Crash.Course[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Digital.Photography.Hacks.[by.KiN_www.netz.ru]_11,76.MB.rar<br />
f*p://195.135.232.80/Books/design/How.To.Do.Everything.With.Illustrator.[by.KiN_www.netz.ru]_30,58.MB.rar<br />
f*p://195.135.232.80/Books/design/How.To.Do.Everything.With.Photoshop.7.[by.KiN_www.netz.ru]_9,8 MB.rar<br />
f*p://195.135.232.80/Books/design/How.To.Draw.Anime.Photoshop.Coloring.Tips.[by.KiN_www.netz.ru]_773 kB.rar<br />
f*p://195.135.232.80/Books/design/How.To.Draw.Manga.Photoshop.Techniques.[by.KiN_www.netz.ru]_343 kB.rar<br />
f*p://195.135.232.80/Books/design/How.To.Use.Adobe.Photoshop.7.[by.KiN_www.netz.ru]_14,66 MB.rar<br />
f*p://195.135.232.80/Books/design/HTML.4.01.Weekend.Crash.Course[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/HTML.Complete.Course.[by.KiN_www.netz.ru]_26,79.MB.rar<br />
f*p://195.135.232.80/Books/design/Learn.How.To.Draw.[by.KiN_www.netz.ru]_1,61.MB.rar<br />
f*p://195.135.232.80/Books/design/Learn.HTML4.In.a.Weekend.[by.KiN_www.netz.ru]_11,02.MB.rar<br />
f*p://195.135.232.80/Books/design/Learning.Macromedia.FlashMX.2004[658.kB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Dreamweaver.4.Bible[8,86.MB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Dreamweaver.MX.2004.Web.Application.Recipes[6,5.MB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Flash.MX.2004.ActionScript.Reference.Guide.rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Flash.MX.2004.Using.Components.rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Flashmx.Actionscript.Reference.Guide.2004[2,66.MB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Flashmx.Using.Components.2004[979.kB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Macromedia.Press.Macromedia.Dreamweaver.MX.Dynamic.Applications.[10.46.MB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/New.Riders.Photoshop.7.Power.Shortcuts.[by.KiN_www.netz.ru]_3,5 MB.rar<br />
f*p://195.135.232.80/Books/design/NewRiders.MacromediaDreamweaverMx2004WebApplicationRecipes(6,5MB_www.netz.ru).rar f*p://195.135.232.80/Books/design/PhotoShop.&amp;.Illustrator.Tutorial.[14.37.MB_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Photoshop.6.Bible.[13.95.MB_www.netz.ru].rar f*p://195.135.232.80/Books/design/Photoshop.75.tutorial.RUS.[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Photoshop.CS.Tips.and.Tricks.[by.KiN_www.netz.ru].rar<br />
f*p://195.135.232.80/Books/design/Photoshop.Rus.4-18[6.5Mb,_www.netz.ru].rar</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/27/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/27/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/27/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=27&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/36-graphics-design-ebooks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
		<item>
		<title>20 Great Google Secrets</title>
		<link>http://techntech.wordpress.com/2009/02/19/20-great-google-secrets/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/20-great-google-secrets/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:04:21 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[computer tips and tricks]]></category>
		<category><![CDATA[hacking]]></category>
		<category><![CDATA[tutorials]]></category>

		<guid isPermaLink="false">http://techntech.wordpress.com/?p=25</guid>
		<description><![CDATA[20 Great Google Secrets http://www.pcmag.com/article2/0,4149,1306756,00.asp excl.gif No Active Links, Read the Rules &#8211; Edit by Ninja excl.gif Google is clearly the best general-purpose search engine on the Web (see www.pcmag.com/searchengines But most people don&#8217;t use it to its best advantage. Do you just plug in a keyword or two and hope for the best? That [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=25&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>20 Great Google Secrets</strong></p>
<p><strong>http://www.pcmag.com/article2/0,4149,1306756,00.asp</strong></p>
<p><strong>excl.gif No Active Links, Read the Rules &#8211; Edit by Ninja excl.gif</strong></p>
<p><strong>Google is clearly the best general-purpose search engine on the Web (see</strong></p>
<p><strong>www.pcmag.com/searchengines</strong></p>
<p><strong>But most people don&#8217;t use it to its best advantage. Do you just plug in a keyword or two and hope for the best? That may be the quickest way to search, but with more than 3 billion pages in Google&#8217;s index, it&#8217;s still a struggle to pare results to a manageable number.</strong></p>
<p><strong>But Google is an remarkably powerful tool that can ease and enhance your Internet exploration. Google&#8217;s search options go beyond simple keywords, the Web, and even its own programmers. Let&#8217;s look at some of Google&#8217;s lesser-known options.</strong></p>
<p><strong>Syntax Search Tricks</strong></p>
<p><strong>Using a special syntax is a way to tell Google that you want to restrict your searches to certain elements or characteristics of Web pages. Google has a fairly complete list of its syntax elements at</strong></p>
<p><strong>www.google.com/help/operators.html</strong></p>
<p><strong>. Here are some advanced operators that can help narrow down your search results.</strong></p>
<p><strong>Intitle: at the beginning of a query word or phrase (intitle:&#8221;Three Blind Mice&#8221;) restricts your search results to just the titles of Web pages.</strong></p>
<p><strong>Intext: does the opposite of intitle:, searching only the body text, ignoring titles, links, and so forth. Intext: is perfect when what you&#8217;re searching for might commonly appear in URLs. If you&#8217;re looking for the term HTML, for example, and you don&#8217;t want to get results such as</strong></p>
<p><strong>www.mysite.com/index.html</strong></p>
<p><strong>, you can enter intext:html.</strong></p>
<p><strong>Link: lets you see which pages are linking to your Web page or to another page you&#8217;re interested in. For example, try typing in</strong></p>
<p><strong>link:http://www.pcmag.com</strong></p>
<p><strong>Try using site: (which restricts results to top-level domains) with intitle: to find certain types of pages. For example, get scholarly pages about Mark Twain by searching for intitle:&#8221;Mark Twain&#8221;site:edu. Experiment with mixing various elements; you&#8217;ll develop several strategies for finding the stuff you want more effectively. The site: command is very helpful as an alternative to the mediocre search engines built into many sites.</strong></p>
<p><strong>Swiss Army Google</strong></p>
<p><strong>Google has a number of services that can help you accomplish tasks you may never have thought to use Google for. For example, the new calculator feature</strong></p>
<p><strong>(www.google.com/help/features.html#calculator)</strong></p>
<p><strong>lets you do both math and a variety of conversions from the search box. For extra fun, try the query &#8220;Answer to life the universe and everything.&#8221;</strong></p>
<p><strong>Let Google help you figure out whether you&#8217;ve got the right spelling—and the right word—for your search. Enter a misspelled word or phrase into the query box (try &#8220;thre blund mise&#8221;) and Google may suggest a proper spelling. This doesn&#8217;t always succeed; it works best when the word you&#8217;re searching for can be found in a dictionary. Once you search for a properly spelled word, look at the results page, which repeats your query. (If you&#8217;re searching for &#8220;three blind mice,&#8221; underneath the search window will appear a statement such as Searched the web for &#8220;three blind mice.&#8221;) You&#8217;ll discover that you can click on each word in your search phrase and get a definition from a dictionary.</strong></p>
<p><strong>Suppose you want to contact someone and don&#8217;t have his phone number handy. Google can help you with that, too. Just enter a name, city, and state. (The city is optional, but you must enter a state.) If a phone number matches the listing, you&#8217;ll see it at the top of the search results along with a map link to the address. If you&#8217;d rather restrict your results, use rphonebook: for residential listings or bphonebook: for business listings. If you&#8217;d rather use a search form for business phone listings, try Yellow Search</strong></p>
<p><strong>(www.buzztoolbox.com/google/yellowsearch.shtml).</strong></p>
<p><strong>Extended Googling</strong></p>
<p><strong>Google offers several services that give you a head start in focusing your search. Google Groups</strong></p>
<p><strong>(http://groups.google.com)</strong></p>
<p><strong>indexes literally millions of messages from decades of discussion on Usenet. Google even helps you with your shopping via two tools: Froogle<br />
CODE<br />
(http://froogle.google.com),</strong></p>
<p><strong>which indexes products from online stores, and Google Catalogs<br />
CODE<br />
(http://catalogs.google.com),</strong></p>
<p><strong>which features products from more 6,000 paper catalogs in a searchable index. And this only scratches the surface. You can get a complete list of Google&#8217;s tools and services at</strong></p>
<p><strong>www.google.com/options/index.html</strong></p>
<p><strong>You&#8217;re probably used to using Google in your browser. But have you ever thought of using Google outside your browser?</strong></p>
<p><strong>Google Alert</strong></p>
<p><strong>(www.googlealert.com)</strong></p>
<p><strong>monitors your search terms and e-mails you information about new additions to Google&#8217;s Web index. (Google Alert is not affiliated with Google; it uses Google&#8217;s Web services API to perform its searches.) If you&#8217;re more interested in news stories than general Web content, check out the beta version of Google News Alerts</strong></p>
<p><strong>(www.google.com/newsalerts).</strong></p>
<p><strong>This service (which is affiliated with Google) will monitor up to 50 news queries per e-mail address and send you information about news stories that match your query. (Hint: Use the intitle: and source: syntax elements with Google News to limit the number of alerts you get.)</strong></p>
<p><strong>Google on the telephone? Yup. This service is brought to you by the folks at Google Labs</strong></p>
<p><strong>(http://labs.google.com),</strong></p>
<p><strong>a place for experimental Google ideas and features (which may come and go, so what&#8217;s there at this writing might not be there when you decide to check it out). With Google Voice Search</strong></p>
<p><strong>(http://labs1.google.com/gvs.html),</strong></p>
<p><strong>you dial the Voice Search phone number, speak your keywords, and then click on the indicated link. Every time you say a new search term, the results page will refresh with your new query (you must have JavaScript enabled for this to work). Remember, this service is still in an experimental phase, so don&#8217;t expect 100 percent success.</strong></p>
<p><strong>In 2002, Google released the Google API (application programming interface), a way for programmers to access Google&#8217;s search engine results without violating the Google Terms of Service. A lot of people have created useful (and occasionally not-so-useful but interesting) applications not available from Google itself, such as Google Alert. For many applications, you&#8217;ll need an API key, which is available free from<br />
CODE<br />
www.google.com/apis</strong></p>
<p><strong>. See the figures for two more examples, and visit</strong></p>
<p><strong>www.pcmag.com/solutions</strong></p>
<p><strong>for more.</strong></p>
<p><strong>Thanks to its many different search properties, Google goes far beyond a regular search engine. Give the tricks in this article a try. You&#8217;ll be amazed at how many different ways Google can improve your Internet searching.</strong></p>
<p><strong>Online Extra: More Google Tips</strong></p>
<p><strong>Here are a few more clever ways to tweak your Google searches.</strong></p>
<p><strong>Search Within a Timeframe</strong></p>
<p><strong>Daterange: (start date–end date). You can restrict your searches to pages that were indexed within a certain time period. Daterange: searches by when Google indexed a page, not when the page itself was created. This operator can help you ensure that results will have fresh content (by using recent dates), or you can use it to avoid a topic&#8217;s current-news blizzard and concentrate only on older results. Daterange: is actually more useful if you go elsewhere to take advantage of it, because daterange: requires Julian dates, not standard Gregorian dates. You can find converters on the Web (such as</strong></p>
<p><strong>CODE<br />
http://aa.usno.navy.mil/data/docs/JulianDate.html</strong></p>
<p><strong>excl.gif No Active Links, Read the Rules &#8211; Edit by Ninja excl.gif</strong></p>
<p><strong>), but an easier way is to do a Google daterange: search by filling in a form at</strong></p>
<p><strong>www.researchbuzz.com/toolbox/goofresh.shtml or www.faganfinder.com/engines/google.shtml</strong></p>
<p><strong>. If one special syntax element is good, two must be better, right? Sometimes. Though some operators can&#8217;t be mixed (you can&#8217;t use the link: operator with anything else) many can be, quickly narrowing your results to a less overwhelming number.</strong></p>
<p><strong>More Google API Applications</strong></p>
<p><strong>Staggernation.com offers three tools based on the Google API. The Google API Web Search by Host (GAWSH) lists the Web hosts of the results for a given query</strong></p>
<p><strong>(www.staggernation.com/gawsh/).</strong></p>
<p><strong>When you click on the triangle next to each host, you get a list of results for that host. The Google API Relation Browsing Outliner (GARBO) is a little more complicated: You enter a URL and choose whether you want pages that related to the URL or linked to the URL</strong></p>
<p><strong>(www.staggernation.com/garbo/).</strong></p>
<p><strong>Click on the triangle next to an URL to get a list of pages linked or related to that particular URL. CapeMail is an e-mail search application that allows you to send an e-mail to google@capeclear.com with the text of your query in the subject line and get the first ten results for that query back. Maybe it&#8217;s not something you&#8217;d do every day, but if your cell phone does e-mail and doesn&#8217;t do Web browsing, this is a very handy address to know.</strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/25/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/25/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/25/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=25&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/20-great-google-secrets/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
		<item>
		<title>10 Fast and Free Security Enhancements PC magazine.</title>
		<link>http://techntech.wordpress.com/2009/02/19/10-fast-and-free-security-enhancements-pc-magazine/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/10-fast-and-free-security-enhancements-pc-magazine/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 16:03:08 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techntech.wordpress.com/?p=23</guid>
		<description><![CDATA[10 Fast and Free Security Enhancements PC magazine. Before you spend a dime on security, there are many precautions you can take that will protect you against the most common threats. 1. Check Windows Update and Office Update regularly (_http://office.microsoft.com/productupdates); have your Office CD ready. Windows Me, 2000, and XP users can configure automatic updates. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=23&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>10 Fast and Free Security Enhancements<br />
PC magazine.</p>
<p>Before you spend a dime on security, there are many precautions you can take that will protect you against the most common threats.</p>
<p>1. Check Windows Update and Office Update regularly (_http://office.microsoft.com/productupdates); have your Office CD ready. Windows Me, 2000, and XP users can configure automatic updates. Click on the Automatic Updates tab in the System control panel and choose the appropriate options.</p>
<p>2. Install a personal firewall. Both SyGate (_www.sygate.com) and ZoneAlarm (_www.zonelabs.com) offer free versions.</p>
<p>3. Install a free spyware blocker. Our Editors&#8217; Choice (&#8220;Spyware,&#8221; April 22) was SpyBot Search &amp; Destroy (_http://security.kolla.de). SpyBot is also paranoid and ruthless in hunting out tracking cookies.</p>
<p>4. Block pop-up spam messages in Windows NT, 2000, or XP by disabling the Windows Messenger service (this is unrelated to the instant messaging program). Open Control Panel | Administrative Tools | Services and you&#8217;ll see Messenger. Right-click and go to Properties. Set Start-up Type to Disabled and press the Stop button. Bye-bye, spam pop-ups! Any good firewall will also stop them.</p>
<p>5. Use strong passwords and change them periodically. Passwords should have at least seven characters; use letters and numbers and have at least one symbol. A decent example would be f8izKro@l. This will make it much harder for anyone to gain access to your accounts.</p>
<p>6. If you&#8217;re using Outlook or Outlook Express, use the current version or one with the Outlook Security Update installed. The update and current versions patch numerous vulnerabilities.</p>
<p>7. Buy antivirus software and keep it up to date. If you&#8217;re not willing to pay, try Grisoft AVG Free Edition (Grisoft Inc., w*w.grisoft.com). And doublecheck your AV with the free, online-only scanners available at w*w.pandasoftware.com/activescan and _http://housecall.trendmicro.com.</p>
<p>8. If you have a wireless network, turn on the security features: Use MAC filtering, turn off SSID broadcast, and even use WEP with the biggest key you can get. For more, check out our wireless section or see the expanded coverage in Your Unwired World in our next issue.</p>
<p>9. Join a respectable e-mail security list, such as the one found at our own Security Supersite at _http://security.ziffdavis.com, so that you learn about emerging threats quickly and can take proper precautions.</p>
<p>10. Be skeptical of things on the Internet. Don&#8217;t assume that e-mail &#8220;From:&#8221; a particular person is actually from that person until you have further reason to believe it&#8217;s that person. Don&#8217;t assume that an attachment is what it says it is. Don&#8217;t give out your password to anyone, even if that person claims to be from &#8220;support.&#8221;</p>
<p></strong></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=23&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/10-fast-and-free-security-enhancements-pc-magazine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
		<item>
		<title>login php script</title>
		<link>http://techntech.wordpress.com/2009/02/19/login-php-script/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/login-php-script/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 15:35:37 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://techntech.wordpress.com/2009/02/19/login-php-script/</guid>
		<description><![CDATA[Database For those of you planning on using a flat file system, you can skip this section. For the rest of us, we want to create a MySQL database table that holds user information, here it is: CREATE TABLE users ( username varchar(30), password varchar(32)); Of course this table can be modified according to your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=3&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Database</p>
<p>For those of you planning on using a flat file system, you can skip this section. For the rest of us, we want to create a MySQL database table that holds user information, here it is:</p>
<p>CREATE TABLE users (<br />
    username varchar(30),<br />
    password varchar(32));</p>
<p>Of course this table can be modified according to your needs, however the password field must not be less than 32 because it has to store the md5 encrypted versions of passwords which are 32 bytes.<br />
database.php</p>
<p>This file will contain the code that connects you to your MySQL database and the functions that access user information, you need to modify this to show your MySQL username, password and database.</p>
<p>Allow Users to Sign-Up</p>
<p>Before we can login users, we need users. Here we will focus on the code that allows users to sign-up, registering their username and password.<br />
register.php</p>
<p> 0);<br />
}</p>
<p>/**<br />
 * Inserts the given (username, password) pair<br />
 * into the database. Returns true on success,<br />
 * false otherwise.<br />
 */<br />
function addNewUser($username, $password){<br />
   global $conn;<br />
   $q = &#8220;INSERT INTO users VALUES (&#8216;$username&#8217;, &#8216;$password&#8217;)&#8221;;<br />
   return mysql_query($q,$conn);<br />
}</p>
<p>/**<br />
 * Displays the appropriate message to the user<br />
 * after the registration attempt. It displays a<br />
 * success or failure status depending on a<br />
 * session variable set during registration.<br />
 */<br />
function displayStatus(){<br />
   $uname = $_SESSION['reguname'];<br />
   if($_SESSION['regresult']){<br />
?&gt;</p>
<h1>Registered!</h1>
<p>Thank you <b></b>, your information has been added to the database, you may now <a href="main.php" title="Login">log in</a>.</p>
<h1>Registration Failed</h1>
<p>We&#8217;re sorry, but an error has occurred and your registration for the username <b></b>, could not be completed.<br />
Please try again at a later time.</p>
<p>Registration Page</p>
<p> 30){<br />
      die(&#8220;Sorry, the username is longer than 30 characters, please shorten it.&#8221;);<br />
   }</p>
<p>   /* Check if username is already in use */<br />
   if(usernameTaken($_POST['user'])){<br />
      $use = $_POST['user'];<br />
      die(&#8220;Sorry, the username: <strong>$use</strong> is already taken, please pick another one.&#8221;);<br />
   }</p>
<p>   /* Add the new account to the database */<br />
   $md5pass = md5($_POST['pass']);<br />
   $_SESSION['reguname'] = $_POST['user'];<br />
   $_SESSION['regresult'] = addNewUser($_POST['user'], $md5pass);<br />
   $_SESSION['registered'] = true;<br />
   echo &#8220;&#8221;;<br />
   return;<br />
}<br />
else{<br />
/**<br />
 * This is the page with the sign-up form, the names<br />
 * of the input fields are important and should not<br />
 * be changed.<br />
 */<br />
?&gt;</p>
<p>Registration Page</p>
<h1>Register</h1>
<p>&lt;form action=&#8221;" method=&#8221;post&#8221;&gt;</p>
<table align="left" border="0" cellspacing="0" cellpadding="3">
<tr>
<td>Username:</td>
<td></td>
</tr>
<tr>
<td>Password:</td>
<td></td>
</tr>
<tr>
<td colspan="2" align="right"></td>
</tr>
</table>
<p>Read through the code and see what it&#8217;s doing, there are comments there to help you. It was written with you in mind, I tried to make it so people could just paste their website specific html code in between the php code with ease. Don&#8217;t be scared when you see the use of session variables right away, they are used to tell the script key information like the requested username, registration attempt and registration success. With this information the script knows what to display, and when the registration is done, it &#8220;forgets&#8221; the information (by unsetting the variables).<br />
Note</p>
<p>You&#8217;ll notice that the script immediately refreshes itself after the registration request, this is done to eliminate the case where users, for any reason, hit the Refresh button on their browser and cause a pop-up window that says the page has expired and prompts the user to send the registration request again. This technique is also used in the login script, so watch out for it.<br />
Allow Users to Log-In</p>
<p>Now the fun begins, now that we have users, we can log them in. This is the heart of this tutorial, it will create the login script with the &#8220;Remember me&#8221; feature that we all want, and it accomplishes this by using cookies.<br />
login.php</p>
<p>&lt;?</p>
<p>/**<br />
 * Checks whether or not the given username is in the<br />
 * database, if so it checks if the given password is<br />
 * the same password in the database for that user.<br />
 * If the user doesn&#8217;t exist or if the passwords don&#8217;t<br />
 * match up, it returns an error code (1 or 2).<br />
 * On success it returns 0.<br />
 */<br />
function confirmUser($username, $password){<br />
   global $conn;<br />
   /* Add slashes if necessary (for query) */<br />
   if(!get_magic_quotes_gpc()) {<br />
	$username = addslashes($username);<br />
   }</p>
<p>   /* Verify that user is in database */<br />
   $q = &#8220;select password from users where username = &#8216;$username&#8217;&#8221;;<br />
   $result = mysql_query($q,$conn);<br />
   if(!$result || (mysql_numrows($result) &lt; 1)){<br />
      return 1; //Indicates username failure<br />
   }</p>
<p>   /* Retrieve password from result, strip slashes */<br />
   $dbarray = mysql_fetch_array($result);<br />
   $dbarray['password']  = stripslashes($dbarray['password']);<br />
   $password = stripslashes($password);</p>
<p>   /* Validate that password is correct */<br />
   if($password == $dbarray['password']){<br />
      return 0; //Success! Username and password confirmed<br />
   }<br />
   else{<br />
      return 2; //Indicates password failure<br />
   }<br />
}</p>
<p>/**<br />
 * checkLogin &#8211; Checks if the user has already previously<br />
 * logged in, and a session with the user has already been<br />
 * established. Also checks to see if user has been remembered.<br />
 * If so, the database is queried to make sure of the user&#8217;s<br />
 * authenticity. Returns true if the user has logged in.<br />
 */<br />
function checkLogin(){<br />
   /* Check if user has been remembered */<br />
   if(isset($_COOKIE['cookname']) &amp;&amp; isset($_COOKIE['cookpass'])){<br />
      $_SESSION['username'] = $_COOKIE['cookname'];<br />
      $_SESSION['password'] = $_COOKIE['cookpass'];<br />
   }</p>
<p>   /* Username and password have been set */<br />
   if(isset($_SESSION['username']) &amp;&amp; isset($_SESSION['password'])){<br />
      /* Confirm that username and password are valid */<br />
      if(confirmUser($_SESSION['username'], $_SESSION['password']) != 0){<br />
         /* Variables are incorrect, user not logged in */<br />
         unset($_SESSION['username']);<br />
         unset($_SESSION['password']);<br />
         return false;<br />
      }<br />
      return true;<br />
   }<br />
   /* User not logged in */<br />
   else{<br />
      return false;<br />
   }<br />
}</p>
<p>/**<br />
 * Determines whether or not to display the login<br />
 * form or to show the user that he is logged in<br />
 * based on if the session variables are set.<br />
 */<br />
function displayLogin(){<br />
   global $logged_in;<br />
   if($logged_in){<br />
      echo &#8220;<br />
<h1>Logged In!</h1>
<p>&#8220;;<br />
      echo &#8220;Welcome <b>$_SESSION[username]</b>, you are logged in. <a>Logout</a>&#8220;;<br />
   }<br />
   else{<br />
?&gt;</p>
<h1>Login</h1>
<table align="left" border="0" cellspacing="0" cellpadding="3">
<tr>
<td>Username:</td>
<td></td>
</tr>
<tr>
<td>Password:</td>
<td></td>
</tr>
<tr>
<td colspan="2" align="left">
<font size="2">Remember me next time</td>
</tr>
<tr>
<td colspan="2" align="right"></td>
</tr>
<tr>
<td colspan="2" align="left"><a href="register.php">Join</a></td>
</tr>
</table>
<p> 30){<br />
      die(&#8220;Sorry, the username is longer than 30 characters, please shorten it.&#8221;);<br />
   }</p>
<p>   /* Checks that username is in database and password is correct */<br />
   $md5pass = md5($_POST['pass']);<br />
   $result = confirmUser($_POST['user'], $md5pass);</p>
<p>   /* Check error codes */<br />
   if($result == 1){<br />
      die(&#8216;That username doesn\&#8217;t exist in our database.&#8217;);<br />
   }<br />
   else if($result == 2){<br />
      die(&#8216;Incorrect password, please try again.&#8217;);<br />
   }</p>
<p>   /* Username and password correct, register session variables */<br />
   $_POST['user'] = stripslashes($_POST['user']);<br />
   $_SESSION['username'] = $_POST['user'];<br />
   $_SESSION['password'] = $md5pass;</p>
<p>   /**<br />
    * This is the cool part: the user has requested that we remember that<br />
    * he&#8217;s logged in, so we set two cookies. One to hold his username,<br />
    * and one to hold his md5 encrypted password. We set them both to<br />
    * expire in 100 days. Now, next time he comes to our site, we will<br />
    * log him in automatically.<br />
    */<br />
   if(isset($_POST['remember'])){<br />
      setcookie(&#8220;cookname&#8221;, $_SESSION['username'], time()+60*60*24*100, &#8220;/&#8221;);<br />
      setcookie(&#8220;cookpass&#8221;, $_SESSION['password'], time()+60*60*24*100, &#8220;/&#8221;);<br />
   }</p>
<p>   /* Quick self-redirect to avoid resending data on refresh */<br />
   echo &#8220;&#8221;;<br />
   return;<br />
}</p>
<p>/* Sets the value of the logged_in variable, which can be used in your code */<br />
$logged_in = checkLogin();</p>
<p>?&gt;</p>
<p>This one&#8217;s a little bit tricky because of the function calling. Let me just clarify what this script does.</p>
<p>It first checks to see if the login form has just been filled out and submitted, if not it checks to see if a session has already been established where the username and password are already known. This is true in two cases, when the user has chosen to be remembered and a session is established automatically, or when the user has not chosen to be remembered but has already logged in and is still using the same browser window that he used to log in.</p>
<p>If either of these two cases is true, then it verifies that the username is in the database and that the password is valid, if these two checks pass then the almighty $logged_in variable is set to true, false otherwise. If the user has just filled out the login form and submitted it, the script detects this and then verifies the authenticity of the username and password, if all is well then session variables are set with the username and md5 encrypted password.</p>
<p>Great, but when does the login form get displayed? That&#8217;s all up to you. It&#8217;s up to you the programmer to display the login form when the $logged_in variable is false. But wait! I have added a function that you can call that relieves you of this horrible burden. The displayLogin() function is there to check if the $logged_in variable is true or not and displays information accordingly. How to use this function is described in the Usage section.<br />
Note</p>
<p>login.php is not meant to be a stand-alone file like register.php, it is meant to be included at the top of every file that needs to use it, so it doesn&#8217;t contain the call to &#8220;session_start()&#8221;, that should be at the top of the file that wants to include login.php, as you will see in the examples below.<br />
Remember Me Feature</p>
<p>So, how was this accomplished again? As is described in login.php, when a user chooses to be remembered, two cookies are set on the user&#8217;s computer. Well, really one cookie, but one that contains two important pieces of information: the username and the md5 encrypted password. What is a cookie anyways? It is a temporary file that is stored on the user&#8217;s computer on behalf of the website in order to hold information that is important to the website. How long does this temporary file last? As long as we say so. As written, the expiry time is 100 days, after which the cookie will be deleted. However, it also gets deleted when the user decides to log out, as you will soon see.<br />
Allow Users to Log-Out</p>
<p>If users want to log-out, we should let them. All we need to do is delete the cookies we&#8217;ve set if they chose to be remembered, and simply unset the session variables. Done.<br />
logout.php</p>
<p>Logging Out</p>
<p>&lt;?</p>
<p>if(!$logged_in){<br />
   echo &#8220;<br />
<h1>Error!</h1>
<p>\n&#8221;;<br />
   echo &#8220;You are not currently logged in, logout failed. Back to <a>main</a>&#8220;;<br />
}<br />
else{<br />
   /* Kill session variables */<br />
   unset($_SESSION['username']);<br />
   unset($_SESSION['password']);<br />
   $_SESSION = array(); // reset session array<br />
   session_destroy();   // destroy session.</p>
<p>   echo &#8220;<br />
<h1>Logged Out</h1>
<p>\n&#8221;;<br />
   echo &#8220;You have successfully <b>logged out</b>. Back to <a>main</a>&#8220;;<br />
}</p>
<p>?&gt;</p>
<p>You&#8217;re probably wondering why login.php was included in logout.php, seems a little weird right? Well, if the user is not logged in how can we log them out? We use login.php to verify that the user really is logged in with the help of the variable $logged_in which gets set when login.php is run.<br />
Flat File Database</p>
<p>If you don&#8217;t have MySQL, don&#8217;t worry, you can still use this script! All you would have to do is change the following functions to include your flat file user management code, but remember to keep the operations and return values consistent with the documentation.</p>
<p>    * In register.php &#8211; change usernameTaken() and addNewUser()<br />
    * In login.php &#8211; change confirmUser() and checkLogin()</p>
<p>Usage</p>
<p>Now that everything has been coded, all that&#8217;s left is for you to know how to actually use this beast.</p>
<p>    * database.php &#8211; make sure you put your own MySQL information into it<br />
    * register.php and logout.php &#8211; no changes needed, however you could change the html to reflect that of your website<br />
    * login.php &#8211; In order to use it within a file you must call &#8220;session_start()&#8221; before the line where you include login.php.</p>
<p>I&#8217;ve mentioned the function &#8220;displayLogin()&#8221; found within login.php. If you call it within one of your files, it will display the login form if no user is logged in, if a user is logged in, it displays a message reflecting such. The point of this is so that you won&#8217;t have to include that code in all of your files, all you have to do is just call the function:<br />
Example: main.php</p>
<p>Jpmaster77&#8242;s Login Script</p>
<p>You should also know that login.php sets a boolean variable called $logged_in, which is true when a user is logged in, and false when no user is logged in. You can use this variable in your files for whatever you&#8217;d like.<br />
Example: main2.php</p>
<p>Jpmaster77&#8242;s Login Script</p>
<p>&lt;?<br />
if($logged_in){<br />
   echo &#8216;Logged in as &#8216;.$_SESSION['username'].&#8217;, <a href="logout.php">logout</a>&#8216;;<br />
}else{<br />
   echo &#8216;Not logged in.&#8217;;<br />
}<br />
?&gt;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=3&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/login-php-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://techntech.wordpress.com/2009/02/19/hello-world/</link>
		<comments>http://techntech.wordpress.com/2009/02/19/hello-world/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 04:58:21 +0000</pubDate>
		<dc:creator>angelohero</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Welcome to WordPress.com. This is your first post. Edit or delete it and start blogging!<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=1&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Welcome to <a href="http://wordpress.com/">WordPress.com</a>. This is your first post. Edit or delete it and start blogging!</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/techntech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/techntech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/techntech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/techntech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/techntech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/techntech.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/techntech.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/techntech.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=techntech.wordpress.com&amp;blog=6644214&amp;post=1&amp;subd=techntech&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://techntech.wordpress.com/2009/02/19/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/074b4714f8e7e91c27bd6a008de0c9b5?s=96&#38;d=identicon" medium="image">
			<media:title type="html">angelohero</media:title>
		</media:content>
	</item>
	</channel>
</rss>
