diff options
author | unethical <une@thi.cal> | 2019-05-04 14:28:09 +0000 |
---|---|---|
committer | unethical <une@thi.cal> | 2019-05-04 14:28:09 +0000 |
commit | 07285377b8654d30fca6a36b9a99bb572659b2fc (patch) | |
tree | 16f93b50d58d70bc9fabcaf6c089f16050a495ea | |
parent | 65506e84f79216b1d3b28675044ba772bb1e47e7 (diff) | |
download | cloudflare-tor-07285377b8654d30fca6a36b9a99bb572659b2fc.tar cloudflare-tor-07285377b8654d30fca6a36b9a99bb572659b2fc.tar.gz cloudflare-tor-07285377b8654d30fca6a36b9a99bb572659b2fc.tar.lz cloudflare-tor-07285377b8654d30fca6a36b9a99bb572659b2fc.tar.xz cloudflare-tor-07285377b8654d30fca6a36b9a99bb572659b2fc.zip |
Update 'tool/irssi_cf_alturl.pl'
-rw-r--r-- | tool/irssi_cf_alturl.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/irssi_cf_alturl.pl b/tool/irssi_cf_alturl.pl index 430cedbe..a7333351 100644 --- a/tool/irssi_cf_alturl.pl +++ b/tool/irssi_cf_alturl.pl @@ -132,8 +132,7 @@ sub GotUrl { else { deb("$target Asking API about $fqdn"); $answer = ''; - $url = 'https://searxes.danwin1210.me/collab/open/ismitm.php?f=' - . $fqdn; + $url = 'https://searxes.danwin1210.me/collab/open/ismitm.php?f='.$fqdn; $browser = LWP::UserAgent->new; $browser->agent("Mozilla/5.0 (Windows NT 6.1; rv:60.0) Gecko/20100101 Firefox/60.0"); $response = $browser->get($url); @@ -173,6 +172,7 @@ sub GotUrl { deb("$target process done for input $myurl"); } +## Cleanup cache if ( $#cached > 500 ) { @cached = (); } |