Banner Ad

    A    L    W    A    Y    S           D    E    S    I    R    E           T    O           L    E    A    R    N           S    O    M    E    T    H    I    N    G           U    S    E    F    U    L   

Technology and business

technology and business are becoming inextricably interwoven. I don't think anybody can talk meaningfully about one without the talking about the other

Arthur C. Clarke

Any sufficiently advanced technology is indistinguishable from magic.

Bill Gates is a very rich man today... and do you want to know why? The answer is one word: versions.

Softwares

Defect-free software does not exist.

Technology is like a fish. The longer it stays on the shelf, the less desirable it becomes.

Thursday, August 25, 2011

Haking FB

Hacking Facebook with Javascript

Because facebook relies so heavily on javascript, and because we can type javascript into the address bar, that means we can “poke” into the workings of facebook to do things that we wouldn’t normally be able to do. It’s not “hacking” exactly, but it employs the same sort of skills hackers use when looking into applications. The best part is that because it’s all using the same control codes (or “API”) that facebook uses, there’s no way for facebook to find out you’re doing it, so it’s totally safe! (I think…) Besides, we’re not going to be doing anything too dodgy, just a few little tweaks ;)

Facebook Hack: Sending your friends offline

Here’s a funny one; if you’re chatting to a friend, get them to paste the following code into their facebook address bar:

javascript:buddyList.toggleTab();

It’ll make them go offline! Of course it’s not permanent, they can go back online by clicking the icon as normal, or by giving the same command again

Facebook Hack: Change facebook color

Check this out:

Isn’t that cool? Just use the following code to get your profile colour changed and impress your friends!

javascript:void(document.getElementById('headNavOut').style.backgroundColor="red");

Of course, you can use any colour you like; green, yellow,orange, black. It’s also fun to change it to “white” so you can’t see the text. Muahahaha. Again, only you can see it, but it does last until you log out or view certain special pages.

Facebook Hack: Get Chat History Even When Friends Aren’t Online

New: Video Tutorial for this hack.

Here’s a facebook hack that’s actually proven very useful to me in the past. One thing that I find annoying about facebook is that you can’t retrieve chat history if your buddy is offline… well now you can! :)

Click onto your friend’s profile page and copy their facebook ID from the address bar; i.e. the number after “id=”, highlighted in red below:



It might look slightly different, perhaps like this: http://www.facebook.com/home.php#/profile.php?id=123132132213&ref=nf

But the important thing is to copy the number of the user, in our case 123132132213

Then while you’re still on facebook, type this into the address bar:

javascript:buddyList.itemOnClick(123132132213);

(with the correct ID of course)

And their chat window will pop up, saying “Harsha is offline”. And if there’s any chat history, it will be displayed. How neat is that!

You can even open a chat window to yourself by pasting your own ID into the javascript, as seen to the right. You can use it for little notes to yourself, but remember that facebook chat history is cleared every few days, so don’t rely on it.

UPDATE1: A few people have had trouble pasting it in correctly, so here’s how it should look:


UPDATE2: Now that we have facebook usernames, it can be little harder to determine the ID of a profile, but it’s still possible – here’s one way: right click the “see all” friends link and choose “copy link location”, like so:

Or in Internet Explorer, you can choose “open link in new tab”. The resulting URL will look something like this:

http://www.facebook.com/friends/?id=YOUR_ID_HERE&view=everyone
That’s it!

Facebook Hack: Change your name (temporarily)

This one’s a very simple hack that you can apply to any website. As you saw in the screenshot above, I’d changed my facebook to display as “Facebook | Harsha”. You can do this by using the following javascript:

javascript:void(document.title="Facebook | Gayan");

Sadly, your friends will only see your actual name, not the new one, but it can make for some amusement in a computer lab class or anywhere where you can show people face to face.

Facebook Hack: Close chat windows

If you’re chatting to a friend and want to close the window, sure you can just click the ‘x’ in the top corner, but isn’t it cooler to do it with javascript? Well no not really, but if you can trick your friend into typing the following code in, you can close the chat window of anyone they’re chatting to:

javascript:chatDisplay.tabs[123132132213].tabXOnClick();

That will close my chat with “123132132213″. You can send your friends that link with your own facebook ID in it, and it’ll close their chat window with you! And if you happen to know that ID:123 is chatting with ID:321, you can send the following to ID:123, and when they paste it in it’ll close their chat with 321!

javascript:chatDisplay.tabs[321].tabXOnClick();

Other Facebook Hacks

The hacks above are the most impressive, but there are a few other little things you can do which are mildly interesting:

Bring up notifications:

javascript:presence.toggleTab('chat_status_control','chat_status_control_tab');

Bring up online friends list:

javascript:buddyList.toggleTab();

Bring up application tab:

javascript:applicationDock.toggleTab();

Make text bold or underlined in facebook chat: use *stars* for bold text, and _underscores_ for underlined. There is no way to get italic text on facebook; see my comment here about facebook chat italics.

That’s all the hacks I’ve found (but I know there are more). In fact, it’s possible to get your friends to “like”, or “unlike” items, and I think it would be possible to get them to comment and more, but the complexity of the javascript makes it not worth doing, plus you have to get them to paste code into their address bar – there’s no way to do it without getting them to do that.

Facebook Easter Egg: Pirate Language
Here’s a nice little facebook easter egg for you: Go to the language settings page and scroll to the bottom of the list of languages, and somewhere around there you should see “English (Pirate)” in the list of supported languages.

Choose that language option and avast ye sails fer much facebook silliness.

Facebook Easter Egg: Konami

Click in your status update box and type the following: [up] [up] [down] [down] [left] [right] [left] [right] b a [enter], and then click anywhere on the page to see lensflares:




Tuesday, August 23, 2011

CMD Hacking commands

CMD HACKING COMMANDS


First, open your Network Connection and right click and select Properties. Then Select TCP/IP and click on Properties again. Now Click on Advanced and WINS tab. Select Default for NeBIOS.

Now back to the main Local Area Connection window, select File and Print Sharing for Mic*ft Networks and hit enter.

This is just to make sure you have NetBIOS enabled. We will have some fun with NetBIOS on CMD.

First thing you need to know is some very helpfull commands to use on CMD(Command Prompt).

In case you don't know how to get CMD open in your box, then click on Start, then Run, then type "cmd" (no quotes, off course... you know the drill).

Back to commands:

Code:

Code:
nslookup net view net use net user ping tracert arp route nbtstat netstat ipconfig
In case you don't know some of them, then just type the command on CMD and hit enter. A little help will show up in your screen. Read it and understand what the command does.

Lets start easy...

1) ping : This command will allow you to know if the host you pinging is alive, which means if it is up at the time of executing the "ping" command.

Code:

Code:
ping x.x.x.x (x is the IP address)
or
Code:
ping www.whatever.com (www.whatever.com is the website you want to ping, but you don't know the IP)
OBS: Keep in mind that if the host you pinging is blocking ICMP packets, then the result will be host down.

2) nslookup : This command has many functionalities.
One is for resolving DNS into IP.
Lets say you know the website URL but you don't know its IP(and you want to find out).

nslookup www.whatever.com (www.whatever.com is the website you want to find out the IP)

Now, another really nice function of nslookup is to find out IP of specific Mail Severs.

Code:
Code:
nslookup (enter) set type=mx (enter) yahoo.com
This command will give you the mail server IP of yahoo.com. You can use whatever server you want and if it is listed on DNS, then you get the IP. Simple, isn't it?

OK, now why would you want to have an IP of a mail server?
To send spoofed mail to your friends or even for SE.
In case you looking for "How to spoof email", then look for my "How to spoof email tutorial"http://www.infowar.com/forums/showth...&threadid=2360

3) tracert : This command will give you the hops that a packet will travel to reach its final destination.

OBS: This command is good to know the route a packet takes before it goes to the target box.

Code:
Code:
tracert x.x.x.x (x is the IP address)
or
Code:
tracert www.whatever.com (www.whatever.com is the website you don't know the IP)
4) arp : This command will show you the arp table. This is good to know if someone is doing arp poisoning in your LAN.

Code:
Code:
arp -a
5) route : This command will show you the routing table, gateway, interface and metric.

Code:
Code:
route print
6) ipconfig : This command will show tons of very helpful things.
Your IP, gateway, dns in use.

Code:
Code:
ipconfig
or

Code:
Code:
ipconfig /all
this command will give all that info but for all networks you might have it.

Also, in case you have a dynamic IP and want to change it, then type...

Code:
Code:
ipconfig /release (this will release your IP) ipconfig /renew (this will renew your iP)
OBS: Keep in mind that those commands will change your IP, but the new IP will still be tighed up to you. So don't do anything stupid.

7) netstat : This command will show you connection to your box.

Code:
Code:
netstat
or

Code:
Code:
netstat -a (this will show you all the listening ports and connection with DNS names) netstat -n (this will show you all the open connection with IP addresses) netstat -an (this will combined both of the above)
8)nbtstat : This command will show you the netbios name of the target box.

Code:
Code:
nbtstat -A x.x.x.x (x is the IP address) nbtstat -a computername
net view x.x.x.x or computername (will list the available sharing folders on the target box)


Now some hints:

Code:
Code:
net use \ipaddressipc$ "" /user:administrator
(this command will allow you to connect to the target box as administrator)

Now if you want to connect to the target box and browse the entire C drive, then use this command:

Code:
Code:
net use K: \computernameC$
(this will create a virtual drive on your "my computer" folder)

OBS: Keep in mind that this will only works if the target box doesn't have an administrator password set.

And least but not last, the "help" command.

Code:
Code:
whatevercommand /help
or

Code:
Code:
whatevercommand /?
This command will help you to understand what it does and all the switchs available for each command.
Very useful if you know the command, but forgot the right switch.

How to Check windows experience index

Right click on my computer then you will see following image then click on windows experience index which is located under system category

Then this screen will appear then click refresh now button, if you have installed new hardware there will be a message new hardware detected.

now you can see your windows experience index which describe the performance of your computer

What are those indexes means?

1.0 to 1.9 - Basic performance. Even a component with a 1.0 subscore meets the Windows 7 minimum requirements.
2.0 to 2.9 - Enhanced performance. Windows Aero may be available.
3.0 to 3.9 - Windows Aero will be enabled.
4.0 to 4.9 - Good performance with high-resolution displays and multiple displays.
5.0 to 5.9 - Capable of running high-end video games, 3D modeling applications, and high-end video editing applications.
6.0 to 6.9 - Supports DirectX 10 graphics with high frame rates at high resolutions.
7.0 to 7.9 - Highest performance level available. Reserved for systems with SSD hard drive, high-end graphics card, and multi-core (i.e. 8 or more) processor.

Networks

Ethernet Cables for Connecting Computers

Network Basics


Network Basics

Networks begin when two or more computers are connected so that information can be shared. In order to connect to any kind of network, a computer requires a network card and CAT5 or CAT6 cables. (If the computer has a "wireless" network card, radio signals can be used in place of the cables.) A network also requires a piece of equipment called a switch, which acts as a central routing "hub" for the information being shared. A switch is kind of like a mail room in a large company. It makes sure the addressed messages get to the right recipient.
You may have heard the term LAN or WAN. LAN stands for Local Area Network, and usually denotes a network of computers which are fairly close together, say in the same building or office. WAN stands for Wide Area Network. WANs usually connect local area networks which are separated by great distances. (For example, a larger company may have an office LAN in Seattle, and an office LAN in Boston. These two LANs could be connected via a WAN data line.)

Peer to Peer Networks

The most basic type of network is a called a peer to peer network. This type of network consists of several computers which are connected to each other. The "network" consists of shared folders located on computers within the network.
These folders are set to a "shared" status, so that other people connected to the network can access them. Each shared folder is accessed by the users of the network, who set up a certain drive letter (say H:) as a "pointer" to the shared folders on other computers. In addition, any printers connected to any computer can be shared to other network users.
Peer to Peer Network
Here's an example. Susan and Joe work together in a small office and need to look at files on each other's computers. Susan creates a folder called "SusansFiles" on her computer and sets it up as a shared folder. Joe can then use the network connections to "see" the folder called "SusansFiles".
He sets up a permanent shortcut called "H:" drive to the folder called "SusansFiles". Now when he turns his computer on, Windows Explorer will show the folders on his computer's C: drive, the CDROM D: drive and the shared H: drive as his available file locations. Susan can do the same with a folder that Joe shares out from his computer.
Benefits of a Peer to Peer Network:
  • A peer to peer network is inexpensive to set up. It uses the built in networking capabilities of Windows XP Professional (or Vista Business), so no special software is needed. It allows for file and printer sharing, and can be an adequate choice for a very small office.
Limits of a Peer to Peer Network
  • Peer to peer networks are dependent upon the computer knowledge of each employee, as certain rules must be followed in order to minimize network interruptions. If a user shuts down his machine in the middle of the day, other users on the network lose access to the files in that machine's shared folder. In the picture provided above, the laptop might only connect to the network when an employee is not traveling. Any files stored on that laptop are not available (and may not be backed up) when that employee is out of the office.
  • Network and data security are weak.
  • Files are not centralized, so getting a back up of all critical files is more difficult.
  • Ongoing tasks like anti-virus scanning and Windows updates are localized on each machine. Updating virus definitions and patches has to be done manually at each machine, which is time consuming.

Client Server Networks


A more common type of network is called a client server network. This type of network uses a central server and specialized network software. The server is dedicated and is only used to store files and run server tasks. The computers which connect to the server are called clients and these are the machines the company staff would use.
The server acts as the "hub" of the network, and does most of the "behind the scenes" maintenance and storage. Common server network operating systems include Windows Small Business Server 2003 or 2008, Windows Server or Linux.

Benefits of a Client Server Network
  • The server stores all of the shared files for each user.
  • The server runs the file backups which can be scheduled in the middle of the night, minimizing network interruptions.
  • The server manages user security, and insures that all users who access the network are authorized to do so.
  • The server manages printer sharing and acts as a central repository for the printer drivers and settings.
  • The server manages other common tasks such as internet access, email routing, Windows updating and anti-virus definition management.
  • The server can also share software applications out to multiple users.
  • The server can also provide for an "Intranet", an internal website which holds shared company information such as news announcements, HR policies, training documents, and more.
    In short, a client server network provides for easier network administration, and provides a much more robust environment in which provide secure and manageable access to company data.

Client Server Network
Limitations of a Client Server Computer NetworkThe benefits of a client server computer network are substantial, but there are some limitations.
  • A server based computer network is more expensive to implement. Server computers are powerful machines with built-in redundancy and other hardware to provide data safety. Hence, they cost much more than a simple desktop computer.
  • The server network software is also much more powerful, complicated, and must be installed correctly to run all of the required tasks, and so the cost is higher for both the software and installation charges.
  • The server is a critical point of failure. If it goes down, the entire network comes to a halt. This drawback can be minimized with the installation of redundant drives in the server (so that if one fails, the others will still be working), and even a second server that can take over if the primary server fails completely. Cost then becomes the only issue.

Which Computer Network is Best For Your Business?


Peer to peer computer networks are reliant upon the computer users, so employee behavior is a major factor. Peer to peer networking could work for your business if you have the following:

  • Computer savvy employees whom you trust.
  • Low employee turnover.
  • Five or less employees.
  • Newer desktop or laptop machines with lots of memory and hard drive space.
  • A large capacity portable data storage unit for backing up files and taking them off site.
  • Time and motivation to keep the computer patches and maintenance up to date.

A client server computer network is more secure, easier to manage, and would be a better solution for your business if the following is true:
  • You want to secure your company data and provide access to certain files and folders to only a few employees.
  • Your business experiences high employee turnover.
  • You have more than 5 employees.
  • A secure, complete backup of all of your critical business data is needed.
  • A central information repository for your employees would be helpful.
  • You want to have a cohesive email solution using a single domain address (i.e., jack@yourcompany.com, megan@yourcompany.com).

Think of the cost of implementing a network as an investment in your business. As your business grows, implementing a computer network will help your employees share information and resources, and in the long run, will play a major role in the successful growth of your business.

Recreate a Deleted Shortcut


Recreate a Deleted Shortcut
Let's say you accidentally deleted the shortcut for Spider Solitaire from the All Programs menu. Here's how you get it back:
  1. Right Click on the Windows Desktop.
  2. On the menu that appears, choose New, then Shortcut.
  3. A Create Shortcut dialog box appears.
  4. In the shortcut path field, type the path that you see in the picture below:
    Shortcut Dialog box
  5. then click Next.
  6. Type Spider Solitaire as the name of the shortcut, then click Finish.
  7. You should now have a Spider Solitaire shortcut on your Desktop.
Most of the non-Internet games for Windows are in that Windows System32 folder, so you can use the same steps above add the name of the game that was deleted.
Here are the game names for convenience:
  • Hearts: mshearts.exe
  • Spider Solitaire: spider.exe
  • Solitaire: sol.exe
  • MineSweeper: winmine.exe
  • Freecell: freecell.exe
Pinball has it's own folder: Look under C: drive, Program Files, Windows NT, Pinball, Pinball.exe
Alternatively, you can remove and re-add them as components of Windows. Go to:
  1. Control Panel | Add or Remove Programs
  2. Add/Remove Windows Components
  3. Accessories and Utilities
  4. Details button
  5. Games
Uncheck the games you are missing from your Games menu, and OK your way out. Then go back in and check off the same games, and OK your way out. That should put them back in your menu. 

How to Cut and Paste "Clean" Text from One File to Another in Windows

How to Cut and Paste "Clean" Text from One File to Another in Windows
This Windows Tutorial is one of my most popular.
Say you want to copy some text from a webpage into a Word document. You probably already know that you can copy and paste the text using the generic steps below:
  1. Highlight the text you want to cut and paste with your mouse, and then press Control + C on your keyboard.
  2. To paste the text, put your cursor in the receiving document, and press Control + V to paste it.
Simple, right? Except that when you copy from a webpage or from another Word document, all the formatting comes with it, and messes up the formatting of the document you're working in. Annoying.
You could paste it into a new page and manually remove all the formatting, but here's an easier way:
  1. Highlight the text you want to cut and paste with your mouse, and then press Control + C on your keyboard.
  2. Open Word, and click on the Edit menu.
  3. Click on Paste Special
  4. From the Paste Special dialog box, choose Unformatted Text and click Ok. Voila, nice clean text!

Related Posts Plugin for WordPress, Blogger...

your comments