Archive for October, 2010

Sliding Label with jQuery

Posted in JavaScript with tags , , , on October 26, 2010 by Xacker

Sliding Label with jQuery

I was using Sliding Label mooTools version for a while but when I had alot of jQuery scripts running up in one of my pages; it wasn’t that smart to include another library too.. obviously because it’s resource-consuming; so I wrote this small version for jQuery.

What is Sliding Label? an effect on input fields where the label slides out of it when the input gets the focus.. not clear enough? here is an example:

It’s a nice effect actually and I use it often.

The code:

$(document).ready(function ()
{
    var labelColor = '#999',
        restingPosition = 85;

    $("form#login_form .slider label").each(function ()
    {
        var label = $(this);
        var input = label.next("input");

        label.css(
        {
            'color': labelColor,
            'position': 'absolute',
            'top': 7,
            'left': restingPosition,
            'display': 'inline',
            'z-index': 1
        });

        var width = label.width();
        var move = restingPosition;

        if (input.val() !== '')
        {
            label.animate(
            {
                "left": "-=" + move + "px"
            }, "slow");
        }

        input.bind(
        {
            focus: function ()
            {
                if (input.val() == '')
                {
                    label.animate(
                    {
                        'left': '-=' + move + "px"
                    }, 'normal');
                    label.css(
                    {
                        'color': '#000'
                    });
                }
            },
            blur: function ()
            {
                if (input.val() == '')
                {
                    label.animate(
                    {
                        'left': '+=' + restingPosition + "px"
                    }, 'normal');
                    label.css(
                    {
                        'color': labelColor
                    });
                }
            }
        });
    });
});
Here is a complete example.

Enjoy, and stay tuned for more jQuery codes 🙂

Fusion crew.. long time no see!

Posted in Reverse Engineering with tags , , , , , , , , , , on October 26, 2010 by Xacker

Fusion crew.. long time no see!

I was like :-O when I was searching for something on Google and my eyes caught the keywords “Fusion… Xacker….”

Fusion was the first software cracking crews I’ve been to back in 2004.

The crew members were: fornix (founder), Blue_Orka (co-founder),  yours truly “me” (member), Asteroid M (member, eVe (member), jb700 (member), shakras (member) and last zyzygy (member)

I’m not sure how did that happen.. I mean, our original website was hosted on CJB.NET and I can’t remember any broke-in domain!?

Anyway I’m so glad that a mirror of the website has lived all these years, the coolest part is that all the links are working just fine!

Check it out: http://fusion.broke-in.com

Enjoy!

* this time I’m taking a damn back up because I’ve lost ’em all! *

Job.sy: Hacked

Posted in SQL injection with tags , , , , on October 26, 2010 by Xacker

Job.sy: Hacked

As promised earlier this month, I’ve nailed Job.sy today.. in other words, hacked it 🙂

Here is a screenshot off their admin control panel.. uh oh .. I mean, their new admin control panel 🙂

and another off their user table

Enjoy, and stay tuned for MOARRRRRR 😉

Simple SMTP Client

Posted in C# with tags , , , , on October 25, 2010 by Xacker

In the Network Services course at the college I had to write a pseudo code to demonstrate how SMTP clients communicate with SMTP servers to send emails over SMTP protocol.

Since I hate writing a pseudo code for such simple application I’ve decided to use C# .NET

Notes:

  1. The SMTP server is set up on a virtual machine, that explains the “192.168.184.2”
  2. The SMTP clients doesn’t support secure communications for SMTP authentication, it was meant to be as simple as possible.
  3. I use Regular Expressions to run some validations and do Dot Stuffing that is required by SMTP if your Content-Transfer-Encoding was set to “7bit”

Continue reading

Syriantalent.com: Hacked

Posted in SQL injection with tags , , , on October 14, 2010 by Xacker

A while ago my company email received a job employment website advertisement. I bookmarked their URL and paid them a visit that day, by the end of the day they were all dancing of joy.

I had total control over their website but I’m not into destroying people’s work and ruining their lives.. nah I ain’t seriously 😛 .. so I only altered the “Privacy Statement” page which contains bullsh!t about people’s data being safe and all as members passwords were stored as plain-text.

Any attacker who gets through their security measures can have a copy of every member phone number, email, password, personal data, CVs, personal pictures.. etc.

The funny part is that I know (and you should too) that most people use one password.. two passwords at max for.. listen to this.. for EVERYTHING!

I’ts not easy to remember 5 passwords or more, me for example use two passwords, one for registration at some random or non-important website; the other I use for my personal email & important websites to me (my blog, my ArabTeam2000 password.. etc)

I’ve tried couple of passwords on registered members personal emails, some worked, some didn’t (perhaps they’ve changed it since the last time they have registered with the website).

One of my friends had an account their, I was able to login to his Hotmail account and he was like “Oh man! please don’t do anything, I have private stuff there you know.. I trust you dude .. completely” 😀

Finally, if you take a second look at the picture up there and notice the date of the attack, it happened 15 days ago.. here is how much safety you get from them: http://www.syriantalent.com/pages.php?sectionid[]=6&pageid=19&lang=en

Enjoy, and stay tuned for a “Job.sy: Hacked” news 😉

update (26/10/2010): have you waited too long? 😉 check out: https://xacker.wordpress.com/2010/10/26/job-sy-hacked/