window Flashcards
rem => coment in bash
rem vamos con todo
@echo off
dont show the rote in the cli
where py
where node
variables in windows # dont work in powershell
set a=reliable
echo %a%
pause
help
goto
:first
goto first
@echo off
:first
cls
echo one
pause
:second
cls
echo two
pause
goto first
input in cmd
set /p my_variable=one
set /p var=# Select an option:
echo. The number “%var%” is correct
when dont work :
dir /?
dir –help #wrong
dir /? #fine
show => MAC
ipconfig/all
#direccion fisica (adress phisical)
show MAC => gateway
ipconfig
//search gateway
arp -a
//search your gateway
clean the memory cache
ipconfig/flushdns
servidor dns
use: UDP
port: 53 // very important
nslookup // ubutu | windows
#
DNS
sigilosos
#RESOLUCION ABIERTA => GoogleDNS (8.8.8.8)
———————————————
utiliza UDP
———————————————–
flujo rapido=> as direcciones IP de DNS cambian constantemente en apenas minutos. botnets Double IP Flu=>rápidamente el hostname para las asignaciones de dirección IP
how to enter => management tools
Panel de control\Sistema y seguridad\Herramientas administrativas