Useless hacking: libTorrent spoof version
Posted 07-22-2010 at 06:36 PM by Web31337
Tags libtorrent, ugly hack, useless creations
For my own part I made many useless creations/hacks.
One of most recent, absolutely simple and useless is a modification of libTorrent 0.12.6.0 local_id, in order it to appear in other torrent clients as "libTorrent 12.12.12.12"
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 "configure.ac" files, as "PEER_NAME" and "PEER_VERSION" constants.
Modifying "PEER_NAME" to
you can make it look like version 12.12.12.12 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/client_list.cc for more information on existing bittorrent clients and their IDs.
One of most recent, absolutely simple and useless is a modification of libTorrent 0.12.6.0 local_id, in order it to appear in other torrent clients as "libTorrent 12.12.12.12"
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 "configure.ac" files, as "PEER_NAME" and "PEER_VERSION" constants.
Modifying "PEER_NAME" to
Code:
$as_echo "#define PEER_NAME \"-ltCCCC-\"" >>confdefs.h
You can spoof it with other client id, if you'd like to. Check src/torrent/peer/client_list.cc for more information on existing bittorrent clients and their IDs.
Total Comments 0