Skip to content

Instantly share code, notes, and snippets.

@Ghost-chu
Created August 17, 2024 10:44
Show Gist options
  • Select an option

  • Save Ghost-chu/ec2097007190a961c52791f4b1e1b1b9 to your computer and use it in GitHub Desktop.

Select an option

Save Ghost-chu/ec2097007190a961c52791f4b1e1b1b9 to your computer and use it in GitHub Desktop.
## @NAME IPV6 ::1 Transmission 2.94 恶意多拨
## @AUTHOR PBH-BTN Community
## @CACHEABLE true
## @VERSION 1.0
## @THREADSAFE true
if(isBlank(peer.clientName)) {
return false; ## 下载器必须提供 ClientName
}
ipAddress = peer.peerAddress.address;
strIp = toString(ipAddress);
if(!string.contains(peer.clientName, 'Transmission 2.94')){
return false; ## 不管非 Transmission 2.94 的
}
if(string.endsWith(strIp, "::1")){
return "Transmission 2.94 (IPV6 ::1) 多拨伪装吸血";
}
return false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment