Facebook tools (autoliker, account verifier)

Hello all,

I have decided to publish my work regarding facebook scripts like autoliker, account verifier, automated comment liker, automated photo liker, wall posts liker and of course account bruteforce.

First of all keep in mind that you have to use this script only on your own accounts!

Today I will list only these 4:

I.Account verifier (verifier.php) (This script checks the valid facebook accounts found in users.txt file)

<?php

/*
#########################################################
#       Copyright to Zatarra @ rstforums.com            #
#        Use it only with your own accounts!            #
#########################################################
*/

//Initializing cookies folder
$directory=getcwd()."/cookies";

//Checking if cookies folder exists
if (file_exists($directory))
{
//Eating all the cookies to avoid problems
echo shell_exec("rm -rf cookies/*.cookie");
}
else
{
//Creating directory
echo shell_exec("mkdir cookies");
}

$goodone=0;
$badone=0;
$var=file('users.txt');
for ($i=0;$i<count($var);$i++)
{
$fb=explode(" ",trim($var[$i]));
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, "email=" . @trim($fb[0]) . "&pass=" . @trim($fb[1]) . "&login=Log In");
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEJAR, "cookies/$i.cookie");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$i.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);

@preg_match_all('/data-sigil=(.*?)\>\<table/',$curlData,$rasp);
if (@$rasp[1][0])
{
echo "[RST] Goodone => ".trim($fb[0])." ".trim($fb[1])."\n";
$goodone++;
}
/*
else
{
echo "[RST] Badone => ".trim($fb[0])." - ".trim($fb[1])."\n";
$badone++;
}
*/
}

echo "Am verificat ".count($var)." conturi dintre care $goodone au fost bune\n";

//Eating all the cookies
echo shell_exec("rm -rf cookies/*.cookie");

?>

Usage:
1. You create a file named users.txt which must contain facebook username (email) and password under this form:

email1@yahoo.com pass1
email2@yahoo.com pass2
email3@yahoo.com pass3

2. After you caret the users.txt file and verifier.php file you can simply run the script by typing php verifier.php

[root@OptimusPrime RST]# php verifier.php
[RST] Goodone => email1@yahoo.com pass1
[RST] Goodone => email2@yahoo.com pass2
[RST] Goodone => email3@yahoo.com pass3
Am verificat 3 conturi dintre care 3 au fost bune
[root@OptimusPrime RST]#

3. Please notice that all the valid accounts must have this options set on the facebook profile:

II. Link/Page liker (like.php) (This script will give like to a page or a link with users found in users.txt)

<?php

/*
#########################################################
#       Copyright to Zatarra @ rstforums.com            #
#        Use it only with your own accounts!            #
#########################################################
*/

//The link variable is the only one you have to modify!!! Leave the rest as it is in order to work.
$link='https://www.facebook.com/rstforums';

//Initializing cookies folder
$directory=getcwd()."/cookies";

//Checking if cookies folder exists
if (file_exists($directory))
{
//Eating all the cookies to avoid problems
echo shell_exec("rm -rf ./cookies/*.cookie");
}
else
{
//Creating directory
echo shell_exec("mkdir cookies");
}

//Initializing users and passwords
$user=file('users.txt');

function login($username,$password)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, "email=" . @$username . "&pass=" . @$password . "&login=Log In");
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEJAR, "cookies/$username.cookie");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);

@preg_match_all('/name=\"fb_dtsg\" value=\"(.*?)\"/',$curlData,$dtsg);
//echo "dtsg => ".$dtsg[1][0]."\n";
@preg_match_all('/\"id\":\"(.*?)\"\}\,/',$curlData,$userid);
//echo "Profile Id => ".$userid[1][0]."\n";
@preg_match_all('/data-sigil=(.*?)\>\<table/',$curlData,$rasp);
if (@$rasp[1][0])
{
return array(0,0);
}
else
{
return array($dtsg[1][0],$userid[1][0]);
}
}

function like($username,$password,$link)
{
$userdetails=login($username,$password);

if ($userdetails[0]!='0')
{
$data='fb_dtsg='.$userdetails[0].'&href='.$link.'&action=like&nobootload=&iframe_referer=http://rstforums.com/&ref=&__user='.$userdetails[1].'&__a=1&__dyn=7w&__req=1&ttstamp=265816673977571105';
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://www.facebook.com/plugins/like/connect");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);
}
}

for ($i=0;$i<count($user);$i++)
{
$fb=explode(" ",trim($user[$i]));
like($fb[0],$fb[1],$link);
like($fb[0],$fb[1],$link);
}

//Eating all the cookies
echo shell_exec("rm -rf cookies/*.cookie");

?>

Usage:
1. You must have the users.txt with one username and password on one line (exactly as in the example from verifier.php)
2. As it can be seen in the code, the only parameter that you need to modify is the $link variable.
3. Before running the script you can check your facebook page’s likes number on this link:
https://graph.facebook.com/?ids=https://www.facebook.com/rstforums
4. After you modify the $link variable you only run the script with the command php like.php and everything else will run in the background
5. After script finishes its job you can recheck the link provided at step 2 in order to see how many likes you recieved

III. Link/Page disliker (dislike.php) (This script will do the same thing like the one above but this will DISLIKE the page/link)

<?php

/*
#########################################################
#       Copyright to Zatarra @ rstforums.com            #
#        Use it only with your own accounts!            #
#########################################################
*/

//The link variable is the only one you have to modify!!! Leave the rest as it is in order to work.
$link='https://www.facebook.com/rstforums';

//Initializing cookies folder
$directory=getcwd()."/cookies";

//Checking if cookies folder exists
if (file_exists($directory))
{
//Eating all the cookies to avoid problems
echo shell_exec("rm -rf ./cookies/*.cookie");
}
else
{
//Creating directory
echo shell_exec("mkdir cookies");
}

//Initializing users and passwords
$user=file('users.txt');

function login($username,$password)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, "email=" . @$username . "&pass=" . @$password . "&login=Log In");
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEJAR, "cookies/$username.cookie");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);

@preg_match_all('/name=\"fb_dtsg\" value=\"(.*?)\"/',$curlData,$dtsg);
//echo "dtsg => ".$dtsg[1][0]."\n";
@preg_match_all('/\"id\":\"(.*?)\"\}\,/',$curlData,$userid);
//echo "Profile Id => ".$userid[1][0]."\n";
@preg_match_all('/data-sigil=(.*?)\>\<table/',$curlData,$rasp);
if (@$rasp[1][0])
{
return array(0,0);
}
else
{
return array($dtsg[1][0],$userid[1][0]);
}
}

function like($username,$password,$link)
{
$userdetails=login($username,$password);

if ($userdetails[0]!='0')
{
$data='fb_dtsg='.$userdetails[0].'&href='.$link.'&action=like&nobootload=&iframe_referer=http://rstforums.com/&ref=&__user='.$userdetails[1].'&__a=1&__dyn=7w&__req=1&ttstamp=265816673977571105';
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://www.facebook.com/plugins/like/disconnect");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);
}
}

for ($i=0;$i<count($user);$i++)
{
$fb=explode(" ",trim($user[$i]));
like($fb[0],$fb[1],$link);
like($fb[0],$fb[1],$link);
}

//Eating all the cookies
echo shell_exec("rm -rf cookies/*.cookie");

?>

Usage:
1. Same steps like for like.php

IV. Comment liker (commentlike.php) (This script will give automatic likes to a comment with the accounts found in users.txt)

<?php

/*
#########################################################
#       Copyright to Zatarra @ rstforums.com            #
#        Use it only with your own accounts!            #
#########################################################
*/

//The link variable is the only one you have to modify!!! Leave the rest as it is in order to work.
$link='https://www.facebook.com/LinkToYourComment';

@preg_match_all('/sts\/([0-9]*?)\?comment/',$link,$postid);
if (!@$postid[1][0])
{
@preg_match_all('/fbid=([0-9]*?)\&set/',$link,$postid);
}
@preg_match_all("/comment_id=([0-9]*?)\&offset/",$link,$commentid);
@preg_match_all("/a.([0-9]*?).([0-9]*?).([0-9]*?)\&/",$link,$photo);
if (@$photo[2][0])
{$length=strlen($photo[2][0]);}
else
{$length=5;}

//Initializing cookies folder
$directory=getcwd()."/cookies";

//Checking if cookies folder exists
if (file_exists($directory))
{
//Eating all the cookies to avoid problems
echo shell_exec("rm -rf ./cookies/*.cookie");
}
else
{
//Creating directory
echo shell_exec("mkdir cookies");
}

//Initializing users and passwords
$user=file('users.txt');

function login($username,$password)
{
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, "email=" . @$username . "&pass=" . @$password . "&login=Log In");
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEJAR, "cookies/$username.cookie");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);

@preg_match_all('/name=\"fb_dtsg\" value=\"(.*?)\"/',$curlData,$dtsg);
//echo "dtsg => ".$dtsg[1][0]."\n";
@preg_match_all('/\"id\":\"(.*?)\"\}\,/',$curlData,$userid);
//echo "Profile Id => ".$userid[1][0]."\n";
@preg_match_all('/data-sigil=(.*?)\>\<table/',$curlData,$rasp);
if (@$rasp[1][0])
{
return array(0,0);
}
else
{
return array($dtsg[1][0],$userid[1][0]);
}
}

function likecomment($username,$password,$fpostid,$fcommentid,$flength)
{
$userdetails=login($username,$password);

if ($userdetails[0]!='0')
{
if ($flength==5)
{
$data='comment_id='.$fpostid.'_'.$fcommentid.'&legacy_id='.$fcommentid.'&like_action=true&ft_ent_identifier='.$fpostid.'&source=2&client_id=1375725162708%3A3550641995&ft[tn]=%3ER0]&__user='.$userdetails[1].'&__a=1&__dyn=7n8ahyj35CFUSt2u5FeDKd8q&__req=q&fb_dtsg='.$userdetails[0].'&ttstamp=26581665371788481';
}
else
{
$data='comment_id='.$fpostid.'_'.$fcommentid.'&legacy_id='.$fcommentid.'&like_action=true&ft_ent_identifier='.$fpostid.'&source=2&client_id=1375725162708%3A3550641995&ft[tn]=%3ER0]&ft[type]=44&nctr[_mod]=photos_snowlift&__user='.$userdetails[1].'&__a=1&__dyn=7n8ahyj35CFUSt2u5FeDKd8q&__req=s&fb_dtsg='.$userdetails[0].'&ttstamp=26581665371788481';
}
$curl = curl_init();
curl_setopt($curl, CURLOPT_URL, "https://www.facebook.com/ajax/ufi/comment_like.php");
curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($curl, CURLOPT_USERAGENT, "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:19.0) Gecko/20100101 Firefox/19.0");
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_POST, 1);
curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
curl_setopt($curl, CURLOPT_ENCODING, "");
curl_setopt($curl, CURLOPT_COOKIEFILE, "cookies/$username.cookie");
$curlData = curl_exec($curl);
$curlData = curl_exec($curl);
echo $curlData;
}
}

for ($i=0;$i<count($user);$i++)
{
$fb=explode(" ",trim($user[$i]));
likecomment($fb[0],$fb[1],@$postid[1][0],@$commentid[1][0],$length);
likecomment($fb[0],$fb[1],@$postid[1][0],@$commentid[1][0],$length);
}

//Eating all the remain cookies
echo shell_exec("rm -rf cookies/*.cookie");

?>

Usage:
1. As previous, you must insert your usernames and passwords in the users.txt file
2. You must modify only the $link variable found in the code and replace it with your comment link. In order to get a comment link, you must copy the link from the share time. One example can be seen below:

3. Please notice that his works only for comments and not wall posts
4. You may encounter bugs, please report them by commenting to this article

Thanks for your time and that would be all for now. As mentioned in the begging, I will be back with the rest of the promised codes in few days (depending on my free time).
If you have any suggestions or questions please do not hesitate to ask them.

BWIN fail

Today I found out an epic fail on bwin’s main site.

At this link: https://www.bwin.com/ro/registration which is the main link used to register a new account (for romanian people – especially) you will see that there is no way to select the Romania as country (Rezidenta in my language or Residence in the english version) just for the fact that IT DOES NOT EXIST! It doesn’t matter which site you use to register.. same applies for all of them (eg: https://www.bwin.com/en/registration )

Here is a picture with the fail:

bwin FAIL

Samsung S3 : Full Lock Screen Bypass

====
Title
====
Samsung S3 : Full Lock Screen Bypass
========
Summary
========
It is possible to bypass the lock screen on the S3 allowing an indivdual full access to the phones features
==============
Steps to recreate
==============
1) On the code entry screen press Emergency Call
2) Then press Emergency Contacts
3) Press the Home button once
4) Just after pressing the Home button press the power button quickly
5) If successful, pressing the power button again will bring you to the S3’s home screen
=====
Notes
=====
1) It can take quite a few attempts to get this working, sometimes this method works straight away, other times it can take more than 20 attempts.
2) The method has been tested on 3 S3’s
3) The method also seems to work better when the mobile has auto rotation on.
================
Tested phone details
================
Model number: GT-I9300
Android Version: 4.1.2
Kernal version: 3.031-742798
======
Credits
======
Sean McMillan @ Full Disclosure List

Print numerical permissions of files

Today I needed a way to print the numerical permission of files (instead of rwx) and I found this solution:

For multiple files:

ls -l |awk ‘{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(“%0o “,k);print}’

Which gives this result:

[root@OptimusPrime selinux]# ls -l |awk ‘{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(“%0o “,k);print}’
total 32
644 -rw-r–r– 1 root root  511 Jan  7  2012 config
600 -rw——- 1 root root  234 Apr  2  2010 restorecond.conf
644 -rw-r–r– 1 root root 1752 Sep  3  2009 semanage.conf
755 drwxr-xr-x 5 root root 4096 Jan 26 17:51 targeted
[root@OptimusPrime selinux]#

For single file:

ls -l /etc/hosts |awk ‘{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(“%0o “,k);print}’

Result:

[root@OptimusPrime ~]# ls -l /etc/hosts |awk ‘{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(“%0o “,k);print}’
644 -rw-r–r– 2 root root 308 Feb 11 18:37 /etc/hosts
[root@OptimusPrime ~]#

You may wondering why I was searching for this? The reason was simple. This article is the solution if you need to modify a file on a list of servers, where this particular file has different permissions on each server (sometimes write permission is missing), you can easily save the old permissions, change them temporary, as you wish (like 777) and then change them back.

 

Let me give you an example. You need to modify file /etc/program.conf on 50 servers found in servers.txt. The scenario is the one described above and the solution would be this one:

for i in `cat servers.txt`
do
    #saving the old permissions
    OLDPERM=`ssh -i ~/.ssh/key user@$i sudo ls -l /etc/program.conf |awk ‘{k=0;for(i=0;i<=8;i++)k+=((substr($1,i+2,1)~/[rwx]/)*2^(8-i));if(k)printf(“%0o “,k);print}’ |awk ‘{print $1}’`
    #temporary change of permissions
    ssh -i ~/.ssh/key user@$i sudo chmod 777 /etc/hosts
    #make the change (in this case add new line to the conf file)
    ssh -i ~/.ssh/key user@$i “/bin/echo \”New test parameter\” >> /etc/program.conf”
    #set the permissions back as they were
    ssh -i ~/.ssh/key user@$i sudo chmod $OLDPERM /etc/hosts
done

That would be all.

 

Paypal dispute

Hello everybody,

Yesterday I recieved two emails regarding a paypal dispute.

First email looks like this:

Hello Adrian-Daniel Bacanu,

Recently, PayPal received a notification from a user regarding unauthorized access to his PayPal account. As a result, one of the payments credited to your PayPal account has been placed in a temporary hold while we investigate the claim.  PayPal constantly monitors transactions for unauthorized use of accounts in order to maintain the safety of our users.
The details of this transaction are as follows:

Transaction Date: Jan 16, 2013
Transaction Amount: $24.00 USD
Buyer's Email: xxxxxxxxxx@hotmail.com

If you have already shipped goods,  please provide PayPal with the following information:

1) Tracking Number of Shipment
2) Shipping Company Used
3) Shipping Insurance Information (if used)

If you have provided a refund to the buyer, please provide PayPal with the following information:

1) Date of Refund
2) Amount of Refund

If you have any questions, please contact Customer Service.
Good selling practices, like trackable shipping, prompt shipment, and communication between buyer and seller help prevent disputes.
Thanks,

PayPal

Second:

Hello Adrian-Daniel Bacanu,

An unauthorized account activity claim was recently filed against the
following transaction.

Sender’s name: Blackmailer
Sender’s email: xxxxxxxxxx@hotmail.com
Transaction ID: 55E44812SX751262U

Transaction date: Jan 16, 2013
Transaction amount: $24.00 USD
Your transaction ID: 2Y956146XY8989238
Case number: PP-002-195-781-176

We need additional information from you within the next 7 days. Please log
in to your PayPal account and go to the Resolution Center to see the
details of this case. There, you can enter any information regarding this
case that will help us fight the reversal on your behalf.

Thanks,

PayPal
...

The idea was to make an exchange. I will give him x$ on Liberty Reserve (as gift) and he will give me x$ on Paypal (not as gift). At the beginning I was blinded, but afterwards I realized what I have done. The funny thing was that he made the claim only now, but here is where Paypal interferes.

I have sent my proofs to Paypal and they start analyzing the case.

Today, surprise, I receive email from Paypal telling me that my money were sent back to my account BECAUSE on the Blackmailer’s account was no unauthorized access, so only he himself could send the money.

The email from Paypal sounds like this:

Hello Adrian-Daniel Bacanu,

We have completed our investigation of the transaction below and were
unable to find evidence of unauthorized access to the buyer’s account. This
case was denied to the buyer and no funds were recovered from your account.

Sender’s name: Blackmailer
Sender’s email: xxxxxxxxxx@hotmail.com
Transaction ID: 55E44812SX751262U

Transaction date: Jan 16, 2013
Transaction amount: $24.00 USD
Your transaction ID: 2Y956146XY8989238
Case number: PP-002-195-781-176

For additional information and to see the details of your claim, please log
in to your PayPal account at https://www.paypal.com/ and go to the
Resolution Center.

Thanks for your cooperation through this process. We are continuing to work
to ensure that PayPal is secure for all users.

Sincerely,

PayPal
Protection Services Department

...

In conclusion, many thanks to Paypal for doing their job by the book.

Configure multiple simultaneous sessions on Windows 7

Few days ago I have found myself in the position to use to simultaneous sessions on the same Windows 7 machine.

After a short search over the internet I have found out that the patch below does the trick.

You can easily download it from UniversalTermsrvPatch_20090425.zip (zip File, 66 KB, mirror #2)

Using this you can also connect with multiple sessions via RDP (Remote Desktop Protocol).

Free Bitdefender Internet Security 2013 License

Hi, today (23.01.2013), tomorrow (24.01.2013) and the day after tomorrow (25.01.2013) you can get a FREE Bitdefender Internet Security 2013 License by visiting http://www.yoda.ro

More details can be found at this link:

http://www.yoda.ro/sponsored/bitdefender-internet-security-2013.html

If you do not manage do understand, you can use Google translate from Romanian to English.

The licenses will be given between 15:00 and 16:00 GTM +2.

Many thanks to BitDefender for their giveaways.

 

How to block all ping requests in Linux

There are two simple methods to block all your ping requests.

1. Using the native “restriction” of Linux

a) For temporary change:

echo "1" > /proc/sys/net/ipv4/icmp_echo_ignore_all

b) For permanent change:

Modify /etc/sysctl.conf file and search for net.ipv4.icmp_echo_ignore_all parameter. Once you find it change its default value from “0” to “1” and save the file.

After modification it should look like this:

net.ipv4.icmp_echo_ignore_all = 1

If the parameter does not exist you can use this command to add it:

echo "net.ipv4.icmp_echo_ignore_all = 1" >> /etc/sysctl.conf

2. Using iptables

This should be your default iptables configuration.

root@server:~# iptables -L
Chain INPUT (policy ACCEPT)
target     prot opt source               destination

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination
root@server:~#

By typing the below command, you will DROP all ICMP echo requests (type 8).

iptables -A INPUT -p icmp --icmp-type 8 -j DROP

For both methods, this is how ping looked before:

root@client:~# ping -c 5 192.168.1.101
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.
64 bytes from 192.168.1.101: icmp_req=1 ttl=53 time=51.6 ms
64 bytes from 192.168.1.101: icmp_req=2 ttl=53 time=51.7 ms
64 bytes from 192.168.1.101: icmp_req=3 ttl=53 time=51.6 ms
64 bytes from 192.168.1.101: icmp_req=4 ttl=53 time=51.6 ms
64 bytes from 192.168.1.101: icmp_req=5 ttl=53 time=51.9 ms

— 192.168.1.101 ping statistics —
5 packets transmitted, 5 received, 0% packet loss, time 4005ms
rtt min/avg/max/mdev = 51.631/51.720/51.909/0.226 ms
root@client:~#

And this is how it looks afterwards:

root@client:~# ping -c 5 192.168.1.101
PING 192.168.1.101 (192.168.1.101) 56(84) bytes of data.

— 192.168.1.101 ping statistics —
5 packets transmitted, 0 received, 100% packet loss, time 3999ms

root@client:~#

Free Dota2 Key

Hi folks, long time no see.

I recently got this information that anyone is able to get one of the 10000 FREE Dota2 Beta keys.

You can get a free Dota2 key (free Dota2 code) at this link:

http://computergames.ro/giveaway/dota-2/

Many thanks to computergames.ro and please do abuse this giveaway.

Good luck and have fun playing.

P.S. Keys must be added to your steam account in order to play.

Snap Backup Error

You may encounter an error while trying to backup an interface:

Backint Interface for SnapManager(R) 1.0
[ERROR] SMSAP-01104: Error invoking command: org.apache.cxf.interceptor.Fault: Could not send Message.Image
The solution is quite simple:
/usr/sbin/smsap_server stop
cd /var/run
rm -rf netapp_smsap_*.pid
/usr/sbin/smsap_server start