info@acushlakoncept.com   +234 (803) 533-6234
Views (1.5k) Comment (0)

PUBLISH 09-Sep-2018 LAST UPDATE: 09-Sep-2018

Windows Network Discovery Commands

Below are some commands you will find interesting in performing basic network discovery, enable DHCP server and DNS logging

Basic Network Discovery:

C:\> net view /all C:\> net view \\

Basic ping scan and write output to file:

C:\> for /L %I in (1,1,254) do ping -w 30 -n 1 192.168.l.%I | find "Reply" >> .txt

Enable DHCP server logging:

C:\> reg add HKLM\System\CurrentControlSet\Services\DhcpServer\Parameters /v ActivityLogFlag /t REG_DWORD /d 1

Default DHCP Location Windows 2003/2008/2012:

C:\> %windir%\System32\Dhcp

Default DNS location Windows 2003:

C:\> %SystemRoot%\System32\Dns

Default DNS location Windows 2008:

C:\> %SystemRoot%\System32\Winevt\Logs\DNS Server.evtx

Default location of enhanced DNS Windows 2012 R2:

C:\> %SystemRoot%\System32\Winevt\Logs\MicrosoftWindows-DNSServer%4Analytical.etl

Enable DNS Logging:

C:\> DNSCmd /config /logLevel 0x8100F331

Set log location:

C:\> DNSCmd /config /LogFilePath

Set size of log file:

C:\> DNSCmd /config /logfilemaxsize 0xffffffff


Related Post

Basic Authentication Using...

The steps below will clone a website and redirect after 3 seconds to another page requiring basic authentication....
6 years

HTML Beef Hook With Embedded...

This is a simple beef hook with an embedded frame.  
6 years

Linux Network Commands

Linux Network Commands You will find below some very useful network commands in Linux that will help make you task...
6 years

Scanning and Vulnerabilities...

Scanning and Vulnerabilites Here are somelist of NMAP commands for scanning an IP address or range of IPs for...
6 years

SQLMap

GET REQUEST POST REQUEST SQL INJECTION AGAINST SPECIFIC PARAMENTER WITH DB TYPE...
6 years

PowerShell Commands

PowerShell Commands Some interesting commands in...
6 years
Leave a comment
  

CONTACT US

Message Us


Get In Touch


+243(803) 533-6234
info@acushlakoncept.com