aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: Looking the incoming searches  (Read 1836 times)

cenicero

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Looking the incoming searches
« on: January 25, 2012, 02:30:03 PM »

Hi,
is there any hack or log file where i can find the searches other users are sending to my PC?
thanks.
Logged

GonoszTopi

  • The current man in charge of most things.
  • Administrator
  • Hero Member
  • *****
  • Karma: 169
  • Offline Offline
  • Posts: 2685
Re: Looking the incoming searches
« Reply #1 on: January 25, 2012, 02:45:13 PM »

No. You'd need to hack the sources to see that.
Logged
concordia cum veritate

cenicero

  • Approved Newbie
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 38
Re: Looking the incoming searches
« Reply #2 on: January 29, 2012, 12:42:06 AM »

In which file exactly should i touch? i could do a pacht for this feature.
Thanks.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: Looking the incoming searches
« Reply #3 on: January 29, 2012, 01:30:02 PM »

I don't think we need a patch for this.

If you want to play with it, look at CIndexed::SendValidKeywordResult() (src\kademlia\kademlia\Indexed.cpp). Problem is, the keyword is only represented as a hash there. To get the actual keyword back from the hash from the returned results, look at IdentifyKeyword() in src\utils\fileview\KadFiles.cpp
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon