Archive for December, 2005

Free Status Images.

I’ve rethought the image retrieval technique, and the new revamped system is now 100% working. If you have already added the bot and it is showing offline, please just delete it and readd it. Over the last couple of days there have been a lot of struggles, mainly with getting the GD image stuff working, and the change between the “ADD” and the “ADC” command in MSN Protocol 11 from MSN Protocol 9. Instead of encrypting the username, I am storing a username in the database that is unrelated to your msn messenger address. To use the bot, just follow this simple technique.

Add blobsy@brentp.net

Once the bot comes online, open a conversation with it and type “!setusername ” remember, the username cannot contain spaces, &’s, and the other normal items that dont show up properly in a http request. Once you do that it’ll spit out your URL’s. The system supports two image themes. There is the Windows Live Messenger 8 Style, and the MSN7 Style.

Heres an example (live):

WLM:
WLM Theme

MSN 7 Theme:
MSN7 Theme

If you cannot get it working, please contact me at brent.pickup[nospam]@gmail.com (msn and email).

Remove all the stuff between the []’s.

Regards,
Brent

Messenger Status

For the last couple of days, i’ve been working on a blobsy bot that will show your MSN Messenger/Windows Live Messenger status via an image, and it is finally completed. It is in testing, although here are its details:

Address: blobsy@brentp.net

Once its online, do !setusername and then go to the url that it gives to you. A username with a space in it has not been tested yet.

To retrieve the url, do:

!showurl

Regards,
Brent

Messenger Status.

Over the last two days, myself and pepper have been making a MSN Messenger status service that will be distributed across multiple servers for ultimate reliability. The framework of it is based on Blobsy. There is no way to determine a persons MSN Address by the image link that you follow, this is because the address is encoded with the Rjindael Algorithm with 256 bit encryption. Then, to allow it to be web accessible it uses base64 on top of that. To put it simply:

MSN Address|
of person | -> Rjindael Encryption @ 256 Bit with unique key -> Base64 Encryption.
__________|

Even though Base64 is decodable, Rjindael is not. Rjindael is considered to be the most secure encryption algorithm available today, as defined by the National Institute of Standards and Technology.

I hope to have the service available soon, the bot is currently online, all we have to do is make the PHP Script that generates the GD Images, and then find a way to distribute the load of the images/bandwidth.

Enjoy.

End Note: For all of you who are beta testers, you can add me to your msn with this address:

brent.pickup [at] nobots dawt gmail d0t com. Remove the nobots.

Torrents and Messenger.

Recently, there have been a lot of changes in the IM Community and the Torrent community. The BitTorrent client BitComet has been banned from numerous torrent communitys. The ban probably encapsulates BitLord as well, since it is based off the BitComet source code. This is because the client does not respect the private tag, and thus shares the torrent publicly on the DHT Network. This practice is frowned upon in tightly-knit torrent communities.

In other news, the first beta invitations for Windows Live Messenger 8.0 have been sent out to beta testers. These testers are generally people who have been in the 7.0 and 7.5 programs. The links that have been provided in emails sent out by the MSN team will not work until the 13/12/05. Enjoy.

From what I have heard, no-one can invite their friends yet.

‘Nother vulnerability

Earler today, I posted about the AIM “talk virus”. The Firefox web browser has a fairly crippling vulnerability that was discovered recently. If a web page has a long title, the browsers history.dat file can be corrupted, thus making the browser un startable. Mozilla stated recently that it is working on a patch, and it advised users to be careful in their web surfing habits. There has been a proof of concept that has been posted on the internet. The link to the PoC is at the bottom of the article. If you go to it, you will not be able to start Firefox again unless you delete the history.dat file from your profile. This is generally in C:\Documents and Settings\Username\Application Data\Mozilla\Firefox\Profiles\ \history.dat.

Proof of Concept: Do not click this unless you intend to disable your browser. Ok. If you do, it’s not my fault.

New Virus

Just the other day, I decided to get AIM. Just a few days after I get aim, i hear that there is a new virus that affects AIM users. This virus is generally a run-of-the-mill IM worm, but it actually speaks to its victims. An example of what is does is below:

Sender:
Receiver: is that a virus?
Sender: lol no its not a virus.

Very simple, yet very effective. Be sure not to fall for that one. On other news, I managed to get ASP.NET working on the server…after a few hours of failed attempts. Me thinks that cPanel needs to fine tune their installers.

Source: http://it.slashdot.org/it/05/12/07/145243.shtml?tid=120&tid=172

iTunes COM - Part Two

Ok, now that you’ve got Apache2 and PHP5 running, we need to make the actual code. So, here is the first part:


try {
$iTunes = new COM('iTunes.Application');
} catch (Exception $comexc) {
// do nothing, caught exception.
}

That pretty much connects us to iTunes, and catches an exception if it doesnt work, for example if COM Calls are disabled in iTunes (some people do it for security measures). Whenever we want to reference iTunes, we work with the $iTunes variable.


$Plylst = $iTunes->CurrentPlaylist;
if (!isset($_GET["act"])) {
$currentTrack = $iTunes->CurrentTrack;
$trackName = $currentTrack->Name;
$trackNumber = $currentTrack->TrackNumber;
$albumName = $currentTrack->Album;
$artistName = $currentTrack->Artist;
$playlist = $iTunes->LibraryPlaylist->Tracks;
// code for the play song from location thing.
$location = array();
$name = array();
$num = $playlist->Count;
echo "Number of Tracks in Library: ", $num;
for ($i = 0; $i < $num; $i++) {
//while ($i < $num) {
$track = $playlist[$i + 1];
$trackadd = $iTunes->LibraryPlaylist->Tracks[$i + 1];
array_push($name, “$track->Name”);
array_push($location, “$trackadd->Location”);
}

That pretty much assigns variables to the current track, the time in the track, the time remaining, and the artist and so on. After that finishes, we create two different arrays, one that stores the location to the MP3, and another one that stores the name of the mp3 itself. This is so that you can create a select box with the names and locations of the mp3s, so you can allow people to control your itunes over the internet. More specifically, the $iTunes->Playfile method doesnt take an mp3 name (Blahblah.mp3), you require a full path name (C:\Documents and Settings\….\My Music\Blahblah.mp3). That is pretty much some of the stuff you need to create a PHP App that controls iTunes. There are many possibilities for an application like this, as I made a msgrp2p.xml that lets you control my iTunes through a MSN Messenger activity (with the new Messenger Activities API). Neat eh? Part three will feature the raw code to the msgrp2p.xml and the iTunes controller. Theyre both pretty messy but they do the job.

Enjoy.

IRC

For all that wonder how to contact me, you may do so on EFnet (irc.mzima.net, irc.choopa.org) or emailing me at: brent.pickup [at] nospam [dot] gmail [dawt] com. I always am in #cpanel, #c++, #theoc, #c#, #c, #brentp, #24, #google, #linux-help, #perl, #perl-help. I also idle on:

irc.gnug.org: #gnug, #techtalk
irc.freenode.net: #centos, #freenode-registry, #perl, #perl6, #svn,
irc.inetirc.com: #wht

The channel you could contact me most on would be #cpanel on EFnet. On a similar topic, I used to have some IRC Stats up for #cpanel. The stats have been put up again for at least two months (the logs date back to april/march). The new url for the stats is: http://brentp.net/stats/. There is also stats up for #theoc on EFnet as well, they’re at: http://brentp.net/stats/theoc.html. If you want the raw cPanel IRC Logs that are directly used for parsing to generate the pages, they’re at http://brentp.net/cpanelirc/. The logs are updated every 15 minutes, and the statistics for both rooms are updated every day at midnight due to the amount of data the parser has to sift through.

I hope you find these logs and statistics are useful in your search for eternal wiseness.

TV

There was this GREAT movie on Channel 9 (Patriot Games) on Friday night, but I couldnt watch it because the reception on my TV Tuner Card software was down the toilet, even though the TV in the lounge room has crystal clear channel 9 coverage (and crappy ABC, but who watches the ABC anyway).

The only channel that is exceptional on the tuner card is probably channel 10, where all the good shows are (like Numb3rs, Law And Order, Blind Justice and so on). My channel 7 coverage is ok, but its not the greatest. Looks like i’ve gota get me a better TV Tuner card some time…for now it’ll do. There better not be another good show on channel 9 tonight…. nup… Although, there is Black Hawk Down on channel 10, and some other crap on the other channels not worth watching.

For all that are wondering where to get the TV Guide for australia from its on Channel 9’s Site. Some other werid stuff is happening with the TV Tuner card too…apparently I can tune into the local radio stations when i go to Channel 6 and manually edit the frequency…cool.

Word Macros

I love Microsoft Word for one reason, because you can make macros in Visual Basic 6 (wish they would use VB.NET). I discovered a really cool use of the macros at school the other week. Without further ado:


Sub test()
If (Application.Assistant.Visible = True) Then
Application.Assistant.Animation = msoAnimationEmptyTrash
Else
Application.Assistant.Visible = True
Application.Assistant.Animation = msoAnimationEmptyTrash
End If
End Sub

Select your office assistant as that robot dude (F1) and then run that macro, it makes him explode over and over and over again!

Enjoy.