Ask your problem
Notepad Trick !
Well quite old but here is d complete collection
Step 1: Open Notepad
Step 2: Write following line in the notepad.
this app can break
Step 3: Save this file as xxx.txt
Step 4: Close the notepad.
Step 5: Open the file again.
Voilla!!
or
1> Open Notepad
2> Enter four words separated by spaces, wherein the first word has 4 letters, the next two have three letters, and the last word has five letters
3> DON'T hit enter at the end of the line.
4> Save the file.
5> Close Notepad.
6> Reopen Notepad.
7> Open the file you just saved.
or
Open a note pad
type Bush hid the facts
save that file,
close it
again open and see...
NOTEPAD "world trade centre trick".. :
Did you know that the flight number of the plane that had hit WTC ...on
9/11 was Q33N ....Open your Notepad in ur computer and type the flight
number i.e Q33N... Increase the Font Size to 72, Change the Font to
Wingdings. U will be amazed by the findings.
log trick !! make ur Notepad a diary !!
Sometimes we want to insert current data and time, whenever we open the file in the notepad. If you are a lazy person like me, who don’t like to press F5 whenever you open a notepad. Then here is a trick to avoid this. Just add a .LOG in the first line of your text file and close it.
Whenever you open the file with that text in the first line in the notepad, it will insert the current date and time at the end of the file. You can start entering your text after that.
WHY?
The reason this happens:
In notepad, any other 4-3-3-5 letter word combo will have the same results.
It is all to do with a limitation in Windows. Text files containing Unicode UTF-16-encoded Unicode are supposed to start with a "Byte-Order Mark" (BOM), which is a two-byte flag that tells a reader how the following UTF-16 data is encoded.
1) You are saving to 8-bit Extended ASCII (Look at the Save As / Encoding format)
2) You are reading from 16-bit UNICODE (You guessed it, look at the Save As / Encoding format)
This is why the 18 8-bit characters are being displayed as 9 (obviously not supported by your codepage) 16-bit UNICODE characters
~ cheers ~
Changing Header and Footer
Ever printed the little text you wrote in Notepad? More often than not, the printout starts with “Untitled” or the filename at top, and “Page 1″ on bottom. Want to get rid of it, or change it? Click on File, Page Setup. Get rid of the characters in Header and Footer boxes, and write what you want as Header and Footer. Use the following codes.
&l Left-align the characters that follow
&c Center the characters that follow
&r Right-align the characters that follow
&d Print the current date
&t Print the current time
&f Print the name of the document
&p Print the page number
Print tree root
a. Open NOTEPAD and enter {print tree root}
b. After that hit enter and type C:\windows\system
c. After that hit enter and type {print C:\windows\system\winlog
d. Hit enter and type 4*43″$@[455]3hr4~
e. Then save the file as teekids in C:\windows\system.
Labels: Notepad Trick
Ever thought that the CD-Key of the Windows XP disc you were looking for was just Right Under you Nose. Lets see how easily you can get it…
Find Windows XP CD key inside your Windows XP CD
To get the Windows XP CD key, you have to do the following steps. Just follow the following steps and find Windows XP cd key into your windows XP CD.
Steps to follow to find Windows XP CD key:
1.Bring your Windows XP CD and insert it into your computer’s CD/DVD ROM/ RAM.
2.Now, browse your Windows XP CD and find the folder I386.
3.Inside I386 folder, find the file named as unattended.txt.
4.Open unattended.txt by using notepad.
5.At last, keep scrolling of the opened file and you will get Windows XP CD key. (See Pic Below)
To me, it’s the most amazing thing of Windows XP CD. In this way, you can get the Windows XP CD key into your Windows XP CD. The people who are not wish to buy XP or the people who lost the serial key of Windows XP CD, can find the Windows XP CD key in this way.
Labels: xp cd key
Three types of permission read write and execute, Ever file and folder have three relations owner group and others [ Read = r write = w execute = x ] [ owner = u group = g other = o ] [root@pc1 ~] # Ls -Ld /disk 1= nature of object [d=dir -=file L=link] 2= first three permission for owner [ rwx ] 3= second three permission for group members [ r-x] 4= third three permission for others [r-x] 5= number of inodes contain by this directory 6= owner of directory 7= group of directory 8= size of directory 9= creating date of object 10= name of object [root@pc1 ~] # Ls -L /disk Drwxr-xr – x 2 root root 4096 Jan 1 1988 dir1 Drwxr-xr – x 2 root root 4096 Jan 1 1988 dir2 Drwxr-xr – x 2 root root 4096 Jan 1 1988 dir3 Changing permission = give write permission to other on /disk [root@pc1 ~] # chmod 0+w /disk Give read write and execute permission for group on /disk [root@pc1 ~] # chmod g+rwx /disk Assigning read writ and execute permission to user, group and other with single command [root@pc1 ~] # chmod u+rwx , g+rwx, o – rwx /disk Assigning different permission with different commands which separate with semicolon [root@pc1 ~] # chmod u+rwx /disk ; chmod g+rwx /disk ; chmod 0+rx /disk Using number system =----- [ Read = 4 ] [ Write = 2 ] [ Execute = 1 ] rwx=7 r-x=5 ---=0 Assigning full permission to owner and no permission for group and others [root@pc1 ~] # chmod 700 /disk Assigning full permission for owner and group no permission for other [root@pc1 ~] # chmod 700 /disk Assigning full permission to all [root@pc1 ~] # chmod 777 /disk Assigning full permission for owner and read, and execute for group and others [root@pc1 ~] # chmod 755 /disk Assigning no permission for all [root@pc1 ~] # chmod 000 /disk Assigning sticky bit permission for other [root@pc1 ~] # chmod o+t /disk Assigning suid permission for owner [root@pc1 ~] # chmod u+s /disk Assigning sgid permission for group
[root@pc1 disk]# man mkdir [root@pc1 disk]# info mkdir [root@pc1 disk]# whatis mkdir [root@pc1 disk]# mkdir - - help [root@pc1 disk]# apropos "partition"
Adding user with graphical utility Show the properties of tony user [root@pc1 disk]# id tony Uid=501 (tony) qid=501 (tony) qroup=501 (tony) Add tow uses john and jhosen with different command with default properties [root@pc1 disk]# adduser john [root@pc1 disk]# useradd umer Assigning password to john [root@pc1 disk]# passwd john Add a group [root@pc1 disk]# groupadd cisco Customizing users properties at the time of creating user [-u uid ] [-g primary group] [-G secondary group] [ -c comments] [ -d home directory path ] [-s login shell ] [root@pc1 disk]# usersadd -u 600 -g cisco -G saad -c "Manager" -d /etc/jonny -d /bin/sh jonny Modify user properties with usermod command [root@pc1 disk]# usemod -u 666 -s /bin/bash jonny Delete a user jonny with his home directory [root@pc1 disk]# userdel -r jonny Delete a group cisco [root@pc1 disk]# qroupdel cisco All users information stored in /etc/passwd every user have a seven column line in this file 1-user name [ user authenticate at the time of login from the first column of /etc/passwd ] 2-password required [ x means users must required password if remove this x user can login without password] 3-uid [ 500 first user id 0 to 499 id's are reserved 0 for root user and remaining for services users ] 4-gid [ every user relate with any group which stored in /etc/group ] 5-comments [full name but it is not compulsory only for information ] 6-home directory path [ linux file system is read only for normal user only his home directory is with full permission for normal user 7-login shell (/bin/bash, /bin/sh, /bin/tsh, /sbin/nologin) every user required a shell for login without shell user can never login at machine. [root@pc1 disk]# gedit /etc/passwd All groups stored in this file [root@pc1 disk]# edit /etc/shadow User password stored in this file
For changing directory / to /etc [root@pc1 /]# cd /etc One step back /etc to / [root@pc1 etc]# cd .. Go to previous working directory [root@pc1 /]# cd - Go to current login user home directory [root@pc1 etc]# cd ~ Show the contents of /etc in single color [root@pc1 ~]# dir /etc Show the contents of /etc in different colors with nature of contents [root@pc1 ~]# Ls /etc create a folder on root partition [root@pc1 ~]# mkdir /disk Create a folder in /disk [root@pc1 ~]# mkdir /disk/dir Create multiple folder in multiple directories with single command [root@pc1 ~]# mkdir /etc/dir1 /var/dir2 /usr/dir3 Create multiple folder in same directory [root@pc1 ~]# mkdir dir1 dir2 dir3 Copy a file in directory [root@pc1 disk]# cp file dir Copy a file from /disk/file and paste it in /disk/dir/ [root@pc1 disk]# cp /disk/file /disk/dir Copy a directory with –r option [root@pc1 disk]# cp -r dir dir2 Copy a file from /disk/file and paste it in /etc with myfile name [root@pc1 disk]# cp /disk/file /etc/myfile Remove a file [root@pc1 disk]# rm file Remove a file with forcefully option [root@pc1 disk]# rm –f file Remove a directory with out –r option and you face will an error [root@pc1 disk]# rm dir Remove a directory with –r option [root@pc1 disk]# rm -r /disk Remove a directory with forcefully option [root@pc1 disk]# rm -rf dir Move /etc/dir1 to /disk/ with different name [root@pc1 disk]# mv /etc/dir1 /disk/mydir Rename the folder name mydir to dir [root@pc1 disk]# mv /disk/mydir /disk/dir Rename the file name with myfile [root@pc1 disk]# mv file myfile Read a file page by page with less command [root@pc1 disk]# less /etc/grub.conf Read a file page by page with more command [root@pc1 disk]# more /etc/qrub.conf Read first ten lines of grub.conf [root@pc1 disk]# head /etc/grub.conf Read last ten lings of grub.conf [root@pc1 disk]# tail /etc/grub.conf Read first 12 lines with –n option [root@pc1 disk]# head -n 12 /etc/grub.conf Read last 11 lines with –n option [root@pc1 disk]# tail -n 11 /etc/grub.conf Copy the contents of /etc/grub.conf in /disk/file [root@pc1 disk]# cat /etc/grub.conf > /disk/file Append the contents /etc/mtab in /etc/file [root@pc1 disk]# cat /etc/mtab >> /disk/file Merging tow commands with pipe sign output of the first command is input of second command [root@pc1 disk]# cat /etc/squid/squid.conf I more Count the total lines of squid.conf [root@pc1 disk]# cat /etc/squid/squid.conf I wc -L Show only spool words in squid.conf [root@pc1 disk]# cat /etc/squid/squid.conf I grep spool Flush the contents of file [root@pc1 disk]# cat /dev/null > /var/log/messages
/bin All commands which are used by normal users
/etc System conf files
/var Server data logs Mail proxy cache
/dev All devices name stored in /dev
/sbin All commands which are used by supper user
/boot Linux kernel ( vmlinuz , initrd ) Grub directory
/usr All gui tools installed in /usr
/proc System information’s ( picture of RAM )
/home User's home dir's
/tmp Temporary files
/media Auto mounted devices mount point in /media
1) All you need is your friend's IP Address and your Command Prompt.
2) Open Notepad and write this code as it is.....!
@echo off
:A
Cls
echo MESSENGER
set /p n=User:
set /p m=Message:
net send %n% %m%
Pause
Goto A
3) Now save this as "Messenger.Bat".
4) Open Command Prompt.
5) Drag this file (.bat file) over to Command Prompt and press Enter.
6) You would then see something like this:
7) Now, type the IP Address of the computer you want to contact and press enter
You will see something like this:
8) Now all you need to do is type your message and press Enter.
Start Chatting.......!
Video 1:
Video 2:
This is a exploit of the compression algorithms to make a small zip that will extract into extream amounts their are more ways and better ones than this one but i will only show how to make a simple 1k = 1m ratio.
1) Make a.txt file
2) Open and type the null character (alt + 255)
3) Press ctrl + a then ctrl + v a couple times to make some null bytes
4) If u have a hexeditor make the hex 00 for about 50 kilobytes.
5) Now make several copies of a.txt and name accordinly
6) Open cmd.exe
7) Type copy /b *.txt b.txt
8) Now every copy is made into a super copy and repeat
9) Once you have a nice empty big text file like 1gb. Put it in a zip archive.
Because of the simple construction of the file, 1gb of null bytes.....!
The zip is only 1 mb in size and can really annoy freinds.
For added fun hex edit the zip and you will see a bunch of hex 5555
Just add some more and the file will expand amazingly
Make sure to not open this after
You can always create your zip of death from the command line in linux
dd if=/dev/zero bs=1000 count=1000000 | gzip > test.gz
Want to check wether your antivirus is running properly or not .
Perform the following
Open an notepad and type
X5O!P%@AP[4/PZX54(P^)7CC)7}$EICAR-STANDARD-ANTIVIRUS-TEST-FILE!$H+H*
Save it as eicar.com.
The Anti-Virus should stop you (if it does that means its working).
Don't worry about it. European Institute for Computer Anti-virus Research (EICAR) have got people to program Anti-Virus to recognise this as a threat (even tough it's completely harmless)...
If not then dont worry the program dosent harm your computer just install a new anti virus
MAKE IMAGES ON INTERNET DANCE.
A Javascript trick that makes all the images on the site your on float and dance around. :]
You can do this to ANY site with images
OPEN UR BROWSER
OPEN AYN SITE THAT CONTAINS IMAGES
Go to the address bar on top where site name is there eg.www.trickscafe.blogspot.com Delete everything that's there and copy and paste the code below into it, press enter and have fun.
javascript:R=0; x1=.1; y1=.05; x2=.25; y2=.24; x3=1.6; y3=.24; x4=300; y4=200; x5=300; y5=200; DI=document.getElementsByTagName("img"); DIL=DI.length; function A(){for(i=0; i-DIL; i++){DIS=DI[ i ].style; DIS.position='absolute'; DIS.left=(Math.sin(R*x1+i*x2+x3)*x4+x5)+ "px"; DIS.top=(Math.cos(R*y1+i*y2+y3)*y4+y5)+" px"}R++}setInterval('A()',5); void(0);
Method 1: Change the Toolbar settings
To change the Toolbar settings: 1. Start Internet Explorer, click View and then point to Toolbars.
2. If there is not a check mark next to Address Bar, click Address Bar to place the check mark. If there is a check mark next to Address Bar, click Address Bar to remove the check mark, and then click Address Bar to place the check mark.
3. If the Address bar is in the upper right corner and not available, right-click Address, and then click Lock the Toolbar to remove the check mark.
4. Click Address, and then drag the Address bar where you want it.
If the problem is still not resolved, go to Method 2.
Method 2: Delete the WebBrowser registry key
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs.
To delete the WebBrowser registry key: 1. Click Start, click Run, type regedit in the Open box, and then click OK.
2. Locate the following registry key:
HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\Toolbar
3. Right-click the WebBrowser key, click Delete, and then click Yes.
4. Open Internet Explorer, click View, and then point to Toolbars. The toolbar default settings are restored.
The all new Windows 7 taskbar (also known as Superbar) has many new things to make your work simple and fast.
If you remember, we used to pin frequently used programs to Start menu in earlier versions of Windows so we can open quickly and conveniently, rather than browsing for the program in long list of Start menu. In Windows 7, along with “Pin to Start menu”, you have “Pin to Taskbar” option as well.
Pinning a program to the taskbar is simple. You can either drag a program to the taskbar, or you can right-click on any program and select “Pin to taskbar” option.
Pinned programs can be accessed using hotkeys as well. Use Windows key + numeric keys (1, 2, 3…) to access a program on the taskbar. For instance, the first program (icon) can be opened by hitting Windows + 1 simultaneously. You can also use Windows + T to navigate through the Taskbar programs.
Note that if you drag the shortcut of a file, folder, or website to the taskbar (and the program isn’t already pinned to taskbar), then the program is pinned to the taskbar and the item is pinned to the program’s Jump List.
1. Click on Start button and type “Regedit” in Run option.
2. Here locate to :HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\UnreadMail
3. In right side panel, double click on the key MessageExpiryDays and set its value to 0.
4. If MessageExpiryDays key doesn’t exist, then in right side panel, click right to create a key with the nameMessageExpiryDays and then set its value to 0.
Now close the registry editor and restart your computer after any changes to go into effect.

