JulioDeLeon / CSE-545-Team-13-Central

Repo for CTF related things
2 stars 0 forks source link

CSE-545-Team-13-Central

Repo for CTF related things

Scripts:

install-packages.sh

This script installs packages from packages.list Add required packages to packages.list to install them.

arp-scan.sh

This script runs arp-scan and saves information into a file called ip.txt. This should retrieve all the ips on the local network.

ip.txt example file:

Interface: v-test, type: EN10MB, MAC: f2:88:46:94:9b:75, IPv4: 10.0.0.1
Starting arp-scan 1.9.7 with 256 hosts (https://github.com/royhills/arp-scan)
10.0.0.2        fa:3c:22:93:d7:6f       (Unknown: locally administered)
10.0.0.3        ff:b2:bb:ee:aa:8f       (Unknown: locally administered)
10.0.0.4        aa:11:86:99:88:8f       (Unknown: locally administered)

3 packets received by filter, 0 packets dropped by kernel
Ending arp-scan 1.9.7: 256 hosts scanned in 2.164 seconds (118.30 hosts/sec). 3 responded

nmap-script.sh

This script runs nmap for the provided network and saves information into a file called scanned_ips and port information into a file called scanned_ports.

-p Expects a file with a list of ports and the -n network arg. One port per line without a newline at the end. This will output all port infomation for the network in a file named scanned_ports. A port range can also be specified. i.e. 22-500

-n Expects a network in the form of 192.168.0.0\/24

-s Scans the given network and lists all the ips in a file called scanned_ips. If this value is not given, the network scan of ips will not be performed.