Information Gathering

cURL For OSINT – Unlocking The Power Of Command Line Tools For Intelligence Gathering

cURL is a command line tool created in 1998 by Daniel Stenberg, a Swedish Developper/Programmer.
Daniel Stenberg’s website. The latest version of the Tool and the code is open source.

What Exactly Does cURL dD?

I am not a cURL expert and it’s quite difficult giving an exact explanation so I will try and give the most basic explanation.

cURL means Client URL and you already know from above that it’s a command line tool, so it’s basically a tool that permits/enables data transfer over many network protocols (HTTPS, HTTP, FTP, it also supports SSL Certificates).

The tool communicates with a web server with a URL and tells the server the data to be sent or received. (yes you read that correctly, the tool can do both)

Difficulty

cURL is fairly easy to use, and if you have never opened your Terminal before, now is the time to do so.

Installation

I simply installed cURL with Homebrew
Install Command: $ brew install curl

Once you have installed cURL, you can also install Grep: (more info on grep later on)
Install Command: $ brew install grep

Commands

Now that you have everything installed, we are good to go, so let’s have a look at some commands for OSINT (Open-Source Intelligence).

IP Address Information

Finding Your Own IP

Commands for finding the IP address of the device you are on: (type each command separately, each command does the same thing)

$ curl api.ipify.org
$ curl ipinfo.io/ip
$ curl ifconfig.me

Commands to get your IPV4 and IPV6 addresses:

$ curl -4 icanhazip.com
$ curl -6 icanhazip.com

For more information click here.

Varshini

Tamil has a great interest in the fields of Cyber Security, OSINT, and CTF projects. Currently, he is deeply involved in researching and publishing various security tools with Kali Linux Tutorials, which is quite fascinating.

Recent Posts

Kali Linux 2024.4 Released, What’s New?

Kali Linux 2024.4, the final release of 2024, brings a wide range of updates and…

2 days ago

Lifetime-Amsi-EtwPatch : Disabling PowerShell’s AMSI And ETW Protections

This Go program applies a lifetime patch to PowerShell to disable ETW (Event Tracing for…

2 days ago

GPOHunter – Active Directory Group Policy Security Analyzer

GPOHunter is a comprehensive tool designed to analyze and identify security misconfigurations in Active Directory…

4 days ago

2024 MITRE ATT&CK Evaluation Results – Cynet Became a Leader With 100% Detection & Protection

Across small-to-medium enterprises (SMEs) and managed service providers (MSPs), the top priority for cybersecurity leaders…

6 days ago

SecHub : Streamlining Security Across Software Development Lifecycles

The free and open-source security platform SecHub, provides a central API to test software with…

1 week ago

Hawker : The Comprehensive OSINT Toolkit For Cybersecurity Professionals

Don't worry if there are any bugs in the tool, we will try to fix…

1 week ago