Download your favorite Linux distribution at LQ ISO.
Go Back > Blogs > In The Middle Of Nowhere [edK's blog]
User Name


In The Middle Of Nowhere

Life, universe and everything...
Blog title (C) Orbital
Rate this Entry

Useless hacking: libTorrent spoof version

Posted 07-22-2010 at 07:36 PM by Web31337

For my own part I made many useless creations/hacks.
One of most recent, absolutely simple and useless is a modification of libTorrent local_id, in order it to appear in other torrent clients as "libTorrent"
Stupid, isn't it?
But for those who are interested(you really are? :DDDD), it's statically defined in makefiles, to be more specific: in "configure" and "" files, as "PEER_NAME" and "PEER_VERSION" constants.
Modifying "PEER_NAME" to
$as_echo "#define PEER_NAME \"-ltCCCC-\"" >>confdefs.h
you can make it look like version in other clients. It is simply a 4-byte version representation.
You can spoof it with other client id, if you'd like to. Check src/torrent/peer/ for more information on existing bittorrent clients and their IDs.
Posted in opensource, etc
Views 1100 Comments 0
« Prev     Main     Next »
Total Comments 0




All times are GMT -5. The time now is 10:19 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration