Author Topic: Trace IP's on samspade  (Read 1599 times)

Jor

  • Sr. Member
  • ****
  • Posts: 421
    • ICQ Messenger - 10401286
    • AOL Instant Messenger - jor otf
    • Yahoo Instant Messenger - jor_otf
    • View Profile
    • http://members.outpost10f.com/~jor/
    • Email
Trace IP's on samspade
« on: May 13, 2002, 04:11:45 PM »
Using ScoJo's Match_IP_Address list, this filter converts any IP address that is not a link into a link to trace that IP on SamSpade:
[Blocklists]
List.Match_IP_Address = "..ListsMatch - IP Address.txt"

[Patterns]

Name = "Trace IPs with Samspade"
Active = TRUE
Limit = 64
Match = "<a href=$AV(($LST(Match_IP_Address))1) 2>1</a>|"
        "($LST(Match_IP_Address))1"
Replace = "<a href="http://www.samspade.org/t/refer.cgi?a=1" 2 target="_new">1</a>"


Match - IP Address.txt is this file:
# Item Matched:  IP Address - NoAddURL
# Written by:    ScoJo
# Created:       July 16, 2001
# Last Modified: July 16, 2001
# Syntax:        $LST(Match_IP_Address)
# Variables:     @ is the IP address with tags removed
#
# Description:
#
#    This is an include-style list for matching an IP address.
#

([#0:255])#  (<(^(/|)(a|br|p|td|tr|table|pre|title|option))[^>]+> )+
        (.)# (<(^(/|)(a|br|p|td|tr|table|pre|title|option))[^>]+> )+
 ([#0:255])# (<(^(/|)(a|br|p|td|tr|table|pre|title|option))[^>]+> )+
        (.)# (<(^(/|)(a|br|p|td|tr|table|pre|title|option))[^>]+> )+
 ([#0:255])# (<(^(/|)(a|br|p|td|tr|table|pre|title|option))[^>]+> )+
        (.)# (<(^(/|)(a|br|p|td|tr|table|pre|title|option))[^>]+> )+
 ([#1:255])#


[size="1"]At the moment Samspade is down for maintenance, but it should be back up soon.[/size="1"]