cleanzip
on Oct 20, 2008 at 01:33
|
2 replies
|
by sflitman
|
|
This is a quickie script to clean infected zip files using clamscan. It's definitely meant for unix/linux platform and expects clamscan 0.94 which with the indicated switches will print out each infected file on a line by itself with whatever virus it found. Note that this script will also delete zipped emails or mailboxes which clamscan identified as containing Phishing, etc., as it does not distinguish what type of unwanted byte sequences are reported by clamscan. This is to get around a deficiency in ClamAV noted by many that it does not identify the actual bad actor(s) in an archive, just that the archive as a whole is infected (and not multiply-infected, which is of course possible).
|
column formatter
on Oct 18, 2008 at 13:36
|
1 reply
|
by sflitman
|
|
print two or more files in nicely spaced columns
|
dump binaries
on Oct 18, 2008 at 13:29
|
1 reply
|
by sflitman
|
|
rolled my own version of od using my favorite tool, Perl! dump is aware of the terminal width using Term::Size if available
|
splicepath
on Oct 13, 2008 at 18:00
|
0 replies
|
by casiano
|
|
Like Perl splice operator but works on
PATH-like environment variables, i.e.
lists whose elements are separated by colons
|
Remove an Installed Module
on Oct 13, 2008 at 17:25
|
4 replies
|
by casiano
|
|
Remove a installed Perl distribution
|
Using Linux::Inotify2 with POE
on Oct 07, 2008 at 11:02
|
0 replies
|
by jfroebe
|
|
The examples in Linux::Inotify2 are for Event, Glib::IO and a manual loop. With the help of rcaputo, tye and Animator, I was able to get Linux::Inotify2 to work with POE. :)
|
Australian weather with Web::Scraper
on Oct 07, 2008 at 09:52
|
1 reply
|
by missingthepoint
|
|
Grab tomorrow's forecast from the Australian Bureau of Meteorology website using Web::Scraper
|
Transparent 3d logo/button with ImageMagick
on Oct 01, 2008 at 15:05
|
0 replies
|
by zentara
|
|
I liked the 3b button/logo shown at better 3d logos but had great difficulty translating the shell commands to Perl. Here is what I came up with, it works well, and it's quite possible it can be streamlined....let me know if you see code bloat. Open it in Gimp to see it's transparency.
|
Gtk2 ListStore Thumbnail/Image Viewer
on Sep 30, 2008 at 14:53
|
0 replies
|
by zentara
|
|
A simple ListStore method of showing thumbnails and images. Useful for single directory browsing of images. Shows (one way) how to make nice Lists with pictures and text with Gtk2.
|
Using SOCKS via Net::SSH::Perl
on Sep 25, 2008 at 16:11
|
0 replies
|
by cmv
|
|
If you want to use Net::SSH::Perl to setup an SSH connection to a far-end target, via another machine running SOCKS.
This is a prime example of standing on the shoulders of giants. I basically copied the Net::SSH::W32Perl code, which overloads Net::SSH::Perl to fix a windows compatibility problem, and added the ability to create the outgoing socket by using the Net::SOCKS module. I created new entries for the Net::SSH::Perl::Config data structure (socks_proxy, socks_port, and socks_protocol) to pass in the data for Net::SOCKS.
The code as-is should be saved into a file called mySSH.pm, and you should do a use mySSH from your perl script.
I'm not convinced this is the best way to solve this problem, but it was the way that occurred to me at the time I needed it. Please feel free to comment, and maybe we can have this put into CPAN officially.
-craig
UPDATE 1: Minor update to comments
UPDATE 2: Contacted Module Author who asked for a feature request: rt://39798
|