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). You can try pinging 8.8.8.8 which belongs to Google or ping www.google.com (www.google.com is the website you want to ping, but you don’t know the IP)
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 but you want to find it out.
Eg. nslookup www.google.com (www.google.com is the website for which 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? You can send a spoofed email to your friends using the IP address of the mail server. You can check the tutorial here for sending spoofed email.
3) tracert : This command will give you the hops that a packet will travel to reach its final destination. This command is really helpful if you 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.google.com (www.google.com is the website you don’t know the IP)
4) arp : This command will show you the arp table. You can find out if anyone has done arp poisoning in your LAN using this command.
arp -a
5) route : This command will show you the routing table, gateway, interface and metric.
Code:
route print
6) ipconfig : This command will show you a lot of useful things like your IP, Gateway, DNS in use, etc. This command will give all that info but for all networks you might have it.
Code:
ipconfig or ipconfig /all
Also, in case you have a dynamic IP and want to change it, then type…
Code:
ipconfig /release (this will release your IP)
ipconfig /renew (this will renew your iP)
7) netstat : This command will show you connection stats
Code:
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)
net view x.x.x.x or computername (will list the available sharing folders on the target box)
Here are some additional CMD commands which will help you.
Code:
net use \ipaddressipc$ “” /user:administrator
(this command will allow you to connect to the target as administrator)
Now if you want to connect to the target and browse the entire C drive, then use this command:
Code:
net use K: \computernameC$
(this will create a virtual drive on your “my computer” folder)
Please not that this command will only work if the target PC/laptop has not set a Adminastrator Password.
To run your pc for best performance
1. win+ R : gpedit.msc ----- local computer policy – computer configuration—administrative templates— windows components –Microsoft defender antivirus-MAPS--sent files samples when further analysis is required (enable this in options always prompt faster )
2 win+R : sysdm.cpl--Advanced –perfomance ( settings ) --adgust best perfomance
3 win+R :msconfig—boot---advance option--- click number of pross. all they have
4 win+R:msconfig—boot---advance option--- click number of processors ( all they have )
5 system---display ---graphics--- change default graphics settings ---optimization for windowed games to on
6 shift+Ctrl+windows+b = restart video control drivers if freeze
7 Ctrl + shift + T = if accidentally close your browser and lost your tabs
--------------------------------------------------------------------------------------------
· Win +R : mrt -------next ----full scan (Remove all virus )
· Start---right click -windows power schell -- --- type ( slmgr /rearm)---ok restart (Remove activate windows )
· If Slow cpu : a) Cmd admin ----type:
powercfg /setacvalueindex scheme_current sub_processor toldisable 000
or - - Type: powercfg /setactive scheme_current
b) Start---right click -windows power schel ---
type : iwr -useb https://christitus.com/win |iex (in tweaks tab click all essential tweaks and….)
· for Win activation: type Powershell ----run admin –
type :irm https://massgrave.dev/get | iex or : irm https://get.activeted.win/get | iex (press 1 to activate ,2 check office , 3 …, 4 online kms 5 activation stat )
· CMD admin (cmd -c:\>(location where is that.exe) /forceit -- enter) force install
· Find WiFi password win10 restart cleared pass CMD command : netsh wlan show profiles, netsh wlan show profile name=profile name key=clear
· Cmd admin:...c:\powercfg /batteryreport
· Vpn type protocols TCP για αξιοπιστία,. UDP για ταχύτητα, IKEv2 για κινητικότητα και ισχυρή ασφάλεια ,Xray για προηγμένες προστασίες απορρήτου και κατά της λογοκρισίας

