From 5d3573ef7a109ee70416fe94db098fe6a769a798 Mon Sep 17 00:00:00 2001 From: SkyperTHC Date: Tue, 3 Mar 2026 06:28:55 +0000 Subject: packetstorm sync --- other/ssharp/sharpterms.pl | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 other/ssharp/sharpterms.pl (limited to 'other/ssharp/sharpterms.pl') diff --git a/other/ssharp/sharpterms.pl b/other/ssharp/sharpterms.pl new file mode 100644 index 0000000..8dccac5 --- /dev/null +++ b/other/ssharp/sharpterms.pl @@ -0,0 +1,22 @@ +#!/usr/bin/perl + +# xterm popup daemon for ssharp (C) 2002 Stealth + +my %xterms = (); + +for (;;) { + opendir D, "/tmp" or die "$!"; + my @allfiles = readdir D; + closedir D; + @allfiles = grep /ssharp-/, @allfiles; + + foreach (@allfiles) { + next if defined $xterms{$_}; + $xterms{$_} = 1; + # TAKE CARE: this is a security vulnerability (locally) + system("xterm -T $_ -e /usr/local/bin/mss-client /tmp/$_ &"); + sleep(1); + } +} + + -- cgit v1.3