This repository is prepared for the SyberBurger community and includes basic Go language concepts and simple applications. Everything shown in the training is for educational purposes.
This program is a Go program that resolves subdomains for a user-inputted domain name and prints the IP addresses of each subdomain.
- Run the program.
- The program will prompt you to enter a domain name.
- Enter the domain name and press Enter.
- The program will use the list of subdomains to resolve the IP addresses for each subdomain.
- The resolved subdomain, IP addresses, and any error messages will be printed to the console.
Enter the domain name: example.com
Subdomain: www.example.com
IP Addresses:
192.0.2.1
192.0.2.2
Subdomain: mail.example.com
Error: lookup mail.example.com: no such host
Subdomain: ftp.example.com
IP Addresses:
192.0.2.3
Subdomain: admin.example.com
Error: lookup admin.example.com: no such host
This program is a Go program that performs a port scan on a user-inputted site address and port range to find open ports.
- Run the program.
- The program will prompt you to enter a site address (e.g., example.com) and a port range.
- Enter the site address and port range, and press Enter.
- The program will scan the specified site address for ports within the specified range and identify open ports.
- The discovered open ports will be printed to the console.
Enter a site address for scanning: example.com
Enter a port range for scanning: 1 1000
Scanning in progress...
Total open ports: 3
---------
1) Port 80 is open!
2) Port 443 is open!
3) Port 8080 is open!
Do you want to create a log file named "example.com_07-04-2023.txt"? (y/n)