Skip to content

geekshiv-NS/Enterprise-Networking-Squad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Enterprise-Networking-Squad

All the tasks of Enterprise Networking Squad goes here.

Linux Utilities to Save Outputs

Using '>'

Use ">" with any command to save the output in a text format.

Using 'tee'

Use "command| tee [filename]" to save the output of any command and view progress at the same time. example:

nmap 127.0.0.1 |tee nmap.txt

tee

Using grep and cut to get proper output

nmap 127.0.0.1 | grep "open"| cut -d "/" -f1 #Gets port numbers only

tee

  1. Use grep with a unique word in line to eliminate unwanted lines.
  2. Now, use "cut" with "-d" to set a delimiter to distinguish fields and use "-f[int]" to set wanted field char.
  3. Use "sort -u" to get output in sorted form.

Scope Profiling

1. A custom Script to gather hostnames of targets within a domain

#!/bin/bash

i="0"

while [ $i -lt "255" ]
do nslookup 10.11.1.$i 10.11.1.220 | grep -v "NXDOMAIN" | grep name | cut -f1,3 -d" "
	i=$[ $i+1 ]
done

2.

Note Taking

1. Managing outputs when pen-testing.

Tools:

1.Flameshot 2.Cherrytree 3.Keepnote 4.Evernote : Sync to online

About

All the tasks of Enterprise Networking Squad goes here.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published