Kali Linux tool: Information Gathering: dnsenum

Kali Linux Day 3: Information Gathering tool: dnsenum

What is dnsenum?

dnsenum is a tool that helps you automate information gathering on a specific target using Domain Name System (DNS) queries (and some Google search results scraping).

Read More »

DMitry tool

Kali Linux Day 2: Information Gathering tool: DMitry

What is DMitry?

DMitry or (Deepmagic Information Gathering Tool) is a tool found in Kali Linux that automates some of the commonly used methods in order to gather information about a specific host or target.

Read More »

acccheck tool from Kali Linux

Kali Linux Day 1: Information Gathering: acccheck tool

What is acccheck?

acccheck. An information gathering tool from Kali Linux.

acccheck is a tool written by Faiz which connects to hosts and tries to identify a legitimate combination of username and passwords using a username and password list or dictionary file.

Read More »

A short introduction to Kali Linux

IT security – it is one of the major things that we should be looking at in our daily lives. Since most of our information is constantly being converted into digital form, using secure technologies and doing the best practices when it comes to security is a must do.

Today, we will look at a tool used by some of our IT security practitioners. This is a tool used to secure common IT infrastructures and do security testing. This tool is Kali Linux.

Read More »

TCP Ping: Turns out you can ping websites using TCP!

Ping a great tool in monitoring a host status in real-time. It iTCP Pings available on all (not sure) operating systems such as Windows, Linux, Mac and even Android. I commonly use ping whenever I wanted to see whether or a host is alive or dead. However, sometimes  firewalls do block generic ping packets which utilizes Internet Control Message Protocol (ICMP is a protocol in order for ping to work properly. You don’t have to dig on that but you can if you want. ;)). So now, I don’t have any tool to use to check the host status. However, one alternative is to manually check it or visit the website in order to confirm if the host is up. However, since I don’t like firing up the website and reload it every seconds just to see if it’s up or not (because I am lazy and it doesn’t have logs), I tried to see if I can do a TCP ping. I searched google and turns out there is a too called TCP ping. However its a Windows-only tool (see here). (Too bad. Yeah. Life sucks but you shouldn’t go lose hope that easily.) Turns out if you dig further you will find this! At last the tool that we have been waiting for! But wait. Hold your horses. It’s a frigging script! How do I run it and make it terminal invokable (if that is even a term)? Well, lucky for you I have the same questions. Read below to find out the answer!

Read More »

Installing Chrome / Chromium on Kali Linux (plus tutorial on editing sources.list)

Chromium BrowserSo you’ve been wanting to ditch Iceweasel (Firefox) on you Kali Linux Distro right?So how about using Chrome / Chromium for a change? Worry not, you can easily switch or use both browsers in Kali Linux. All you have to do is add the official Debian repository to sources.list install and configure chromium. Sounds pretty easy right? Well sort of. Of course there will be some hiccups while installing Chromium (on Kali Linux) along the way that is why I decided to make this post in order to help fellow newb users (like us) survive installing that friggin popular browser in Kali Linux.

UPDATE (2016-09-19): To install chromium in Kali Linux, all you have to do is to invoke su or sudo and type this in the terminal: “apt-get install chromium”. Then answer yes and all the required packages will be installed automatically. 

Installing chromium via terminal
Installing chromium via terminal

Thanks to fr2623 for reminding me to update this post.

UPDATE (old): Turns out you don’t have to edit the source.list to install Chromium. I have tried installing Chromium from a fresh install of Kali Linux. You could just skip editing the source list and go directly to installing Chromium using the terminal. However, I will leave the source list tutorial in the post for future reference.

Read More »

Copy vs Hard Link vs Soft (Symbolic) Link

Copy vs Hard Link vs Soft LinkI was trying hard to understand the meaning of links in the Linux world. Based on what I have read, there are two types of links – symbolic (soft) link and hard links. Soft links are pointers to a file while hard links are like linked copies of a file. Wait. Did I just write copy? Confusing right? Why bother doing hard links when you can just copy and paste files from one directory to another? Don’t worry I was also confused about this topic before but a quick Google search gave me a clear answer from an Arch Linux community member Dusty. He stated that in:

Copy:

  • You have two different versions of the file.
  • If you edit one, the other one stays the same.
  • If you delete one, the other one stays there, but it may not be identical if it was edited.
  • Twice as much disk space used (two different files).

Hard Link:

  • You have one file with two different filenames.
  • If you edit one, it gets edited in all filename locations.
  • If you delete one, it still exists in other places.
  • Only one file on disk.

Soft Link:

  • You have one file with one filename and a pointer to that file with the other filename.
  • If you edit the link, its really editing the original file.
  • If you delete the file, the link is broken.
  • If you remove the link, the file stays in place.
  • Only one file on disk.

So basically we need to:

  • Copy if we need a duplicate of the file which is independent of the other file.
  • Do a hard link if we need a file that is a linked very hard to the original file (all contents of the file will be edited whenever we edit one file and the link will stay even if we move the original file to a separate location) and wanted to avoid different versions (of the file) and space eating duplicates.
  • Do a soft (symbolic) link if we wanted a shortcut to the file.

And that’s it! the main differences between Copy, Hard and Soft Link. Hope we all learned something new in this post!

References: