Module 02
Module 02
Scenario
Reconnaissance refers to collecting information about a target, which is the first step in any
attack on a system. It has its roots in military operations, where the term refers to the
mission of collecting information about an enemy. Reconnaissance helps attackers narrow
down the scope of their efforts and aids in the selection of weapons of attack. Attackers use
the gathered information to create a blueprint, or "footprint," of the organization, which
helps them select the most effective strategy to compromise the system and network
security.
Similarly, the security assessment of a system or network starts with the reconnaissance and
footprinting of the target. Ethical hackers and penetration (pen) testers must collect enough
information about the target of the evaluation before initiating assessments. Ethical hackers
and pen testers should simulate all the steps that an attacker usually follows to obtain a fair
idea of the security posture of the target organization. In this scenario, you work as an
ethical hacker with a large organization. Your organization is alarmed at the news stories
concerning new attack vectors plaguing large organizations around the world. Furthermore,
your organization was the target of a major security breach in the past where the personal
data of several of its customers were exposed to social networking sites.
You have been asked by senior managers to perform a proactive security assessment of the
company. Before you can start any assessment, you should discuss and define the scope with
management; the scope of the assessment identifies the systems, network, policies and
procedures, human resources, and any other component of the system that requires
security evaluation. You should also agree with management on rules of engagement (RoE)-
the "do's and don'ts" of assessment. Once you have the necessary approvals to perform
ethical hacking, you should start gathering information about the target organization. Once
you methodologically begin the footprinting process, you will obtain a blueprint of the
security profile of the target organization. The term "blueprint" refers to the unique system
profile of the target organization as the result of footprinting.
The labs in this module will give you a real-time experience in collecting a variety of
information about the target organization from various open or publicly accessible sources.
Objective
The objective of the lab is to extract information about the target organization that includes,
but is not limited to:
System Information Operating systems, web server OSes, location of web servers,
user accounts and passwords, etc.
Overview of Footprinting
Footprinting refers to the process of collecting information about a target network and its
environment, which helps in evaluating the security posture of the target organization's IT
infrastructure. It also helps to identify the level of risk associated with the organization's
publicly accessible information.
Lab Tasks
Ethical hackers or pen testers use numerous tools and techniques to collect information
about the target. Recommended labs that will assist you in learning various footprinting
techniques include:
o Find the company's domains, sub-domains, and Hosts using Netcraft and
DNSdumpster
o Gather DNS information using nslookup command line utility and online tool
6. Perform network footprinting
Lab Scenario
As a professional ethical hacker or pen tester, your first step is to gather maximum
information about the target organization by performing footprinting using search engines;
you can perform advanced image searches, reverse image searches, advanced video
searches, etc. Through the effective use of search engines, you can extract critical
information about a target organization such as technology platforms, employee details,
login pages, intranet portals, contact details, etc., which will help you in performing social
engineering and other types of advanced system attacks.
Lab Objectives
Search engines use crawlers, automated software that continuously scans active websites,
and add the retrieved results to the search engine index, which is further stored in a huge
database. When a user queries a search engine index, it returns a list of Search Engine
Results Pages (SERPs). These results include web pages, videos, images, and many different
file types ranked and displayed based on their relevance. Examples of major search engines
include Google, Bing, Yahoo, Ask, Aol, Baidu, WolframAlpha, and DuckDuckGo.
Advanced Google hacking refers to the art of creating complex search engine queries by
employing advanced Google operators to extract sensitive or hidden information about a
target company from the Google search results. This can provide information about websites
that are vulnerable to exploitation.
Here, we will consider EC-Council as a target organization. However, you can select a target
organization of your choice.
Alternatively, you can also click Ctrl+Alt+Delete button under Windows 11 machine
thumbnail in the Resources pane.
Alternatively, you can also click Pa$$w0rd under Windows 11 machine thumbnail in
the Resources pane.
Networks screen appears, click Yes to allow your PC to be discoverable by other PCs and
devices on the network.
o If the Default Browser pop-up window appears, uncheck the Always perform
this check when starting Firefox checkbox and click the Not now button.
3. In the search bar search for intitle:login site:[Link]. This search command
uses intitle and site Google advanced operators, which restrict results to pages on
the [Link] website that contain the login pages. An example is shown in the
screenshot below.
Here, this Advanced Google Search operator can help attackers and pen testers to extract
login pages of the target organization's website. Attackers can subject login pages to various
attacks such as credential bruteforcing, injection attacks and other web application attacks.
Similarly, assessing the login pages against various attacks is crucial for penetration testing.
4. Similarly, type the command EC-Council filetype:pdf ceh in the search bar to search
your results based on the file extension and the keyword (here, ceh). Click on any link
from the results (here, [Link]) to view the pdf file.
Here, the file type pdf is searched for the target organization EC-Council. The result might
differ when you perform this task.
The PDF and other documents from a target website may provide sensitive information
about the target's products and services. They may help attackers to determine an attack
vector to exploit the target.
5. The page appears displaying the PDF file, as shown in the screenshot.
6. Apart from the aforementioned advanced Google operators, you can also use the
following to perform an advanced search to gather more information about the
target organization from publicly available sources.
o cache: This operator allows you to view cached version of the web page.
[cache:[Link]]- Query returns the cached version of the website
[Link]
o allinurl: This operator restricts results to pages containing all the query terms
specified in the URL. [allinurl: EC-Council career]-Query returns only pages
containing the words "EC-Council" and "career" in the URL
o inurl: This operator restricts the results to pages containing the word
specified in the URL [inurl: copy site:[Link]]-Query returns only
pages in EC-Council site in which the URL has the word "copy"
o allintitle: This operator restricts results to pages containing all the query
terms specified in the title. [allintitle: detect malware]-Query returns only
pages containing the words "detect" and "malware" in the title
o inanchor: This operator restricts results to pages containing the query terms
specified in the anchor text on links to the page. [Anti-virus inanchor:Norton]-
Query returns only pages with anchor text on links to the pages containing
the word "Norton" and the page containing the word "Anti-virus"
o allinanchor: This operator restricts results to pages containing all query terms
specified in the anchor text on links to the page. [allinanchor: best cloud
service provider]-Query returns only pages in which the anchor text on links
to the pages contain the words "best," "cloud," "service," and "provider"
o link: This operator searches websites or pages that contain links to the
specified website or page. [link:[Link]]-Finds pages that point to
EC-Council's home page
o related: This operator displays websites that are similar or related to the URL
specified. [related:[Link]]-Query provides the Google search
engine results page with websites similar to [Link]
o info: This operator finds information for the specified web page.
[info:[Link]]-Query provides information about the [Link]
home page
o location: This operator finds information for a specific location. [location: EC-
Council]-Query give you results based around the term EC-Council
8. Close all open windows and document all the acquired information.
Lab Scenario
As a professional ethical hacker or pen tester, you should be able to extract a variety of
information about your target organization from Internet research services. By doing so, you
can extract critical information such as a target organization's domains, subdomains,
operating systems, geographic locations, employee details, emails, financial information,
infrastructure details, hidden web pages and content, etc.
Using this information, you can build a hacking strategy to break into the target
organization's network and can carry out other types of advanced system attacks.
Lab Objectives
Find the company's domains and subdomains using Netcraft and DNSdumpster
Internet research services such as people search services, alerting services, financial
services, and job sites, provide information about a target organization; for example,
infrastructure details, physical location, employee details, etc. Moreover, groups, forums,
and blogs may provide sensitive information about a target organization such as public
network information, system information, and personal information. Internet archives may
provide sensitive information that has been removed from the World Wide Web (WWW).
Task 1: Find the Company's Domains, Subdomains and Hosts using Netcraft and
DNSdumpster
Domains and sub-domains are part of critical network infrastructure for any organization. A
company's top-level domains (TLDs) and subdomains can provide much useful information
such as organizational history, services and products, and contact information. A public
website is designed to show the presence of an organization on the Internet, and is available
for free access.
Here, we will extract the company's domains and subdomains using the Netcraft and
DNSdumpster tools.
5. The What's that site running? page appears. To extract information associated with
the organizational website such as infrastructure, technology used, sub domains,
background, network, etc., type the target website's URL
(here, [Link] in the text field, and then click the LOOK
UP button, as shown in the screenshot.
6. The Site report for [Link] page appears, containing
information related to Background, Network, Hosting History, etc., as shown in the
screenshot.
7. In the Network section, click on the website link (here, [Link]) in
the Domain field to view the subdomains.
8. The result will display the subdomains of the target website along with netblock and
operating system information, as shown in the screenshot.
9. Now, we will find company's DNS Servers along with Geo IP and domain mapping
using DNSdumpster website.
18. You can also use tools such as Pentest-Tools Find Subdomains ([Link]
[Link]), to identify the domains and subdomains of any target website.
19. Close all open windows and document all the acquired information.
Question [Link]
[Link]
Question [Link]
Linux
Lab 3: Perform Footprinting Through Social Networking Sites
Lab Scenario
As a professional ethical hacker, during information gathering, you need to gather personal
information about employees working in critical positions in the target organization; for
example, the Chief Information Security Officer, Security Architect, or Network
Administrator. By footprinting through social networking sites, you can extract personal
information such as name, position, organization name, current location, and educational
qualifications. Further, you can find professional information such as company or business,
current location, phone number, email ID, photos, videos, etc. The information gathered can
be useful to perform social engineering and other types of advanced attacks.
Lab Objectives
Gather personal information from various social networking sites using Sherlock
Social networking sites are online services, platforms, or other sites that allow people to
connect and build interpersonal relations. People usually maintain profiles on social
networking sites to provide basic information about themselves and to help make and
maintain connections with others; the profile generally contains information such as name,
contact information (cellphone number, email address), friends' information, information
about family members, their interests, activities, etc. On social networking sites, people may
also post their personal information such as date of birth, educational information,
employment background, spouse's names, etc. Organizations often post information such as
potential partners, websites, and upcoming news about the company. Thus, social
networking sites often prove to be valuable information resources. Examples of such sites
include LinkedIn, Facebook, Instagram, Twitter, Pinterest, YouTube, etc.
Task 1: Gather Personal Information from Various Social Networking Sites using Sherlock
Sherlock is a python-based tool that is used to gather information about a target person over
various social networking sites. Sherlock searches a vast number of social networking sites
for a given target user, locates the person, and displays the results along with the complete
URL related to the target person.
Here, we will use Sherlock to gather personal information about the target from the social
networking sites.
Here, we are gathering information about Elon Musk. However, you can select a target of
your choice.
3. Run sherlock "Elon Musk" command and you will get all the URLs related to Elon
Musk, as shown in the screenshot. Scroll-down to view all the results.
The results might differ when you perform this task. If you receive any error messages in
between ignore them.
4. The attackers can further use the gathered URLs to obtain sensitive information
about the target such as DOB, employment status and information about the
organization that they are working for, including the business strategy, potential
clients, and upcoming project plans.
Question [Link]
Use the Sherlock tool to gather all the URLs related to Elon Musk from various social
networking sites. Enter the complete URL related to Elon Musk that is obtained from the
social networking site Codewars.
[Link]
Lab Scenario
During the footprinting process, gathering information on the target IP address and domain
obtained during previous information gathering steps is important. As a professional ethical
hacker or penetration tester, you should be able to perform Whois footprinting on the
target; this method provides target domain information such as the owner, its registrar,
registration details, name server, contact information, etc. Using this information, you can
create a map of the organization's network, perform social engineering attacks, and obtain
internal details of the network.
Lab Objectives
This lab focuses on how to perform a Whois lookup and analyze the results. Whois is a query
and response protocol used for querying databases that store the registered users or
assignees of an Internet resource such as a domain name, an IP address block, or an
autonomous system. This protocol listens to requests on port 43 (TCP). Regional Internet
Registries (RIRs) maintain Whois databases, and contains the personal information of
domain owners. For each resource, the Whois database provides text records with
information about the resource itself and relevant information of assignees, registrants, and
administrative information (creation and expiration dates).
Here, we will gather target information by performing Whois lookup using DomainTools.
1. Click Windows 11 to switch to the Windows 11 machine, open any web browser, and
go to [Link] (here, we are using Mozilla Firefox).
2. The Whois Lookup website appears, as shown in the screenshot. Now, in the search
bar, search for [Link].
3. This search result reveals the details associated with the URL
entered, [Link], which includes organizational details such as
registration details, name servers, IP address, location, etc., as shown in the
screenshots.
4. This concludes the demonstration of gathering information about a target
organization by performing the Whois lookup using DomainTools.
5. Using this information, an attacker can create a map of the organization's network
and further mislead domain owners with social engineering, and obtain internal
details of the network.
7. Close all open windows and document all the acquired information.
Question [Link]
Perform a Whois lookup using DomainTools and find the URL that belongs to the registrar of
the website [Link].
[Link]
Lab Scenario
As a professional ethical hacker, you need to gather the DNS information of a target domain
obtained during the previous steps. You need to perform DNS footprinting to gather
information about DNS servers, DNS records, and types of servers used by the target
organization. DNS zone data include DNS domain names, computer names, IP addresses,
domain mail servers, service records, and much more about a target network.
Using this information, you can determine key hosts connected in the network and perform
social engineering attacks to gather even more information.
Lab Objectives
Gather DNS information using nslookup command line utility and online tool
Overview of DNS
DNS considered the intermediary source for any Internet communication. The primary
function of DNS is to translate a domain name to IP address and vice-versa to enable human-
machine-network-internet communications. Since each device has a unique IP address, it is
hard for human beings to memorize all IP addresses of the required application. DNS helps
in converting the IP address to a more easily understandable domain format, which eases
the burden on human beings.
Task 1: Gather DNS Information using nslookup Command Line Utility and Online Tool
nslookup is a network administration command-line utility, generally used for querying the
DNS to obtain a domain name or IP address mapping or for any other specific DNS record.
This utility is available both as a command-line utility and web application.
Here, we will perform DNS information gathering about target organizations using the
nslookup command-line utility and NSLOOKUP web application.
2. In the nslookup interactive mode, type set type=a and press Enter. Setting the type
as "a" configures nslookup to query for the IP address of a given domain.
3. Type the target domain [Link] and press Enter. This resolves the
IP address and displays the result, as shown in the screenshot.
This specifies that the result was directed to the default server hosted on the local machine
(Windows 11) that resolves your requested domain.
5. Thus, if the response is coming from your local machine's server (Google), but not
the server that legitimately hosts the domain [Link]; it is
considered to be a non-authoritative answer. Here, the IP address of the target
domain [Link] is [Link].
6. Since the result returned is non-authoritative, you need to obtain the domain's
authoritative name server.
7. Type set type=cname and press Enter. The CNAME lookup is done directly against
the domain's authoritative name server and lists the CNAME records for a domain.
9. This returns the domain's authoritative name server ([Link]), along with
the mail server address ([Link]), as shown in the
screenshot.
10. Since you have obtained the authoritative name server, you will need to determine
the IP address of the name server.
13. The authoritative name server stores the records associated with the domain. So, if
an attacker can determine the authoritative name server (primary name server) and
obtain its associated IP address, he/she might attempt to exploit the server to
perform attacks such as DoS, DDoS, URL Redirection, etc.
14. You can also perform the same operations using the NSLOOKUP online tool. Conduct
a series of queries and review the information to gain familiarity with the NSLOOKUP
tool and gather information.
15. Now, we will use an online tool NSLOOKUP to gather DNS information about the
target domain.
19. In the Query: field, click the drop-down arrow and check the different options that
are available, as shown in the screenshot.
20. As you can see, there is an option for AAAA (IPv6 address); select that and click Look
it up. Perform queries related to this, since there are attacks that are possible over
IPv6 networks as well.
21. This concludes the demonstration of DNS information gathering using the nslookup
command-line utility and NSLOOKUP online tool.
22. You can also use DNS lookup tools such as DNSdumpster ([Link]
to extract additional target DNS information.
23. Close all open windows and document all the acquired information.
Question [Link]
Use the nslookup command-line utility to find the primary name server of the website
[Link].
[Link]
Lab Scenario
With the IP address, hostname, and domain obtained in the previous information gathering
steps, as a professional ethical hacker, your next task is to perform network footprinting to
gather the network-related information of a target organization such as network range,
traceroute, TTL values, etc. This information will help you to create a map of the target
network and perform a man-in-the-middle attack.
Lab Objectives
The route is the path that the network packet traverses between the source and destination.
Network tracerouting is a process of identifying the path and hosts lying between the source
and destination. Network tracerouting provides critical information such as the IP address of
the hosts lying between the source and destination, which enables you to map the network
topology of the organization. Traceroute can be used to extract information about network
topology, trusted routers, firewall locations, etc.
Here, we will perform network tracerouting using both Windows and Linux machines.
2. Run tracert /? command to view the different options for the command, as shown in
the screenshot.
3. Run tracert -h 5 [Link] command to perform the trace, but with
only 5 maximum hops allowed.
5. Now, click Parrot Security to switch to the Parrot Security machine and open
a Terminal window.
Since we have set up a simple network, you can find the direct hop from the source to the
target destination. However, screenshots may vary depending on the target destination.
7. This concludes the demonstration of performing network tracerouting using the
Windows and Linux machines.
Question [Link]
Perform network tracerouting using traceroute command on the Parrot machine for the
[Link] domain. Enter the IP address of the target domain.
[Link]
Lab Scenario
Lab Objectives
Whether or not the recipient visited any links sent in the email
The email header is a crucial part of any email and it is considered a great source of
information for any ethical hacker launching attacks against a target. An email header
contains the details of the sender, routing information, addressing scheme, date, subject,
recipient, etc. Additionally, the email header helps ethical hackers to trace the routing path
taken by an email before delivering it to the recipient.
Here, we will gather information by analyzing the email header using eMailTrackerPro.
5. The main window of eMailTrackerPro appears along with the Edition Selection pop-
up; click OK.
6. The eMailTrackerPro main window appears, as shown in the screenshot.
7. To trace email headers, click the My Trace Reports icon from the View section. (here,
you will see the output report of the traced email header).
8. Click the Trace Headers icon from the New Email Trace section to start the trace.
9. A pop-up window will appear; select Trace an email I have received. Copy the email
header from the suspicious email you wish to trace and paste it in the Email headers:
field under Enter Details section.
10. For finding email headers, open any web browser and log in to any email account of
your choice; from the email inbox, open the message you would like to view headers
for.
o Open an email; click the dots (More) icon arrow next to the Reply icon at the
top-right corner of the message pane.
o The Original Message window appears in a new browser tab with all the
details about the email, including the email header
In Outlook, find the email header by following the steps:
o Click the … (More actions) icon present at the right of the message-pane to
open message options
o The view message source window appears with all the details about the
email, including the email header
11. Copy the entire email header text and paste it into the Email headers: field of
eMailTrackerPro, and click Trace.
Here, we are analyzing the email header from gmail account. However, you can also analyze
the email header from outlook account.
12. The My Trace Reports window opens.
13. The email location will be traced in a Map (world map GUI). You can also view the
summary by selecting Email Summary on the right-hand side of the window.
The Table section right below the Map shows the entire hop in the route, with
the IP and suspected locations for each hop.
14. To examine the Network Whois data, click the Network Whois button below Email
Summary to view the Network Whois data.
15. This concludes the demonstration of gathering information through analysis of the
email header using eMailTrackerPro.
17. Close all open windows and document all the acquired information.
Question [Link]
YES
Lab Scenario
The information gathered in the previous steps may not be sufficient to reveal the potential
vulnerabilities of the target. There could be more information available that could help in
finding loopholes in the target. As an ethical hacker, you should look for as much information
as possible about the target using various tools. This lab activity will demonstrate what other
information you can extract from the target using various footprinting tools.
Lab Objectives
Footprinting tools are used to collect basic information about the target systems in order to
exploit them. Information collected by the footprinting tools contains the target's IP location
information, routing information, business information, address, phone number and social
security number, details about the source of an email and a file, DNS information, domain
information, etc.
The results obtained might differ when you perform this lab task.
1. In the Parrot Security machine, open a Terminal window and execute sudo su to run
the programs as a root user (When prompted, enter the password toor).
2. Now, run cd command to jump to the root directory and run recon-ng command to
launch the application.
3. Run help command to view all the commands that allow you to add/delete records
to a database, query a database, etc.
4. Run marketplace install all command to install all the modules available in recon-ng.
9. To create the workspace, run workspaces create CEH command. This creates a
workspace named CEH.
10. Enter workspaces list. This displays a list of workspaces (along with the workspace
added in the previous step) that are present within the workspaces databases.
11. Add a domain in which you want to perform network reconnaissance.
13. Under domain (TEXT) option type [Link] and press Enter. In the notes
(TEXT) option press Enter. This adds [Link] to the present workspace.
14. You can view the added domain by issuing the show domains command, as shown in
the screenshot.
15. Harvest the hosts-related information associated with [Link] by loading
network reconnaissance modules such as brute_hosts, Netcraft, and Bing.
16. Issue modules load brute command to view all the modules related to brute forcing.
In this task, we will be using the recon/domains-hosts/brute_hosts module to
harvest hosts.
17. To load the recon/domains-hosts/brute_hosts module, issue modules load
recon/domains-hosts/brute_hosts command.
18. Issue run command. This begins to harvest the hosts, as shown in the screenshot.
19. Observe that hosts have been added by running
the recon/domains-hosts/brute_hosts module.
20. You have now harvested the hosts related to [Link] using the
brute_hosts module. You can use other modules such as Netcraft and Bing to harvest
more hosts.
To resolve hosts using the Bing module, use the following commands:
o back
o run
21. Now, perform a reverse lookup for each IP address (the IP address that is obtained
during the reconnaissance process) to resolve to respective hostnames.
22. Execute modules load reverse_resolve command to view all the modules associated
with the reverse_resolve keyword. In this task, we will be using the recon/hosts-
hosts/reverse_resolve module.
27. Now, that you have harvested several hosts, we will prepare a report containing all
the hosts.
28. Execute modules load reporting command to view all the modules associated with
the reporting keyword. In this lab, we will save the report in HTML format. So, the
module used is reporting/html.
30. Observe that you need to assign values for CREATOR and CUSTOMER options while
the FILENAME value is already set, and you may change the value if required. To do
so, run the below commands:
35. You can expand the Hosts node to view all the harvested hosts, as shown in the
screenshot.
36. Close all open windows.
37. Until now, we have used the Recon-ng tool to perform network reconnaissance on a
target domain
39. Open a Terminal window and execute sudo su to run the programs as a root user
(When prompted, enter the password toor).
40. Run cd command to jump to the root directory and run recon-ng command.
41. Add a workspace by issuing the command workspaces create reconnaissance and
press Enter. This creates a workspace named reconnaissance.
42. Set a domain and perform footprinting on it to extract contacts available in the
domain.
44. Run the info command command to view the options required to run this module.
45. Run options set SOURCE [Link] command to add [Link] as a target
domain.
48. Now, we will use Recon-ng to extract a list of subdomains and IP addresses
associated with the target URL.
49. Open a Terminal window and execute sudo su to run the programs as a root user
(When prompted, enter the password toor).
50. Now, run cd command to jump to the root directory and run recon-ng command.
51. To extract a list of subdomains and IP addresses associated with the target URL, we
need to load the recon/domains-hosts/hackertarget module.
55. Close all open windows and document all the acquired information.
Question [Link]
Use the Recon-ng tool to gather personnel information. Enter the Recon-ng module name
that extracts the contacts associated with the domain and displays them.
recon/domains-contacts/whois_pocs
Lab Scenario
In this lab, you will use AI to analyze and map digital footprints from social media data. The
AI will identify patterns and highlight privacy risks. By comparing AI-generated insights with
manual analysis, students will understand the power and limitations of AI in cybersecurity.
Lab Objectives
Footprinting with ShellGPT involves leveraging shell scripting capabilities along with GPT's
language processing prowess. By crafting tailored scripts, ShellGPT automates data gathering
from various sources, including WHOIS databases and online forums. It parses and extracts
relevant information such as domain registrations, IP addresses, and network configurations.
ShellGPT streamlines the reconnaissance process, enabling efficient analysis and
identification of potential security vulnerabilities. Its integration enhances the footprinting
phase with automation and intelligent data processing.
The commands generated by ShellGPT may vary depending on the prompt used and the
tools available on the machine. Due to these variables, the output generated by ShellGPT
might differ from what is shown in the screenshots. These differences arise from the
dynamic nature of the AI's processing and the diverse environments in which it operates. As
a result, you may observe differences in command syntax, execution, and results while
performing this lab task.
1. Click Parrot Security to switch to Parrot machine, and login with attacker/toor. Open
a Terminal window and execute sudo su to run the program as a root user (When
prompted, enter the password toor).
2. Run bash [Link] command, when prompted for Enter Your AI Activation Key: enter
the AI Activation Key (to get the activation key follow the steps provided in the below
note) and press Enter to configure ShellGPT and the AI activation key.
You can follow the Instructions to Download your AI Activation Key in Module 00: CEH Lab
Setup to obtain the AI activation key. Alternatively, follow the instructions available in the
file, Instructions to Download your AI Activation [Link]
3. After configuring the ShellGPT in Parrot Security machine, we will use ShellGPT for
harvesting emails pertaining to a target organization. To do so, run sgpt --chat
footprint --shell "Use theHarvester to gather email accounts associated with
'[Link]', limiting results to 200, and leveraging 'baidu' as a data
source" command.
4. ShellGPT will harvest the emails using theHarvester tool and displays the email and
host list.
5. We will perform footprinting through social networking sites using ShellGPT, to do so
run sgpt --chat footprint --shell "Use Sherlock to gather personal information about
'Sundar Pichai' and save the result in [Link]" command.
6. After the execution of the command, in the terminal run ls command to view the
contents in the present working directory.
7. We can see that [Link] file is created by previous command. In the terminal
window, run pluma [Link] command to view its contents. Close the text editor
window.
ls
8. We will perform DNS lookup using ShellGPT, to do so, run sgpt --chat footprint --shell
"Install and use DNSRecon to perform DNS enumeration on the target domain
[Link]" command.
12. This concludes the demonstration of performing footprinting using the ShellGPT.
13. Close all open windows and document all the acquired information.
Question [Link]
[Link]