Saturday, January 30, 2010

[TuT] How to upload and seed a torrent! How to upload and seed a torrent!

There isn't an overview for this tutorial, seeing as it's so short. I'll make it a step-by-step thing.

1. Download and install uTorrent.

2. Open it and hit "Create New Torrent".

3. Select your file, or directory. Add your trackers in the box (look on your torrent site for this info). Check the "Start Seeding" box.
4. It will generate a .torrent file. This is the file you upload to the torrent site.

5. Log in to whatever torrent site it is, find the upload button. Fill out all the info, and then hit upload.

6. Within a few minutes of uploading your .torrent file, you will notice in uTorrent that you have activity. Congratulations, you are now seeding.

Links to torrent sites:
http://www.demonoid.com/
http://thepiratebay.org/
http://www.torrentreactor.net/
http://isohunt.com/
http://www.sumotorrent.com/index.php

Total defence against SQL injection

GPC, 3 ways of authentication.

G- GET, P – POST and C – Cookie.

Hackers, often use GET method to inject their “union+select+” queries or POST method from one server to another, if authentication has javascript filtering using their OR 1=1 method and the last but not the least, cookies. Cookies are used by very few hackers, however with the use of session cookies, their successful attempts are limited to minimum.
addslashes() is one of the function that a developer can use if !(get_magic_quotes_gpc). But, adding this line can be troublesome in most cases, where amount of variables are really high, it may make the code look sluggish to have mysql_real_escape_string() in every variable passed. To get rid of all these:
Go to your php.ini file and set:

magic_quotes_gpc = On

magic_quotes_gpc is by default set to Off for optimal performance of the server.

However, if you are using a shared/paid hosting and do not have access to php.ini file then add the following to your .htaccess file.

php_flag magic_quotes_gpc on

However, cannot promise that above mentioned “tweak” will work till eternity. You can never know what 0-day comes up!

Play safe be secured :-)

Play Safe!