0000
Sponsored Links
Sponsored Links
Secleted [ 0 ] software to compare
Results 1 - 15 of about 8
WebService::FC2::SpamAPI 0.02
WebService::FC2::SpamAPI is a FC2 blog spam API client. more>>
WebService::FC2::SpamAPI is a FC2 blog spam API client.
SYNOPSIS
use WebService::FC2::SpamAPI;
my $api = WebService::FC2::SpamAPI->new();
$res = $api->check_url(http://spam.example.com);
if ( $res->is_spam ) { ....
@res = $api->get_url_list();
@res = $api->get_domain_list({ dm => foo.example.com });
FUNCTIONS
new
Constructor.
my $api = WebService::FC2::SpamAPI->new();
# use Cache ( see URI::Fetch )
my $api = WebService::FC2::SpamAPI->new({ cache => $cache_object });
check_url
Check URL for FC2 spam list. Returns WebService::FC2::SpamAPI::Response object.
# simple check
$res = $api->check_url(http://xxx.example.com);
if ( $res->is_spam ) { ....
# returns detailed data
# see also http://seo.fc2.com/spam/spamapi.php?m=h
$res = $api->check_url({ url => http://xxx.exampl.com,
usid => 0000,
data => 1, });
$res->is_spam;
$res->usid; # fc2 userid
$res->name; # site name
$res->comment; # comment
# see WebService::FC2::SpamAPI::Response
get_url_list
Get registered spam URL list. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_url_list();
@res = $api->get_url_list({ usid => 0000 }); # grep by userid
get_domain_list
Get registered spam URL list in domain. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_domain_list({ dm => example.com }); # dm is required.
@res = $api->get_domain_list({
dm => example.com,
usid => 0000, # grep by userid
});
<<lessSYNOPSIS
use WebService::FC2::SpamAPI;
my $api = WebService::FC2::SpamAPI->new();
$res = $api->check_url(http://spam.example.com);
if ( $res->is_spam ) { ....
@res = $api->get_url_list();
@res = $api->get_domain_list({ dm => foo.example.com });
FUNCTIONS
new
Constructor.
my $api = WebService::FC2::SpamAPI->new();
# use Cache ( see URI::Fetch )
my $api = WebService::FC2::SpamAPI->new({ cache => $cache_object });
check_url
Check URL for FC2 spam list. Returns WebService::FC2::SpamAPI::Response object.
# simple check
$res = $api->check_url(http://xxx.example.com);
if ( $res->is_spam ) { ....
# returns detailed data
# see also http://seo.fc2.com/spam/spamapi.php?m=h
$res = $api->check_url({ url => http://xxx.exampl.com,
usid => 0000,
data => 1, });
$res->is_spam;
$res->usid; # fc2 userid
$res->name; # site name
$res->comment; # comment
# see WebService::FC2::SpamAPI::Response
get_url_list
Get registered spam URL list. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_url_list();
@res = $api->get_url_list({ usid => 0000 }); # grep by userid
get_domain_list
Get registered spam URL list in domain. Returns WebService::FC2::SpamAPI::Response list.
@res = $api->get_domain_list({ dm => example.com }); # dm is required.
@res = $api->get_domain_list({
dm => example.com,
usid => 0000, # grep by userid
});
Download (0.005MB)
Added: 2007-03-27 License: Perl Artistic License Price:
941 downloads
ETTERLOG 1.0
Etterlog is the log analyzer for logfiles created by ettercap. more>>
ETTERLOG is a utility for Network Lan (SWITCH) for file .ECI and .ECP.
(Ettercap program).
Etterlog is the log analyzer for logfiles created by ettercap. It can handle both compressed (created with -Lc) or uncompressed logfiles. With this tool you can manipulate binary files as you like and you can print data in different ways all the times you want (in contrast with the previous logging system which was used to dump in a single static manner).
You will be able to dump traffic from only one connection of your choice, from only one or more hosts, print data in hex, ascii, binary etc... TIP: All unuseful messages are printed to stderr, so you can save the output from etterlog with the following command:
etterlog [options] logfile > outfile Thus you can dump for example a binary file from an ftp connection if you print the data in binary mode, without headers and selecting only the ftp server as the source of the communication.
GENERAL OPTIONS
-a, --analyze Analyze a log file and display some interesting statistics.
-c, --connections Parse the log file and print a table of unique connections (port to port). This option can be used only on LOG_PACKET logfiles. On LOG_INFO logfiles it is useless. TIP: you can search for a particular host by using the following command: etterlog -c logfile.ecp | grep 10.0.0.1
-f, --filter < TARGET > Print only packets coming from or going to TARGET. The TARGET specification is the same as in ettercap.
TARGET is in the form MAC/IPs/PORTs. Omitting one or more of its parts will be equivalent to set them to ANY. If the log type is LOG_INFO the target is used to display hosts matching the mac, ip and having the specified port(s) open. For example the target //80 will display only information about hosts with a running web server.
-r, --reverse Reverse the matching in the TARGET selection. It means not(TARGET). All but the selected TARGET.
-t, --proto < PROTO > Sniff only PROTO packets (default is TCP + UDP). This option is only useful in "simple" mode. If you start ettercap in interactive mode both TCP and UDP are sniffed.
PROTO can be "tcp", "udp" or "all" for both.
-F, --filcon < CONNECTION > Print packets belonging only to this CONNECTION.
CONNECTION is in the form PROTO:SOURCE:DEST. SOURCE and DEST are in the form IP:PORT. example: etterlog -F TCP:10.0.0.23:3318:198.182.196.56:80
-s, --only-source Display only packets that are sent by the source of the selected CONNECTION. This option makes sense only in conjunction with the -F option. TIP: if you want to save a file transferred in an HTTP or FTP connection, you can use the following command: etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
-d, --only-dest Same as --only-source but it filters on the destination host.
-n, --no-headers Do not print the header of each packet. This option is useful if you want to save a file in binary format (-B option). Without the headers you can redirect the output to a file and you will get the original stream. NOTE: the time stamp in the header is in the form: Thu Mar 27 23:03:31 2003 [169396], the value in the square brackets is expressed in microseconds
-m, --show-mac In the headers show also the mac addresses corresponding to the ip addresses.
-k, --color If used in conjunction with -F it displays the source and dest of the connection using different colors. If used with a LOG_INFO file it prints LAN hosts in green, REMOTE hosts in blue and GATEWAYS in red.
-l, --only-local Used displaying an INFO file, it displays information only about local hosts.
-L, --only-remote Used displaying an INFO file, it displays information only about remote hosts.
SEARCH OPTIONS
-e, --regex < REGEX > Display only packets matching the regex < REGEX >.
If this option is used agains a LOG_PACKET logfile, the regex is executed on the payload of the packet. If the type is LOG_INFO, the regex is executed on all the fields of the host profile (OS, banners, service and ethernet adapter).
NOTE: the regex is compiled with the REG_ICASE flag (case insensitive).
-u, --user < USER > Display information about this user. The search is performed over all the user/pass couples collected across all hosts.
-p, --passwords Print only the collected account information for each host. This prevents the huge profile output. It can be used in conjunction with the -u option to filter the users. An asterisk * used in front of an account represents a failed login attempt.
-i, --show-client Show the client ip address when displaying the collected users and passwords. It may be useful when ACLs are in place.
-I, --client < IP > Show passwords only coming from a specific < IP >. This is useful to view all the usernames and passwords of a client.
EDITING OPTIONS
-C, --concat Use this option to concatenate two (or more) files into one single file. This is useful if you have collected ettercap log files from multiple sources and want to have an unified report. The output file must be specified with the -o option and the input files are listed as normal arguments. example:
etterlog -C -o outfile input1 input2 input3
-o, --outfile < FILE > specifies the output file for a concatenation.
VISUALIZATION METHOD
-B, --binary Print data as they are, in binary form. Useful to dump binary data to a file (as described above).
-X, --hex Print the packets in hex format. example: the string "HTTP/1.1 304 Not Modified" becomes: 0000: 4854 5450 2f31 2e31 2033 3034 204e 6f74 HTTP/1.1 304 Not
0010: 204d 6f64 6966 6965 64 Modified
-A, --ascii Print only "printable" characters, the others are displayed as dots .
-T, --text Print only the "printable" characters and skip the others.
-E, --ebcdic Convert an EBCDIC text to ASCII.
-H, --html Strip all html tags from the text. A tag is every string between < and >. example: < title >This is the title< /title >, but the following < string > will not be displayed. This is the title, but the following will not be displayed.
-U, --utf8 < encoding > Print the packets in UTF-8 format. The < encoding > parameter specifies the encoding to be used while performing the conversion. Use the `iconv --list` command to obtain a list of all supported encodings.
-Z, --zero Print always the void string. i.e. print only header information and no packet content will be printed.
-x, --xml Print the host information in xml form, so you can parse it with your favourite program. The DTD associated with the xml output is in share/etterlog.dtd
STANDARD OPTIONS
-v, --version Print the version and exit.
-h, --help Print the help screen with a short summary of the available options.
EXAMPLES
Here are some examples of using etterlog.
etterlog -k -l dump.eci
Displays information about local hosts in different colors.
etterlog -X dump.ecp
Prints packets in HEX mode with full headers.
etterlog -c dump.ecp
Displays the list of connections logged in the file.
etterlog -Akn -F TCP:10.0.0.1:13423:213.203.143.52:6666 dump.ecp
Displays the IRC traffic made by 10.0.0.1 in ASCII mode, without headers information and in colored mode.
etterlog -H -t tcp -f //80 dump.ecp
Dumps all HTTP traffic and strips html tags.
etterlog -Z -r -f /10.0.0.2/22 dump.ecp
Displays only the headers of all connections except ssh on host 10.0.0.2
etterlog -A -e user -f //110 dump.ecp
Displays only POP packets containing the user regexp (case insensitive).
etterlog -u root dump.eci
Displays information about all the accounts of the user root.
etterlog -e Apache dump.eci
Displays information about all the hosts running Apache.
etterlog -e Linux dump.eci
Displays information about all the hosts with the Linux operating system.
etterlog -t tcp -f //110 dump.eci
Displays information about all the hosts with the tcp port 110 open.
etterlog -t udp dump.eci
Displays information about all the hosts with at least one UDP port open.
etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
Dumps in binary form the data sent by 10.0.0.1 over the data port of FTP. Since the headers are omitted, you will get the file as it was.
<<less(Ettercap program).
Etterlog is the log analyzer for logfiles created by ettercap. It can handle both compressed (created with -Lc) or uncompressed logfiles. With this tool you can manipulate binary files as you like and you can print data in different ways all the times you want (in contrast with the previous logging system which was used to dump in a single static manner).
You will be able to dump traffic from only one connection of your choice, from only one or more hosts, print data in hex, ascii, binary etc... TIP: All unuseful messages are printed to stderr, so you can save the output from etterlog with the following command:
etterlog [options] logfile > outfile Thus you can dump for example a binary file from an ftp connection if you print the data in binary mode, without headers and selecting only the ftp server as the source of the communication.
GENERAL OPTIONS
-a, --analyze Analyze a log file and display some interesting statistics.
-c, --connections Parse the log file and print a table of unique connections (port to port). This option can be used only on LOG_PACKET logfiles. On LOG_INFO logfiles it is useless. TIP: you can search for a particular host by using the following command: etterlog -c logfile.ecp | grep 10.0.0.1
-f, --filter < TARGET > Print only packets coming from or going to TARGET. The TARGET specification is the same as in ettercap.
TARGET is in the form MAC/IPs/PORTs. Omitting one or more of its parts will be equivalent to set them to ANY. If the log type is LOG_INFO the target is used to display hosts matching the mac, ip and having the specified port(s) open. For example the target //80 will display only information about hosts with a running web server.
-r, --reverse Reverse the matching in the TARGET selection. It means not(TARGET). All but the selected TARGET.
-t, --proto < PROTO > Sniff only PROTO packets (default is TCP + UDP). This option is only useful in "simple" mode. If you start ettercap in interactive mode both TCP and UDP are sniffed.
PROTO can be "tcp", "udp" or "all" for both.
-F, --filcon < CONNECTION > Print packets belonging only to this CONNECTION.
CONNECTION is in the form PROTO:SOURCE:DEST. SOURCE and DEST are in the form IP:PORT. example: etterlog -F TCP:10.0.0.23:3318:198.182.196.56:80
-s, --only-source Display only packets that are sent by the source of the selected CONNECTION. This option makes sense only in conjunction with the -F option. TIP: if you want to save a file transferred in an HTTP or FTP connection, you can use the following command: etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
-d, --only-dest Same as --only-source but it filters on the destination host.
-n, --no-headers Do not print the header of each packet. This option is useful if you want to save a file in binary format (-B option). Without the headers you can redirect the output to a file and you will get the original stream. NOTE: the time stamp in the header is in the form: Thu Mar 27 23:03:31 2003 [169396], the value in the square brackets is expressed in microseconds
-m, --show-mac In the headers show also the mac addresses corresponding to the ip addresses.
-k, --color If used in conjunction with -F it displays the source and dest of the connection using different colors. If used with a LOG_INFO file it prints LAN hosts in green, REMOTE hosts in blue and GATEWAYS in red.
-l, --only-local Used displaying an INFO file, it displays information only about local hosts.
-L, --only-remote Used displaying an INFO file, it displays information only about remote hosts.
SEARCH OPTIONS
-e, --regex < REGEX > Display only packets matching the regex < REGEX >.
If this option is used agains a LOG_PACKET logfile, the regex is executed on the payload of the packet. If the type is LOG_INFO, the regex is executed on all the fields of the host profile (OS, banners, service and ethernet adapter).
NOTE: the regex is compiled with the REG_ICASE flag (case insensitive).
-u, --user < USER > Display information about this user. The search is performed over all the user/pass couples collected across all hosts.
-p, --passwords Print only the collected account information for each host. This prevents the huge profile output. It can be used in conjunction with the -u option to filter the users. An asterisk * used in front of an account represents a failed login attempt.
-i, --show-client Show the client ip address when displaying the collected users and passwords. It may be useful when ACLs are in place.
-I, --client < IP > Show passwords only coming from a specific < IP >. This is useful to view all the usernames and passwords of a client.
EDITING OPTIONS
-C, --concat Use this option to concatenate two (or more) files into one single file. This is useful if you have collected ettercap log files from multiple sources and want to have an unified report. The output file must be specified with the -o option and the input files are listed as normal arguments. example:
etterlog -C -o outfile input1 input2 input3
-o, --outfile < FILE > specifies the output file for a concatenation.
VISUALIZATION METHOD
-B, --binary Print data as they are, in binary form. Useful to dump binary data to a file (as described above).
-X, --hex Print the packets in hex format. example: the string "HTTP/1.1 304 Not Modified" becomes: 0000: 4854 5450 2f31 2e31 2033 3034 204e 6f74 HTTP/1.1 304 Not
0010: 204d 6f64 6966 6965 64 Modified
-A, --ascii Print only "printable" characters, the others are displayed as dots .
-T, --text Print only the "printable" characters and skip the others.
-E, --ebcdic Convert an EBCDIC text to ASCII.
-H, --html Strip all html tags from the text. A tag is every string between < and >. example: < title >This is the title< /title >, but the following < string > will not be displayed. This is the title, but the following will not be displayed.
-U, --utf8 < encoding > Print the packets in UTF-8 format. The < encoding > parameter specifies the encoding to be used while performing the conversion. Use the `iconv --list` command to obtain a list of all supported encodings.
-Z, --zero Print always the void string. i.e. print only header information and no packet content will be printed.
-x, --xml Print the host information in xml form, so you can parse it with your favourite program. The DTD associated with the xml output is in share/etterlog.dtd
STANDARD OPTIONS
-v, --version Print the version and exit.
-h, --help Print the help screen with a short summary of the available options.
EXAMPLES
Here are some examples of using etterlog.
etterlog -k -l dump.eci
Displays information about local hosts in different colors.
etterlog -X dump.ecp
Prints packets in HEX mode with full headers.
etterlog -c dump.ecp
Displays the list of connections logged in the file.
etterlog -Akn -F TCP:10.0.0.1:13423:213.203.143.52:6666 dump.ecp
Displays the IRC traffic made by 10.0.0.1 in ASCII mode, without headers information and in colored mode.
etterlog -H -t tcp -f //80 dump.ecp
Dumps all HTTP traffic and strips html tags.
etterlog -Z -r -f /10.0.0.2/22 dump.ecp
Displays only the headers of all connections except ssh on host 10.0.0.2
etterlog -A -e user -f //110 dump.ecp
Displays only POP packets containing the user regexp (case insensitive).
etterlog -u root dump.eci
Displays information about all the accounts of the user root.
etterlog -e Apache dump.eci
Displays information about all the hosts running Apache.
etterlog -e Linux dump.eci
Displays information about all the hosts with the Linux operating system.
etterlog -t tcp -f //110 dump.eci
Displays information about all the hosts with the tcp port 110 open.
etterlog -t udp dump.eci
Displays information about all the hosts with at least one UDP port open.
etterlog -B -s -n -F TCP:10.0.0.1:20:10.0.0.2:35426 logfile.ecp > example.tar.gz
Dumps in binary form the data sent by 10.0.0.1 over the data port of FTP. Since the headers are omitted, you will get the file as it was.
Download (0.11MB)
Added: 2006-02-01 License: GPL (GNU General Public License) Price:
1367 downloads
SWIFT::Factory::BasicHeader 0.03
SWIFT::Factory::BasicHeader is a Perl module that provides a Basic Header Block (Block 1) for a SWIFT message. more>>
SWIFT::Factory::BasicHeader is a Perl module that provides a Basic Header Block (Block 1) for a SWIFT message.
SYNOPSIS
use SWIFT::Factory::BasicHeader;
my $hdr1=SWIFT::Factory::BasicHeader->new();
This module is primarily intended to be used by the different SWIFT::Factory::MTnnn modules to provide full SWIFT messages for input to the SWIFT network.
Nevertheless, there is nothing prohibiting an application to directly use this module for whatever purpose.
Given reasonable parameter values in the constructor, the string method in this module will return a Basic Header Block (Block nbr 1) that can be used in a SWIFT message sent to the SWIFT network.
CONSTRUCTOR
new( APPLICATION_ID=>F, SERVICE_ID=>1, BIC=>VALIDBIC, TERMINAL=>X, BRANCH_CODE=>XXX, SESSION_NBR=>0, INPUT_SEQUENCE_NBR=>0)
The parameters may be given in arbitrary order. Many parameters have builtin default values. If the calling application doesnt provide the parameter at all, the object will apply the default value.
APPLICATION_ID=>
Optional. A one character value that indicates the application within which the message is being sent.
Valid values are:
F (FIN = All user-to-user, FIN system and FIN system msgs),
A (GPA = Most GPA system mesgs)
and
L (Certain GPA msgs, for ex. LOGIN).
Default value: F, which is the most commonly used application.
To set this value, use one of:
SWIFT::Factory::BasicHeader->APP_ID_FIN,
SWIFT::Factory::BasicHeader->APP_ID_GPA,
and
SWIFT::Factory::BasicHeader->APP_ID_GPA_LOG.
Yes, these are constants, and yes, since they are class methods they are available before calling the constructor.
Opposit of the object methods that are functional only after having called the new() constructor.
SERVICE_ID=>
Optional. A numeric value that identifies the type of data that is being sent. Maximum two characters long. See the relevant SWIFT handbook for details.
Default value: 1, which will output as 01.
BIC=>
Technically optional, but it will probably quite rarely make sense to instantiate an object of this class without specifying a BIC. An eight character value that contains a valid receiver BIC.
TERMINAL=>
Optional. A one character value that identifies the receiving terminal.
Default value: X.
BRANCH_CODE=>
Optional. A three character value that identifies the branch code at the receiver.
Default value: XXX.
SESSION_NBR=>
Optional. A numeric value. Maximum four characters long. See the relevant SWIFT handbook for details.
Default value: 0, which will output as 0000.
INPUT_SEQUENCE_NBR=>
Optional. A numeric value. Maximum six characters long. See the relevant SWIFT handbook for details.
Default value: 0, which will output as 000000.
<<lessSYNOPSIS
use SWIFT::Factory::BasicHeader;
my $hdr1=SWIFT::Factory::BasicHeader->new();
This module is primarily intended to be used by the different SWIFT::Factory::MTnnn modules to provide full SWIFT messages for input to the SWIFT network.
Nevertheless, there is nothing prohibiting an application to directly use this module for whatever purpose.
Given reasonable parameter values in the constructor, the string method in this module will return a Basic Header Block (Block nbr 1) that can be used in a SWIFT message sent to the SWIFT network.
CONSTRUCTOR
new( APPLICATION_ID=>F, SERVICE_ID=>1, BIC=>VALIDBIC, TERMINAL=>X, BRANCH_CODE=>XXX, SESSION_NBR=>0, INPUT_SEQUENCE_NBR=>0)
The parameters may be given in arbitrary order. Many parameters have builtin default values. If the calling application doesnt provide the parameter at all, the object will apply the default value.
APPLICATION_ID=>
Optional. A one character value that indicates the application within which the message is being sent.
Valid values are:
F (FIN = All user-to-user, FIN system and FIN system msgs),
A (GPA = Most GPA system mesgs)
and
L (Certain GPA msgs, for ex. LOGIN).
Default value: F, which is the most commonly used application.
To set this value, use one of:
SWIFT::Factory::BasicHeader->APP_ID_FIN,
SWIFT::Factory::BasicHeader->APP_ID_GPA,
and
SWIFT::Factory::BasicHeader->APP_ID_GPA_LOG.
Yes, these are constants, and yes, since they are class methods they are available before calling the constructor.
Opposit of the object methods that are functional only after having called the new() constructor.
SERVICE_ID=>
Optional. A numeric value that identifies the type of data that is being sent. Maximum two characters long. See the relevant SWIFT handbook for details.
Default value: 1, which will output as 01.
BIC=>
Technically optional, but it will probably quite rarely make sense to instantiate an object of this class without specifying a BIC. An eight character value that contains a valid receiver BIC.
TERMINAL=>
Optional. A one character value that identifies the receiving terminal.
Default value: X.
BRANCH_CODE=>
Optional. A three character value that identifies the branch code at the receiver.
Default value: XXX.
SESSION_NBR=>
Optional. A numeric value. Maximum four characters long. See the relevant SWIFT handbook for details.
Default value: 0, which will output as 0000.
INPUT_SEQUENCE_NBR=>
Optional. A numeric value. Maximum six characters long. See the relevant SWIFT handbook for details.
Default value: 0, which will output as 000000.
Download (0.004MB)
Added: 2007-05-25 License: Perl Artistic License Price:
882 downloads
File::Listing 5.805
File::Listing is a Perl module to parse directory listing. more>>
File::Listing is a Perl module to parse directory listing.
SYNOPSIS
use File::Listing qw(parse_dir);
for (parse_dir(`ls -l`)) {
($name, $type, $size, $mtime, $mode) = @$_;
next if $type ne f; # plain file
#...
}
# directory listing can also be read from a file
open(LISTING, "zcat ls-lR.gz|");
$dir = parse_dir(*LISTING, +0000);
This module exports a single function called parse_dir(), which can be used to parse directory listings. Currently it only understand Unix ls -l and ls -lR format. It should eventually be able to most things you might get back from a ftp server file listing (LIST command), i.e. VMS listings, NT listings, DOS listings,...
The first parameter to parse_dir() is the directory listing to parse. It can be a scalar, a reference to an array of directory lines or a glob representing a filehandle to read the directory listing from.
The second parameter is the time zone to use when parsing time stamps in the listing. If this value is undefined, then the local time zone is assumed.
The third parameter is the type of listing to assume. The values will be strings like unix, vms, dos. Currently only unix is implemented and this is also the default value. Ideally, the listing type should be determined automatically.
The fourth parameter specifies how unparseable lines should be treated. Values can be ignore, warn or a code reference. Warn means that the perl warn() function will be called. If a code reference is passed, then this routine will be called and the return value from it will be incorporated in the listing. The default is ignore.
Only the first parameter is mandatory.
The return value from parse_dir() is a list of directory entries. In a scalar context the return value is a reference to the list. The directory entries are represented by an array consisting of [ $filename, $filetype, $filesize, $filetime, $filemode ]. The $filetype value is one of the letters f, d, l or ?. The $filetime value is the seconds since Jan 1, 1970. The $filemode is a bitmask like the mode returned by stat().
<<lessSYNOPSIS
use File::Listing qw(parse_dir);
for (parse_dir(`ls -l`)) {
($name, $type, $size, $mtime, $mode) = @$_;
next if $type ne f; # plain file
#...
}
# directory listing can also be read from a file
open(LISTING, "zcat ls-lR.gz|");
$dir = parse_dir(*LISTING, +0000);
This module exports a single function called parse_dir(), which can be used to parse directory listings. Currently it only understand Unix ls -l and ls -lR format. It should eventually be able to most things you might get back from a ftp server file listing (LIST command), i.e. VMS listings, NT listings, DOS listings,...
The first parameter to parse_dir() is the directory listing to parse. It can be a scalar, a reference to an array of directory lines or a glob representing a filehandle to read the directory listing from.
The second parameter is the time zone to use when parsing time stamps in the listing. If this value is undefined, then the local time zone is assumed.
The third parameter is the type of listing to assume. The values will be strings like unix, vms, dos. Currently only unix is implemented and this is also the default value. Ideally, the listing type should be determined automatically.
The fourth parameter specifies how unparseable lines should be treated. Values can be ignore, warn or a code reference. Warn means that the perl warn() function will be called. If a code reference is passed, then this routine will be called and the return value from it will be incorporated in the listing. The default is ignore.
Only the first parameter is mandatory.
The return value from parse_dir() is a list of directory entries. In a scalar context the return value is a reference to the list. The directory entries are represented by an array consisting of [ $filename, $filetype, $filesize, $filetime, $filemode ]. The $filetype value is one of the letters f, d, l or ?. The $filetime value is the seconds since Jan 1, 1970. The $filemode is a bitmask like the mode returned by stat().
Download (0.23MB)
Added: 2007-04-26 License: Perl Artistic License Price:
911 downloads
Free Statistics 1.1.0
Free Statistics records and views daily Web site page views (hits) for statistical tracking. more>>
Free Statistics records and views daily Web site page views (hits) for statistical tracking. This is a Free PHP script to record and view daily website page views (hits) for statistical tracking. Features a chart of daily page views totals displayed with bar graph, total for last x days, most hits in a day for last x days, average hits per day for last x days, projected hits for today, and more. Easy to install.
Edit the values in config.php for MySQL; change the other variables if you want (is optional). Do not edit other files.
Copy the files to the same directory on your server.
Install MySQL table. Execute the following in PhpMyAdmin or other MySQL interface:
CREATE TABLE stats_day (
date date DEFAULT 0000-00-00 NOT NULL,
hits mediumint(8) unsigned DEFAULT 0 NOT NULL,
PRIMARY KEY (date)
);
For php files, you can add this code to each page to record page views to it (be sure to add the path if needed):
If the page is in a different folder than the stats script, you can add the path such as:
You can record stats for non-php pages (and php pages also) by adding this code in the body of the html (remember to add the correct path to the script; you can use a full url here; Note, this only records hits for browsers with images-loading enabled):
Main features:
- Chart of daily page views totals displayed with bar graph, total for last x days, most hits in a day for last x days, average hits per day for last x days, projected hits for today, and more. Easy to install.
<<lessEdit the values in config.php for MySQL; change the other variables if you want (is optional). Do not edit other files.
Copy the files to the same directory on your server.
Install MySQL table. Execute the following in PhpMyAdmin or other MySQL interface:
CREATE TABLE stats_day (
date date DEFAULT 0000-00-00 NOT NULL,
hits mediumint(8) unsigned DEFAULT 0 NOT NULL,
PRIMARY KEY (date)
);
For php files, you can add this code to each page to record page views to it (be sure to add the path if needed):
If the page is in a different folder than the stats script, you can add the path such as:
You can record stats for non-php pages (and php pages also) by adding this code in the body of the html (remember to add the correct path to the script; you can use a full url here; Note, this only records hits for browsers with images-loading enabled):
Main features:
- Chart of daily page views totals displayed with bar graph, total for last x days, most hits in a day for last x days, average hits per day for last x days, projected hits for today, and more. Easy to install.
Download (0.006MB)
Added: 2006-06-23 License: GPL (GNU General Public License) Price:
1222 downloads
ISO - DAX - CSO Converter 1.08
ISO - DAX - CSO Converter is simple Kommander script for converting PSP UMD backups between three file formats ISO DAX and CSO. more>>
ISO - DAX - CSO Converter is simple Kommander script for converting PSP UMD backups between three file formats ISO DAX and CSO.
Script depends on:
Kommander
ciso v1.01
daxcr v0.3
kommander is part of kdewebdev3 packet
To compile ciso and daxcr gcc and zlib-devel packet must be installed.
Source for ciso is part of devhook SDK 0.46.0000 file is called dh046_SDK.rar and it can be found on various PSP forums and sites.
To compile ciso:
Extract source to some folder
in Konsole type:
gcc -o ciso ciso.c -lz
ciso will be created warnings are OK if there is no errors
to make ciso executable type:
chmod a+x ciso
copy ciso to path eg. "/usr/local/bin"
Source for daxcr is part of DAX ZISO loader and it can be found at http://dax.psp-tuts.net/DAXZISO_062.zip
To compile daxcr:
Extract source to some folder
in Konsole type:
make
daxcr will be created warnings are OK if there is no errors to make daxcr executable type:
chmod a+x daxcr
copy daxcr to path eg. "/usr/local/bin"
Enhancements:
- modification to POPStation part of GUI to support
- new Copstation v.2.21
- Rename POPstation to Copstation
- support for ISO extraction from EBOOT.PBP
<<lessScript depends on:
Kommander
ciso v1.01
daxcr v0.3
kommander is part of kdewebdev3 packet
To compile ciso and daxcr gcc and zlib-devel packet must be installed.
Source for ciso is part of devhook SDK 0.46.0000 file is called dh046_SDK.rar and it can be found on various PSP forums and sites.
To compile ciso:
Extract source to some folder
in Konsole type:
gcc -o ciso ciso.c -lz
ciso will be created warnings are OK if there is no errors
to make ciso executable type:
chmod a+x ciso
copy ciso to path eg. "/usr/local/bin"
Source for daxcr is part of DAX ZISO loader and it can be found at http://dax.psp-tuts.net/DAXZISO_062.zip
To compile daxcr:
Extract source to some folder
in Konsole type:
make
daxcr will be created warnings are OK if there is no errors to make daxcr executable type:
chmod a+x daxcr
copy daxcr to path eg. "/usr/local/bin"
Enhancements:
- modification to POPStation part of GUI to support
- new Copstation v.2.21
- Rename POPstation to Copstation
- support for ISO extraction from EBOOT.PBP
Download (0.047MB)
Added: 2007-02-04 License: GPL (GNU General Public License) Price:
17852 downloads
ipgeo 1.3
libipgeo is a small library written on top of the IP2LOCATION database allowing the user to do geo-targeting of IP addresses. more>>
libipgeo library is written on top of the IP2LOCATION database allowing the user to do geo-targeting of IP addresses. For a given IPv4 address, libipgeo can lookup the following:
Country Code
Country
Region
City
Latitude
Longitude
ISP
NEW:libipgeo now searchs the IP2LOCATION database in O(lg n) and is TONS faster!
Included with the libipgeo distribution is a simple traceroute client that does IPv4 targeting:
[rounder:Projects/libipg/sample] root# ./trig -ien1 -LlCry 4.2.2.2 ../../IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ISP-FULL/
IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ISP.CSV
Trig 1.0 [geo-targeting traceroute scanner]
01: 66.123.162.113 US SAN RAMON CALIFORNIA 37.7661 -121.9730
02: 63.203.35.65 US SAN FRANCISCO CALIFORNIA 37.7002 -122.4060
03: 63.203.35.17 US SAN FRANCISCO CALIFORNIA 37.7002 -122.4060
04: 64.161.1.30 CA MONTREAL QUEBEC 45.5000 -73.5830
05: 64.161.1.54 CA MONTREAL QUEBEC 45.5000 -73.5830
06: 144.223.242.81 US KANSAS CITY MISSOURI 39.1749 -94.5804
07: 209.245.146.245 US UNKNOWN UNKNOWN 0.0000 0.0000
08: 209.244.3.137 US BROOMFIELD COLORADO 39.9135 -105.0930
09: 64.159.4.74 US SAN CLEMENTE CALIFORNIA 33.4322 -117.5780
10: 4.24.9.142 EG CAIRO AL QAHIRAH 30.0500 31.2500
11: 4.2.2.2 US PROVIDENCE RHODE ISLAND 41.8231 -71.4204
<<lessCountry Code
Country
Region
City
Latitude
Longitude
ISP
NEW:libipgeo now searchs the IP2LOCATION database in O(lg n) and is TONS faster!
Included with the libipgeo distribution is a simple traceroute client that does IPv4 targeting:
[rounder:Projects/libipg/sample] root# ./trig -ien1 -LlCry 4.2.2.2 ../../IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ISP-FULL/
IP-COUNTRY-REGION-CITY-LATITUDE-LONGITUDE-ISP.CSV
Trig 1.0 [geo-targeting traceroute scanner]
01: 66.123.162.113 US SAN RAMON CALIFORNIA 37.7661 -121.9730
02: 63.203.35.65 US SAN FRANCISCO CALIFORNIA 37.7002 -122.4060
03: 63.203.35.17 US SAN FRANCISCO CALIFORNIA 37.7002 -122.4060
04: 64.161.1.30 CA MONTREAL QUEBEC 45.5000 -73.5830
05: 64.161.1.54 CA MONTREAL QUEBEC 45.5000 -73.5830
06: 144.223.242.81 US KANSAS CITY MISSOURI 39.1749 -94.5804
07: 209.245.146.245 US UNKNOWN UNKNOWN 0.0000 0.0000
08: 209.244.3.137 US BROOMFIELD COLORADO 39.9135 -105.0930
09: 64.159.4.74 US SAN CLEMENTE CALIFORNIA 33.4322 -117.5780
10: 4.24.9.142 EG CAIRO AL QAHIRAH 30.0500 31.2500
11: 4.2.2.2 US PROVIDENCE RHODE ISLAND 41.8231 -71.4204
Download (0.13MB)
Added: 2006-03-09 License: BSD License Price:
754 downloads
KLearnNotes2 1.2
KLearnNotes2 is a software for teaching the names of music notes. more>>
KLearnNotes2 helps learning the names of music notes.
In future KLearnNotes2 will be a full-featured music teacher (rhythm, scales, key signatures, chords) with special focus on guitar playing.
Main features:
- a wise quick learning algorithm (focusing training on what a student knows the worst)
- a flexible lesson choice and a set of preset lessons focused on gradual learning of successive notes
- bass and treble clefs
- a flexible speed goal choice and a set of preset speed-goal levels (to encourage training for fast, automatic notes reading)
- two training modes:
- static, vertical notes positions (preparation for chord reading)
- horizontal, game-style (preparation for sight-reading)
- voice recognition (you can answer questions with your voice!)
- sound output choice: standard, for guitar players or custom
- qt/kdelibs; midi sound output for OSS or using timidity (any system) or ALSA (experimental! using tse3 library); voice recognition from microphone (OSS only).
- Perfect for a music newbie and for an experienced musician trying to learn new stuff (for example a new staff.
Enhancements:
Thu May 12 09:58:57 CET 2004
- src/kln* major: added horizontal exercise ("game")
- added first trial of midi for aRts/tse3
- added configure option --with-cvsfeatures
- added kln2 option --quiet (or -q)
Sun Apr 11 06:25:55 2004 UTC
- src/* major: added Solfeggio notes naming
Sun Mar 7 00:40:55 CET 2004
- src/* major: first version of PianoKeyboard and
- BaseMusicNote classes
Mon Mar 1 01:46:28 CET 2004
- src/* major: added timidity MIDI output; new MidiOutput
- class, ready for implementing other supports
Mon Feb 23 00:30:46 +0000
- src/voice_recog* minor: fixed compilation problems:
- variable-size array prefetch_buf
- pointer of type `void * used in arithmetic
<<lessIn future KLearnNotes2 will be a full-featured music teacher (rhythm, scales, key signatures, chords) with special focus on guitar playing.
Main features:
- a wise quick learning algorithm (focusing training on what a student knows the worst)
- a flexible lesson choice and a set of preset lessons focused on gradual learning of successive notes
- bass and treble clefs
- a flexible speed goal choice and a set of preset speed-goal levels (to encourage training for fast, automatic notes reading)
- two training modes:
- static, vertical notes positions (preparation for chord reading)
- horizontal, game-style (preparation for sight-reading)
- voice recognition (you can answer questions with your voice!)
- sound output choice: standard, for guitar players or custom
- qt/kdelibs; midi sound output for OSS or using timidity (any system) or ALSA (experimental! using tse3 library); voice recognition from microphone (OSS only).
- Perfect for a music newbie and for an experienced musician trying to learn new stuff (for example a new staff.
Enhancements:
Thu May 12 09:58:57 CET 2004
- src/kln* major: added horizontal exercise ("game")
- added first trial of midi for aRts/tse3
- added configure option --with-cvsfeatures
- added kln2 option --quiet (or -q)
Sun Apr 11 06:25:55 2004 UTC
- src/* major: added Solfeggio notes naming
Sun Mar 7 00:40:55 CET 2004
- src/* major: first version of PianoKeyboard and
- BaseMusicNote classes
Mon Mar 1 01:46:28 CET 2004
- src/* major: added timidity MIDI output; new MidiOutput
- class, ready for implementing other supports
Mon Feb 23 00:30:46 +0000
- src/voice_recog* minor: fixed compilation problems:
- variable-size array prefetch_buf
- pointer of type `void * used in arithmetic
Download (0.80MB)
Added: 2005-06-01 License: GPL (GNU General Public License) Price:
1612 downloads
Secleted [ 0 ] software to compare
- Page: 1 of 1
- 1
Copyright Notice:
Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future software development. The above 0000 search only lists software in full, demo and trial versions for free download. Download links are directly from our mirror sites or publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed