Skip to content

Instantly share code, notes, and snippets.

@Zinkuth
Last active November 28, 2021 13:22
Show Gist options
  • Save Zinkuth/048399678dec54c0354a5ca8aed4ea5d to your computer and use it in GitHub Desktop.
Save Zinkuth/048399678dec54c0354a5ca8aed4ea5d to your computer and use it in GitHub Desktop.
Batch script 1
@echo off
echo WaterBug Hacker Group
echo INFORMATION GATHERING
echo IN PROGRESS...........................
Rem Displays complete system information
systeminfo
echo ================================================================
Rem To view computers on your network
net view
echo ================================================================
Rem Displays a list of domains, computers, or resources that are being shared by the specified computer
net view /domain
echo ================================================================
Rem Displays verbose task information of running processes in the output
tasklist /v
echo ================================================================
Rem Displays all available information about Group Policy
gpresult /z
echo ================================================================
Rem Displays active TCP connections and other statistics
netstat -nao
echo ================================================================
Rem Displays the full TCP/IP configuration for all adapters
ipconfig /all
echo ================================================================
Rem View the current ARP cache
arp -a
echo ================================================================
Rem Manages shared resources
net share
echo ================================================================
Rem Used to connect to, remove, and configure connections to shared resources
net use
echo ================================================================
Rem Enabling Administrator account in Windows
net use administrator
echo ================================================================
Rem Performs the operation on the domain controller in the computer's primary domain
net user /domain
echo ================================================================
Rem Performs the operation on the domain controller in Administrator's domain
net user administrator /domain
echo ================================================================
Rem Specifies the types of processes to include in or exclude from the query
tasklist /fi
echo ================================================================
dir %systemdrive%\Users\*.*
echo ================================================================
dir %userprofile%\AppData\Roaming\Microsoft\Windows\Recent\*.*
echo ================================================================
dir %userprofile%\Desktop\*.*
echo ================================================================
pause
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment