Welcome to Vhunk’s Weblog











Changing Password of User using Commandline in Windows XP

Steps

1. Click on START > RUN > type cmd.exe > hit [ENTER key]

2. On command  prompt type  NET USER [username] [yournewpassword]

3. E.g  NET USER TESTUSER yournewpassword

here ,

username is : testuser

new password : yournewpassword

type  NET USER /?  for help about this command

c:\> NET USER  /?   [hit Enter key ]



open windows registry [ start > Run > Regedit.exe hit Enter ]
Hive: HKEY_LOCAL_MACHINE

Key: \System\CurrentControlSet\Control\Terminal Server\

Name: fsDenyTSConnections

Type: REG_DWORD

Value: 0=Enable this key, that is Remote Desktop Connection

Value: 1=Disable this key, that is Dont allow remote person to Connect to the computer

if u are an Administrator and if u want to enable remote desktop connection remotely then i have a small script..


‘======================================================
‘Script_Name :Enable_RDP_Remotely.vbs
‘Description : This script enables the Remote desktop functionality remotely
‘ The script perform registry changes. In order to apply those changes
‘ a reboot is required……

‘Remarks and Limitations : Works for WinXP and Windows 2003 Servers.
Win2000 has not been tested Yet
‘ A Reboot is required
‘======================================================

‘Error Handling, Declare Constants and Variable…
‘—————————

On Error Resume Next

Const HKEY_LOCAL_MACHINE = &H80000002
dim vbYesNo
dim vbQuestion
vbYesNo = 4
vbQuestion = 48

‘Create inputbox in order to collect the computer Name
‘—————————-

StrComputer=InputBox(“Enter Name of the Remote Computer…”,”Connect to Remote Computer”)

‘Connect to the Remote Registry using WMI space
…We assume that you have administrative rights
‘———————————

Set oReg=GetObject(“winmgmts:{impersonationLevel=impersonate}!\\” & _
strComputer & “\root\default:StdRegProv”)

‘Error handling…if not able to connect to the remote machine…you will be notified
‘———————————————————

If Err.Number <> 0 Then
MsgBox “Error. Computer not accessible…Possible reasons” & vbcrlf & vbcrlf &_
“1.the computer name is incorrect” & vbcrlf & _
“2.the computer is not running… ” & vbcrlf & _
“3.the currently logged-on user has no admin rights”& vbcrlf & vbcrlf &_
“End of Script”,64,”An Error occured”
WScript.Quit()
End If

‘to enable remote desktop,
‘registry key HKLM\System\CurrentControlSet\Control\Terminal Server\fsDenyTSConnections
’should be set to 0

strKeyPath = “System\CurrentControlSet\Control\Terminal Server”
strValueName = “fDenyTSConnections”
dwValue = 0
oReg.SetDWORDValueHKEY_LOCAL_MACHINE,strKeyPath,strValueName,dwValue

‘Ask the User if he wants to reboot the machine right now or do it later….
‘————————————-

retry= msgbox (“A Reboot is required in order to apply the changes” & vbcrlf & _
“Do you want to reboot the remote computer Now ?”,52,”Reboot the Remote Machine”)

Select Case retry

Case vbYes
‘WMI Code used to reboot the remote computer
Set oWMI = GetObject(“winMgmts:\\”& strComputer)
Set colComputers = oWMI.ExecQuery(“SELECT * FROM Win32_OperatingSystem”)
For Each refComputer In colComputers
If refComputer.Reboot() <> 0 Then
WScript.Echo “Reboot failed”
Else
WScript.Echo “Computer rebooted”
WScript.echo ” Action completed sucessfully “
End If
Next
Case vbNo
WScript.Echo(“Changes will not be applied for the moment”)
End Select



{July 4, 2008}   Unblock any Website !!

Google as a proxy Reloaded !!

Recently i was surfing sum security related sites in my office but i found that some of them were blocked by a UTM [ Unified Threat Management ] device. it was really irritating whn the site was block..

as mentioned in my earlier Posts 9 Alternative ways to Access Blocked sites one of the methods was google cache method. i tried google cache trick and but i was blocked …

I didnt mention the trick of using Google as a proxy Server because its no more working….

Trick was : Translation of page from english to english by which google use to act as a proxy server but now doent workd

Click here if u wanna try google as proxy server trick

But Dont Worry you can Easily FOol the Search Engine… :P …here we go

i have tricked this hack…and by which Google can Still be used as a proxy server…

open the following page in your fav. browser

http://translate.google.com

then paste the url which you want to access…

in this e.g. i m using www.darknet.org.uk/2006/04/top-15-securityhacking-tools-utilities/ as my WebLink

by default you can see Spanish to English Translation

Click the small downarrow and Select Hindi from listbox as shown in the figure [ i use hindi coz lots of English words are still not translated into hindi and vice a versa..i guess its still in its beta ..]

now click the Translate button. You can now access this page by being anonymous on the INTERNET.. Keep Safe Surfing…Happy hacking :) ….i would b happy to hear sumthing from you in the comment section…u can share ur view , ideas , tricks



{July 3, 2008}   Type in Indian Languages

Visit this Link

http://quillpad.in/



{July 3, 2008}   Bluetooth Hacking

Bluetooth Hacking

Bluetooth hacking has gained popularity recently with an increasing amount of software becoming available to hackers for gaining access to Bluetooth devices. Most of the hacking tools seem to be for the Linux platform and include names such as BlueScan, BlueSniff and BTBrowser.

There is even a dictionary of Bluetooth hack terminology that seems to have become well established. Here is a brief rundown of the terms that are commonly used:

Bluesnarfing
Bluesnarfing involves gaining unauthorized access to a Bluetooth enabled device for the purpose of accessing or stealing personal information or files. This form of Bluetooth hacking is probably the most difficult for the hacker to achieve and recent firmware upgrades to Bluetooth devices have reduced the risk. Your best form of protection is to not leave your phone is discoverable mode.

Bluejacking
Bluejacking is a mostly harmless activity and usually involves sending a vCard (electronic business card) to another Bluetooth device with an offensive message in the name field. As most Bluetooth devices are still in the 10 meter range, the person who “Bluejacked” you is likely to be in the same room.

Bluebugging
Bluebugging involves hacking into a phone using device commands without the user noticing. If the hacker were successful, they could listen in on phone conversations, make phone calls and send or receive text messages. Bluebugging has a similar result to bluesnarfing but exploits a different vulnerability that is found in older phones.

Should you be concerned about Bluetooth hack attempts? Probably not due to the fact that most Bluetooth devices are still in the 10m range and there have been recent firmware upgrades to make Bluetooth devices more secure. If you are concerned, your best form of protection is to keep your devices Bluetooth turned off when not in use. And when Bluetooth is turned on, make sure you don’t leave it in discoverable mode.

Further reading:
Bluetooth hacking for fun and profit



There’s nothing more damaging to your productivity than having to wrestle with the program you are using to get it to do what you want. Searching for tools or buttons is a task that can easily be bypassed with some quick memorization of shortcuts.

Undo, Multiple Times

[Ctrl + Alt + Z]

Most programs allow you to press [Ctrl + Z] multiple times to perform multiple Undo’s, but Photoshop requires [Alt], otherwise you’ll just keep undoing then re-doing then undoing then re-doing then undoing then re-doing.

Hand/Move Tool

[Spacebar]

Holding the spacebar will turn your cursor into the hand in almost any situation… when using different tools, with dialog boxes open, etc… allowing you to quickly navigate your document no matter what you’re doing.

Switch Document Windows

[Ctrl + Tab]

Your Photoshop workspace can become a mess when working on multiple files, especially when you hate minimizing, like I do, so being able to switch windows quickly is a must.

New Layer

[Ctrl + Shift + N] – with dialog
[Ctrl + Shift + Alt + N] – without dialog

Layers are the greatest thing(s) ever invented in any (design) program and being able to manage your layers properly is important. I’m Errorphobic, which makes me a layer junky, which also makes this a favorite shortcut of mine.

Duplicate Layer

[Ctrl + J] – without dialog
[Ctrl + Alt + J] – with dialog

You can duplicate an entire layer, or, if you have a selection, the selection will be duplicated to it’s own layer. This is great when trying different techniques or effects without having to worry about errors (Errorphobic, remember?).

Zoom In/ Zoom Out / Fit to Window

[Ctrl + =] – zoom in
[Ctrl + -] – zoom out
[Ctrl + 0] – fit to window

When you’re slightly obsessive and need to get that 1-perfect pixel zooming in and out quickly is a necessity to achieving that perfection.

Re-run Filter/ Fade Filter

[Ctrl + F] – run filter again
[Ctrl + Alt + F] – run filter again, with dialog
[Ctrl + Shift + F] – fade filter

Even though Photoshop provides preview windows in the dialog box for most filters, there’s still no true way of telling whether you’ve achieved your desired effect until you see the full image. If something goes wrong, you can quickly undo, then go back to your filter and try again without having to go through the hassle of moving your cursor. Or, if your filter effect is too intense, you can quickly fade it down without having to re-adjust the filter settings.

Making Your Own Shortcuts

These shortcuts may not be on the top of everybody’s list, but that all depends on your project and workflow. Luckily, Photoshop allows you to custom tailor your own Keyboard shortcuts to suit your needs. Just press [Ctrl + Alt + Shift + K] or go to [Edit > Keyboard Shortcuts.



{June 25, 2008}   WebTools

Here is the gud link for sum webTools

Click here



{June 23, 2008}   Remote Shutdown Via SMS

This should take < 10 minutes to set up and configure.Step 1 – Get thunderbird portableDownload a copy of portable thunderbird:
http://portableapps.com/apps/internet/thunderbird_portable
and extract it by running the exe.Step 2 – Setup thunderbird & install add-onFirst of all, set up an email account. I created a gmail account just for this project. Go through thunderbird’s setup process and make sure your email account is configured properly. You’ll probably need to login to your account and enable POP/IMAP settings.

Now that you have a portable, working copy of mozilla thunderbird, download this add-on:
https://addons.mozilla.org/en-US/thunderbird/addon/2610
This is what makes it all work.

To install this into the thunderbird portable folder, open ThunderbirdPortable, and go to Tools -> Add-ons and click install. Direct thunderbird to the .xpi file you downloaded and it will install the add-on.

Restart thunderbird to proceed.

Step 3 – Configure inbox

Before you can configure the options for the add-on, you’ll need to create a folder that will hold the text messages. Right click on “Inbox” and click new folder. Name this something memorable. I named mine “SMS”

Next, click Tools -> Message Filters. Here you will pick the requirements your text message must meet in order to shut down your computer. Click “New” and create a filter. Configure your filter to meet some requirements in the top box, and configure the second box to move the message into the folder you created earlier.

Step 4 – Configure add-on

Before the add-on can run, it needs a command to run. Create a batch file in the portable thunderbird program directory that contains something like this:

Code:
shutdown.exe -s

In my example, I’m naming it shutdown.bat

Next, open up your portable thunderbird and click on the folder you created earlier (”SMS” in my case).  Then, go to Tools -> Mailbox Alert Preferences

IMPORTANT : Make sure that you have selected your folder BEFORE editing the mailbox alert preferences.  Otherwise, you will end up shutting down your computer every time you receive an email.

Check the Execute a command: checkbox as I have above, and point it to the shutdown batch file.  Hit OK.

To decrease the delay between the sending of the text message to the shutting down of the computer, go to Tools -> Account Settings…
click “Server Settings” on the left side under the account you will be receiving text messages on.  Under the server settings part of the box, change Check for new messages every _30_ minutes to every _1_ minute.

Well done.  Running this portable program will enable you to shutdown your computer from anywhere, as long as your computer is connected to the internet and you have a phone.  Try it out – send a message to your email address that meets the criteria you set up in the filter.  If everything works out, next time thunderbird checks for messages, it should get your SMS and shutdown.

This concludes the practical part of the guide, but, as I’m sure you’ve processed, this could potentially be used from ANY computer connected to the internet to run ANY program.  This has quite a lot of potential, so I decided to see what I could whip up in a couple of minutes.

idea – run the program invisibly, in the background

This is fairly easy to set up.  Download nircmd (http://www.nirsoft.net/utils/nircmd.html) and place it in your thunderbird folder.  Nircmd is a really cool tool that can be configured to do quite a lot of things.  Read the .chm in the zip to see all of the options.  After you have placed the executable in the folder (nircmdc.exe), create another batch file.

put this in the file:

Code:
@echo off
start ThunderbirdPortable.exe
nircmdc cmdwait 5000 win hide ititle “Thunderbird”

This is a fairly simple batch file, which will
open thunderbird in a new process, wait 5
seconds (for thunderbird to initialize and start
up) and then hide the window.  The program is
still viewable in the your processes, but it
isn’t viewable in the taskbar.

Now
all you need to do is double click the batch
file you have just created, wait a few seconds,
and you will have a portable thunderbird running
in the background, ready to shutdown your
computer when it receives the right message.

I’m sure you can think of many more ideas to add
to this, so contribute whatever you’re
thinking.  My apologies if I left out anything
important in this guide.  Please let me know if
I did.  If you get it working, let me know how
it goes.



{June 23, 2008}   Google as a Dictonary :

here is a simple trick which will allow you to use google as ur dictonary. This trick will help you to find the meaning of word..here we go..

open www.google.com

in the SearchBox type “Define:yourWord”

remember u’ll have to use “define (followed by semicolor and ur word without BlankSpaces)”

e.g Define:attitude

you can save ur time if you are using a firefox webBrowser with googleToolbar

Click the Image to ZOom.



Looking for a legal way to download music onto your computer? If you’ve been using Kazza or other file sharing programs to download music, you could get into big trouble and it’s best to avoid it altogether. However, Google indexes hundreds of thousands of MP3s, WMAs, and OGGs that are stored in open directories all over the world and which you can download for free without worrying about legal issues.

Finding free music downloads using Google

All you need to do is know how to create a query in Google that will find the exact song you are looking for. Here’s how to find MP3 files in open directories using Google:

-inurl:htm -inurl:html intitle:”index of” “Last modified” mp3

The inurl filter and intitle filters are used to find the open directories on the Internet. The mp3 filter at the end tells Google to look inside of these directories for any files with mp3 in the name. You can also search for WMA and OGG by changing the value of mp3.

You can also create a more specific query, i.e. for a particular band or song, by adding more filters after the mp3 filter. For example, here I am searching for Linkin Park songs:

-inurl:htm -inurl:html intitle:”index of” mp3 “Linkin Park”

There are a couple of ways you can search for music using Google search and I will list out a few more that I have used before for finding music via Google search:

-inurl:(htm|html|php) intitle:”index of” +”last modified” +”parent directory” +description +size +(wma|mp3) “Linkin Park”

This one is slightly longer, but does pretty much the same thing. As you can see it includes a few more filters that are not present in the first search mentioned. You can try out both and see which one gives you better results. Using both, I’ve been able to find tons of songs related to Linkin Park , not just her own, including parodies, remixes, etc.

Finding free MP3 downloads via del.icio.us

You can also find a lot of free music using the popular bookmarking service del.icio.us. Basically, you have to perform a custom search in order to find MP3 files that have been tagged. You can do this by typing in:

http://del.icio.us/tag/system:filetype:mp3

This will give you a nice list of MP3s that have been indexed on del.icio.us. If you want to find items tagged for a specific artist or band, you can use the following URL:

http://del.icio.us/tag/system:filetype:mp3+Linkin Park)

Pretty neat! If you want to download the song to your computer, you just have to right-click on the link and choose Save Link As or Save Target As.

You can also check out MP3 blogs and MP3 Blog Aggregators as they routinely put up free downloads to the latest music for a specific period of time.

If you’re just in the mood to listen to the latest music, but not download it, you can check out to really cool sites, Seeqpod and Songza, that I had written about earlier. Enjoy!

I will b soon post a list of Sites that allow you to listen online Songs. :)

Feel Free to comment you view !!



et cetera