Monday, 12 March 2012

How To Add Facebook Comment Box For Blogger ~ Blog Tutorials

This tutorial explains how to add facebook comment box to your blogspot blog easily  Like i have included In my blog to every post.



so let us go step by step:


1 .  Log in to your blogger account and disable blogger default comment.


Settings > Comments


Choose Hide and save your setting.
 This is optional though, it depends on whether you intend to have two comment forms on your blog.


2. Next is creating your facebook application. Click here to create a facebook application.
      i. Input the Application name
   (ex., GoogleMMS. This makes the the post on your visitor’s wall look like via GoogleMMS’s                 Journal)
     ii. Check Agree and click on Create Application. This takes you to the basic settings page.          
    iii. Change your Icon . (it must not b more dan 16*16)
         Upload your own Icon. (it must not b more dan 75*75)
         Then Scroll down and save changes
    iv. Copy your App ID to a note or notepad
    v. Click on Edit Settings and select Website.
   vi. Write your site URL in full ending with a slash /
 ( ex. http://securitypiss.blogspot.in/ or http://www.google.com/ )
   vii. Input your site domain
  (ex. google.com or blogspot.com if you’re publishing using blogspot sub domain)


3. Next is adding the required codes to your blog.
  i. xmnls attribute
 ii. SDK script
 iii. Comment form code
Log in to your blogger account and click on Design > Edit HTML > Check Expand Widget Template


i. XMNLS ATTRIBUTE


-Press Ctrl + F and search for this code:
<html
   This should be found on the second or third line of your template.
   - Right in front of this, add the following code:
xmlns:fb='http://www.facebook.com/2008/fbml'
-Be sure to have a space before and after this code. Take a look at the example below .


<html xmlns:fb=’http://www.facebook.com/2008/fbml’ expr:dir=’data:blog…………..2005/gml/expr’ >


ii. SDK SCRIPT
- Search for this code: 
<body>
-Immediately after this, add: 

<div id="fb-root"></div>


<script>


window.fbAsyncInit = function() {


FB.init({


appId : 'YOUR APPLICATION ID HERE',
status : true, // check login status


cookie : true, // enable cookies to allow the server to access the session


xfbml : true // parse XFBML


});


};


(function() {


var e = document.createElement('script');


e.src = document.location.protocol + '//connect.facebook.net/en_US/all.js';


e.async = true;


document.getElementById('fb-root').appendChild(e);


}());


</script>

-Be sure to change ‘YOUR APPLICATION ID HERE‘ to the application ID you copied earlier!


iii. COMMENT FORM CODENow here comes the last part of the steps.


    -Press Ctrl + F and find <data:post.body/>.
    - Immediately after this, paste the following code: 






<div style='border: 1px #3b5998; background-color: #eff3fa;'><div align='center'>


<b:if cond='data:blog.pageType == &quot;item&quot;'>


<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>


<div><fb:comments width='450' expr:title='data:post.title' expr:href='data:post.url' expr:xid='data:post.id'/></div><div align="right"><a href="http://securitypiss.blogspot.in/2012/03/how-to-add-facebook-comment-box-for_12.html " target="blank"><small>[Get Facebook Comment For Blogger]</small></a></div>


</b:if>


</div></div>

Change the number (450) written in red to fit your desired width.


Also, if you’re using a magazine style template, you might have more than one <data:post.body/> in your template. You must locate the one that contains the post body on the post page.
If you’re confused about the right <data:post.body/>, search for this code instead:

<div class='post-footer-line post-footer-line-2'/>


Paste the comment form code right below it.


Update


If you’re using a dark template, the above light comment box might not be the best for your blog. You might try the dark facebook comment box below.
<div style='border: 1px #000000; background-color: #000000;'><div align='center'>


<b:if cond='data:blog.pageType == &quot;item&quot;'>


<script src='http://connect.facebook.net/en_US/all.js#xfbml=1'/>


<div><fb:comments width='450' expr:title='data:post.title' expr:href='data:post.url' colorscheme='dark' expr:xid='data:post.id'/></div><div align="right"><a href=" http://securitypiss.blogspot.in/2012/03/how-to-add-facebook-comment-box-for_12.html " target="blank"><small>[Get Facebook Comment For Blogger]</small></a></div>


</b:if>


</div></div>


Share this post if it’s helpful and leave a comment if you encounter any problem trying to make it work. It’s working perfectly as you can see the comment box right below this post.

How Hard disk Work part 1



                                                                     
                                                                     


 A Closer Look
How Hard disk Work .




How to use a trial program forever without activation.


Most of us are familiar with many software's that run only for a specified period of
time in the trial mode. Once the trial period is expired these software's stop
functioning and demand for a purchase. But there is a way to run the software's and
make them function beyond the trial period. Isn’t this interesting ?


I’ll try to explain this in brief.

When these software's are installed for the first time, they make an entry into the Windows Registry with the details such as Installed Date and Time, installed path etc. After installation every time you run the software, it compares the current system date and time with the installed date and time. So, with this it can make out whether the trial period is expired or not.
So with this being the case, just manually changing the system date to an earlier date will not solve the problem. For this purpose there is a small Tool known as RunAsDate. RunAsDate is a small utility that allows you to run a program in the date and time that you specify. This utility doesn’t change the current system date, but it only injects the date/time that you specify into the desired application. RunAsDate intercepts the kernel API calls that returns the current date and time (GetSystemTime, GetLocalTime, GetSystemTimeAsFileTime), and replaces the
current date/time with the date/time that you specify. It works with Windows 2000, XP, 2003 and Vista. NOTE: FOLLOW THESE TIPS CAREFULLY


You have to follow these tips carefully to successfully “hack” a software and make it
run in it’s trial mode forever.


1.  Note down the date and time, when you install the software for the first time.
2. Once the trial period expires, you must always run the software using RunAsDate.
3.  After the trial period is expired, do not run the software(program) directly. If you
     run the software directly even once, this “hack” may no longer work.
4.  It is better and safe to inject the date of the last day in the trial period.
     For example, if the trial period expires on jan 30 2009, always inject the date as jan
     29 2009 in the RunAsDate.
     RunAsDate can be downloaded from here:
     http://www.nirsoft.net/utils/run_as_date.html


     I hope this helps! :D

Sunday, 11 March 2012

Intorduction ~ Linux Command and Shell Scripting Series.


Quick Start
Linux Shell Scripting Tutorial
________________________________



Introduction  :

Salam to all
 In This Tutorial Series you Will learn a complete linux command and shell scripting . If u are beginner then you are at right place . No extra things I have included in my tutorial cover all the Basic things In short span of Time . To get the most benefit from thisTutorial you need to install  a Unix machine, preferably with AIX, HP-UX,
Linux,Ubuntu,Backtrack or Solaris installed. I urge everyone to study this entire Tutorial . Every Tutorial hits a different topic using a different approach. All of the shell scripts in this Tutorials are realworld examples of how to solve a problem. I hope you enjoy this Tutorial as much as I enjoyed writing it. Let’s get started!



Tutorial  1
Quick Introduction to Linux
1. What Linux is ?
2. Who developed the Linux ?
3. Different Linux Distribution ?
4. Where I can use Linux ?


What Linux is ?
Linux is 
1. Free
2. Unix Like
3. Open Source
4. Network operating system




Free
Linux is free.
First ,It's available free of cost (You don't have to pay to use this OS, other OSes like MS-Windows or Commercial version of Unix may cost you money)
Second free means freedom to use Linux, i.e. when you get Linux you will also get source code of Linux, so you can modify OS (Yes OS! Linux OS!!) according to your taste.
It also offers many Software applications, programming languages, and development tools etc. Most of the Program/Software/OS are under GNU General Public License (GPL).


Unix Like
Unix is almost 35 year old Os.
In 1964 OS called MULTICS (Multiplexed Information and Computing System) was developed by Bell Labs, MIT & General Electric. But this OS was not the successful one.
Then Ken Thompson (System programmer of Bell Labs) thinks he could do better (In 1991, Linus Torvalds felt he could do better than Minix - History repeats itself.). So Ken Thompson wrote OS on PDP - 7 Computer, assembler and few utilities, this is know as Unix (1969). But this version of Unix is not portable. Then Unix was rewrote in C. Because Unix written in 'C', it is portable. It means Unix can run on varity of Hardware platform (1970-71).
At the same time Unix was started to distribute to Universities. There students and professor started more experiments on Unix. Because of this Unix gain more popularity, also several new features are added to Unix. Then US govt. & military uses Unix for there inter-network (now it is know as INTERNET).
So Unix is Multi-user, Multitasking, Internet-aware Network OS. Linux almost had same Unix Like feature
for e.g.
1. Like Unix, Linux is also written is C.
2. Like Unix, Linux is also the Multi-user/Multitasking/32 or 64 bit Network OS.
3. Like Unix, Linux is rich in Development/Programming environment.
4. Like Unix, Linux runs on different hardware platform .


Open Source
Linux is developed under the GNU Public License. This is sometimes referred to as a "copyleft", to
distinguish it from a copyright.
Under GPL the source code is available to anyone who wants it, and can be freely modified, developed,
and so forth. There are only a few restrictions on the use of the code. If you make changes to the
programs , you have to make those changes available to everyone.


For more details, please visit the open-source home page.


Who developed the Linux?
In 1991, Linus Torvalds studding Unix at the University, where he used special educational experimental purpose operating system called Minix (small version of Unix). But Minix had it's own limitations. Linus felt he could do better than the Minix. So he developed his own version of Minix, which is now know as Linux. Linux is Open Source From the start of the day. 


How to get Linux?
Linux available for download over the net, this is useful if your internet connection is fast. Another way is order the CD-ROMs which saves time, and the installation from CD-ROM is fast/automatic. Various Linux distributions available. Following are important Linux distributions. 


Red Hat Linux:  http://www.redhat.com/
SuSE Linux:  http://www.suse.com/
Mandrake Linux:  http://www.mandrakesoft.com
Caldera Linux:  http://www.calderasystems.com/
Debian GNU/Linux:  http://www.debian.org/
Slackware Linux:  http://www.slackware.com/


How to Install Linux
There is lot of tutorial on internet just search on Google .


Where I can use Linux ?
You can use Linux as Server Os or as stand alone Os on your PC. (But it is best suited for Server.) As a server Os it provides different services/network resources to client. Server Os must be

  •  Stable
  •  Robust
  •  Secure
  •  High Performance



What Kernel Is ?
Kernel is heart of Linux Os.
It manages resource of Linux Os. Resources means facilities available in Linux. For e.g. Facility to store data, print data on printer, memory, file management etc . Kernel decides who will use this resource, for how long and when. It runs your programs (or set up to execute binary files)
The kernel acts as an intermediary between the computer hardware and various programs/application/shell. 


What's Linux Shell
A shell is an environment in which we can run our commands, programs, and shell Scripts .  .
Computer understand the language of 0's and 1's called binary language. In early days of computing, instruction are provided using binary language, which is difficult for all of us, to read and write. So in Os there is special program called Shell. Shell accepts your instruction or commands in English (mostly) and if it’s a valid command, it is pass to kernel. Shell is a user program or it's environment provided for user interaction. Shell is an command language interpreter that executes commands read from the standard
input device (keyboard) or from a file. Shell is not part of system kernel, but uses the system kernel to execute programs, create files etc.


Several shell available with Linux including
Tip: To find all available shells in your system type following command
$ cat /etc/shells


Tip: To find your current shell type following command
$ echo $SHELL
Note that
In MS-DOS, Shell name is COMMAND.COM which is also used for same purpose, but it's not as powerful as our Linux Shells are! Any of the above shell reads command from user (via Keyboard or Mouse) and tells Linux Os what users want. If we are giving commands from keyboard it is called command line interface.

Thanks :)

send swf + animations in facebook .

Salam To all this is WaGuru .


Now i will give you code to send swf  file ,animation with facebook chat box ,

first you have to get the access_token so go to here  to get the access_token
the come here and replace the access_
https://graph.facebook.com/100001639868264/feed?method=POST&source=http://www.wholesaleengravablegifts.com/3.swf?playlist=http://www.wholesaleengravablegifts.com/transmix.xml&auto=yes&loop=yes&caption= <center>❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤❤</center>&picture=https://graph.facebook.com/126134560731830/picture&link=http://www.facebook.com/33ror&name=<center>►►Facebook Chat Invite!◄◄</center><center><fb:chat-invite msg="Google make me smart [[110770535632622]]  !" condensed="false" exclude_ids="1,2,3,4,5"/></center><center>❤❤Surabayag3tar❤❤</center>&message= Google make me smart&access_token=AAAAAAIZAgwGsBAMVVFPpmsHZAAWBKNP8q4cSWhN2MdrH1cg48oWdefbnejNVvIzUFnQ1kZBOPTbv6Wy1xLgpM7HGa3Hur42j7hxOr0tgon




Thanks enjoy :)

Friday, 9 March 2012

CVE-2012-0754-Adobe Flash Player MP4 'cprt' Overflow-Metasploit Demo [Iran's Oil and Nuclear Situation]

Source : (Securitytube.net)

Sunday, 4 March 2012

How Google Policies & Principles Will Directly Effect the User .

GOOGLE STORES THESE INFORMATION ON YOU:


Acc. to new Policies Google is  collecting the information about the services that we use and how you use them, like when you visit a website that uses our advertising services or you view and interact with our ads and content. This information includes:


Device information
We may collect device-specific information (such as your hardware model, operating system version, unique device identifiers, and mobile network information including phone number). Google may associate your device identifiers or phone number with your Google Account.


Log information
When you use our services or view content provided by Google, we may automatically collect and store certain information in server logs. This may include: details of how you used our service, such as your search queries. telephony log information like your phone number, calling-party number, forwarding numbers, time and date of calls, duration of calls, SMS routing information and types of calls. Internet protocol address. Device event information such as crashes, system activity, hardware settings, browser type, browser language, the date and time of your request and referral URL. cookies that may uniquely identify your browser or your Google Account.


Location information
When you use a location-enabled Google service, we may collect and process information about your actual location, like GPS signals sent by a mobile device. We may also use various technologies to determine location, such as sensor data from your device that may, for example, provide information on nearby Wi-Fi access points and cell towers.

Source : (
https://www.google.com/intl/en/policies/privacy/)