Pagina de start a forumului Hack The Wold
 FAQ   Cautare   Membri   Grupuri   Inregistrare   Profil   Mesaje private   Autentificare 

Comenzi windows

 
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului Hack The Wold -> N00B
Subiectul anterior :: Subiectul urmator  
Autor Mesaj
HIENA
Administrator
Administrator
HIENA

Data inscrierii: 16/Dec/2006
Mesaje: 547
Localitate: pe luna cu extraterestii

MesajTrimis: 19/12/2006 09:20    Titlul subiectului: Comenzi windows Raspunde cu citat (quote)

CMD Commands
Useful Things to do on CMD!

First, open your Network Connection and right click and select Properties. Then Select TCP/IP and click on Properties again. Now Click on Advanced and WINS tab. Select Default for NeBIOS.

Now back to the main Local Area Connection window, select File and Print Sharing for Microsoft Networks and hit enter.

This is just to make sure you have NetBIOS enabled. We will have some fun with NetBIOS on CMD.

First thing you need to know is some very helpfull commands to use on CMD(Command Prompt).

In case you don't know how to get CMD open in your box, then click on Start, then Run, then type "cmd" (no quotes, off course... you know the drill).

Back to commands:

nslookup
net view
net use
net user
ping
tracert
arp
route
nbtstat
netstat
ipconfig

In case you don't know some of them, then just type the command on CMD and hit enter. A little help will show up in your screen. Read it and understand what the command does.

Lets start easy...

1) ping : This command will allow you to know if the host you pinging is alive, which means if it is up at the time of executing the "ping" command.

ping x.x.x.x (x is the IP address)

or

ping www.whatever.com (www.whatever.com is the website you want to ping, but you don't know the IP)

OBS: Keep in mind that if the host you pinging is blocking ICMP packets, then the result will be host down.

2) nslookup : This command has many functionalities.
One is for resolving DNS into IP.
Lets say you know the website URL but you don't know its IP(and you want to find out).

nslookup www.whatever.com (www.whatever.com is the website you want to find out the IP)

Now, another really nice function of nslookup is to find out IP of specific Mail Severs.

nslookup (enter)
set type=mx (enter)
yahoo.com

This command will give you the mail server IP of yahoo.com. You can use whatever server you want and if it is listed on DNS, then you get the IP. Simple, isn't it?

OK, now why would you want to have an IP of a mail server?
To send spoofed mail to your friends or even for SE.
In case you looking for "How to spoof email", then look for my "How to spoof email tutorial" http://www.infowar.com/forums/showt...=&threadid=2360

3) tracert : This command will give you the hops that a packet will travel to reach its final destination.

OBS: This command is good to know the route a packet takes before it goes to the target box.

tracert x.x.x.x (x is the IP address)

or

tracert www.whatever.com (www.whatever.com is the website you don't know the IP)

4) arp : This command will show you the arp table. This is good to know if someone is doing arp poisoning in your LAN.

arp -a

5) route : This command will show you the routing table, gateway, interface and metric.

route print

6) ipconfig : This command will show tons of very helpful things.
Your IP, gateway, dns in use.

ipconfig

or

ipconfig /all
this command will give all that info but for all networks you might have it.

Also, in case you have a dynamic IP and want to change it, then type...

ipconfig /release (this will release your IP)

ipconfig /renew (this will renew your iP)

OBS: Keep in mind that those commands will change your IP, but the new IP will still be tighed up to you. So don't do anything stupid.

7) netstat : This command will show you connection to your box.

netstat

or

netstat -a (this will show you all the listening ports and connection with DNS names)
netstat -n (this will show you all the open connection with IP addresses)
netstat -an (this will combined both of the above)

8)nbtstat : This command will show you the netbios name of the target box.

nbtstat -A x.x.x.x (x is the IP address)

nbtstat -a computername


net view x.x.x.x or computername (will list the available sharing folders on the target box)


Now some hints:

net use \\ipaddress\ipc$ "" /user:administrator
(this command will allow you to connect to the target box as administrator)

Now if you want to connect to the target box and browse the entire C drive, then use this command:

net use K: \\computername\C$ (this will produse a virtual drive on your "my computer" folder)

OBS: Keep in mind that this will only works if the target box doesn't have an administrator password set.
More info on NetBIOS hack look on my tutorial here: http://www.infowar.com/forums/showt...=&threadid=2318
_________________
[URL=http://imageshack.us]Comenzi windows Comenzi windows[/URL]
[url=http://www.hackthewold.myforum.ro]Comenzi windows Comenzi windows[/url]
<bgsound>


www.invitatiitorrente.com
Sus
Vezi profilul utilizatorului Trimite mesaj privat
FromRomania
n00b
n00b


Data inscrierii: 28/Iun/2008
Mesaje: 2
Localitate: Rovinari,Gorj

MesajTrimis: 28/06/2008 10:43    Titlul subiectului: Raspunde cu citat (quote)

pacat ca nu e postul tau ...e copiat de pe alte forumuri .... :-P
_________________
Hack is not a crime!
Sus
Vezi profilul utilizatorului Trimite mesaj privat
HIENA
Administrator
Administrator
HIENA

Data inscrierii: 16/Dec/2006
Mesaje: 547
Localitate: pe luna cu extraterestii

MesajTrimis: 28/06/2008 11:53    Titlul subiectului: Raspunde cu citat (quote)

pacat ca nu te uiti cand a fost postat :lol: :lol: :lol:
_________________
[URL=http://imageshack.us]Comenzi windows Comenzi windows[/URL]
[url=http://www.hackthewold.myforum.ro]Comenzi windows Comenzi windows[/url]
<bgsound>


www.invitatiitorrente.com
Sus
Vezi profilul utilizatorului Trimite mesaj privat
k4gula
n00b
n00b
k4gula

Data inscrierii: 05/Aug/2008
Mesaje: 39

MesajTrimis: 06/08/2008 18:19    Titlul subiectului: Raspunde cu citat (quote)

Pacat ca nu sunt traduse si in romana. :-(
Sus
Vezi profilul utilizatorului Trimite mesaj privat Trimite un mesaj
Afiseaza mesajele pentru a le previzualiza:   
Creaza un subiect nou   Raspunde la subiect    Pagina de start a forumului Hack The Wold -> N00B Ora este GMT
Pagina 1 din 1

 
Mergi direct la:  
Nu puteti crea un subiect nou in acest forum
Nu puteti raspunde in subiectele acestui forum
Nu puteti modifica mesajele proprii din acest forum
Nu puteti sterge mesajele proprii din acest forum
Nu puteti vota in chestionarele din acest forum


Powered by phpBB © 2001, 2002 phpBB Group
Fa-ti si tu propriul forum GRATUIT, pe www.myforum.ro