Archive

Archive for April, 2009

What is a denial of service(DOS) attack?

A- INTRODUCTION
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A-1. WHAT IS A DENIAL OF SERVICE ATTACK
———————————————————
Denial of service is about without permission knocking off services, for example through crashing the whole system. This kind of attacks are easy to launch and it is hard to protect a system against them. The basic problem is that Unix assumes that users on the system or on other systems will be well behaved

Read more…

Creating A File Upload Script

April 28th, 2009 1 comment

I will teach you how to create a basic script that allow people to upload files and stores details of their uploads in a database. Follow up, it is not hard at all…. If you have questions, feel free to ask

First we need to create the database table with the following SQL:

 

CREATE TABLE `uploads` (
`id` int(10) unsigned NOT NULL auto_increment,
`whenuploaded` datetime NOT NULL default '0000-00-00 00:00:00',
`ipaddress` varchar(15) NOT NULL default 'unknown',
`imageloc` varchar(255) NOT NULL default 'unknown',
`imagesize` int(10) unsigned default NULL,
`imagetype` varchar(30) default NULL,
PRIMARY KEY (`id`)
) TYPE=MyISAM;

 

Then here’s the PHP code you need at the top of the page where you’re going to have your upload form. You need to change the database access details at the top and the ‘defines’ to specify your domain and path names. Create the DEST_DIR directory on the server with 777 permissions.

Read more…

How to protect your computer from usb/flash drives viruses

There are many ways to protect your computer against usb/flash viruses.

1.Don’t use usb/flash drives

If you will not use any usb/flash drive then there is no chance you will get usb/flash drive viruses.

2.Turn of auto play

You can do this by going to Run and type “gpedit.msc” (In windows vista press start menu + R to goto run), then press enter. Now goto

Computer Configuration > Administrative Templates > System

There you will see Turn off autoplay, double click on it and Enable it and select All drives

3.Always right click on usb/flash drive to open it.

Usb viruses executes when you double click on it, it run autorun.inf file hidden in usb, which executes the virus. So if you will never double click on the usb , there is no chance that you will get a virus.

4. Use script before accessing to usb/flash drive

I’ve created this script, which will delete autorun.inf file from your usb drive automatically, so if you will run this script, there is almost 95% chance that you will not get virus in your system.

Read more…

How to change your MAC address

First of all , question is what is MAC address?

Mac address or media access control address, is a unique identifier assigned to most network adapters or network interface cards (NICs) by the manufacturer for identification. If assigned by the manufacturer, a MAC address usually encodes the manufacturer’s registered identification number. This is also known as physical address.

Now how to change MAC address?
image

Step1
Right click local area network choose support tab choose details.
Make a note of the Physical Address..
00-00-00-00-00-00..
The above is an example MAC address

image

Step 2
Read more…

Worm infiltrates Twitter

A worm apparently infected Twitter on Saturday.

The worm may originate with the StalkDaily.com site, and Twitter warned people against visiting the site or linking to it.

“If you have been locked out of your acct due to the StalkDaily issue, pls do a p/w reset; we may have reset your p/w for safety,” Twitter informed its users on Saturday afternoon.

Details about the worm itself were scarce, but the micro-blogging site was awash in the news by Saturday night. “StalkDaily Worm Runs,” “#stalksdaily,” and “Twitter hit by” were the No. 2, 3, and 5 top topics at that time.

According to a TechCrunch report, visiting the profile page of an infected user can lead to one’s own profile getting infected. The worm also apparently sends spam tweets from the infected person’s account that direct others to the StalkDaily site.

The worm apparently hit in the morning, according to Twitter, and then had a resurgence in the afternoon.

StalkDaily’s site states that it has nothing to do with the attacks, according to TechCrunch. But that statement apparently is being taken with a grain of salt.

Read more…

Few Important security tips

April 10th, 2009 1 comment

The openness of the Internet has dramatically transformed global communications, making it easy for people around the world to exchange information. But the very same openness also creates an enormous problem. Anyone can access the network, yet not everyone has good intentions.
Some engage in malicious mischief by unleashing destructive software programs, while others view hacking computer networks as sport. Then there are people with criminal goals in mind.
To avoid becoming a victim of misguided pranksters or cyber-crime, take the time to examine the security of your personal data. Here are our recommendations, along with links to more detailed information:
1. Use anti-virus software:
Viruses spread rapidly and can damage or destroy your computer. New ones appear almost daily. It’s critical that you install and update anti-virus software regularly. Use the program to scan all the files on your system once a week, deleting the infected ones. I use avg free edition, you can get it from http://free.avg.com
2. Beware of e-mail attachments:

A virus can hide in an attachment. Opening it will unleash the virus. Don’t open an attachment from anyone you don’t know. Even if you do know the sender, an infected attachment may have been surreptitiously sent from an infected machine. The safest thing to do is to scan the attachment with anti-virus software before you open it.
Read more…

How to repair/reinstall windows XP without losing any software or settings

Start your PC with the setup CD in a drive, and hit a key when you see the following screen:

Boot from your XP setup CD to gain access to the no-reformat reinstall option.

Screen One
Boot from your XP setup CD to gain access to the no-reformat reinstall option.

Read more…

Turn Your Computer Off In 5 Seconds

To Turn Your Computer Off In 5 Seconds
1. Open ‘Windows Task Manager’ (Ctrl+Alt+Del)
2. Click ‘Shutdown’ (at the top next to ‘Help’)
3. Then HOLD the ‘Ctrl’ key and Select ‘Turn Off’.
4. …5…4….3….2…1….You PC turns off immediately. I always do this when I’m in a rush etc.. It doesn’t effect the PC.

How To Block Access to certain websites Just With Windows

April 10th, 2009 1 comment

You can easily and effectively block access to a website by adding it to your Windows HOSTS file. Without any software. Doesn’t matter what browser that you use.
1.Go to your HOSTS file which is located at:
C:WINDOWSSYSTEM32DRIVERSETC for windows Vista and XP
C:WINNTSYSTEM32DRIVERSETC for Windows 2k
C:WINDOWS for Windows 98 and ME

2. Open HOSTS with Notepad.
Read more…

How to lock a folder without using any software in xp!

*Copy the following code

cls
@ECHO OFF
title Folder Locker
if EXIST "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" goto UNLOCK
if NOT EXIST Locker goto MDLOCKER
:CONFIRM
echo Are you sure u want to Lock the folder(Y/N)
set/p "cho=>"
if %cho%==Y goto LOCK
if %cho%==y goto LOCK
if %cho%==n goto END
if %cho%==N goto END
echo Invalid choice.
goto CONFIRM
:LOCK
ren Locker "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
attrib +h +s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
echo Folder locked
goto End
:UNLOCK
echo Enter password to Unlock folder
set/p "pass=>"
if NOT %pass%==type your password here goto FAIL
attrib -h -s "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}"
ren "Control Panel.{21EC2020-3AEA-1069-A2DD-08002B30309D}" Locker
echo Folder Unlocked successfully
goto End
:FAIL
echo Invalid password
goto end
:MDLOCKER
md Locker
echo Locker created successfully
goto End
:End

* Now paste it in notepad.

Read more…