Thursday, November 11, 2010

MAKE YOUR LIMITED ACCOUNT ADMIN VIA COMMAND PROMPT

To do so, you need to open the command prompt in admin mode..

Goto Programs -> Accessories -> cmd
Right click on it and select run as.
Select run as following user and provide the admin's username and password.

Now command prompt will open. In that add this command...

c:\..> net localgroup administrators /add

You have to add the account name in place of   and then press enter.


Now Logoff and again login.

You will be administrator now......  :)

SEND FILES THROUGH LAN IN XP

Here i am telling you the shortcut... try this its amazing....... :)

You need 2 computers to send file from one computer to another.
Don't try in Win 7 or Vista. Its removed from them....

No problem even if you are a Limited user...

Follow these steps:-

Goto C:\Program Files\NetMeeting
Now find conf.exe and doubleclick on it....
It will ask for install..
Click next.
Add name, last name and email id.... You can add any garbage....


Click Next and again Next.

Now in this pic as shown, select Local Area Network.


Click Next.

Uncheck both the options given....


Click Next-> Next -> Next until it finishes......

Now a screen as shown will appear...

Now even if you close it, you can now run it again by going to the same folder and clicking conf.exe . Now it will not ask for settings again and will start from here.

On the second computer, do the same thing.

One important thing to keep in mind.....

The default path for storing the transferred files is in "C:\Program Files\NetMeeting\ Receieved Files". As this is a "limited" account, and by default this folder is not there, so either create this folder by using "command prompt" in "Admin mode" or follow the steps given below. As I know some of you will create error in creating folder through command prompt, so use the below steps to change the folder location...

Goto tools tab and select "file transfer".


Now in this window, goto File and select change folder. Select "my documents" folder of your limited account.


Now you are done....
Run the conf.exe on both the computers simultaneously...
Then Enter the IP of other computer as shown and press "Enter".


 Now the other will receive a call. Pickup the call...
Now you are connected...

Once you are connected, you can transfer files.......

Now the person who wants to send the file, just click on the bottom Right button.
A dialog box as shown will appear.


Now after adding files, click on send to all...


It will send to all....
You will receive it on other computer...


Now you can close it...

So no need to have admin account...  just need to change the received files folder... 
You can also directly run it by typing conf.exe in "Run". But don't use it as it remains there and anyone can see what you have tried to run......
Thats it. Now you can share anything to anyone..... :)

Wednesday, November 10, 2010

Perform Administrative tasks using command prompt......

If we are logged in to standard user account and we want to enable or disable a device from the device management console, se switch accounts, log in as administrator and then change the settings. But this can decrease the performance of your computer making it unable to respond for some time. So here i am going to show you another method through command prompt of standard user, using which you can easily enable or disable the devices. Remember that we need to know the administrator accounts password.

Steps to be followed:-
  1. Goto Start -> Programs -> Accessories.
  2. Right Click on Command Prompt and select run as.
  3. Now select "the following user" and provide the username and password of adminstrator account.


Now the command prompt will get opened with admin mode....

Now type mmc devmgmt.msc

This will open the management console in admin mode...
Now enable or disable whatever you want to do.....


Now you don't have to login as admin!!!! It's this much simple........

thank you for reading my post......... :)

Sunday, November 7, 2010

How to crack password using CAIN

In this post, i am going to tell you about how to crack the password of the remote machine by using the cain&abel utility.

As earlier in one of my blogs, i have written about network security, i have written about using strong passwords and updating them frequently, here i will show why we need to do so.

For this you need to have cain&abel installed on your machine. You can get it from the link provided here.

Next install it on the machine.

Now run it..... you will get the window as shown here...

Start the sniffer by pressing onto it.........
It will start sniffing packets from the LAN.


Now it captures the request which a computer from LAN sends to the remote computer whom it is tryig to access. It sends its NTLM hash. So unless someone access the machine on which we have run the sniffer, we can't get its hash.

So there is a trick to get as much requests as possible by sharing a folder having "CACHY" name so that people try to click on it and try to open it, then the sniffer will capture its NTLM session hash.

To view the hashes captured, goto sniffer tab -> passwords and then click on SMB on the left hand side...


Now just right click on the HASH you want to crack and select "send to cracker".


Now goto the CRACKER tab and select LM & NTLM hash from the left side....
You will get all the hashes which you have sent for cracking..


Now right click on any hash which you want to crack, select brute force attack -> NTLM session security hashes


Now it will ask for the specifications about which kind of password it is..

Now here comes some common user error exploits....
1. Most of the users keep their passwords as simple words of english or numbers.
2. The password is of small length
3. Password comprises of either alphabets or simply numbers.
4. Only one kind of case-letters is used, either upper-case letters or lower-case letters.
5. Less than 8 characters.

So predicting this first leads to saving a lot of time and makes cracking possible in a short span of time.

So in the dialog box which appears, choose the predefined characterset or have your own...


Minimize the password length so that it can be guessed soon if it is really small..

Then start the cracking..


This is how you can crack the passwords of the remote machines...

If you have some hash which has complex password and you are unable to break it, then you can submit it to the websites which accept hashes and they will give you the result of cracking after it is cracked..

This cracking is by Brute Force method about which i have explained in one of my ppt uploaded. You can watch it here...

http://pingmeup.blogspot.com/2010/05/cracking-using-rainbow-tables.html

 So after watching this i hope you will try to keep strong network passwords..

I hope you would have enjoyed this blog...
If you do, then do share it with others..

THANKS....... :)

Friday, November 5, 2010

How to run Turbo C (16 bit ) on windows 7 64 bit

One of the biggest problems which students face is to run turbo C in full screen mode. But this is not possible in windows 7 or windows vista.
But one can increase the font size and change the font to let the turbo C get maximized so that one can work on it properly. The method is:-
Run turbo C by typing in run the path of tc.exe
Right click on the top of the TC window and select properties....
Then goto the font option and change the font and fontsize...
Click Ok and the size of the window will be increased...

Problem:-
This method works fine in case of 32 bit windows. But in case of 64 bit windows, it doesn't work.

Solution:-
Solution provided to this is to use XP mode in windows 7.

But there is another problem.....
XP mode requires windows 7 professional or windows 7 ultimate. Most of the laptops purchased by the students come with windows 7 home basic x64. So they can't run the TC on their laptops plus they are unable to use the XP mode. So there is one more way to run TC in full screen.

For this you will need vmware workstation in which we will install XP and use it for supporting the 16 bit applications.

Steps you need to follow:-
First install vmware on your laptop.
 

After installing, run "VMPLAYER" .

Now create a new XP virtual machine by choosing "Create new virtual machine".
How to create XP virtual machine is given in the link below...
follow the steps provided...

How to install XP in Vm Player

Next power ON the XP machine and login to the machine...
Install all the softwares which are 16 bit and doesnot run on 64 bit machine...
Install Turbo C as well...
 
Now goto Virtual Machine -> Enter Unity


Now it will be locked as shown....

Minimize the virtual machine....
Now you will notice a new tab will come over the start button when you take your mouse over the start button...


Click on that tab and you will find that the start button of the virtual machine is now also on your desktop.

Now goto run of the virtual machine and provide the path of TC.
It will get displayed in the Host machine..
Now you are able to have 16 bit applications along with the 64 bit OS.


One thing to be noted that you can't run TC in fullscreen mode...
For the first time when you will run TC, ti will be in the fullscreen mode and so it will be minimized to the taskbar. You can't open it at that moment of time.
So you have to select it and press ALT+ENTER to make it to normal view...

Now you will be able to see TC like this....

Now you have to take the above mentioned steps of how to increase the size of the TC by changing the font....

So you will have TC maximized like this....

You can even run gtalk which is 16 bit and can't be run on 64 bit OS.

Try this and you will enjoy it.....

Next time i will write about how to use C in Visual C++.