Pages

Sunday, October 13, 2013

Block a program in Windows 7 Firewall to access Internet

You may want to block a program from accessing the internet in the Windows Firewall. For example, whenever you run a program with digital signatures, Windows Explorer (explorer.exe) accesses the internet to verify the signatures. This can be very annoying. You can block it in the Windows Firewall using the steps shown below :
  1. Press the key combination Windows logo key + R to open the Run dialog.
  2. Type wf.msc in the Run dialog and press Enter. This would open the Windows Firewall with Advanced Security window.
  3. Click on the Outbound Rules in the left side menu in the Windows Firewall window as shown,
  4. Click on the New Rule... on the right side menu as shown,
  5. In the New Outbound Rule Wizard, select Program in Rule Type window and click Next,
  6. In the Program window, either manaully type the full path and file name of the program you want to block, or click on the Browse button to browse the program file. Click Next to continue.
  7. In the Action window, select Block the connection and click Next,
  8. In the Profile window, select all options and click Next,
  9. In the Name window, give a name to the new rule like Block Explorer.exe and click Finish,

You have done.


Saturday, October 12, 2013

Send , identify , trace Fake/Spoofed Email | Email Bombing | Email Spamming

Basics of working of Email
Email stands for Electronic Mail. Email sending and receiving is controlled by the Email servers.Email service providers configure Email Server before anyone can Sign into his or her account and start communicating digitally.Users from across the world register in to these Email servers and setup an Email account.


Email Travelling Path :-
Let’s say we have two Email providers, one is gmail.com and other is yahoo.com, ABC is a registered user in gmail.com and XYZ is a registered user in yahoo.com.
• ABC signs in to his Email account in gmail.com, he then writes a mail to the xyz@yahoo.com and sends the message.
• But what happens behind the curtains, the Email from the computer of abc@gmail.com is forwarded to the Email server of gmail.com. Server of gmail.com then looks for yahoo.com on the internet and forwards the Email of the yahoo.com for the account of XYZ@yahoo.com. Yahoo server puts that email in that account.
• XYZ then sits on computer and signs in to her Email account.Now she has the message in her Email inbox.


Sending Fake/spoofed Email -:  Fake or spoofed email means the email from any email ID. It doesn't matter whether the sender's email really exists or not. Sender's email ID can be anything@anything.com. 


Methods :-


1. Using Open Relay servers :  An open relay server is that which allows people to send email by connecting to it. User connect to it via telnet and instructs server to send email. This method is outdated or simply I should say that, it doesn't work. I would not talk about it more.

2. Using Websites : There are numberless websites that provide free service to send fake emails. But the problem is that they attach the advertisments along with your email.  But the best two, I have found that do not attach the advertisments.

www.emkei.cz      {have some advance options}
www.hidemyass.biz/fake-mailer/

3. Using mail sending scripts : The PHP contains mail sending function which allows us to send email with fake headers.
Download a php script from here.
We just need to upload the mail sending script on a web hosting site. It doesn't work on every webshosting site because there is no email sending support.  I have tested x10hosting.com (could take upto a day for account activation) , it works perfect. Some of the other are www.000webhost.com,byethehost5.com

Note: This script contains options of sending spoofed email, spamming and email bombing. Your hosting account might be immediately suspended on spamming/bombing. But it works perfect if you have any your own premium web hosting account. If you want to try email bomber, I could let you to use my own if sufficient people request in comments.

What is Email Spamming and Email Bombing ?


Email Bombing as clear from the name is sending the mass emails that is large number of emails to a email ID in a single click. Email spamming is like sending an email to large number of email IDs in a single click. These activties are performed mainly for the advertisements of the products or services provided by a company. Many spammers spam to collect individual's personal information through some stupid things like 'fill these details to get your lottery amount' and that information is sold to businessmen looking for the people of different categories. There could be many more reasons of spamming. Spammers use automated tools to collect as many emails available on websites,forms,chat rooms and send spams to them.


How to identify whether an email is real or spoofed ?

It can be done by checking headers. Email headers is simply the text which contains the information about the mail servers that the email encountered in its path from the sender to receiver. It contains a lot of other information too.
Note: I am just telling you a few points about this so that you would just get an idea about the approach. This may or may not depend on some factors.

We can view email headers in gmail by clicking at 'show orignal', in yahoo by clicking at 'Full headers' and such kinds of options in other email service providers.

If  you get an email displaying sender's email like someone@gmail.com, someone@hotmail.com, someone@yahoo.com . Then it should be orignated from gmail,hotmail and yahoo servers respectively. But if it doesn't, the most probably the email would be fake. 

I will show you by an example, I received three emails in my gmail inbox from sender's address "someone@gmail.com."  Sender's address shows me that they should have been orignated from gmail/google server, if they would be real.

Note : There is a field called "Return-path" in headers.  If the email ID shown in this field and email ID you get as sender's email ID doesnt match, then the email is surely fake.



Can we get sender's IP address from Email Headers ?

We may or may not. Gmail, yahoo normally do not reveal sender's IP address. But when we send an email from a php script,  the headers might reveal Sender's IP. The conclusion is that answer to this question varies from different email service providers and the way how email is sent.


Can we trace sender's location, if we get his IP address ?

The IP address could only tell that which Internet Service Provider (ISP) is used by sender. Further details can not be revealed without the help of that ISP. Normally the Public IP is dynamic that is it keeps changing. We need to ask ISP about the user who was assigned that IP at the time email was sent. If sender has purchased a static IP address, it doesn't matter that when exactly was email sent. He could easily be traced.

PHP Mail Configuration

If your system isn't configured for sending mail, all is not lost - you can change the configuration. This lesson explains how to configure PHP for sending mail.

The php.ini File

The php.ini file is where you configure your PHP installation. This is the file you need to edit in order to configure PHP to send mail.
You need to ensure that the php.ini file contains details of the mail server that should be used whenever your application sends mail.
To check/change your PHP mail configuration:
  1. Open your php.ini file (if you don't know where this is, see below)
  2. Search for the line that reads [mail function]
  3. Add/change the details of your mail server. This could be a local mail server or the mail server of your ISP.
  4. Save/close the php.ini file
  5. Restart your web server
Here's an example of what the mail settings could look like when you first open the php.ini file:
_________________________________________________________________

[mail function]
; For Win32 only.
SMTP = localhost
smtp_port = 25

; For Win32 only.
;sendmail_from = me@example.com

; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
;sendmail_path =
_________________________________________________________________

If you're using a UNIX based system, you will need to change the line that reads ;sendmail_path =. You will also need to remove the semicolon from the start of this line (semicolons indicate that the line is a comment). For example,sendmail_path = /usr/sbin/sendmail.
If you're using a Windows system, you should change the line that reads SMTP = localhost to include your mail server (or your ISP's mail server). You could leave it at localhost if you're using your own local SMTP server. If you aren't using your own local SMTP server, you will need to enter a mail server that you have access to (such as your ISP's mail server). For example, SMTP = mail.earthlink.net.
You should also set a default "From" email address by changing the line that reads ;sendmail_from = me@example.com. For example, sendmail_from = you@earthlink.net.

Don't Know Your php.ini Location or sendmail_pathPath?

If you don't know where your php.ini is, or what your sendmail_path setting should be, read on...
Your php.ini may be located here: /private/etc/php.ini. And there's a chance that your sendmail path will be at /usr/sbin/sendmail). Having said this, each PHP installation is different, so you should check using phpinfo().
Fortunately, this is easy to do.
phpinfo() is used to view your PHP configuration details. You can do this by creating a .php file with the following line on it: <?php phpinfo(); ?>. When you run this in your browser, you will see a full list of PHP configuration variables. Simply search for the lines that contain php.ini and sendmail_pathto see the values you need to use.

THE BASIC GUIDE TO TROUBLESHOOTING COMMON WINDOWS PC PROBLEMS

Your Windows PC might be designed to make your life easier, but they often have a non-stop list of problems. Today we'll walk through some of the more common problems and how to troubleshoot them.

This list is, of course, by no means complete, and you should always use best practices to make sure that your PC doesn't need to be reinstalled all the time, is properly secured with anti-virus and a firewall, and is properly backed up at all times—but if you're currently having problems, keep reading for a list of common problems and troubleshooting techniques.

Try Safe Mode First
When your PC just won't boot into Windows at all, you'll probably want to start off with Safe Mode—use the F8 key right when the system starts up to access the menu and see if Windows will boot into Safe Mode. If you're able to get into Windows, the problem is likely something that would load only when you boot normally—graphics card drivers, junk applications, or perhaps some spyware applications.

Even Safe Mode Doesn't Work
If you can't even get into Safe Mode, you should use the Startup Repair tools, which can be accessed from the Advanced options in the Safe Mode menu; you can pull out your system repair disc, or your Windows installation disc and use the Repair option. If you're having a bootloader problem that says "bootmgr is missing", you can use the command prompt from an installation CD and use the bootrec /fixboot command.
The Basic Guide to Troubleshooting Common Windows PC Problems
Use System Restore
System Restore in Windows XP might not have been the greatest tool, but since Windows Vista came around, it's been an excellent choice for fixing up all sorts of problems, including issues that cause your system to not boot anymore. While testing, I once deleted a bunch of files in system32 to purposely cause a blue screen of death, and then used System Restore to get the system up and running again in minutes. If you're unfamiliar with the process, you can follow this step-by-step guide to restoring your PC with System Restore.

Try Booting Off an Ubuntu CD
Whenever I'm having issues with a PC not booting up properly, one of the first things I do is grab an Ubuntu Live CD and try and boot from that, and see how well the system is working. If everything is working in Linux, then you know the problem is likely just your Windows installation, and not hardware related.

PC Crashing or Blue Screening
The Basic Guide to Troubleshooting Common Windows PC Problems
When your PC is crashing with the blue screen of death at random intervals, you should make sure that you first disable the automatic reboot after the blue screen, and then write down the error message so you can Google it later. If you're able to get back into Windows, you can try using the previously mentioned BlueScreenView tool to give you some extra information about the error message, but your best bet is usually to do a search.

If you're using Windows 7 or later and you're getting a blue screen of death, chances are very high that the problem is either driver or hardware related—contrary to legend, Windows just doesn't crash like that very much unless the problem is tied to hardware somehow.

Once you've identified the driver causing the problem, try and head into Safe Mode and uninstall or upgrade the driver causing the problem—sometimes the driver won't be visible, so you'll need to use a command-line trick to show hidden devices in Device Manager. If you're doing a bunch of work in Safe Mode, sometimes it's helpful to force Windows to load into Safe Mode without using the F8 key every time.

No Luck? Recover Files and Reinstall
If you simply can't get anything else to work and you don't have a full backup, your best bet is to pull out an Ubuntu Live CD and back up files from your PC, and then start the process of reinstalling Windows again. If you're using the native Windows backup tools, you can restore your system from an image backup, or use the standard backup and restore process.

Check Task Manager
The first thing that every geek is going to do when a computer is running slowly is open up Task Manager, or Process Explorer (if you've already got it installed) to see what process is taking up the most CPU or memory—that's generally the culprit. While you're in there, it's a good idea to look for other resource-wasting apps that we can kill.

Uninstall Crapware
Now that we've killed the application that's currently killing the CPU, it's time to start getting rid of applications that we don't need. You can use Revo Uninstaller and the PC Decrapifier to clean up applications without leaving extra traces.

Clean Up the PC
Cleaning up your PC is really quite easy. You can start by running Disk Cleanup, but if you really want to get the job done, grab yourself a copy of CCleaner and run through a cleaning session. While you're at it, you can set up CCleaner to run on a schedule to keep the PC clean on a regular basis.

Scan for Viruses and Spyware
It's a good idea to run a system scan when your PC is running slower than normal and you've already determined that it's not a runaway application. We think the free Microsoft Security Essentials app is the perfect tool for the job.

Use the Reliability Monitor
This under-utilized tool is an excellent way to diagnose problems and figure out what might have caused your system problems—it will show you a full history of system crashes, application problems, and even Windows Updates, so you can track down what changed on your system right before your system started running slow. Just type in reliability into the Start Menu search box, and you'll be able to see everything, and even drill down into specific errors to see more details.

Use the Advanced Tools in Windows 7
Windows 7 has quite a number of useful tools to troubleshoot performance problems, but they're buried in Control Panel where you might not think to look. Just head to Performance Information and Tools –> Advanced tools and you'll see a list of performance issues along with suggested fixes for the problems.

Trim Down Startup Apps to Speed Up Boot Times
This applies both when your PC takes forever to boot and when you've got a glut of applications running away in your system tray that you don't need; it's time to trim down your startup applications. You can use the built-in MS Config utility or any number of tweaking applications, but you might want to take a look at Soluto, which not only helps you disable startup applications, but it shows you exactly which ones are affecting your boot times the most.

Internet Is Slow or Not Loading
Pull Out the Ping Command
If you're having problems connecting to the internet, you should first make sure that you are really connected—most of the time you can pull out a command prompt (hit the Windows key, type cmd, hit Enter) and type in a ping command like ping yahoo.com to see if you're getting any response.

Disable and Re-Enable Your Connection
If you're not getting a response, you can try disabling and re-enabling your wireless connection, which solves more problems than it really should. If that doesn't work, use the Windows network troubleshooter by right-clicking your wireless icon, and follow through the steps. Windows will disable and re-enable the adapter again, and wipe the DNS caches as well. If you're still having problems, there's a good chance your internet connection is just down.

Slow Response Times
Sometimes the problem isn't connecting to the internet, but slow response times while you're browsing—or maybe your browser is simply hanging. If you're using Internet Explorer, you can reset all your settings to fix problems; if you're using Firefox you can follow this guide to troubleshoot problems or just completely restore the default settings.

Web Site Not Loading
If the problem is a specific web site not loading, you can check downforeveryoneorjustme.com to see if you're the only one having the issue with the web site—or you can often do a quick search on Twitter to see if other people are complaining as well.

Wireless Connection Dropping
If you're having problems connecting to your wireless and staying connected, you probably need to tweak your connection. You can change your wireless channel to optimize your signal, but if you really want to make your connection better, try installing another wireless firmware or using an old router as a repeater to boost your signal.

Dealing with a Forgotten Password
While forgetting a password might not technically be a troubleshooting problem, it's a common problem that needs to be solved. Your best best is to try and recover your passwords using free tools to crack your existing passwords.

If you've got an Ubuntu Live CD laying around, you can use that to reset your password, or if you want a more streamlined Linux-based Live CD and you're not afraid of some command-line action, you can use the System Rescue CD to reset your Windows password in no time at all.

Windows Explorer Is Hanging
If you're having problems loading up Windows Explorer and browsing your file system, the problem is almost always a shell extension that shouldn't be installed, or some shell extensions that are conflicting with each other. For example, the shell extensions for Dropbox and TortoiseSVN tend to cause problems when you put your code into your Dropbox folder, causing hanging and generally slow file browsing.

Your best bet is to grab a copy of ShellExView and start disabling third-party shell extensions, or uninstalling Windows Explorer plug-ins that you don't actually need. You can also use this tool in combination with ShellMenuView to clean up your messy Explorer context menu.

Computer Is Overrun with Viruses or Spyware
PC Still Boots into Windows
Running a virus scan on your PC is never a bad idea, and when you're dealing with an infected PC you're definitely going to want to start the cleaning process. Your best bet is to reboot your PC into Safe Mode—and then run your antivirus utility of choice.

If you're dealing with Spyware problems you should probably start off with SuperAntiSpyware and follow up with MalwareBytes to clean up the leftovers, since they do a better job of cleaning spyware than most of the antivirus tools out there. I've previously written a guide to removing a spyware infection, and we've also covered how to clean up after XP Antispyware.

PC Won't Boot
If your PC won't even boot because of an infection, your antivirus provider might have their own boot disk that will let you clean the PC without booting into Windows, or if you have an Ubuntu Live CD laying around, you can use that to scan your PC for viruses.

Tuesday, October 8, 2013

HOW TO COPY FROM RIGHT CLICK DISABLED WEBSITE

Many websites have blocked texts and images on their sites. Blocking text and images on a site means they are not allowing people to either copy any portion of text from their web pages or save any images from their website. Basically sites do not want their contents getting published elsewhere. And most matrimonial websites do not allow image saving options by disabling right click, just to respect their member’s privacy. But this is possible to bypass all their settings and copy text as well as save images from those restricted websites. Read further to know how.
In general we select some portion of text from a website, then right click on it and save that. In order to save images from a website, we right click on the image, select the image saving option and save the image. But now-a-days sites are using some simple javascripts to block right clicking ability on their web pages. And as a result, we can’t save any text or images from their sites. Now if we can block those scripts temporarily, the website will behave like a normal site and we can do whatever we want. Lets learn how to bypass their settings.
How to enable Right Click on web sites : Websites use javascripts to block the right clicks on their websites. This javascript acts with our browser. So, if we can set our browsers to avoid running those scripts, we will be able to copy texts and save images. Now lets learn how to disable javascripts and enable right click.
Chrome users :

  • Go to Setting
  • Click on Show Advanced Setting
  • In Privacy section Click on Content Setting
  • Now search Javascript tick the check box Do not allow any site to run javascript.
  • Click on Done

                            OR

Write this chrome://settings/content in address bar and hit enter.
  • Now search Javascript tick the check box Do not allow any site to run javascript.
  • Click on Done


Firefox users :
  • Go to Tools –> Options
  • Click on Content tab
  • Uncheck the box saying Enable javascript
  • Restart Firefox and you are done.
Internet Explorer Users :
  • Go to Tools –> Internet Options
  • Click on Security Tab –> Custom Level
  • Scroll to Scripting
  • Disable it.
  • Restart IE and you are done.
Once you are done with your job, enable javascript option on your browser again. From now on, you don’t need to get worried when you find a web page that does not allow you to copy text or save images from it. The above mentioned tricks will take care of that and you will be able to copy texts and save images.

Sony Xperia hard reset

Sony Xperia L hard reset

Reset your Sony Xperia L   Android phone

If your phone is responding to screen input, then open Settings from the Applications menu. Tap Backup & reset > Factory data reset, click Reset phone and then Erase everything to format your phone.

Your device freezes or has fatal errors
If your device freezes or hangs, you may need to close programs or reset the device to regain functionality. If your
device is frozen and unresponsive, press and hold the Power key for 10-15 seconds. The device will reboot automatically.

Sony Xperia Z hard reset

Reset your Sony Xperia Z   Android phone

If your phone is responding to screen input, then open Settings from the Applications menu. Tap Backup & reset > Factory data reset, click Reset phone and then Erase everything to format your phone.

Your device freezes or has fatal errors
If your device freezes or hangs, you may need to close programs or reset the device to regain functionality. If your
device is frozen and unresponsive, press and hold the Power key for 10-15 seconds. The device will reboot automatically.

Sony Xperia E hard reset

Reset your Sony Xperia E   Android phone

If your phone is responding to screen input, then open Settings from the Applications menu. Tap Backup & reset > Factory data reset, click Reset phone and then Erase everything to format your phone.

Your device freezes or has fatal errors
If your device freezes or hangs, you may need to close programs or reset the device to regain functionality. If your
device is frozen and unresponsive, press and hold the Power key for 10-15 seconds. The device will reboot automatically.

Sony Xperia

For all Sony Xperia

press and hold the Power key for 10-15 seconds. The device will reboot automatically.

Samsung Galaxy Note 3 hard reset

A hard reset, also known as a factory reset or master reset, is the restoration of a device to the state it was in when it left the factory. All settings, applications and data added by the user are removed. The term is often heard in reference to smartphones and tablets but laptop and desktop computers, as well as most other electronic devices, can usually be restored to factory conditions.
Factory reset may be accomplished through various procedures, depending on the particular device, or may be available as a device or operating system feature. Android Factory Reset, for example, is a feature that erases all settings, user data, third-party applications, and associated application data from an Android device’s internal flash memory.
The most common reasons to restore factory conditions are to fix a malfunctioning device or to remove user data before selling or otherwise disposing of a device or returning it to the manufacturer. 
Hard reset contrasts with soft reset, which just means to restart a device. 

Samsung Galaxy Note 3 hard reset

Power off the N9000 Galaxy Note 3 phone. Press and hold both Volume Up + Home+power on. In the recovery menu select wipe data factory reset with Volume button. Press power to confirm. After hard reset completed, select reeboot system now!  All data will be lost! 
Unlock Samsung Galaxy N9000 password lock, resetting N9002, reset N9005
Press and hold POWER key for more than 7 seconds to reset the device if it has fatal errors or hang-ups, or freezes.
Your device freezes or has fatal errors
If your device freezes or hangs, you may need to close programs or reset the device to regain functionality. If your
device is frozen and unresponsive, press and hold the Power key for 10-15 seconds. The device will reboot automatically.
If this does not solve the problem, perform a factory data reset. In Idle mode, open the application list and select
Settings → Privacy → Factory data reset → Reset phone → Erase everything.

Select Settings > Privacy > Factory data reset: Reset your settings to the factory default values and delete all your data.
Press Application button, then Settings > Reset settings: Reset your settings to the factory default values.
While using your device, be sure to back up important data. When disposing of your device, back up all data and then reset your device
to prevent misuse of your personal information.
Use this method to hard reset your Samsung Galaxy Note SM-N9005: Enter *2767*3855#. Warning! All your data including contacts, messages etc. will be lost! Copy all your necessary data/Contacts/Messages etc. to SIM or make backup to your PC before full reset! Take out SIM card before full reset.