getting ip's:--

to see the ip all computers you are connected to (web servers, people attempting to hack into your computer).
go to dos (start>run>type command) and run the netstat command. type netstat /? for details.
type netstat -r at the command prompt to see the ip of all computers you are connected to

in msn (and other programs) when you are chatting to someone everything you type goes through the msn servers first (they act as a proxy) so you see their ip rather than who you are chatting to. you can get round this by sending them a file as msn doesn't send file through its proxy.
when you type the netstat -r (or -a for a different view) the ip's are under the foreign address table. the ports are separated by a : . different programs use different ports, so you can work out which ip's are from which program.
connecting to other computers and what ports are:--

servers send information. clients retrieve. simple.
windows comes with a built in program to connect to other computers called telnet.
to start windows telnet start menu> run> type telnet. click connect> remote system
ports are doors into computers. hosts are computer names
(ip number or a name that is translated into the ip automatically)
different programs open different ports, but they always open the same ports so other computers know which port to connect to. you can get a port list listing all the different ports, but a basic one is:
11 :- sends info on the computer
21 :- ftp (file transfer program)
23 :- telnet (login to the computers command line)
25 :- smtp (sends mail)
80 :- http (web pages)
there are thousands of different programs using different ports. you can get programs called port scanners which check a computer for all ports up to a certain number, looking for ways in. you can port scan a computer looking for ways-in.
anyway, back to telnet.
type as the host and port as 80 the click connect.
if nothing happens, you're in. wow. you are connected to yahoo's server.
you can now type http commands (you are connected to an http server, so it supports http commands). ie. on an ftp server you can type open and it will do something. on an http server it will just wonder what the hell you are on about.
type get / http/1.0 then press enter twice to get the file on the server at / (try /index.html) etc.)
allowing dos and regedit in a restricted windows

see for some very cool tactics.
a very simple tactic i found after accidentally locking myself out of dos and regedit is to open notepad and type the following:
[hkey_current_usersoftwaremicrosoftwindowscurrentve rsionpolicieswinoldapp]
[hkey_current_usersoftwaremicrosoftwindowscurrentve rsionpoliciessystem]

save it as something.reg then run it. simple.

making non deletable, unreadable folders

tested on windows 95/98
by holding down alt, then typing numbers on the number pad (right of the keyboard) you can create special characters. if you hold down alt, then press 1, then let go, you got the ascii character 1. you try some random numbers. this goes all the way up to 255. open a dos prompt, and type md (alt+1+9+4)some word. md is the dos command to make a directory, now try and open the directory in windows, you can't. to open it, type ren (alt+1+9+4)some word some word (ren is the dos command to rename)


proxies are computers that you connect through, hiding your computer. most aren't anonymous, they give away your ip. some are. good anonymous proxies: and
different programs require different ways of using proxies. to do it in internet explorer 5 go to tools, internet options, connections, settings. in the above proxies they are in the format host:port

password files
if you lock yourself out of windows stuff, all passwords are stored in files called *.pwl in c:windows. in unix, passwords are normally stored at etc/passwd. this can be viewed using the cat command (prints a file to screen): cat etc/passwd. make sure you're passwords are shadowed (not actually in etc/passwd). also make sure they aren't in a file called shadow, especially not in a file called etc/shadow.
unix passwords are encrypted far better than windows one's (to be fair, windows 95 isn't designed for users), but can still be cracked through a program called jon.

securing your website
ftp ftp is how you upload your web site, if someone finds out the password they can add/ delete anything. brute forcing is the most common ftp attack, where a program guesses every possible combination (or from a list of words). an eight letter alpha-numeric word is almost impossible to crack, as the process is slow.
the real problem is with server side scripting. pages other than plain html (ie. pages that perform commands on the host) are a security risk. the main problems are scripts that write to pages (guest books etc.). if when the guest book is viewed it has a .shtml extension, then it can execute commands. eg. a malicious visitor could place