Windows warning, Question about “Your computer is correctly configured, but the device or resource (DNS Server) Is not responding”

Updating windows 8 and right after restarting, the DNS Server problem raised up out of no where

Today why the sun was shining ;), and everything was fine, my laptop notified me that, hey, you need you to update your windows. Alright, let’s do it to enjoy new security patches and fixes that Microsoft usually provides for us, 😀 right after updating and restarting, I couldn’t get access to the internet anymore. I could ping, but no application could access to the internet. Hey Mr Trouble (windows) I updated you to fix your problem, not to create new problems. I checked the firewall, Antivirus, and malware scanners. Everything was fine. Here are the steps I have gone through to solve the problem.

 

Restarting the Router:

Sorry, I am not the network administrator, so I don’t have any physical access to restart the university network. I couldn’t go for it, so let’s try the rest of option that I could try to solve it. Obviously I couldn’t restart the router to the default setting.

 

Renew IP addresses

I tried the “ipconfig/release” and ipconfig/renew commands, but it didn’t work

 

Restarting the DNS and DHCP services

Let’s try services.msc  (just type it in your Run), I just checked  if DNS and DHCP services are not stopped  for any unexpected reason. Both of their status were running, although I restart it. (This is windows, always restart is the first option). Nothing happened.

 

Should I Flush the DNS?

Hey Sina lets flush the DNS maybe it worked. I ran the “ipconfig/flushdns” and then “ipconfig/registerdns”.

Did it work? Hell nooo.

 

Open DNS or Google DNS

Alright buddy let’s try googleDNS/openDNS

Google DNS
8.8.8.8
8.8.4.4

Open DNS
208.67.222.222
208.67.220.220

 

It worked yeaaaaa  \m/.

Hey Mr Microsoft, this is why people prefer to go for Linux/Mac. You wanted to fix some issues; you made some new issues for me today. Although, Dear Linux has her own complicated problems, still I prefer Ms. Linux J

 

How to increase the VMware VIrtual Machine Hard Disk, and OS Hard Disk within the Virtual Machine

Many of the time we create a VMware virtual machine with a small amount of (e.g. 6 GB) for Virtual Disk. After a while, we face “low disk space” error. I had such problem few days ago.  After a bit digging google, I find out how to expand the Virtual Disk capacity. To do this, first, you need to turn off the virtual machine, and then make sure there is no snapshot, or cloned or linked VM. Then just follow as follow.

chose utilities chose expand
Chose Utilities to expand

 

Then, as the following image you can increase the Virtual Hard Disk as much as you like.

 Chose the maximum disk size as you need
Chose the maximum disk size as you need

So now you can increase the hard disk of the virtual machine Operating System as well. Let’s assume that, the VM operating system is windows XP. Just download the Gparted.iso. This tool works with any Linux, Mac and Windows machines. After downloading the Gparted.iso, boot the VM with it. Just leave all the questions as default until you get the main page. You can increase the size in the gparted very easily.

Gparted Menu
chose your language or chose Don't touch Keymap
chose your language or chose Don’t touch Keymap

The last picture shows how to increase the OS hard disk size.

Increasing th OS hard disk size
Increasing th OS hard disk size

 

Winzip password Cracking

It happens to many of us that we zip some files with passwords, but after a long time we might forget the chosen password, it happened  to me recently, I decided to write about a hand on simple tutorial on how to crack zip password protected  file. Mostly I prefer an online web tool such as  online pdf cracker due to high speed  in cracking, unfortunately I couldn’t find any online unzip cracker, so I tried  to find desktop tool, preferably free one.  “frackzip” is the tool, I am using to crack the zip file. It uses brute force attack, written in assembly language, and it is a free application, which you can find it Kali and BackTrack.

frackzip switches are as follow:

h help

-b brute force
-D dictionary Attack
-B benchmark
-c charset characterset
-V validate
-p init-password string
-l length min-max
-u use-unzip
-m method num
-2 modulo r/m

fcrackzip -u -v -b -p aaaa zipfolder.zip

If you don’t know the length of the password -p option will increase the speed  of password cracking.  in addition , your computer CPU and RAM  are very important in speed  of cracking.

 

Password cracking is one the common steps in Penetration testing to find if the web application or network have been configured properly or not.

How to compress and extract the tar.gz files

You can compress a file or a folder with tar command. Its good to know that, file.tar.gz is the same with file.tgz.

 
 

File compression using tar command:

 tar -cvzf <name of tarball>.tgz /your file or folder directory

 

For instance to compress a file or folder you should type:

Tar -cvzf folder.tgz /home/user/folder

 Or

Tar -cvzf file.tgz /home/user/folder/file.txt

 Notice:

You can use tar cvzf instead tar -cvzf as well.

 
 

File Decompressing using tar:

To decompress or extract them, use the following command.

 
 

tar -xvzf file.tgz

or 

tar -xvzf file.tar.gz

 
 

There is no priority using the flags.

 -z: Compress archive using gzip program

-c: Create archive (compress)

-v: Verbose i.e display progress while creating archive

-f: Archive File name

-x :extract

How to identify your Linux Kernel Version

In many cases it is necessary to know what Linux kernel we are using. Some of the tools or packages work on specific kernel version.

Locating your Linux Kernel Version:

Open up a terminal and type one of the following commands listed in bold text.

uname -a  (prints all information)

uname -r  (prints the kernel release)

uname -v  (prints the kernel version)

uname -o  (prints the operating system)